/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1200px) {
  .chat-sidebar:not(.mobile-fullscreen) {
    width: 300px;
  }
}

@media (max-width: 968px) {
  .main-layout {
    margin-top: 0;
    flex-direction: column;
  }

  /* Do not reserve a 300px chat band — mobile uses FAB + fullscreen */
  .content-container {
    height: auto;
    min-height: calc(100dvh - var(--mobile-nav-clearance, 80px));
  }

  .server-list {
    gap: 0.4rem;
    flex-wrap: wrap;
  }

  .server-link {
    padding: 0.35rem 0.65rem;
    min-width: 70px;
  }

  .server-name {
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
  }

  .server-label {
    font-size: 0.6rem;
  }

  .navbar-right {
    gap: 0.5rem;
  }

  .nav-link {
    padding: 0.4rem 0.7rem;
    font-size: 0.8125rem;
  }

  .brand-logo {
    height: 22px;
    max-height: 22px;
    max-width: 84px;
  }

  .logo-brand {
    max-width: min(100%, 210px);
    height: 34px;
    gap: 0.45rem;
  }
}
