/* Тот же порог, на котором скрывается верхнее меню маршрута. */
.bottom-nav{display:none}
@media(max-width:899px){
 :root{--bottom-nav-height:72px;--bottom-nav-space:calc(var(--bottom-nav-height) + env(safe-area-inset-bottom,0px))}
 html{scroll-padding-bottom:calc(var(--bottom-nav-space) + 8px)}
 body{padding-bottom:var(--bottom-nav-space)}
 .site-header nav{display:none}
 .site-header .header-inner{padding-bottom:12px}
 .bottom-nav{position:fixed;z-index:1001;inset:auto 0 0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));height:var(--bottom-nav-space);padding:6px env(safe-area-inset-right,0px) calc(6px + env(safe-area-inset-bottom,0px)) env(safe-area-inset-left,0px);border-top:1px solid var(--line);background:var(--card);overflow:visible}
 .bottom-nav a{display:flex;flex-direction:column;justify-content:center;gap:3px;min-width:0;min-height:44px;padding:0;border-radius:8px;color:var(--muted);font-size:11px;line-height:16px;font-weight:500;text-decoration:none}
 .bottom-nav a:hover{text-decoration:none}
 .bottom-nav-icon{display:grid;place-items:center;width:52px;height:32px;border-radius:20px}
 .bottom-nav svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
 .bottom-nav a[aria-current=page]{color:var(--accent);font-weight:600}
 .bottom-nav a[aria-current=page] .bottom-nav-icon{background:var(--secondary)}
 .cookie-notice{bottom:calc(var(--bottom-nav-space) + 8px)}
 .feedback-dialog{max-height:calc(100vh - var(--bottom-nav-space) - 16px);max-height:calc(100dvh - var(--bottom-nav-space) - 16px);margin-bottom:calc(var(--bottom-nav-space) + 8px)}
}
@media(min-width:380px) and (max-width:899px){.bottom-nav a{font-size:12px}}
