.navbar-logo,.footer-logo{display:inline-flex!important;align-items:center;gap:8px;text-decoration:none!important}
/* navbar logo 2026-10-30: height 65px (user spec), width auto (360x186 mark keeps its ratio),
   padding 0 4px so the white plate hugs the logo without pushing neighbors.
   bootstrap loads later -> every rule needs !important or it loses. */
body a.navbar-logo img{height:65px!important;width:auto!important;max-width:none!important;object-fit:contain;background:#fff!important;border-radius:14px;padding:0 4px!important;box-sizing:border-box!important}
/* footer logo: same plate, 65px tall to match the navbar */
body .footer-logo img{height:65px!important;width:auto!important;max-width:none!important;object-fit:contain;background:#fff!important;border-radius:14px;padding:0 4px!important;box-sizing:border-box!important}
body .sign-logo img{width:84px!important;height:84px!important;max-height:84px!important;max-width:84px!important;object-fit:contain;background:#fff!important;border-radius:14px;padding:4px;box-sizing:border-box}
/* mobile <=700px: 60px tall (was 52) */
@media(max-width:700px){
  body a.navbar-logo img{height:60px!important;width:auto!important;max-width:none!important;border-radius:12px;padding:0 3px!important}
  body .footer-logo img{height:60px!important;width:auto!important;max-width:none!important;border-radius:12px;padding:0 3px!important}
}
/* .navbar is display:block and .navbar-brand floats (floats never stretch the parent), so the enlarged logo needs an
   explicit min-height; body prefix beats bootstrap's later-loaded .navbar{min-height:50px}. */
body .navbar-top{min-height:76px}
body .navbar-top::after{content:"";display:table;clear:both}
@media(max-width:700px){body .navbar-top{min-height:76px}}
/* 2026-10-31 面包屑遮挡修复：完整 .header 实高 92px(>=641px 浏览器实测) / 76px(<=640px 实测)，
   主题 main.css 的 body.nav-fixed 仍是 88px/72px（2026-10-30 logo 65px 把 header 抬高 4px 后没同步），
   固定深色导航条盖住每页面包屑条顶部 4px（「首页」链接文字上沿被切 2-3px）。
   html 前缀把特异性抬到 (0,1,2)，压过后加载的 main.css 的 body.nav-fixed 规则，与加载顺序无关。 */
html body.nav-fixed{padding-top:92px}
@media(max-width:640px){html body.nav-fixed{padding-top:76px}}
