@media (max-width: 760px) {
  .mode-systems .site-header {
    position: sticky;
    top: 0;
    z-index: 130;
    isolation: isolate;
    background: rgb(8 14 19 / 92%);
    backdrop-filter: blur(16px);
  }

  .mode-systems .site-header nav {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: auto !important;
    display: flex !important;
    width: min(86vw, 360px) !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 100vh;
    height: 100dvh;
    margin: 0 !important;
    padding: 92px 28px 30px !important;
    box-sizing: border-box;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow-y: auto;
    border-left: 1px solid #ffffff1a;
    background: #0d171f;
    box-shadow: -24px 0 70px #0007;
    transform: translate3d(105%, 0, 0);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform .32s cubic-bezier(.2,.8,.2,1), opacity .2s ease, visibility .32s;
  }

  .mode-systems .site-header nav::before {
    position: fixed;
    z-index: -1;
    inset: 0;
    content: "";
    background: rgb(2 8 13 / 68%);
    backdrop-filter: blur(4px);
  }

  .mode-systems .site-header nav.is-open {
    transform: translate3d(0, 0, 0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .mode-systems .site-header nav a {
    display: flex;
    min-height: 58px;
    align-items: center;
    border-bottom: 1px solid #ffffff17;
    color: #eaf1f5;
    font-size: 16px;
  }

  .mode-systems .site-header.mobile-menu-open .menu-toggle {
    position: fixed;
    z-index: 160;
    top: 19px;
    right: 22px;
    width: 42px;
    height: 42px;
    margin: 0;
    border: 1px solid #ffffff38;
    border-radius: 50%;
    background: #101e27;
    color: #eff7fa;
    font-size: 22px;
  }

  body.mobile-menu-open {
    overflow: hidden;
  }
}

@media (max-width: 390px) {
  .mode-systems .site-header nav {
    width: min(90vw, 340px) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mode-systems .site-header nav {
    transition: none;
  }
}
