.social-card-page__body {
  padding-top: 16rpx;
}

.social-card-box {
  position: relative;
  overflow: hidden;
  border-radius: 32rpx;
  padding: 32rpx;
  border: 1rpx solid #d7e2f1;
  box-shadow: 0 10rpx 24rpx rgba(18, 62, 124, 0.05);
}

.social-card-deco {
  display: none;
}

.social-card-deco--top {
  top: -72rpx;
  right: -72rpx;
  width: 220rpx;
  height: 220rpx;
}

.social-card-deco--bottom {
  left: -56rpx;
  bottom: -56rpx;
  width: 160rpx;
  height: 160rpx;
}

.social-card-inner {
  position: relative;
  z-index: 1;
}

.social-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40rpx;
}

.social-card-header__left {
  display: flex;
  align-items: center;
  gap: 20rpx;
  min-width: 0;
}

.social-card-avatar {
  width: 176rpx;
  height: 176rpx;
  border-radius: 9999rpx;
  background: #ffffff;
  border: 8rpx solid #ffffff;
  box-shadow: 0 18rpx 36rpx rgba(15, 23, 42, 0.12);
  overflow: hidden;
  flex-shrink: 0;
  box-sizing: border-box;
}

.social-card-avatar__img,
.social-card-avatar__fallback {
  width: 100%;
  height: 100%;
}

.social-card-avatar__fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  color: #94a3b8;
  font-size: 52rpx;
  font-weight: 700;
}

.social-card-name {
  min-width: 0;
}

.social-card-name__main {
  display: block;
  font-size: 42rpx;
  line-height: 1.2;
  font-weight: 700;
  color: #111827;
}

.social-card-name__sub {
  display: block;
  margin-top: 8rpx;
  font-size: 26rpx;
  color: #123e7c;
  font-weight: 700;
}

.social-card-name__meta {
  margin-top: 14rpx;
  display: flex;
  align-items: center;
  gap: 14rpx;
}

.social-card-badge {
  padding: 6rpx 16rpx;
  border-radius: 9999rpx;
  background: #f3f4f6;
  border: 1rpx solid #e5e7eb;
  color: #6b7280;
  font-size: 20rpx;
  font-weight: 700;
}

.social-card-id {
  font-size: 22rpx;
  color: #d1d5db;
}

.social-card-edit {
  width: 80rpx;
  height: 80rpx;
  border-radius: 9999rpx;
  background: #f8fafc;
  border: 1rpx solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 120ms ease, background 120ms ease;
}

.social-card-edit:active,
.social-card-contact__btn:active,
.social-card-friends:active {
  transform: scale(0.96);
}

.social-card-edit__icon {
  font-size: 30rpx;
  color: #94a3b8;
  line-height: 1;
}

.social-card-contact {
  margin-top: 10rpx;
  padding: 28rpx 26rpx;
  border-radius: 22rpx;
  background: #edf5ff;
  border: 1rpx solid #d7e2f1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20rpx;
}

.social-card-contact__info {
  min-width: 0;
  flex: 1;
}

.social-card-contact__label {
  display: block;
  font-size: 22rpx;
  color: rgba(18, 62, 124, 0.75);
  font-weight: 700;
  letter-spacing: 2rpx;
}

.social-card-contact__value {
  display: block;
  margin-top: 8rpx;
  font-size: 36rpx;
  color: #123e7c;
  font-weight: 800;
}

.social-card-contact__btn {
  border: none;
  border-radius: 9999rpx;
  background: #123e7c;
  color: #fff;
  font-size: 22rpx;
  font-weight: 700;
  box-shadow: 0 12rpx 24rpx rgba(18, 62, 124, 0.22);
  padding: 0 28rpx;
}

.social-card-contact__btn::after {
  border: none;
}

.social-card-section {
  margin-top: 34rpx;
}

.social-card-section--intro {
  padding-top: 30rpx;
  border-top: 1rpx solid #f3f4f6;
}

.social-card-section__title {
  font-size: 22rpx;
  color: #9ca3af;
  font-weight: 700;
  letter-spacing: 4rpx;
}

.social-card-tags {
  margin-top: 18rpx;
  display: flex;
  flex-wrap: wrap;
  gap: 12rpx;
}

.social-card-tag {
  padding: 14rpx 24rpx;
  border-radius: 9999rpx;
  background: #ffffff;
  border: 1rpx solid #e5e7eb;
  box-shadow: 0 4rpx 10rpx rgba(15, 23, 42, 0.04);
  color: #4b5563;
  font-size: 24rpx;
  font-weight: 700;
}

.social-card-empty {
  color: #9ca3af;
  font-size: 24rpx;
}

.social-card-intro {
  margin-top: 18rpx;
  padding: 28rpx;
  border-radius: 28rpx;
  background: rgba(248, 250, 252, 0.8);
  border: 1rpx solid #e5e7eb;
  color: #4b5563;
  font-size: 28rpx;
  line-height: 1.8;
}

.social-card-friends {
  margin-top: 34rpx;
  height: 88rpx;
  border-radius: 9999rpx;
  border: 1rpx solid #d7e2f1;
  background: #ffffff;
  color: #123e7c;
  font-size: 28rpx;
  font-weight: 700;
  transition: transform 120ms ease, background 120ms ease;
}

.social-card-friends::after {
  border: none;
}
