/* Mobile-only navigation; retain Dzcademia's current green institutional identity. */
#dz-mobile-bottom-nav{display:none}
@media(max-width:760px){
 body:has(#dz-mobile-bottom-nav){--dzbn-height:72px;--dzbn-safe:env(safe-area-inset-bottom,0px);--dzbn-ink:#103b33;--dzbn-muted:#52645b;--dzbn-soft:#e7f1ec;--dzbn-line:#d6e2db;padding-bottom:calc(var(--dzbn-height) + var(--dzbn-safe))!important}
 body #dz-mobile-bottom-nav{position:fixed!important;inset-inline:0;bottom:0;z-index:9000;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));align-items:stretch;min-height:calc(var(--dzbn-height) + var(--dzbn-safe));padding:6px 8px calc(6px + var(--dzbn-safe));margin:0;background:#fff!important;border-top:1px solid var(--dzbn-line);box-shadow:0 -3px 14px #103b330b;box-sizing:border-box;font-family:Arial,"Segoe UI",sans-serif;isolation:isolate}
 body #dz-mobile-bottom-nav a{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:0;min-height:59px;padding:2px;box-sizing:border-box;color:var(--dzbn-muted)!important;background:transparent!important;text-decoration:none!important;border:0;font-size:12px!important;font-weight:500;line-height:1.25;text-align:center;overflow-wrap:anywhere;-webkit-tap-highlight-color:transparent}
 body #dz-mobile-bottom-nav .dzbn-icon{display:grid;place-items:center;width:56px;height:30px;position:relative;border-radius:18px;background:transparent;color:inherit}
 body #dz-mobile-bottom-nav svg{display:block;width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
 body #dz-mobile-bottom-nav a[aria-current]{color:var(--dzbn-ink)!important;font-weight:700}
 body #dz-mobile-bottom-nav a[aria-current] .dzbn-icon{background:var(--dzbn-soft)}
 body #dz-mobile-bottom-nav a[aria-current] .dzbn-icon::after{content:"";position:absolute;bottom:0;inset-inline:21px;height:2px;border-radius:2px;background:var(--dzbn-ink)}
 body #dz-mobile-bottom-nav a:hover .dzbn-icon{background:var(--dzbn-soft)}
 body #dz-mobile-bottom-nav a:focus-visible{outline:3px solid var(--dzbn-ink)!important;outline-offset:-2px!important;border-radius:5px}
 body:has(#dz-mobile-bottom-nav) .community-mobile-bottom-nav{display:none!important}
 body:has(#dz-mobile-bottom-nav) .dz-messenger{bottom:calc(var(--dzbn-height) + var(--dzbn-safe) + 16px)!important}
 body:has(#dz-mobile-bottom-nav) .dzmw-panel{max-height:calc(100dvh - var(--dzbn-height) - var(--dzbn-safe) - 110px)!important}
 body.dzbn-keyboard #dz-mobile-bottom-nav{display:none!important}
 body.dzbn-keyboard .dz-messenger{bottom:12px!important}
 html:has(#dz-mobile-bottom-nav){scroll-padding-bottom:calc(90px + env(safe-area-inset-bottom,0px))}
}
