/* The Pastry School — unified 6-item bottom navigation (single row, all pages). 2026-11-07 */
html body #ps-unified-nav{position:fixed!important;left:0!important;right:0!important;bottom:0!important;z-index:9999!important;display:flex!important;justify-content:center!important;overflow:hidden!important;background:rgba(255,255,255,.98)!important;border-top:1px solid #e8e8e8!important;padding:5px 4px calc(6px + env(safe-area-inset-bottom,0px))!important}
html body #ps-unified-nav .ps-nav-inner{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;flex-wrap:nowrap!important;overflow:visible!important;width:min(740px,100%)!important;max-width:100%!important;gap:2px!important}
html body #ps-unified-nav .ps-nav-inner>a{flex:none!important;min-width:0!important;height:58px!important;min-height:58px!important;max-height:58px!important;padding:6px 1px!important;gap:4px!important;font:500 10px/1.1 system-ui,sans-serif!important;letter-spacing:-.01em!important;white-space:normal!important;overflow:hidden!important;text-align:center!important}
html body #ps-unified-nav .ps-nav-inner>a span{display:block!important;max-width:100%!important;overflow:hidden!important;line-height:1.05!important;overflow-wrap:normal!important;word-break:normal!important;hyphens:none!important}
html body #ps-unified-nav .ps-nav-inner>a svg{width:22px!important;height:22px!important}
@media (max-width:370px){html body #ps-unified-nav .ps-nav-inner>a{font-size:9.5px!important;letter-spacing:-.02em!important}}
/* Long labels (Mes recettes, Herramientas) may use two short lines instead of being cut. */
html body #ps-unified-nav .ps-nav-inner>a{gap:3px!important}
html body:has(#ps-unified-nav) main{padding-bottom:calc(84px + env(safe-area-inset-bottom,0px))}
html body:has(#viewer.active) #ps-unified-nav,html body.slide-open #ps-unified-nav{display:none!important}

html body #ps-unified-nav .ps-nav-inner>a.ps-long{font-size:8.6px!important;letter-spacing:-.035em!important}
