// 搜索栏
.headerSearchBar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px;
}
.headerSearchInputWrap {
  position: relative;
  flex: 1;
}
.headerSearchIcon {
  position: absolute;
  left: 12px;
  top: 10px;
  width: 16px;
  height: 16px;
  color: #a3a3a3;
}
.headerSearchInput {
  padding-left: 32px !important;
}
.spin {
  animation: spin 1s linear infinite;
}
@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

// 分页
.footerPagination {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px 0;
  background: #fff;
}
.pagination {
  :global(.ant-pagination-item) {
    border-radius: 6px;
  }
  :global(.ant-pagination-item-active) {
    background: #1890ff;
    border-color: #1890ff;
  }
  :global(.ant-pagination-prev),
  :global(.ant-pagination-next) {
    border-radius: 6px;
  }
  :global(.ant-pagination-jump-prev),
  :global(.ant-pagination-jump-next) {
    border-radius: 6px;
  }
}

// 背景和内容
.bgWrap {
  background: #f7f7fa;
  min-height: 100vh;
  padding-bottom: 80px;
}
.contentWrap {
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

// 骨架屏
.skeletonWrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.skeletonCard {
  padding: 0px;
}
.skeletonCardHeader {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.skeletonAvatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}
.skeletonNameWrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.skeletonName {
  width: 96px;
  height: 16px;
}
.skeletonSub {
  width: 64px;
  height: 12px;
}
.skeletonSep {
  margin: 12px 0;
}
.skeletonContentWrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.skeletonContent1 {
  width: 100%;
  height: 16px;
}
.skeletonContent2 {
  width: 75%;
  height: 16px;
}
.skeletonImgWrap {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.skeletonImg {
  width: 80px;
  height: 80px;
  border-radius: 8px;
}

// 空状态
.emptyWrap {
  text-align: center;
  padding: 48px 0;
}
.emptyIcon {
  width: 48px;
  height: 48px;
  color: #e5e7eb;
  margin: 0 auto 12px auto;
}
.emptyText {
  color: #888;
  font-size: 16px;
}

// 记录卡片
.recordCard {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  padding: 16px;
}
.recordCardHeader {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.recordCardHeaderLeft {
  display: flex;
  align-items: center;
  gap: 12px;
}
.avatarImg {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}
.friendInfo {
  min-width: 0;
}
.friendName {
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.friendSub {
  font-size: 13px;
  color: #888;
}
.timeBadge {
  background: #e8f0fe;
  white-space: nowrap;
  flex-shrink: 0;
}
.cardSep {
  margin: 12px 0;
}
.cardContent {
  margin-bottom: 12px;
}
.contentText {
  color: #444;
  margin-bottom: 12px;
  white-space: pre-line;
}
.imgGrid {
  display: grid;
  gap: 8px;
}
.grid1 {
  grid-template-columns: 1fr;
}
.grid2 {
  grid-template-columns: 1fr 1fr;
}
.grid3 {
  grid-template-columns: 1fr 1fr 1fr;
}
.grid6 {
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
}
.grid9 {
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr 1fr;
}
.imgItem {
  position: relative;
  aspect-ratio: 1/1;
  border-radius: 8px;
  overflow: hidden;
}
.img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

// 操作人
.operatorWrap {
  display: flex;
  align-items: center;
  margin-top: 16px;
  padding: 8px;
  background: #f3f4f6;
  border-radius: 8px;
}
.operatorAvatar {
  width: 32px !important;
  height: 32px !important;
  margin-right: 8px;
  flex-shrink: 0;
}
.operatorInfo {
  font-size: 14px;
  position: relative;
  flex: 1;
  position: relative;
}
.operatorName {
  font-weight: 500;
  max-width: 100%;
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.operatorAction {
  color: #888;
  margin-left: 8px;
  font-size: 12px;
  position: absolute;
  right: 0;
  top: 2px;
}
