.add-server-mobile {
  display: none;
}

@media (max-width: 720px) {
  .workspace-grid,
  .sidebar,
  .content,
  .panel,
  .panel form {
    min-width: 0;
    width: 100%;
  }

  .sidebar nav {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 40px 6px 2px;
    scroll-behavior: smooth;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .sidebar nav::-webkit-scrollbar {
    display: none;
  }

  .mobile-nav-shell {
    position: relative;
  }

  .mobile-nav-more {
    position: absolute;
    z-index: 3;
    top: 50%;
    right: 2px;
    width: 32px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid #8f7cf566;
    border-radius: 10px;
    background: linear-gradient(135deg, #5f4ee2, #8b5cf6);
    box-shadow: -14px 0 24px #10101b, 0 0 18px #765df066;
    color: #fff;
    font: 800 24px/1 Manrope, sans-serif;
    transform: translateY(-56%);
    cursor: pointer;
  }

  .add-server-desktop {
    display: none;
  }

  .add-server-mobile {
    display: inline;
  }

  .sidebar nav .tab,
  .sidebar nav .side-subtab {
    width: auto;
    min-width: max-content;
    min-height: 46px;
    flex: 0 0 auto;
    margin: 0;
    padding: 11px 15px 16px;
    border-left: 0;
    border-radius: 8px;
    white-space: nowrap;
    text-align: center;
    justify-content: center;
    scroll-snap-align: start;
  }

  .sidebar nav .gemini-tab {
    padding-left: 22px;
    padding-right: 22px;
  }

  .sidebar nav .nav-chevron {
    position: absolute;
    right: 8px;
  }

  .sidebar nav .side-subtab .subtab-copy {
    flex: 0 1 auto;
  }

  #youtube-form > button,
  #gemini-form > button,
  #profile-form > button {
    color: #fff;
  }

  .sidebar nav .tab.active::before,
  .sidebar nav .side-subtab.active::before {
    top: auto;
    right: auto;
    bottom: 5px;
    left: 50%;
    width: 34px;
    height: 3px;
    border-radius: 4px;
    transform: translateX(-50%);
    animation: mobile-nav-glow-in .18s ease-out;
  }
}

@keyframes mobile-nav-glow-in {
  from {
    opacity: 0;
    transform: translateX(-50%) scaleX(.35);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) scaleX(1);
  }
}

@media (max-width: 720px) {
  .profile-preview-stage {
    padding: 12px;
  }

  .profile-preview-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .discord-profile-card {
    width: min(100%, 340px);
  }
}
