#friends-card {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  min-height: 420px;
}

.friends-list-wrapper {
  flex: 1 1 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  position: relative;
}

.friends-list {
  flex: 1 1 0;
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-right: 4px;
}

.friends-list::-webkit-scrollbar { width: 4px; }
.friends-list::-webkit-scrollbar-thumb {
  background: rgba(139, 148, 158, 0.3);
  border-radius: 4px;
}

.friend-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  background: rgba(48, 54, 61, 0.2);
  border: 1px solid rgba(48, 54, 61, 0.4);
  border-radius: 8px;
  transition: background 0.2s;
}

.friend-item:hover { background: rgba(48, 54, 61, 0.4); }

.friend-avatar-wrapper {
  position: relative;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.friend-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.friend-status {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--card-bg);
  background: #747f8d;
}
.friend-status.online { background: #3ba55d; }
.friend-status.idle { background: #faa61a; }
.friend-status.dnd { background: #ed4245; }

.friend-details {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.friend-name {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.friend-game {
  color: var(--text-secondary);
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
