.mobile-bar {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background: #0b101a;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 40;
}

.mobile-bar .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--text);
}

.mobile-bar .brand img {
  height: 32px;
  width: auto;
}

.mobile-bar .menu-toggle {
  background: #0f1624;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text);
  border-radius: 10px;
  padding: 8px 10px;
  font-weight: 600;
}

.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(5, 9, 16, 0.6);
  z-index: 35;
}

@media (max-width: 900px) {
  .layout {
    flex-direction: column;
  }

  .mobile-bar {
    display: flex;
  }

  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 240px;
    min-width: 0;
    transform: translateX(-105%);
    transition: transform 0.2s ease;
    z-index: 50;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  }

  .layout.menu-open .sidebar {
    transform: translateX(0);
  }

  .layout.menu-open .sidebar-overlay {
    display: block;
  }

  .main {
    padding: 14px 14px 70px;
  }
}

body.embed .mobile-bar,
body.embed .sidebar-overlay {
  display: none !important;
}
