
/* 主体外层容器 */
.uindexwrap {
    max-width: 1240px;
    margin: 24px auto;
    padding: 0 20px;
}

/* 用户主页顶部 Banner */
.user-banner {
    /* background: linear-gradient(135deg, #1b57ad, #2878d8);*/
    /* 背景：底层用户banner图，上层叠加蓝色渐变做压暗，保证白色文字看得清 cover*/
   /* background-image:
            linear-gradient(135deg, rgba(27, 87, 173, 0.1), rgba(40, 120, 216, 0.1)),
            url(/upload/user_banner/1.jpg?t=1780325449);*/
    background-size: 100% auto;
    background-position: center top;
    background-repeat: no-repeat;


    border-radius: 14px;
    color: #fff;
    padding: 32px 36px;
    display: flex;
    gap: 24px;
    position: relative;
    overflow: hidden;
    margin-bottom: 24px;
}

.banner-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.85);
    flex-shrink: 0;
    background: #fff;
    object-fit: cover;
}

.banner-info {
    flex: 1;
}

.banner-name {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 12px;
}

.banner-desc {
    font-size: 14px;
    line-height: 1.7;
    opacity: 0.94;
    margin-bottom: 14px;
}

.banner-meta {
    font-size: 13px;
    opacity: 0.86;
    margin-bottom: 18px;
}

.stat-row {
    display: flex;
    gap: 36px;
}

.stat-item {
    text-align: center;
}

.stat-num {
    font-size: 26px;
    font-weight: bold;
}

.stat-label {
    font-size: 14px;
    opacity: 0.9;
    margin-top: 4px;
}

.banner-buttons {
    position: absolute;
    right: 32px;
    bottom: 32px;
    display: flex;
    gap: 12px;
}

.btn-followa {
    background: #1967d2;
    color: #fff;
    border: none;
    padding: 10px 22px;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
}

.btn-followa:hover {
    background: #045DB7;
}



.btn-messageb {
    background: #ffffff;
    color: #222;
    border: none;
    padding: 10px 22px;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
}

.btn-messageb:hover{
    background: #FF7844;
    color: #fff;
}

/* 内容区 flex：左侧主内容 + 右侧积分卡片 */
.content-flex {
    display: flex;
    gap: 24px;
}

.main-left {
    flex: 1;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
}

/* tab 标签栏 */
.tab-nav {
    display: flex;
    border-bottom: 1px solid #e8e8e8;
    flex-wrap: wrap;
}

.tab-nav-item {
    padding: 16px 22px;
    font-size: 15px;
    cursor: pointer;
    color: #666;
    position: relative;
    white-space: nowrap;
}


.tab-nav-item.active a{
    color: #1967d2;
    font-weight: bold;
}

.tab-nav-item.active::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 22px;
    right: 22px;
    height: 3px;
    background: #1967d2;
}

/* 帖子列表 */
.post-list {
    padding: 12px 20px;
}

.post-item {
    display: flex;
    gap: 14px;
    padding: 18px 0;
    border-bottom: 1px solid #f1f1f1;
}

.post-item:last-child {
    border-bottom: none;
}

.post-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    flex-shrink: 0;
    background: #ccc;
    object-fit: cover;
}

.post-body {
    flex: 1;
}

.post-title {
    font-size: 16px;
    color: #222;
    margin-bottom: 8px;
    text-decoration: none;
}
.post-pltitle{
    font-size: 12px;
    color: #222;
}
.postcomcon{
    font-size: 16px;
    color: #222;
    line-height: 1.8;
    margin-bottom: 8px;
    text-decoration: none;
}
.post-title:hover {
    color: #1967d2;
}

.post-other{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.post-meta {
    font-size: 13px;
    color: #888;
    margin: 0;
    margin-bottom: 6px;
}

.post-meta .time {
    color: #d63031;
}
.post-meta .time2 {
    color: #888;
}
.post-footer {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: #999;
    justify-content: flex-end;
}

/* 右侧积分侧边栏 sticky */
.right-col {
    width: 260px;
    flex-shrink: 0;
}

.sticky-inner {
    position: sticky;
    top: 24px;
}

.score-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
}

.score-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 16px;
    padding-left: 13px;
}

.score-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 14px;
    border-radius: 8px;
    margin-bottom: 10px;
    font-size: 15px;
}

.score-row.s1 {
    background: #ecf5ee;
}

.score-row.s2 {
    background: #eaf4fc;
}

.score-row.s3 {
    background: #fff3e0;
}


/* 移动端适配 */
@media (max-width: 992px) {
    .right-col {
        display: none;
    }

    .user-banner {
        flex-direction: column;
    }

    .banner-buttons {
        position: static;
        margin-top: 16px;
    }

    .stat-row {
        flex-wrap: wrap;
        gap: 20px;
    }
}

/*关注列表*/

.my-follow-list {
    padding:16px 20px;
}
.my-follow-list .user-item-sc {
    display:flex;
    align-items:center;
    gap:14px;
    border-bottom:1px solid #f1f1f1;
    margin-bottom: 20px;
}
.my-follow-list .user-item-sc:last-child{
   /* border-bottom:none;*/
}
.my-follow-list .user-item-sc > a {
    flex:1;
    display:flex;
    align-items:center;
    gap:14px;
    text-decoration:none;
    color:#333;
}
.my-follow-list .user-avatar-sc {
    width:56px;
    height:56px;
    border-radius:50%;
    overflow:hidden;
    flex-shrink:0;
    background:#eee;
}
.my-follow-list .user-avatar-sc img {
    width:100%;
    height:100%;
    object-fit:cover;
}
.my-follow-list .user-info-sc {
    flex:1;
}
.my-follow-list .user-name-row {
    font-size:16px;
    font-weight:500;
    margin-bottom:6px;
}
.my-follow-list .keyword-highlight{
    background:#fff2aa;
    padding:0 2px;
}
.my-follow-list .user-meta {
    font-size:13px;
    color:#888;
}
.my-follow-list .btn-follows {
    border:1px solid #1967d2;
    background:#1967d2;
    color:#fff;
    border-radius:4px;
    padding:6px 16px;
    cursor:pointer;
    font-size:14px;
    white-space:nowrap;
}
.my-follow-list .btn-follows:hover{
    background:#1458b8;
}

.my-follow-list .btn-follows.followed{
    background:#ffffff;
    color:#666;
    border-color:#cccccc;
}


/*小黑屋*/

.ban-tip-card{
    /*background: #fff3f3;*/
    background: linear-gradient(135deg, rgba(254, 242, 242, 0.95) 0%, rgba(255, 247, 237, 0.92) 100%);
    border:1px solid #ffcccc;
    border-radius:12px;
    padding:20px 24px;
    display:flex;
    align-items:flex-start;
    gap:16px;
    margin:16px 0 20px 0;
}
.ban-icon-box{
    width:48px;
    height:48px;
    border-radius:10px;
    background:#ffecec;
    flex-shrink:0;
    display:flex;
    align-items:center;
    justify-content:center;
}
.ban-icon-box i{
    font-size:24px;
    color:#dd3434;
}
.ban-content{
    flex:1;
}
.ban-title{
    font-size:20px;
    color:#a82222;
    font-weight:bold;
    margin:0 0 10px 0;
}
.ban-row{
    display:flex;
    align-items:center;
    gap:32px;
}
.ban-item{
    flex:1;
}
.ban-label{
    font-size:15px;
    color:#b24444;
    display:block;
    margin-bottom:4px;
}
.ban-value{
    font-size:18px;
    color:#881818;
    font-weight:bold;
}
.ban-btn-wrap{
    flex-shrink:0;
}
.ban-btn{
    display:inline-block;
    padding:10px 24px;
    background:#dd2c2c;
    color:#fff;
    border-radius:999px;
    font-size:16px;
    border:none;
    cursor:pointer;
}
.ban-btn:hover{
    background:#c22020;
    color: #ffffff;
}