/* Shared brand lockup: the same approved icon on every page and footer. */
.header-wrapper a.mazai-site-brand,
.footer-section a.mazai-site-brand,
.source-footer a.mazai-site-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: auto;
  max-width: none;
  flex: 0 0 auto;
  color: var(--theme-color, #231d70);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  text-decoration: none;
  white-space: nowrap;
}
.header-wrapper a.mazai-site-brand img.mazai-site-brand__icon,
.footer-section a.mazai-site-brand img.mazai-site-brand__icon,
.source-footer a.mazai-site-brand img.mazai-site-brand__icon {
  display: block;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  max-width: none;
  margin: 0;
  object-fit: contain;
}
.mazai-site-brand .mazai-site-brand__name {
  display: block;
  color: inherit;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0;
}
.footer-section a.mazai-site-brand { color: #fff; }
.source-footer a.mazai-site-brand { color: var(--source-ink, #231d70); }
a.mazai-site-brand:focus-visible { outline: 3px solid #1677ff; outline-offset: 5px; }
@media (max-width: 575px) {
  .header-wrapper a.mazai-site-brand,
  .footer-section a.mazai-site-brand,
  .source-footer a.mazai-site-brand { gap: 8px; }
  .header-wrapper a.mazai-site-brand img.mazai-site-brand__icon,
  .footer-section a.mazai-site-brand img.mazai-site-brand__icon,
  .source-footer a.mazai-site-brand img.mazai-site-brand__icon {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
  }
  .mazai-site-brand .mazai-site-brand__name { font-size: 22px; }
}
