.friend-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 14px;
}

.friend-item-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 84px;
  padding: 14px;
  border-radius: 14px;
  background: var(--card-background);
  border: 1px solid var(--outline);
  overflow: hidden;
  transition: transform .2s ease, border-color .2s ease;
}

.friend-item-wrap:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
}

.friend-item-wrap > a {
  position: absolute;
  inset: 0;
  z-index: 3;
}

.friend-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--primary);
  flex: 0 0 56px;
}

.friend-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.friend-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--neut-L95);
}

.friend-desc {
  margin-top: 4px;
  font-size: 13px;
  color: var(--neut-L55);
}

.friend-apply {
  margin-top: 16px;
  padding: 14px;
  border-radius: 14px;
  border: 1px dashed var(--outline);
  background: var(--card-background);
}
