.profile-universe-layout {
  grid-template-columns: 280px minmax(0, 1100px);
  align-items: start;
}

.profile-universe-main {
  min-width: 0;
}

.profile-universe-main .profile-content {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

@media (max-width: 900px) {
  .profile-universe-layout {
    grid-template-columns: 1fr;
  }

  .profile-universe-main .profile-content {
    padding-left: var(--space-sm);
    padding-right: var(--space-sm);
  }
}

.nj-universe-disabled { opacity: .5; cursor: default; }
.nj-universe-disabled:hover { background: transparent; }
.nj-universe-retry { border: 0; background: transparent; color: var(--text-secondary); width: 100%; }
.nj-universe-local-menu { margin-top: var(--space-sm); }

.nj-universe-page {
  display: grid;
  grid-template-columns: 280px minmax(0,1fr);
  align-items: start;
  gap: var(--space-lg);
  max-width: 1400px;
  margin: 0 auto;
  padding: var(--space-lg);
}
.nj-universe-page-content { min-width: 0; }
.nj-universe-page-content > :is(.search-page,.notifications-container,.settings-page,.main) { margin-top: 0; }
.nj-universe-page-toggle { display: none; }
.nj-mobile .nj-universe-page { grid-template-columns: minmax(0,1fr); }
.nj-mobile .nj-universe-page-toggle.mobile-menu-toggle {
  display: inline-flex;
  width: auto;
  min-width: var(--nj-touch-target,44px);
  padding-inline: var(--space-sm);
  justify-self: start;
  font-size: var(--fs-sm,14px);
}

@media (max-width: 900px) {
  .nj-universe-page { grid-template-columns: minmax(0,1fr); gap: var(--space-sm); padding: var(--space-sm); }
  .nj-universe-page-toggle.mobile-menu-toggle {
    display: inline-flex;
    width: auto;
    min-width: var(--nj-touch-target,44px);
    min-height: var(--nj-touch-target,44px);
    padding-inline: var(--space-sm);
    justify-self: start;
    gap: var(--space-xs);
    font-size: var(--fs-sm,14px);
  }
  .nj-universe-page .sidebar-left {
    top: var(--header-height, 56px);
    max-height: calc(100dvh - var(--header-height, 56px));
  }
  .nj-universe-page [data-nj-universe-overlay].open { display: block; }
}

@media (max-width: 900px) {
  .shop-universe-shell [data-nj-universe-panel]:not(.open) { display: none; }
}
.shop-universe-shell .sidebar-left[data-nj-universe-panel].open {
    position: fixed;
    inset: 0 auto 0 0;
    display: flex;
    width: min(85vw, 350px);
    max-height: 100dvh;
    padding: var(--nj-space-md, 12px);
    overflow-y: auto;
    transform: none;
    z-index: 10002;
  }
.shop-universe-shell [data-nj-universe-panel].open .sidebar-nav {
    flex-direction: column;
    overflow-x: visible;
    width: 100%;
  }
.shop-universe-shell [data-nj-universe-panel].open :is(.sidebar-divider,.sidebar-nav-title) { display: block; }
.shop-universe-shell [data-nj-universe-overlay].open {
    position: fixed;
    inset: 0;
    display: block;
    background: rgb(0 0 0 / 45%);
    z-index: 10001;
  }

body.nj-universe-drawer-open { overflow: hidden; }
[data-nj-universe-panel].open { overscroll-behavior: contain; }
