/* ============================================
   WeChat AI Chat - Profile & Me Styles
   ============================================ */

.profile-page {
  flex: 1;
  overflow-y: auto;
  background: var(--wx-bg);
}

.profile-header {
  background: var(--wx-bg-white);
  padding: 24px 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  position: relative;
}

.profile-header:active {
  background: var(--wx-bg-hover);
}

.profile-header .profile-avatar {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
}

.profile-header .profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-header .profile-info {
  flex: 1;
  min-width: 0;
}

.profile-header .profile-name {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 4px;
}

.profile-header .profile-wechat-id {
  font-size: 13px;
  color: var(--wx-text-secondary);
  margin-bottom: 2px;
}

.profile-services {
  background: var(--wx-bg-white);
  margin-top: 8px;
  padding: 16px;
}

.profile-services .services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.profile-services .service-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.profile-services .service-item .service-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.profile-services .service-item .service-icon.wallet { background: #07C160; }
.profile-services .service-item .service-icon.favorites { background: #FA9D3B; }
.profile-services .service-item .service-icon.friends { background: #576B95; }
.profile-services .service-item .service-icon.cards { background: #FA5151; }
.profile-services .service-item .service-icon.sticker { background: #07C160; }
.profile-services .service-item .service-icon.settings { background: #888; }

.profile-edit-page {
  flex: 1;
  overflow-y: auto;
  background: var(--wx-bg);
}

.profile-edit-page .edit-avatar-section {
  background: var(--wx-bg-white);
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.profile-edit-page .edit-avatar-section .edit-avatar {
  width: 80px;
  height: 80px;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
}

.favorites-page {
  flex: 1;
  overflow-y: auto;
  background: var(--wx-bg-white);
}

.favorite-item {
  display: flex;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--wx-border-light);
  cursor: pointer;
}
