@media (max-width: 991px) {
  body.ll-mobile-menu-open { overflow: hidden; }

  .ll-mobile-panel {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: block;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    background: rgba(8, 15, 29, .62);
    backdrop-filter: blur(6px);
    transition: opacity .24s ease, visibility .24s ease;
  }

  .ll-mobile-panel.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }

  .ll-mobile-drawer {
    position: absolute;
    inset: 0 auto 0 0;
    width: min(88vw, 390px);
    max-width: 100%;
    height: 100dvh;
    overflow-y: auto;
    overscroll-behavior: contain;
    background:
      radial-gradient(circle at 10% 0%, rgba(58, 110, 255, .13), transparent 34%),
      var(--ll-surface, #fff);
    color: var(--ll-text, #172033);
    box-shadow: 18px 0 50px rgba(9, 17, 33, .2);
    transform: translateX(-102%);
    transition: transform .28s cubic-bezier(.22,.8,.32,1);
    padding: max(16px, env(safe-area-inset-top)) 16px calc(22px + env(safe-area-inset-bottom));
  }

  .ll-mobile-panel.is-open .ll-mobile-drawer { transform: translateX(0); }

  .ll-mobile-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
  }

  .ll-mobile-brand {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 11px;
    color: inherit;
    text-decoration: none;
  }

  .ll-mobile-brand img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    border-radius: 12px;
  }

  .ll-mobile-brand-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 13px;
    background: linear-gradient(135deg, #2f6dff, #6aa8ff);
    color: #fff;
    font-weight: 800;
  }

  .ll-mobile-brand strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 18px;
    letter-spacing: -.02em;
  }

  .ll-mobile-close {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(20, 34, 57, .1);
    border-radius: 14px;
    background: rgba(255,255,255,.84);
    color: #172033;
    font-size: 19px;
    box-shadow: 0 8px 22px rgba(18, 33, 58, .08);
  }

  .ll-mobile-drawer-tools {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
    padding: 10px;
    border-radius: 18px;
    background: rgba(245, 248, 253, .9);
    border: 1px solid rgba(31, 62, 112, .08);
    margin-bottom: 14px;
  }

  .ll-mobile-drawer-tools button {
    width: 100%;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 11px;
    border: 0;
    border-radius: 13px;
    background: transparent;
    color: inherit;
    font-weight: 750;
    padding: 0 12px;
  }

  .ll-mobile-nav { display: grid; gap: 8px; }

  .ll-mobile-main-link,
  .ll-mobile-menu-trigger {
    width: 100%;
    min-height: 54px;
    display: flex;
    align-items: center;
    gap: 13px;
    border: 1px solid transparent;
    border-radius: 15px;
    color: inherit;
    background: transparent;
    text-decoration: none;
    padding: 0 14px;
    font-size: 16px;
    font-weight: 760;
    text-align: left;
    transition: background .18s ease, border-color .18s ease, transform .18s ease;
  }

  .ll-mobile-main-link:active,
  .ll-mobile-menu-trigger:active { transform: scale(.986); }

  .ll-mobile-main-link:hover,
  .ll-mobile-menu-trigger:hover,
  .ll-mobile-menu-group.is-open > .ll-mobile-menu-trigger {
    background: linear-gradient(135deg, rgba(47,109,255,.12), rgba(70,145,255,.06));
    border-color: rgba(47,109,255,.14);
  }

  .ll-mobile-main-link > i,
  .ll-mobile-menu-trigger-label > i {
    width: 25px;
    display: grid;
    place-items: center;
    color: var(--ct-primary, #2f6dff);
    font-size: 18px;
  }

  .ll-mobile-menu-trigger { justify-content: space-between; }
  .ll-mobile-menu-trigger-label { display: flex; align-items: center; gap: 13px; min-width: 0; }
  .ll-mobile-menu-trigger-label b { font-size: 16px; }

  .ll-mobile-chevron {
    flex: 0 0 auto;
    font-size: 13px;
    opacity: .58;
    transition: transform .22s ease;
  }
  .ll-mobile-menu-trigger[aria-expanded="true"] .ll-mobile-chevron { transform: rotate(180deg); }

  .ll-mobile-submenu {
    margin: 4px 0 4px 13px;
    padding: 7px;
    border-radius: 16px;
    background: rgba(245, 248, 253, .92);
    border: 1px solid rgba(31, 62, 112, .08);
    animation: ll-mobile-submenu-in .2s ease both;
  }

  .ll-mobile-submenu[hidden] { display: none !important; }

  .ll-mobile-submenu a {
    min-height: 47px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 12px;
    color: inherit;
    text-decoration: none;
    padding: 8px 10px;
    font-size: 14px;
    font-weight: 650;
  }

  .ll-mobile-submenu a:hover { background: rgba(255,255,255,.82); }
  .ll-mobile-submenu a > i { width: 23px; text-align: center; color: #d4a514; }
  .ll-mobile-submenu a > span { min-width: 0; flex: 1; }

  .ll-mobile-count,
  .ll-mobile-submenu .ll-new-menu-badge {
    margin-left: auto;
    flex: 0 0 auto;
  }

  .ll-mobile-count {
    min-width: 22px;
    height: 22px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    background: #ef3340;
    color: #fff;
    font-size: 11px;
    font-style: normal;
  }

  html[data-theme="dark"] .ll-mobile-drawer,
  body[data-theme="dark"] .ll-mobile-drawer {
    --ll-surface: #0c1730;
    --ll-text: #f3f6ff;
    background:
      radial-gradient(circle at 10% 0%, rgba(54, 118, 255, .28), transparent 34%),
      linear-gradient(180deg, #0d1b39, #08152c 72%);
  }

  html[data-theme="dark"] .ll-mobile-close,
  body[data-theme="dark"] .ll-mobile-close {
    background: rgba(255,255,255,.06);
    color: #fff;
    border-color: rgba(255,255,255,.1);
  }

  html[data-theme="dark"] .ll-mobile-drawer-tools,
  html[data-theme="dark"] .ll-mobile-submenu,
  body[data-theme="dark"] .ll-mobile-drawer-tools,
  body[data-theme="dark"] .ll-mobile-submenu {
    background: rgba(255,255,255,.055);
    border-color: rgba(255,255,255,.08);
  }

  html[data-theme="dark"] .ll-mobile-submenu a:hover,
  body[data-theme="dark"] .ll-mobile-submenu a:hover { background: rgba(255,255,255,.07); }
}

@keyframes ll-mobile-submenu-in {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .ll-mobile-panel,
  .ll-mobile-drawer,
  .ll-mobile-chevron { transition: none !important; }
  .ll-mobile-submenu { animation: none !important; }
}
