/* MYCELX new header/menu/mega + footer on pages still on the old theme (inc/shell.php). Only fixes for living next to the old theme's CSS. */
.mx-shell-user{position:fixed;left:0;right:0;top:0;z-index:60;height:28px;padding:5px var(--mx-gutter);background:#091722;color:#fff;font:400 13px/18px var(--mx-font-body);text-align:right}
.mx-shell-user a{color:#fff;text-decoration:underline}

/* Sticky header like the new pages: there the header is sticky inside the whole page wrapper; here its wrapper is only the header,
   so it is pinned instead, with a spacer of the same height so the old page content starts below it */
.mx-shell-top{height:calc(var(--mx-hdr-top) + var(--mx-hdr-h) + env(safe-area-inset-top,0px))}
.mx-shell-top .mx-hdr-wrap{position:fixed;left:0;right:0;top:0}
body.admin-bar .mx-shell-top .mx-hdr-wrap{top:32px}
@media (max-width:782px){body.admin-bar .mx-shell-top .mx-hdr-wrap{top:46px}}
.mx-shell-top:has(.mx-shell-user){height:calc(28px + var(--mx-hdr-top) + var(--mx-hdr-h) + env(safe-area-inset-top,0px))}
.mx-shell-top:has(.mx-shell-user) .mx-hdr-wrap{top:28px}
