.listWrap {
  padding: 12px;
  background-color: #f6f7f9;
  min-height: calc(100vh - 120px);
}

.cardWrap {
  margin-bottom: 12px;
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
  transition: transform 0.1s;

  &:active {
    transform: scale(0.98);
    background-color: #fafafa;
  }
}

.cardHeader {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;

  .avatar {
    border-radius: 8px;
    border: 1px solid #f0f0f0;
  }

  .mainInfo {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;

    .nicknameRow {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 4px;

      .nickname {
        font-size: 16px;
        font-weight: 600;
        color: #1a1a1a;
        max-width: 160px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
      }
    }

    .wechatId {
      font-size: 13px;
      color: #8c8c8c;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 4px;
      margin-top: 2px;
    }
  }
}

.statsRow {
  display: flex;
  gap: 16px;
  margin-bottom: 12px;
  padding: 8px 12px;
  background: #f8fbff;
  border-radius: 8px;

  .statItem {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;

    .statLabel {
      font-size: 11px;
      color: #8c8c8c;
      margin-bottom: 2px;
    }
    .statValue {
      font-size: 14px;
      font-weight: 600;
      color: #1677ff;
    }
  }
}

.tagsRow {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
  min-height: 20px;
  align-items: center;

  .tagItem {
    padding: 2px 8px;
    background: #f0f5ff;
    color: #1677ff;
    border-radius: 4px;
    font-size: 11px;
    border: 1px solid #d6e4ff;
  }

  .moreTags {
    font-size: 11px;
    color: #bfbfbf;
    line-height: 20px;
  }

  .noTags {
    font-size: 11px;
    color: #d9d9d9;
    font-style: italic;
  }
}

.footerRow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #f0f0f0;
  font-size: 12px;
  color: #bfbfbf;

  .source {
    color: #52c41a;
    background: #f6ffed;
    padding: 1px 6px;
    border-radius: 4px;
  }
}

// 搜索栏样式优化
:global {
  .search-bar {
    display: flex;
    padding: 12px 16px;
    gap: 10px;
    background: #fff;
    border-bottom: 1px solid #f0f0f0;

    .search-input-wrapper {
      flex: 1;
      .ant-input-affix-wrapper {
        border-radius: 20px;
        background: #f5f5f5;
        border: none;
        padding: 6px 16px;
      }
    }

    .ant-btn {
      border-radius: 50%;
      width: 40px;
      height: 40px;
      padding: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      border: none;
      background: #f0f5ff;
      color: #1677ff;
    }
  }

  .pagination-container {
    padding: 16px;
    background: #fff;
    display: flex;
    justify-content: center;
    border-top: 1px solid #f0f0f0;
  }
}
