/* FiresAI 用户详情页额外样式 */
body {
    font-family: "SF Pro Text", "SF Pro Icons", "Helvetica Neue", Helvetica, Arial, sans-serif;
    background-color: #f8f9fa;
    color: #212529;
    line-height: 1.6;
}
.navbar-brand {
    font-weight: bold;
}
.nav-link {
    font-weight: 500;
}
.stat-card {
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
}
.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.user-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid rgba(255,255,255,0.7);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.profile-header {
    padding: 2rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    margin-bottom: 30px;
}
.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}
.card-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    background-color: rgba(0, 0, 0, 0.02);
    font-weight: 600;
}
.btn {
    border-radius: 5px;
    font-weight: 500;
}
.btn-link {
    color: #667eea;
}
.btn-link:hover {
    color: #764ba2;
    text-decoration: none;
}
footer {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    color: #6c757d;
}
.display-4 {
    font-weight: 600;
}
.text-primary {
    color: #667eea !important;
}
.text-success {
    color: #28a745 !important;
}
/* ===== 用户页模块 from user_page.css ===== */
.user-section{margin-top:8px;margin-bottom:4px;}
.cards{padding:5px 30px 40px;}
.user-section .list-cards{display:flex;gap:20px;flex-wrap:wrap;}
.list-card{background:#fafafa;border-radius:8px;padding:16px;box-shadow:0 1px 4px rgba(0,0,0,.05);flex:1 1 320px;}
.user-info-card{text-align:center;}
.user-info-card .avatar{width:96px;height:96px;border-radius:50%;object-fit:cover;margin-bottom:12px;}
.user-info-card .inner{display:flex;flex-direction:column;align-items:center;}
.user-info-card .nickname{text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;}
.user-info-card .reg-time{font-size:13px;color:#666;}
.user-info-card .share{margin-top:10px;font-size:13px;}
.active-users-card .active-users-list{display:flex;flex-wrap:wrap;justify-content:flex-start;padding:6px 10px;}
.active-users-card .active-users-list a{flex-direction:column;align-items:center;justify-content:center;width:80px;margin:8px;text-decoration:none;color:#333;display:inline-flex;}
.active-users-card .active-users-list img{width:50px;height:50px;border-radius:50%;object-fit:cover;margin-bottom:4px;}
.active-users-card .active-users-list span{font-size:12px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:72px;display:block;}

@media (max-width: 767px){
  /* 活跃用户：3列布局 */
  .active-users-card .active-users-list a{
     width: 33.33% !important;
     margin: 6px 0 !important;
  }
  .active-users-card .active-users-list{
     justify-content: center !important;
     padding: 4px 0 !important;
  }
  /* 缩小头像尺寸以适配 */
  .active-users-card .active-users-list img{
     width:46px !important;
     height:46px !important;
  }
  /* 去除排行榜与下方卡片的空隙 */
  .user-section .list-card{
     margin-bottom: 12px !important;
  }
  .active-users-card .active-users-list a:nth-child(10){display:none !important;}
} 