/* v169 · einheitliche Seitenachse und Footer-Geometrie */
@media(min-width:861px){html{scrollbar-gutter:stable}}
body .site-footer{padding:50px 0!important}
body .site-footer .footer-grid{gap:48px!important;padding:0!important}
body .site-footer .footer-grid p{margin:26px 0 0!important;font-size:inherit!important;line-height:1.65!important;max-width:340px}
body .site-footer .footer-grid a{font-size:inherit!important;margin:10px 0!important}
body .site-footer .footer-bottom{margin-top:28px!important;padding:20px 0 0!important;min-height:109px!important;gap:48px!important}
body .site-footer .footer-bottom-logo{width:88px!important;height:88px!important}
@media(min-width:861px) and (max-height:820px){body .site-footer{padding:22px 0 12px!important}body .site-footer .footer-grid{gap:24px!important;padding:0 0 12px!important}body .site-footer .footer-grid p{margin:21px 0 0!important;font-size:13px!important;line-height:1.45!important}body .site-footer .footer-grid a{font-size:13px!important;margin:5px 0!important}body .site-footer .footer-bottom{margin-top:10px!important;padding:12px 0 0!important;min-height:61px!important}body .site-footer .footer-bottom-logo{width:48px!important;height:48px!important}}

/* v176: The viewport scrollbar and reserved gutter belong to the root. */
html {
  background-color: #0d1113;
  scrollbar-color: #4f514f #0d1113;
}
html::-webkit-scrollbar { width: 12px; height: 12px; }
html::-webkit-scrollbar-track,
html::-webkit-scrollbar-corner { background: #0d1113; }
html::-webkit-scrollbar-thumb {
  background: #4f514f;
  border: 3px solid #0d1113;
  border-radius: 999px;
}
html::-webkit-scrollbar-thumb:hover { background: #777a77; }

/* v177: smaller desktop marks; preserve layout footprint and mobile sizes. */
@media (min-width: 861px) {
  body .site-header .brand-logo-img,
  body .site-footer .footer-bottom-logo {
    scale: .85;
    transform-origin: center;
  }
}

/* Block256: Article hero and header share the same horizontal grid.
   Keep the header's established 46px spacing; scope to editorial pages. */
body.lexicon-detail-page .site-header::before,
body.lexicon-detail-page .lexicon-hero::before {
  background-size: 46px 46px;
  background-position: left top;
}
