/* Friends stay within the left scroll area; recent conversations have their own drawer. */
#sidebar-friends {
  margin: 8px 0 18px;
}
#sidebar-friend-count {
  margin-left: auto;
  color: #e8b8cc;
}
#sidebar-friend-list .direct-person {
  min-height: 44px;
  width: 100%;
  text-align: left;
}
#sidebar-friend-list .direct-person > span:not(.avatar):not(.unread-badge) {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#sidebar-friend-list .avatar {
  flex-shrink: 0;
}
#home-tips.recent-panel {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  padding: 0;
}
#home-tips.recent-panel[hidden] {
  display: none;
}
.recent-panel > .section-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  line-height: 1.5;
  letter-spacing: 0;
}
.recent-panel > .section-label > span {
  flex: 1;
}
#workspace .recent-panel .direct-sidebar {
  overflow-y: auto;
  max-height: none;
  flex: 1;
  border: 0;
  padding: 0;
}
#direct-list .direct-person {
  min-height: 44px;
  width: 100%;
  text-align: left;
  overflow: hidden;
}
.age-option {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 16px 0;
  padding: 12px;
  background: #27212c;
  border: 1px solid #513347;
  border-radius: 10px;
}
.age-option label {
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.4;
}
.age-option input[type='checkbox'] {
  width: 20px;
  height: 20px;
  min-height: 20px;
  flex: 0 0 20px;
  margin: 0;
  accent-color: #c73160;
}
.age-option small {
  color: #c8becb;
  line-height: 1.5;
}
.age-badge {
  margin-left: auto;
  padding: 2px 5px;
  border-radius: 5px;
  color: #ffadc2;
  background: #55253a;
  font-size: 11px;
  flex-shrink: 0;
}
.channel.age-locked {
  color: #a49ba8;
}
#create-community-dialog {
  width: min(460px, calc(100vw - 24px));
}
#create-community-error {
  color: #ff9db1;
}
@media (max-width: 760px) {
  .birth-parts {
    gap: 6px;
  }
  #sidebar-friends {
    margin-bottom: 12px;
  }
  .age-option {
    font-size: 13px;
  }
}
