.user-row {
  display: flex;
  align-items: center;
  gap: 20rpx;
  padding: 24rpx;
  background: linear-gradient(135deg, #E6508C 0%, #DCB982 100%);
  border-radius: 24rpx;
  margin-bottom: 24rpx;
}

.user-avatar {
  width: 88rpx;
  height: 88rpx;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 44rpx;
  flex-shrink: 0;
}

.user-name {
  font-size: 32rpx;
  font-weight: 600;
  color: #ffffff;
}

.user-phone {
  font-size: 24rpx;
  color: rgba(255, 255, 255, 0.9);
}

.sub-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24rpx;
  background: #ffffff;
  border-radius: 20rpx;
  margin-bottom: 24rpx;
  border: 2rpx solid #DCB982;
}

.sub-left {
  flex: 1;
}

.sub-name {
  font-size: 26rpx;
  color: #333333;
}

.sub-remain {
  font-size: 24rpx;
  color: #999999;
  margin-top: 4rpx;
}

.menu-list {
  background: #ffffff;
  border-radius: 24rpx;
  overflow: hidden;
}

.menu-item {
  display: flex;
  align-items: center;
  padding: 24rpx;
  border-bottom: 2rpx solid #f5f5f5;
}

.menu-item:last-child {
  border-bottom: none;
}

.menu-icon {
  width: 52rpx;
  height: 52rpx;
  background: #fdf2f8;
  border-radius: 12rpx;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28rpx;
  margin-right: 16rpx;
  flex-shrink: 0;
}

.menu-text {
  flex: 1;
  font-size: 26rpx;
  color: #333333;
}

.menu-arrow {
  color: #cccccc;
  font-size: 32rpx;
}

.menu-device-status {
  font-size: 24rpx;
  color: #52c41a;
  margin-right: 8rpx;
}
.menu-device-unbound {
  color: #999;
}

.loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 200rpx 0;
}

.loading-spinner {
  width: 64rpx;
  height: 64rpx;
  border: 6rpx solid #f0f0f0;
  border-top-color: #E6508C;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loading-text {
  margin-top: 20rpx;
  font-size: 28rpx;
  color: #999;
}

.sub-card-inactive {
  background: #f5f5f5;
  border: 1px dashed #d9d9d9;
}

.user-avatar-img {
  width: 88rpx;
  height: 88rpx;
  border-radius: 50%;
  flex-shrink: 0;
}

.edit-profile-btn {
  font-size: 24rpx;
  color: rgba(255, 255, 255, 0.9);
  border: 1rpx solid rgba(255, 255, 255, 0.6);
  border-radius: 24rpx;
  padding: 6rpx 20rpx;
  flex-shrink: 0;
}

.edit-mask {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 100;
}

.edit-modal {
  position: fixed;
  left: 10%;
  right: 10%;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  border-radius: 24rpx;
  padding: 40rpx;
  z-index: 101;
}

.edit-modal-title {
  font-size: 32rpx;
  font-weight: 600;
  text-align: center;
  margin-bottom: 32rpx;
  color: #333;
}

.edit-avatar-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 32rpx;
}

.edit-avatar-img {
  width: 120rpx;
  height: 120rpx;
  border-radius: 50%;
}

.edit-avatar-placeholder {
  width: 120rpx;
  height: 120rpx;
  background: #f5f5f5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56rpx;
}

.edit-avatar-hint {
  font-size: 24rpx;
  color: #999;
  margin-top: 12rpx;
}

.edit-field {
  margin-bottom: 32rpx;
}

.edit-label {
  font-size: 26rpx;
  color: #666;
  margin-bottom: 12rpx;
  display: block;
}

.edit-input {
  border: 2rpx solid #e0e0e0;
  border-radius: 12rpx;
  padding: 16rpx 20rpx;
  font-size: 28rpx;
  color: #333;
}

.edit-actions {
  display: flex;
  gap: 20rpx;
}

.edit-btn {
  flex: 1;
  margin: 0 !important;
  font-size: 28rpx;
}

.logout-btn {
  text-align: center;
  color: #ff4d4f;
  font-size: 28rpx;
  margin-top: 32rpx;
  padding: 24rpx;
  background: #ffffff;
  border-radius: 24rpx;
}

.version-text {
  text-align: center;
  font-size: 24rpx;
  color: #cccccc;
  margin-top: 40rpx;
  padding-bottom: 40rpx;
}
