/* Mobile swipe drawers — max-width 390px (STATUS §3.6) */
@media (max-width: 390px) {
  html.mnm-mobile-swipe-panels .app-shell {
    grid-template-columns: 0 minmax(0, 1fr) 0 !important;
  }

  html.mnm-mobile-swipe-panels .app-shell > .left-panel {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: min(92vw, 320px);
    z-index: 120;
    transition: transform 0.22s ease, opacity 0.18s ease;
    transform: translateX(0);
    opacity: 1;
  }

  html.mnm-mobile-swipe-panels .app-shell > .left-panel.collapsed {
    transform: translateX(-110%);
    opacity: 0;
    pointer-events: none;
  }

  html.mnm-mobile-swipe-panels .app-shell > .map-panel,
  html.mnm-mobile-swipe-panels .app-shell > .notebook-panel,
  html.mnm-mobile-swipe-panels .app-shell > .travel-forum-panel,
  html.mnm-mobile-swipe-panels .app-shell > #travelForumPanel {
    grid-column: 1 / -1 !important;
  }

  .left-panel-handle {
    position: fixed;
    left: 0;
    top: 52%;
    z-index: 130;
    width: 22px;
    height: 56px;
    border: 1px solid rgba(94, 176, 255, 0.35);
    border-left: none;
    border-radius: 0 10px 10px 0;
    background: rgba(8, 16, 22, 0.92);
    color: rgba(160, 210, 255, 0.9);
    cursor: pointer;
    padding: 0;
    display: grid;
    place-items: center;
  }

  .left-panel-handle[hidden] {
    display: none !important;
  }

  .left-panel-handle-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(125, 252, 138, 0.85);
    box-shadow: 0 0 8px rgba(125, 252, 138, 0.45);
  }

  .mnm-panel-swipe-backdrop {
    position: fixed;
    inset: 0;
    z-index: 110;
    background: rgba(0, 0, 0, 0.45);
  }

  .mnm-panel-swipe-backdrop[hidden] {
    display: none !important;
  }
}

@media (min-width: 391px) {
  .left-panel-handle,
  .mnm-panel-swipe-backdrop {
    display: none !important;
  }
}
