.page {
  min-height: 100vh;
  background: #f5f5f5;
  padding-bottom: 120rpx;
  box-sizing: border-box;
  overflow-x: hidden;
}

/* Header */
.header {
  display: flex; flex-direction: column; align-items: center;
  padding: 50rpx 40rpx 40rpx;
  background: linear-gradient(135deg, #4A90D9, #357ABD);
}

.avatar {
  width: 140rpx; height: 140rpx;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.2); border-radius: 50%;
  font-size: 70rpx; margin-bottom: 20rpx;
  border: 4rpx solid rgba(255, 255, 255, 0.3);
}

.name { font-size: 38rpx; font-weight: bold; color: #fff; margin-bottom: 8rpx; }

.relation {
  font-size: 24rpx; color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.2);
  padding: 6rpx 22rpx; border-radius: 20rpx; margin-bottom: 20rpx;
}

.edit-btn {
  padding: 14rpx 50rpx;
  background: rgba(255, 255, 255, 0.2);
  color: #fff; font-size: 26rpx; border-radius: 30rpx;
  border: 1rpx solid rgba(255, 255, 255, 0.4);
}

.edit-btn:active { background: rgba(255, 255, 255, 0.35); }

/* Info cards */
.content { padding: 30rpx; }

.info-card {
  background: #ffffff; border-radius: 20rpx; padding: 24rpx 30rpx;
  margin-bottom: 20rpx;
  box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.03);
}

.card-title {
  font-size: 28rpx; font-weight: 600; color: #333;
  padding-bottom: 20rpx; border-bottom: 1rpx solid #f0f0f0; margin-bottom: 16rpx;
}

.info-row {
  display: flex; align-items: center;
  padding: 18rpx 0;
  border-bottom: 1rpx solid #f8f8f8;
}

.info-row:last-child { border-bottom: none; }

.info-label {
  font-size: 26rpx; color: #999; width: 140rpx; flex-shrink: 0;
}

.info-value {
  flex: 1; font-size: 28rpx; color: #333;
}

.info-value.empty { color: #ccc; }

/* Empty */
.empty-state {
  display: flex; flex-direction: column; align-items: center;
  padding: 100rpx 40rpx;
}

.empty-icon { font-size: 120rpx; margin-bottom: 24rpx; }
.empty-title { font-size: 32rpx; font-weight: 600; color: #666; margin-bottom: 12rpx; }
.empty-desc { font-size: 26rpx; color: #aaa; text-align: center; margin-bottom: 30rpx; }

.go-add-btn {
  padding: 22rpx 60rpx;
  background: linear-gradient(135deg, #4A90D9, #357ABD);
  color: #fff; font-size: 28rpx; font-weight: 600; border-radius: 36rpx;
}

/* 红包记录入口 */
.red-packet-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 24rpx 30rpx 0;
  padding: 24rpx 28rpx;
  background: #fff;
  border-radius: 16rpx;
  box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.04);
}

.red-packet-card:active {
  background: #f8f8f8;
}

.red-packet-left {
  display: flex;
  align-items: center;
}

.red-packet-icon {
  width: 64rpx;
  height: 64rpx;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFF0F0;
  border-radius: 12rpx;
  margin-right: 20rpx;
}

.icon-text {
  font-size: 34rpx;
  line-height: 1;
}

.red-packet-title {
  font-size: 28rpx;
  font-weight: 500;
  color: #333;
}

.red-packet-arrow {
  font-size: 36rpx;
  color: #ccc;
}
