/* The existing account link retains its accessible name and popup behaviour. */
@media (max-width:380px){
  #masthead .kbma-account-link{width:44px;min-width:44px;height:44px;padding:10px;justify-content:center;box-sizing:border-box}
  #masthead .kbma-account-link>span{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
}
/* 100vw in the saved footer widget includes the desktop scrollbar.
   Use the real footer width; preserve its existing full-width background. */
@supports (width:1cqw){
  #colophon:has(.kbm-footer-custom){container-type:inline-size}
  #colophon .kbm-footer-custom{width:100cqw;margin-inline:calc(50% - 50cqw)}
}
