
/* 全新个人中心样式 - profile.css */
:root {
  /* 主色调 */
  --info-primary: #4361ee;
  --info-primary-light: #4895ef;
  --info-primary-dark: #3751d9;
  --info-primary-gradient: linear-gradient(135deg, #4361ee, #3751d9);
  --info-primary-transparent: rgba(67, 97, 238, 0.1);
  
  /* 强调色 */
  --info-accent: #f72585;
  --info-accent-light: #ff4d6d;
  --info-accent-gradient: linear-gradient(135deg, #f72585, #b5179e);
  
  /* 功能色 */
  --info-success: #2ecc71;
  --info-warning: #f39c12;
  --info-danger: #e74c3c;
  --info-info: #3498db;
  
  /* 中性色 */
  --info-dark: #1a1a2e;
  --info-gray-900: #222831;
  --info-gray-800: #393e46;
  --info-gray-700: #52616b;
  --info-gray-600: #7b8794;
  --info-gray-500: #9ca3af;
  --info-gray-400: #cbd5e0;
  --info-gray-300: #e2e8f0;
  --info-gray-200: #edf2f7;
  --info-gray-100: #f7fafc;
  --info-gray-50: #f9fafb;
  --info-white: #ffffff;
  
  /* 圆角 */
  --info-radius-sm: 4px;
  --info-radius: 8px;
  --info-radius-md: 12px;
  --info-radius-lg: 16px;
  --info-radius-xl: 24px;
  --info-radius-full: 9999px;
  
  /* 阴影 */
  --info-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --info-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  --info-shadow-md: 0 6px 12px rgba(0, 0, 0, 0.08);
  --info-shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.1);
  --info-shadow-inner: inset 0 2px 4px rgba(0, 0, 0, 0.05);
  
  /* 过渡 */
  --info-transition: all 0.3s ease;
  --info-transition-fast: all 0.2s ease;
  --info-transition-slow: all 0.4s ease;
  
  /* 其他变量 */
  --info-header-height: 60px;
  --info-sidebar-width: 320px;
}

/* 基础重置 */
.info-profile-container *, 
.info-profile-container *::before, 
.info-profile-container *::after {
  box-sizing: border-box;
}

/* 主容器 - 修改为自适应宽度 */
.info-profile-container {
  width: 100%; /* 改为自适应宽度 */
  margin: 0 auto;
  font-family: "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--info-gray-800);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin-bottom: 20px;
}


.info-profile-container a {
  text-decoration: none;
  transition: var(--info-transition-fast);
}

.info-profile-container button {
  cursor: pointer;
  font-family: inherit;
}

/* 顶部个人信息卡片 */
.info-profile-header-card {
  position: relative;
  border-radius: var(--info-radius-lg);
  background-color: var(--info-white);
  overflow: hidden;
  box-shadow: var(--info-shadow-md);
  margin-bottom: 24px;
}

.info-profile-cover {
  position: relative;
  height: 200px;
}

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

.info-profile-cover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.6));
}

.info-profile-cover-edit {
  position: absolute;
  top: 15px;
  right: 15px;
  opacity: 1;
}


.info-profile-cover-edit-btn {
  background: rgba(0,0,0,0.6);
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease; /* 添加这行，让所有属性变化都有过渡效果 */
}

.info-profile-cover-edit-btn:hover {
  background: rgba(0,0,0,0.9);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}


.info-profile-header-content {
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 0 30px 30px;
  margin-top: -80px;
}

.info-profile-avatar-container {
  position: relative;
  margin-right: 24px;
}

.info-profile-avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 5px solid var(--info-white);
  box-shadow: var(--info-shadow-md);
  object-fit: cover;
  background-color: var(--info-white);
}

.info-profile-avatar-edit {
  position: absolute;
  bottom: 10px;
  right: 5px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--info-primary);
  color: var(--info-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--info-shadow);
  transition: var(--info-transition);
  z-index: 20;
}

.info-profile-avatar-edit:hover {
  transform: scale(1.1);
  background-color: var(--info-primary-dark);
  color: var(--info-white);
}

.info-profile-user-info {
  flex: 1;
  padding-top: 40px;
}

.info-profile-user-name {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.info-profile-nickname {
  font-size: 25px;
  font-weight: 700;
  color: var(--info-dark);
  margin: 0;
  max-width: 220px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
}

.info-profile-user-id {
  font-size: 14px;
  color: var(--info-gray-600);
  font-weight: 400;
}

.info-profile-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.info-profile-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: var(--info-radius-full);
  font-size: 13px;
  font-weight: 500;
}

.info-profile-badge img {
  width: 16px;
  height: 16px;
  margin-right: 4px;
}

.info-profile-badge-level {
  background: var(--info-primary-gradient);
  color: var(--info-white);
}

.info-profile-badge-vip {
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: var(--info-white);
}

/* 新增：非VIP用户的灰色徽章样式 */
.info-profile-badge-vip-inactive {
  background: #e4e7ed; /* 背景色：浅灰色 */
  color: #909399;    /* 文字颜色：深灰色 */
}

.info-profile-badge-custom {
  background-color: rgba(0, 0, 0, 0.1);
  color: var(--info-gray-800);
}

.info-profile-bio {
  font-size: 15px;
  color: var(--info-gray-700);
  margin-bottom: 12px;
  max-width: 600px;
}

.info-profile-meta {
  font-size: 14px;
  color: var(--info-gray-600);
}

.info-profile-meta span {
  margin-right: 16px;
}

.info-profile-meta i {
  margin-right: 4px;
}

.info-profile-actions {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.info-profile-action-btn {
  border: none;
  border-radius: var(--info-radius);
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--info-transition);
}

.info-profile-action-btn i {
  margin-right: 6px;
}

.info-profile-btn-sign {
  background-color: var(--info-success);
  color: var(--info-white);
}

.info-profile-btn-sign:hover {
  background-color: #27ae60;
  transform: translateY(-2px);
  box-shadow: var(--info-shadow);
}

.info-profile-btn-sign.signed {
  background-color: var(--info-gray-500);
}

.info-profile-btn-edit {
  background-color: rgba(255, 255, 255, 0.8);
  color: var(--info-gray-800);
  border: 1px solid var(--info-gray-300);
}

.info-profile-btn-edit:hover {
  background-color: var(--info-white);
  transform: translateY(-2px);
  box-shadow: var(--info-shadow);
  color: var(--info-primary);
}

/* 用户统计数据 */
.info-profile-stats-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.info-profile-stat {
  background-color: var(--info-white);
  border-radius: var(--info-radius);
  padding: 20px;
  text-align: center;
  box-shadow: var(--info-shadow);
  transition: var(--info-transition);
  color: inherit;
  display: block;
}

.info-profile-stat:hover {
  transform: translateY(-4px);
  box-shadow: var(--info-shadow-md);
  background-color: var(--info-primary-transparent);
  color: inherit;
}

.info-profile-stat-number {
  font-size: 28px;
  font-weight: 700;
  color: var(--info-primary);
  margin-bottom: 8px;
}

.info-profile-stat-label {
  font-size: 14px;
  color: var(--info-gray-600);
}

/* 内容布局 */
.info-profile-content {
  display: grid;
  grid-template-columns: var(--info-sidebar-width) minmax(0, 1fr); /* 保持原有布局结构 */
  gap: 16px;
}

/* 侧边栏 */
.info-profile-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* 侧边栏卡片 */
.info-profile-card {
  background-color: var(--info-white);
  border-radius: var(--info-radius);
  box-shadow: var(--info-shadow);
  overflow: hidden;
}

.info-profile-card-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--info-gray-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.info-profile-card-header h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--info-dark);
  display: flex;
  align-items: center;
}

.info-profile-card-header h3 i {
  margin-right: 8px;
  color: var(--info-primary);
}

.info-profile-card-action {
  width: 32px;
  height: 32px;
  border-radius: var(--info-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--info-gray-600);
  background-color: var(--info-gray-100);
  transition: var(--info-transition-fast);
}

.info-profile-card-action:hover {
  background-color: var(--info-primary-transparent);
  color: var(--info-primary);
}

.info-profile-card-body {
  padding: 16px 20px;
}

/* 勋章卡片样式 */
.info-profile-medals-card {
  margin-bottom: 0;
}

.info-profile-medals-container {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.info-profile-medal-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--info-gray-50);
  border-radius: var(--info-radius);
  padding: 10px;
  width: calc(25% - 9px);
  transition: var(--info-transition);
}

.info-profile-medal-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--info-shadow);
  background-color: var(--info-primary-transparent);
}

.info-profile-medal-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.info-profile-medal-icon img {
  max-width: 100%;
  max-height: 100%;
}

.info-profile-medal-name {
  font-size: 12px;
  color: var(--info-gray-700);
  text-align: center;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.info-profile-btn-task {
  background-color: #ff9800;
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  margin-left: 10px;
  box-shadow: 0 2px 5px rgba(255, 152, 0, 0.3);
}

.info-profile-btn-task:hover {
  background-color: #f57c00;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(255, 152, 0, 0.4);
}

.info-profile-btn-task:active {
  transform: translateY(0);
  box-shadow: 0 2px 3px rgba(255, 152, 0, 0.3);
}

.info-profile-btn-task i {
  margin-right: 5px;
  font-size: 16px;
}

/* 用户资产项目 */
.info-profile-asset-item {
  display: flex;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px dashed var(--info-gray-200);
}

.info-profile-asset-item:last-child {
  border-bottom: none;
}

.info-profile-asset-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--info-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  color: var(--info-white);
}

.info-profile-icon-money {
  background: linear-gradient(135deg, #ffd166, #f0b429);
}

.info-profile-icon-vip {
  background: linear-gradient(135deg, #f9c80e, #f86624);
}

.info-profile-icon-level {
  background: linear-gradient(135deg, #4cc9f0, #4361ee);
}

.info-profile-asset-info {
  flex: 1;
}

.info-profile-asset-label {
  font-size: 13px;
  color: var(--info-gray-600);
  margin-bottom: 6px;
}

.info-profile-asset-value {
  font-size: 18px;
  font-weight: 600;
  color: var(--info-dark);
}

.info-profile-asset-action {
  padding: 6px 12px;
  border-radius: var(--info-radius);
  font-size: 13px;
  background-color: var(--info-gray-100);
  color: var(--info-gray-700);
  transition: var(--info-transition-fast);
}

.info-profile-asset-action:hover {
  background-color: var(--info-primary);
  color: var(--info-white);
}

/* 进度条 */
.info-profile-asset-progress {
  margin-top: 4px;
}

.info-profile-progress-bar {
  height: 20px;
  background-color: var(--info-gray-200);
  border-radius: var(--info-radius-full);
  overflow: hidden;
  margin-bottom: 4px;
  position: relative;
}

.info-profile-progress-fill {
  height: 100%;
  transition: width 0.3s ease;
}

/* 进度条文本 */
.info-profile-progress-text {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: var(--info-white);
  z-index: 1;
  text-shadow: 0 0 3px rgba(0, 0, 0, 0.8);
  font-weight: 500;
}

/* 等级颜色渐变 */
.info-profile-progress-fill.info-profile-level-lv1 { background: linear-gradient(to right, #8bc34a, #689f38); }
.info-profile-progress-fill.info-profile-level-lv2 { background: linear-gradient(to right, #03a9f4, #0288d1); }
.info-profile-progress-fill.info-profile-level-lv3 { background: linear-gradient(to right, #9c27b0, #8e24aa); }
.info-profile-progress-fill.info-profile-level-lv4 { background: linear-gradient(to right, #9c27b0, #6a1b9a); }
.info-profile-progress-fill.info-profile-level-lv5 { background: linear-gradient(to right, #f44336, #d32f2f); }
.info-profile-progress-fill.info-profile-level-lv6 { background: linear-gradient(to right, #e91e63, #c2185b); }
.info-profile-progress-fill.info-profile-level-lv7 { background: linear-gradient(to right, #9c27b0, #7b1fa2); }
.info-profile-progress-fill.info-profile-level-lv8 { background: linear-gradient(to right, #673ab7, #512da8); }
.info-profile-progress-fill.info-profile-level-lv9 { background: linear-gradient(to right, #3f51b5, #303f9f); }
.info-profile-progress-fill.info-profile-level-lv10 { background: linear-gradient(to right, #2196f3, #1976d2); }
.info-profile-progress-fill.info-profile-level-lv11 { background: linear-gradient(to right, #00bcd4, #0097a7); }
.info-profile-progress-fill.info-profile-level-lv12 { background: linear-gradient(to right, #009688, #00796b); }
.info-profile-progress-fill.info-profile-level-lv13 { background: linear-gradient(to right, #4caf50, #388e3c); }
.info-profile-progress-fill.info-profile-level-lv14 { background: linear-gradient(to right, #8bc34a, #7cb342); }
.info-profile-progress-fill.info-profile-level-lv15 { background: linear-gradient(to right, #cddc39, #afb42b); }
.info-profile-progress-fill.info-profile-level-lv16 { background: linear-gradient(to right, #ffeb3b, #fbc02d); }
.info-profile-progress-fill.info-profile-level-lv17 { background: linear-gradient(to right, #ab47bc, #8e24aa); }
.info-profile-progress-fill.info-profile-level-lv18 { background: linear-gradient(to right, #7e57c2, #5e35b1); }
.info-profile-progress-fill.info-profile-level-lv19 { background: linear-gradient(to right, #795548, #bf360c); }
.info-profile-progress-fill.info-profile-level-lv20 { background: linear-gradient(to right, #424242, #000000); }

/* 等级颜色 */
.user-level-badge.lv1 { background-color: #689f38; }
.user-level-badge.lv2 { background-color: #0288d1; }
.user-level-badge.lv3 { background-color: #8e24aa; }
.user-level-badge.lv4 { background-color: #6a1b9a; }
.user-level-badge.lv5 { background-color: #d32f2f; }
.user-level-badge.lv6 { background-color: #c2185b; }
.user-level-badge.lv7 { background-color: #7b1fa2; }
.user-level-badge.lv8 { background-color: #512da8; }
.user-level-badge.lv9 { background-color: #303f9f; }
.user-level-badge.lv10 { background-color: #1976d2; }
.user-level-badge.lv11 { background-color: #0097a7; }
.user-level-badge.lv12 { background-color: #00796b; }
.user-level-badge.lv13 { background-color: #388e3c; }
.user-level-badge.lv14 { background-color: #7cb342; }
.user-level-badge.lv15 { background-color: #afb42b; }
.user-level-badge.lv16 { background-color: #fbc02d; }
.user-level-badge.lv17 { background-color: #8e24aa; }
.user-level-badge.lv18 { background-color: #5e35b1; }
.user-level-badge.lv19 { background-color: #bf360c; }
.user-level-badge.lv20 { background-color: #000000; }

/* 个人信息列表 */
.info-profile-info-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.info-profile-info-item {
  display: flex;
  align-items: center;
}

.info-profile-info-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--info-radius);
  background-color: var(--info-primary-transparent);
  color: var(--info-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
}

.info-profile-info-content {
  flex: 1;
}

.info-profile-info-label {
  font-size: 13px;
  color: var(--info-gray-600);
  margin-bottom: 2px;
}

.info-profile-info-value {
  font-size: 15px;
  color: var(--info-gray-800);
}

/* 邀请码 */
.info-profile-invite-code {
  display: flex;
  margin-bottom: 12px;
}

.info-profile-invite-box {
  flex: 1;
  padding: 10px 16px;
  background-color: var(--info-gray-100);
  border: 1px dashed var(--info-gray-400);
  border-radius: var(--info-radius) 0 0 var(--info-radius);
  font-family: monospace;
  font-size: 16px;
  color: var(--info-gray-800);
}

.info-profile-invite-copy {
  padding: 0 16px;
  background-color: var(--info-primary);
  color: var(--info-white);
  border: none;
  border-radius: 0 var(--info-radius) var(--info-radius) 0;
  font-size: 14px;
  display: flex;
  align-items: center;
  transition: var(--info-transition-fast);
}

.info-profile-invite-copy:hover {
  background-color: var(--info-primary-dark);
}

.info-profile-invite-copy i {
  margin-right: 6px;
}

/* 快捷操作区域 - 原来左侧的样式 */
.info-profile-quick-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.info-profile-quick-action {
  background-color: var(--info-white);
  border-radius: var(--info-radius);
  padding: 16px;
  text-align: center;
  box-shadow: var(--info-shadow);
  transition: var(--info-transition);
  color: var(--info-gray-700);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.info-profile-quick-action:hover {
  transform: translateY(-4px);
  box-shadow: var(--info-shadow-md);
  color: var(--info-primary);
}

.info-profile-quick-action i {
  font-size: 24px;
  margin-bottom: 8px;
}

.info-profile-quick-action span {
  font-size: 14px;
}

/* 主内容区域 - 右侧固定高度 */
.info-profile-main-content {
  background-color: var(--info-white);
  border-radius: var(--info-radius);
  box-shadow: var(--info-shadow);
  overflow: hidden;
  height: 500px; /* 固定高度，为底部卡片留出空间 */
}

.info-profile-tab-nav-wrapper {
  position: relative;
  background-color: var(--info-gray-50);
  border-bottom: 1px solid var(--info-gray-200);
  overflow-x: auto; /* 允许水平滚动 */
  -webkit-overflow-scrolling: touch; /* iOS平滑滚动 */
  scrollbar-width: none; /* Firefox隐藏滚动条 */
  -ms-overflow-style: none; /* IE/Edge隐藏滚动条 */
  flex-shrink: 0;
}

.info-profile-tab-nav-wrapper::-webkit-scrollbar {
  display: none; /* WebKit隐藏滚动条 */
}

.info-profile-tab-nav {
  display: flex;
  white-space: nowrap; /* 防止换行 */
  gap: 10px; /* 选项卡之间的间距 */
}

.info-profile-tab {
  padding: 16px 24px;
  font-size: 15px;
  color: var(--info-gray-600);
  cursor: pointer;
  transition: var(--info-transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-width: 120px;
  height: 60px;
  border-radius: var(--info-radius) var(--info-radius) 0 0;
  background-color: transparent;
  white-space: nowrap;
  flex-shrink: 0; /* 防止被压缩 */
  text-align: center;
}

.info-profile-tab.active {
  background-color: white;
  color: var(--info-primary);
  border-bottom: 2px solid var(--info-primary);
}

.info-profile-tab:hover:not(.active) {
  background-color: var(--info-gray-100);
  color: var(--info-gray-800);
}


/* 显示图标和文字 */
.info-profile-tab i {
  margin-right: 8px;
  font-size: 18px;
}

/* 活动状态样式 */
.info-profile-tab.active {
  color: var(--info-primary);
}

.info-profile-tab.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--info-primary);
}

/* 悬停效果 */
.info-profile-tab:hover {
  color: var(--info-primary);
  background-color: rgba(67, 97, 238, 0.05);
}

/* 非活动选项卡稍微下移的效果 */
.info-profile-tab:not(.active) {
  margin-top: 4px;
}

/* 选项卡容器 */
.info-profile-tabs {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

/* 新增：可滚动的内容包装器 */
.info-profile-tab-content-wrapper {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
}

/* 滚动条样式优化 */
.info-profile-tab-content-wrapper::-webkit-scrollbar {
  width: 6px;
}

.info-profile-tab-content-wrapper::-webkit-scrollbar-track {
  background: var(--info-gray-100);
  border-radius: 3px;
}

.info-profile-tab-content-wrapper::-webkit-scrollbar-thumb {
  background: var(--info-gray-400);
  border-radius: 3px;
}

.info-profile-tab-content-wrapper::-webkit-scrollbar-thumb:hover {
  background: var(--info-gray-500);
}

/* 选项卡内容调整 */
.info-profile-tab-content {
  min-height: auto;
}

.info-profile-tab-pane {
  display: none;
  padding: 24px;
}

.info-profile-tab-pane.active {
  display: block;
}

/* 新增：右侧底部卡片容器 - 在外面 */
.info-profile-right-bottom-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%; /* 添加这行 */
  box-sizing: border-box; /* 添加这行 */
}

/* 优化快捷操作在右侧的布局 */
.info-profile-right-bottom-cards .info-profile-quick-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 改成2列，一行两个 */
  gap: 12px; /* 增加间距 */
}

.info-profile-right-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}


.info-profile-right-bottom-cards .info-profile-quick-action {
  background-color: var(--info-gray-50);
  border-radius: var(--info-radius);
  padding: 12px 8px;
  text-align: center;
  transition: var(--info-transition);
  color: var(--info-gray-700);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  border: 1px solid var(--info-gray-200);
}

.info-profile-right-bottom-cards .info-profile-quick-action:hover {
  transform: translateY(-2px);
  box-shadow: var(--info-shadow);
  color: var(--info-primary);
  background-color: var(--info-primary-transparent);
}

.info-profile-right-bottom-cards .info-profile-quick-action i {
  font-size: 18px;
  margin-bottom: 6px;
}

.info-profile-right-bottom-cards .info-profile-quick-action span {
  font-size: 12px;
  line-height: 1.2;
}

/* 加载动画 */
.info-profile-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
}

.info-profile-loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--info-gray-200);
  border-top-color: var(--info-primary);
  border-radius: 50%;
  animation: info-spinner 1s linear infinite;
  margin-bottom: 16px;
}

@keyframes info-spinner {
  to {
    transform: rotate(360deg);
  }
}

.info-profile-loading-text {
  font-size: 14px;
  color: var(--info-gray-600);
}

/* 空状态 */
.info-profile-empty {
  text-align: center;
  padding: 40px 0;
  color: var(--info-gray-500);
}

.info-profile-empty i {
  font-size: 48px;
  margin-bottom: 16px;
}

.info-profile-empty p {
  font-size: 16px;
  margin: 0;
}

/* 统一的标题和内容省略号样式 */
.app-item h4 a,
.post-item h4 a,
.user-item h4 a,
.user-info p,
.app-info p {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  max-width: 100%;
}

/* 为信息容器设置固定宽度或最大宽度 */
.app-info, .user-info {
  width: calc(100% - 60px);
  overflow: hidden;
}

/* QQ绑定解绑按钮样式 */
.info-profile-unbind-btn {
  margin-left: 10px;
  font-size: 12px;
  color: #f56c6c;
  cursor: pointer;
}

.info-profile-unbind-btn:hover {
  color: #ff4757;
  text-decoration: underline;
}

.info-profile-bind-btn {
  margin-left: 10px;
  font-size: 12px;
  color: #409eff;
  cursor: pointer;
}

.info-profile-bind-btn:hover {
  color: #66b1ff;
  text-decoration: underline;
}

/* 管理员徽章样式 */
.user-admin-badge-admin {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  color: var(--info-white);
}

.user-admin-badge-admin i {
  margin-right: 5px;
}

/* 用户等级徽章样式 */
.user-level-badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  border-radius: 3px;
  font-size: 12px;
  min-height: 20px;
  white-space: nowrap;
}

/* 性别年龄徽章样式 */
.info-profile-badge-male {
  background: linear-gradient(135deg, #3498db, #2980b9);
  color: var(--info-white);
}

.info-profile-badge-male i {
  margin-right: 5px;
}

.info-profile-badge-female {
  background: linear-gradient(135deg, #e91e63, #c2185b);
  color: var(--info-white);
}

.info-profile-badge-female i {
  margin-right: 5px;
}

.info-profile-badge-unknown {
  background: linear-gradient(135deg, #9c27b0, #7b1fa2);
  color: var(--info-white);
}

.info-profile-badge-unknown i {
  margin-right: 5px;
}

/* 空状态称号样式 */
.info-profile-empty-medals {
  width: 100%;
  text-align: center;
  padding: 30px 20px;
  color: var(--info-gray-500);
  background-color: var(--info-gray-50);
  border-radius: var(--info-radius);
  border: 2px dashed var(--info-gray-300);
}

.info-profile-empty-medals i {
  font-size: 36px;
  color: var(--info-gray-400);
  margin-bottom: 12px;
  display: block;
}

.info-profile-empty-medals p {
  margin: 0;
  font-size: 14px;
  color: var(--info-gray-600);
  font-weight: 500;
}

/* 封禁用户蒙版样式 - 优化版本 */
.info-profile-banned-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.85);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.info-profile-banned-content {
  background: var(--info-white);
  border-radius: var(--info-radius-lg);
  padding: 40px;
  text-align: center;
  box-shadow: var(--info-shadow-lg);
  max-width: 500px;
  width: 90%;
  border: 2px solid #ff4757;
  position: relative;
}

.info-profile-banned-icon {
  font-size: 64px;
  color: #ff4757;
  margin-bottom: 20px;
  display: block;
}

.info-profile-banned-title {
  font-size: 24px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 16px;
}

.info-profile-banned-message {
  font-size: 16px;
  color: #7f8c8d;
  line-height: 1.6;
  margin-bottom: 24px;
}

/* 封禁原因样式 */
.info-profile-banned-reason {
  background-color: #fff5f5;
  border: 1px solid #fed7d7;
  border-radius: var(--info-radius);
  padding: 16px;
  margin-bottom: 16px;
  font-size: 15px;
  color: #e53e3e;
  font-weight: 500;
}

/* 新增：封禁时间样式 */
.info-profile-banned-time {
  background-color: #f7fafc;
  border: 1px solid #cbd5e0;
  border-radius: var(--info-radius);
  padding: 16px;
  margin-bottom: 24px;
  font-size: 15px;
  color: #2d3748;
  font-weight: 500;
}

/* 永久禁封的特殊样式 */
.info-profile-banned-time.permanent {
  background-color: #ffeaa7;
  border-color: #fdcb6e;
  color: #e17055;
}

.info-profile-banned-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.info-profile-banned-btn {
  padding: 10px 20px;
  border-radius: var(--info-radius);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--info-transition);
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.info-profile-banned-btn-primary {
  background-color: var(--info-primary);
  color: var(--info-white);
}

.info-profile-banned-btn-primary:hover {
  background-color: var(--info-primary-dark);
  transform: translateY(-2px);
}

.info-profile-banned-btn-secondary {
  background-color: var(--info-gray-200);
  color: var(--info-gray-700);
}

.info-profile-banned-btn-secondary:hover {
  background-color: var(--info-gray-300);
  transform: translateY(-2px);
}

.info-profile-banned-btn i {
  margin-right: 6px;
}


/* 响应式设计 */
@media (max-width: 768px) {
  .info-profile-header-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-bottom: 20px;
  }
  
  .info-profile-avatar-edit {
    bottom: -5px;
    right: 5px;
  }
  
  .info-profile-container {
    width: 100%;
  }
  
  .info-profile-avatar-container {
    margin-right: 0;
    margin-bottom: 16px;
  }
  
  .info-profile-avatar {
    width: 120px;
    height: 120px;
  }
  
  .info-profile-user-name {
    justify-content: center;
  }
  
  .info-profile-badges {
    justify-content: center;
  }
  
  .info-profile-actions {
    justify-content: center;
  }
  
  .info-profile-stats-container {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .info-profile-quick-actions {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .info-profile-medal-item {
    width: calc(33.33% - 8px);
  }
  
  .info-profile-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    grid-template-columns: 1fr;
  }
  
  .info-profile-sidebar {
    width: 100%;
  }
  
  .info-profile-main-content {
    width: 100%;
    height: auto; /* 移动端取消固定高度 */
  }
  
  .info-profile-tab-content-wrapper {
    overflow-y: visible; /* 移动端取消滚动 */
  }
  
  .info-profile-asset-item {
    padding: 10px 0;
  }
  
  /* 移动端选项卡调整 */
  .info-profile-tab-nav {
    gap: 10px;
  }
  
  .info-profile-tab {
    padding: 14px 20px;
    min-width: 80px;
    font-size: 14px;
  }
  
  .info-profile-tab i {
    font-size: 16px;
    margin-right: 6px;
  }
  
  .info-profile-right-bottom-cards .info-profile-quick-actions {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  
  .info-profile-right-bottom-cards .info-profile-quick-action {
    padding: 16px;
  }
  
  .info-profile-right-bottom-cards .info-profile-quick-action i {
    font-size: 20px;
    margin-bottom: 8px;
  }
  
  .info-profile-right-bottom-cards .info-profile-quick-action span {
    font-size: 14px;
  }
  
  .info-profile-banned-content {
    padding: 30px 20px;
    margin: 20px;
  }
  
  .info-profile-banned-icon {
    font-size: 48px;
  }
  
  .info-profile-banned-title {
    font-size: 20px;
  }
  
  .info-profile-banned-actions {
    flex-direction: column;
  }
  
  .info-profile-banned-btn {
    width: 100%;
  }
}
