/* Nick-list scroll fix: preserve the original purple theme and IRC logic. */
@media (min-width: 769px) {
  .main > .rightPane {
    display: flex !important;
    flex-direction: column !important;
    min-height: 0 !important;
    overflow: hidden !important;
  }
  .main > .rightPane > .nickHeader,
  .main > .rightPane > .nickTools {
    flex: 0 0 auto !important;
  }
  .main > .rightPane > #nickList {
    display: block;
    flex: 1 1 0 !important;
    min-height: 0 !important;
    height: 0 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }
}
@media (max-width: 768px) {
  #mobileMembersContent { min-height: 0 !important; overflow-y: auto !important; -webkit-overflow-scrolling: touch; }
  #mobileMembersContent .rightPane { height: auto !important; min-height: 0 !important; overflow: visible !important; }
  #mobileMembersContent #nickList { height: auto !important; max-height: none !important; overflow: visible !important; }
}
