.social-page {
  min-height: 100vh;
}

.social-error {
  color: #ef4444;
  font-size: 24rpx;
}

.social-empty {
  color: #94a3b8;
  font-size: 24rpx;
}

.social-section__title {
  display: block;
  font-size: 30rpx;
  font-weight: 800;
  color: #1f2937;
  margin-bottom: 24rpx;
}

.social-section__title--spaced {
  margin-top: 56rpx;
}

.social-tag-page {
  padding-top: 40rpx;
  padding-bottom: 48rpx;
}

.social-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 20rpx 18rpx;
}

.tag-prof-entry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22rpx 24rpx;
  border-radius: 16rpx;
  background: #ffffff;
  border: 1rpx solid #d7e2f1;
  transition: transform 120ms ease, background 120ms ease;
}

.tag-prof-entry:active,
.social-tag-pill:active,
.social-filter-chip:active,
.social-main-head__action:active,
.social-recommend__add:active,
.social-member-card__action:active,
.social-request-card__btn:active {
  transform: scale(0.985);
}

.tag-prof-entry__left {
  display: flex;
  flex-direction: column;
}

.tag-prof-entry__label {
  color: #111827;
  font-size: 30rpx;
  font-weight: 600;
}

.tag-prof-entry__hint {
  margin-top: 8rpx;
  color: #94a3b8;
  font-size: 24rpx;
}

.tag-prof-entry__arrow {
  color: #64748b;
  font-size: 30rpx;
}

.tag-selected-preview {
  margin-top: 14rpx;
  display: flex;
  flex-wrap: wrap;
  gap: 12rpx;
}

.tag-selected-preview__pill {
  padding: 8rpx 18rpx;
  border-radius: 9999rpx;
  border: 1rpx solid #e2e8f0;
  background: #ffffff;
  color: #334155;
  font-size: 22rpx;
}

.tag-selected-preview__empty {
  color: #94a3b8;
  font-size: 24rpx;
}

.social-tag-pill {
  padding: 10rpx 22rpx;
  border-radius: 9999rpx;
  background: #f8fafc;
  color: #475569;
  font-size: 24rpx;
  border: 1rpx solid #e4e9f0;
  transition: transform 120ms ease, background 120ms ease, border-color 120ms ease;
}

.social-tag-pill--active {
  background: #edf5ff;
  border-color: #bdd6f4;
  color: #123e7c;
  font-weight: 600;
}

.social-bottom-bar {
  position: static;
  padding: 24rpx 0 0;
  background: transparent;
  border-top: 0;
}

.social-bottom-bar--two {
  display: flex;
  gap: 20rpx;
}

.social-primary-btn,
.social-ghost-btn {
  border-radius: 12rpx;
  font-size: 30rpx;
  font-weight: 600;
}

.social-primary-btn {
  background: #123e7c;
  color: #ffffff;
}

.social-ghost-btn {
  background: #f3f4f6;
  color: #475569;
}

.social-recommend {
  padding: 32rpx;
  padding-bottom: 160rpx;
  box-sizing: border-box;
}

.social-recommend__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24rpx;
}

.social-recommend__card {
  position: relative;
  padding: 34rpx 24rpx 28rpx;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 320rpx;
  border: 1rpx solid #d7e2f1;
  border-radius: 18rpx;
  box-shadow: 0 8rpx 18rpx rgba(18, 62, 124, 0.04);
}

.social-recommend__check {
  position: absolute;
  right: 20rpx;
  top: 20rpx;
  width: 36rpx;
  height: 36rpx;
  border-radius: 9999rpx;
  border: 1rpx solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #123e7c;
  font-size: 24rpx;
  background: #ffffff;
}

.social-recommend__avatar {
  width: 136rpx;
  height: 136rpx;
  border-radius: 9999rpx;
  overflow: hidden;
  background: #ffffff;
  border: 6rpx solid #ffffff;
  box-shadow: 0 14rpx 28rpx rgba(15, 23, 42, 0.1);
  box-sizing: border-box;
}

.social-recommend__avatar-image {
  width: 100%;
  height: 100%;
}

.social-recommend__name {
  margin-top: 20rpx;
  font-size: 28rpx;
  font-weight: 600;
  color: #111827;
}

.social-recommend__tags {
  margin-top: 14rpx;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8rpx;
}

.social-recommend__tag {
  font-size: 18rpx;
  color: #6b7280;
  background: #f7f9fb;
  padding: 4rpx 10rpx;
  border-radius: 9999rpx;
}

.social-recommend__add {
  margin-top: auto;
  padding: 10rpx 28rpx;
  border-radius: 9999rpx;
  background: #edf5ff;
  color: #123e7c;
  font-size: 24rpx;
  font-weight: 600;
  transition: transform 120ms ease, background 120ms ease;
}

.social-recommend__add--disabled {
  background: #f3f4f6;
  color: #94a3b8;
}

.social-main-head {
  padding: 18rpx 32rpx 0;
  display: flex;
  justify-content: flex-end;
}

.social-main-head__action {
  padding: 10rpx 22rpx;
  border-radius: 9999rpx;
  background: rgba(255, 255, 255, 0.92);
  border: 1rpx solid #d7e2f1;
  color: #123e7c;
  font-size: 22rpx;
  font-weight: 700;
  transition: transform 120ms ease, background 120ms ease;
}

.social-tab-switch {
  margin: 18rpx 32rpx 0;
  padding: 6rpx;
  border-radius: 18rpx;
  background: #edf2f7;
  border: 1rpx solid #d7e2f1;
  display: flex;
}

.social-tab-switch__item {
  flex: 1;
  padding: 16rpx 0;
  text-align: center;
  border-radius: 14rpx;
  color: #6b7280;
  font-size: 27rpx;
  font-weight: 700;
  transition: transform 120ms ease, background 120ms ease;
}

.social-tab-switch__item:active {
  transform: scale(0.985);
}

.social-tab-switch__item.is-active {
  background: #ffffff;
  color: #123e7c;
  box-shadow: 0 4rpx 14rpx rgba(18, 62, 124, 0.06);
}

.social-filter-row {
  white-space: nowrap;
  padding: 24rpx 32rpx 0;
  box-sizing: border-box;
}

.social-filter-chip {
  display: inline-flex;
  margin-right: 16rpx;
  padding: 12rpx 24rpx;
  border-radius: 9999rpx;
  background: #ffffff;
  border: 1rpx solid #e4e9f0;
  color: #475569;
  font-size: 24rpx;
  transition: transform 120ms ease, background 120ms ease;
}

.social-filter-chip.is-active {
  background: #edf5ff;
  border-color: #bdd6f4;
  color: #123e7c;
  font-weight: 700;
}

.social-list {
  height: calc(100vh - 210rpx);
  padding: 24rpx 32rpx 36rpx;
  box-sizing: border-box;
}

.social-member-card,
.social-request-card {
  display: flex;
  gap: 20rpx;
  padding: 24rpx;
  margin-bottom: 20rpx;
  border: 1rpx solid #d7e2f1;
  border-radius: 18rpx;
  box-shadow: 0 8rpx 18rpx rgba(18, 62, 124, 0.04);
  transition: transform 120ms ease, background 120ms ease;
}

.social-member-card:active,
.social-request-card:active {
  transform: scale(0.992);
  background: #ffffff;
}

.social-member-card__avatar,
.social-request-card__avatar {
  width: 112rpx;
  height: 112rpx;
  border-radius: 9999rpx;
  overflow: hidden;
  background: #ffffff;
  border: 4rpx solid #ffffff;
  box-shadow: 0 10rpx 22rpx rgba(15, 23, 42, 0.1);
  box-sizing: border-box;
  flex-shrink: 0;
}

.social-member-card__avatar-image,
.social-request-card__avatar-image {
  width: 100%;
  height: 100%;
}

.social-member-card__body,
.social-request-card__body {
  flex: 1;
  min-width: 0;
}

.social-member-card__top {
  display: flex;
  justify-content: space-between;
  gap: 20rpx;
}

.social-member-card__name,
.social-request-card__name {
  display: block;
  font-size: 30rpx;
  font-weight: 600;
  color: #111827;
}

.social-member-card__title,
.social-request-card__title,
.social-request-card__status {
  display: block;
  margin-top: 6rpx;
  font-size: 22rpx;
  color: #6b7280;
}

.social-member-card__intro {
  display: block;
  margin-top: 12rpx;
  font-size: 24rpx;
  line-height: 1.5;
  color: #4b5563;
}

.social-member-card__tags {
  margin-top: 14rpx;
  display: flex;
  flex-wrap: wrap;
  gap: 10rpx;
}

.social-member-card__tag {
  padding: 6rpx 14rpx;
  border-radius: 12rpx;
  background: #f7f9fb;
  border: 1rpx solid #eef2f7;
  color: #6b7280;
  font-size: 20rpx;
}

.social-member-card__action {
  flex-shrink: 0;
  align-self: flex-start;
  padding: 10rpx 24rpx;
  border-radius: 9999rpx;
  background: #123e7c;
  color: #ffffff;
  font-size: 22rpx;
  font-weight: 600;
  transition: transform 120ms ease, background 120ms ease;
}

.social-member-card__action--disabled {
  background: #f3f4f6;
  color: #94a3b8;
}

.social-request-section {
  margin-bottom: 28rpx;
}

.social-request-section__title {
  display: block;
  margin-bottom: 16rpx;
  font-size: 28rpx;
  font-weight: 800;
  color: #1f2937;
}

.social-request-card__btns {
  display: flex;
  flex-direction: column;
  gap: 10rpx;
}

.social-request-card__btn {
  padding: 10rpx 24rpx;
  border-radius: 9999rpx;
  font-size: 22rpx;
  font-weight: 600;
  transition: transform 120ms ease, background 120ms ease;
}

.social-request-card__btn--accept {
  background: #123e7c;
  color: #ffffff;
}

.social-request-card__btn--reject {
  background: #f3f4f6;
  color: #6b7280;
}

.social-empty-panel {
  padding: 40rpx 28rpx;
  border: 1rpx solid #d7e2f1;
  border-radius: 18rpx;
  background: #ffffff;
  color: #94a3b8;
  font-size: 24rpx;
  text-align: center;
}

.social-empty-panel--grid {
  grid-column: 1 / -1;
}
