@media (max-width: 700px) {
  html:root body :is(.sidebar > .nav,.mobile-nav) {
    --dock-inset: clamp(12px,4.7vw,22px);
    left: var(--dock-inset) !important;
    right: var(--dock-inset) !important;
    bottom: calc(9px + env(safe-area-inset-bottom,0px)) !important;
    padding: 4px !important;
    min-height: 56px;
    align-items: stretch;
    border: 1px solid #fff9 !important;
    border-radius: 30px !important;
    background: rgba(246,250,252,.72) !important;
    -webkit-backdrop-filter: blur(20px) saturate(155%) !important;
    backdrop-filter: blur(20px) saturate(155%) !important;
    box-shadow: 0 5px 24px #213b5627, inset 0 1px 0 #fff8 !important;
    isolation: isolate;
  }
  html:root body :is(.sidebar > .nav,.mobile-nav) button[data-page] {
    flex: 1 1 0;
    min-width: 0;
    min-height: 47px !important;
    padding: 4px 1px !important;
    gap: 3px !important;
    border-radius: 24px !important;
    font-size: 11px !important;
    line-height: 1.14 !important;
    color: #435c6e !important;
  }
  html:root body .sidebar > .nav > button[data-page]:is(:first-of-type,:last-of-type) {
    padding: 4px 1px !important;
  }
  html:root body .sidebar > .nav > button[data-page] > .icon {
    width: 20px;
    height: 20px;
  }
  html:root body :is(.sidebar > .nav,.mobile-nav) button[data-page].active {
    color: #126a55 !important;
    background: #d9f0e5c7 !important;
  }
  html:root body :is(.sidebar > .nav,.mobile-nav) button[data-page] svg {
    width: 20px;
    height: 20px;
  }
  html:root body :is(.sidebar > .nav,.mobile-nav) button[data-page] > span {
    display: block;
    white-space: normal;
    overflow-wrap: normal;
  }
  html:root[data-desktop-theme=dark] body .sidebar > .nav {
    border-color: #b6d2e240 !important;
    background: #172a3bc6 !important;
  }
  html:root[data-desktop-theme=dark] body .sidebar > .nav button[data-page] {color: #c1d5e0 !important}
  html:root[data-desktop-theme=dark] body .sidebar > .nav button[data-page].active {color: #b1e6d6 !important;background: #265746c7 !important}
}
@media (max-width: 350px) {
  html:root body :is(.sidebar > .nav,.mobile-nav) {--dock-inset: 10px}
  html:root body :is(.sidebar > .nav,.mobile-nav) button[data-page] {font-size: 10px !important}
}
