/* Мобильное меню — v1.0.0. Переменные: --mbm-bg, --mbm-text, --mbm-active */
.mbm-bar,.mbm-bar *,.mbm-sheet,.mbm-sheet *{box-sizing:border-box}
.mbm-bar{display:none;position:fixed;left:12px;right:12px;bottom:calc(10px + env(safe-area-inset-bottom,0px));margin:0 auto;max-width:520px;height:64px;z-index:99990;background:var(--mbm-bg,#0f1b2d);border-radius:22px;box-shadow:0 8px 28px rgba(0,0,0,.35);padding:6px;align-items:stretch;gap:2px;font-family:"Segoe UI",Arial,sans-serif;-webkit-tap-highlight-color:transparent}
.mbm-bar .mbm-item{flex:1 1 0;min-width:0;display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:3px;margin:0;padding:4px 2px!important;background:transparent!important;border:0!important;border-radius:16px!important;box-shadow:none!important;color:var(--mbm-text,#b7c4d8)!important;text-decoration:none!important;font:inherit;font-size:11px;line-height:1.1;text-transform:none;cursor:pointer;-webkit-appearance:none;appearance:none;transition:background .2s,color .2s}
.mbm-bar .mbm-item:hover,.mbm-bar .mbm-item:focus-visible{color:#fff!important}
.mbm-bar .mbm-item.is-active{color:var(--mbm-active,#2dd4bf)!important;background:rgba(255,255,255,.08)!important}
.mbm-bar .mbm-item.is-active .mbm-ico-wrap{transform:translateY(-1px)}
.mbm-ico-wrap{display:flex;align-items:center;justify-content:center;width:26px;height:26px;flex:0 0 26px}
.mbm-ico{display:block;width:24px;height:24px;max-width:none;fill:none}
.mbm-more-btn .mbm-ico{fill:currentColor}
.mbm-label{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:600;text-align:center}

.mbm-overlay{position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:99991}
.mbm-overlay[hidden],.mbm-sheet[hidden]{display:none!important}
.mbm-sheet{position:fixed;left:12px;right:12px;bottom:calc(84px + env(safe-area-inset-bottom,0px));margin:0 auto;max-width:520px;max-height:calc(100vh - 140px);max-height:calc(100dvh - 140px);overflow-y:auto;z-index:99992;background:var(--mbm-bg,#0f1b2d);border-radius:20px;box-shadow:0 12px 32px rgba(0,0,0,.4);padding:8px;font-family:"Segoe UI",Arial,sans-serif}
.mbm-sheet .mbm-sheet-item{display:flex!important;align-items:center;gap:12px;padding:12px 14px;border-radius:14px;color:var(--mbm-text,#b7c4d8)!important;text-decoration:none!important;font-size:15px;font-weight:600}
.mbm-sheet .mbm-sheet-item:hover,.mbm-sheet .mbm-sheet-item.is-active{background:rgba(255,255,255,.08);color:var(--mbm-active,#2dd4bf)!important}
.mbm-sheet .mbm-label{font-size:15px;text-align:left;white-space:normal}

@media (max-width:360px){.mbm-bar{left:6px;right:6px;border-radius:18px}.mbm-label{font-size:10px}}
@media print{.mbm-bar,.mbm-sheet,.mbm-overlay{display:none!important}}
