.friendsSearchWrap {
  position: relative;
  max-width: 420px;
  margin: 14px auto 0;
}

.friendsSection {
  margin-bottom: 22px;
}

.friendsSection h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  margin: 0 0 14px;
}

.countPill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 11px;
  background: rgba(61,232,138,.15);
  color: var(--green);
  font-size: .75rem;
  font-weight: 700;
}

.friendsList {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.friendItem {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
}

.friendAvatarWrap {
  position: relative;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.friendAvatarWrap .lbAvatarImg,
.friendAvatarWrap .lbAvatarEmoji {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  background: rgba(0,0,0,.35);
}

.onlineDot {
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #555;
  border: 2px solid #0d1117;
}

.onlineDot.on {
  background: var(--green);
  box-shadow: 0 0 6px rgba(61,232,138,.8);
}

.friendInfo {
  flex: 1;
  min-width: 0;
}

.friendName {
  font-weight: 700;
  font-size: .95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.streakBadge {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: .7rem;
  font-weight: 700;
  color: #f9f06b;
  white-space: nowrap;
}

.friendMeta {
  font-size: .75rem;
  color: var(--muted);
}

.friendActions {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.friendActions .actionBtn {
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.05);
  color: var(--text);
  font-size: .75rem;
  cursor: pointer;
  white-space: nowrap;
}

.friendActions .actionBtn:hover { border-color: rgba(255,255,255,.35); }
.friendActions .actionBtn.accept { border-color: var(--green); color: var(--green); }
.friendActions .actionBtn.decline,
.friendActions .actionBtn.remove { border-color: var(--red); color: var(--red); }

.lbSearchRow .lbSearchAddBtn {
  padding: 5px 10px;
  border-radius: 6px;
  border: 1px solid var(--green);
  color: var(--green);
  background: rgba(61,232,138,.08);
  font-size: .72rem;
  cursor: pointer;
  margin-left: auto;
}
