/* 全新个人中心样式 - profile.css */
:root {
  /* 主色调 */
  --info-primary: #4361ee;
  --info-primary-light: #4895ef;
  --info-primary-dark: #3a0ca3;
  --info-primary-gradient: linear-gradient(135deg, #4361ee, #3a0ca3);
  --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: 650px; /* 固定宽度为650px */
  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;
}

.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-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);
}

.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) 1fr;
  gap: 24px;
}

/* 侧边栏 */
.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, var(--user-lv1-color), #689f38); }
.info-profile-progress-fill.info-profile-level-lv2 { background: linear-gradient(to right, var(--user-lv2-color), #0288d1); }
.info-profile-progress-fill.info-profile-level-lv3 { background: linear-gradient(to right, var(--user-lv3-color), #8e24aa); }
.info-profile-progress-fill.info-profile-level-lv4 { background: linear-gradient(to right, var(--user-lv4-color), #d84315); }
.info-profile-progress-fill.info-profile-level-lv5 { background: linear-gradient(to right, var(--user-lv5-color), #d32f2f); }
.info-profile-progress-fill.info-profile-level-lv6 { background: linear-gradient(to right, var(--user-lv6-color), #c2185b); }
.info-profile-progress-fill.info-profile-level-lv7 { background: linear-gradient(to right, var(--user-lv7-color), #7b1fa2); }
.info-profile-progress-fill.info-profile-level-lv8 { background: linear-gradient(to right, var(--user-lv8-color), #512da8); }
.info-profile-progress-fill.info-profile-level-lv9 { background: linear-gradient(to right, var(--user-lv9-color), #303f9f); }
.info-profile-progress-fill.info-profile-level-lv10 { background: linear-gradient(to right, var(--user-lv10-color), #1976d2); }
.info-profile-progress-fill.info-profile-level-lv11 { background: linear-gradient(to right, var(--user-lv11-color), #0097a7); }
.info-profile-progress-fill.info-profile-level-lv12 { background: linear-gradient(to right, var(--user-lv12-color), #00796b); }
.info-profile-progress-fill.info-profile-level-lv13 { background: linear-gradient(to right, var(--user-lv13-color), #388e3c); }
.info-profile-progress-fill.info-profile-level-lv14 { background: linear-gradient(to right, var(--user-lv14-color), #7cb342); }
.info-profile-progress-fill.info-profile-level-lv15 { background: linear-gradient(to right, var(--user-lv15-color), #afb42b); }
.info-profile-progress-fill.info-profile-level-lv16 { background: linear-gradient(to right, var(--user-lv16-color), #fbc02d); }
.info-profile-progress-fill.info-profile-level-lv17 { background: linear-gradient(to right, var(--user-lv17-color), #ef6c00); }
.info-profile-progress-fill.info-profile-level-lv18 { background: linear-gradient(to right, var(--user-lv18-color), #e64a19); }
.info-profile-progress-fill.info-profile-level-lv19 { background: linear-gradient(to right, var(--user-lv19-color), #bf360c); }
.info-profile-progress-fill.info-profile-level-lv20 { background: linear-gradient(to right, var(--user-lv20-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;
}

/* 选项卡 - 两个选项卡的优化布局 */
.info-profile-tab-nav-wrapper {
  position: relative;
  overflow-x: hidden;
  background-color: var(--info-gray-50);
  border-bottom: 1px solid var(--info-gray-200);
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.info-profile-tab-nav-wrapper::-webkit-scrollbar {
  display: none;
}

.info-profile-tab-nav {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 0;
  gap: 20px; /* 两个选项卡之间的间距 */
}

/* 两个选项卡的样式优化 */
.info-profile-tab {
  padding: 16px 32px; /* 增加左右内边距 */
  font-size: 16px;
  color: var(--info-gray-600);
  cursor: pointer;
  transition: var(--info-transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-width: 100px; /* 最小宽度 */
  height: 60px;
  border-radius: var(--info-radius) var(--info-radius) 0 0;
  background-color: transparent;
  white-space: nowrap; /* 防止文字换行 */
}

/* 显示图标和文字 */
.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-tab-content {
  min-height: 400px;
}

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

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

/* 加载动画 */
.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-level-badge {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    border-radius: 3px;
    font-size: 12px;
    padding: 0 3px;
    min-height: 20px;
    margin-right: 4px;
    white-space: nowrap;
}

/* 等级颜色 */
.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: #d84315; } /* 深橙红色 */
.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: #ef6c00; } /* 深橙色 */
.user-level-badge.lv18 { background-color: #e64a19; } /* 红橙色 */
.user-level-badge.lv19 { background-color: #bf360c; } /* 赤褐色 */
.user-level-badge.lv20 { background-color: #000000; } /* 黑色 */

/* 响应式设计 */
@media (max-width: 768px) {
  .info-profile-header-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-bottom: 20px;
  }
  
  .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%;
  }
  
  .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;
  }
}

@media (max-width: 576px) {
  .info-profile-tab-pane {
    padding: 16px;
  }
  
  .info-profile-card-body {
    padding: 12px 16px;
  }
  
  .info-profile-avatar {
    width: 100px;
    height: 100px;
  }
  
  .info-profile-nickname {
    font-size: 24px;
  }
  
  .info-profile-bio {
    font-size: 14px;
  }
  
  .info-profile-actions {
    flex-direction: column;
    width: 100%;
  }
  
  
  .info-profile-medal-item {
    width: calc(50% - 6px);
  }
  
  .info-profile-card {
    margin-bottom: 16px;
  }
  
  .info-profile-quick-actions {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  
  .info-profile-quick-action i {
    font-size: 20px;
    margin-bottom: 4px;
  }
  
  .info-profile-quick-action span {
    font-size: 12px;
  }
  
  .info-profile-asset-value {
    font-size: 16px;
  }
  
  .info-profile-asset-action {
    padding: 4px 10px;
    font-size: 12px;
  }
  
  .info-profile-card-header {
    padding: 12px 16px;
  }
  
  .info-profile-info-list {
    gap: 12px;
  }
  
  .info-profile-info-icon {
    width: 32px;
    height: 32px;
  }
  
  /* 超小屏幕选项卡调整 */
  .info-profile-tab-nav {
    gap: 5px;
  }
  
  .info-profile-tab {
    padding: 12px 16px;
    min-width: 70px;
    font-size: 13px;
  }
  
  .info-profile-tab i {
    font-size: 14px;
    margin-right: 4px;
  }
}
