/* ==================== 按钮 ==================== */
.umf-btn {
    display: inline-block;
    padding: 6px 16px;
    border: none;
    border-radius: 20px;
    background: #eee;
    color: #333;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    margin: 5px 0;
    line-height: 1.4;
}
.umf-btn.follow {
    background: #3498db;
    color: #fff;
}
.umf-btn.follow:hover {
    background: #2980b9;
}
.umf-btn.unfollow {
    background: #e74c3c;
    color: #fff;
}
.umf-btn.unfollow:hover {
    background: #c0392b;
}
.umf-btn.loading {
    opacity: 0.6;
    cursor: default;
}

/* ==================== 资料页头部 ==================== */
.umf-profile-wrap {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 15px 0;
}
.umf-profile-stats {
    display: inline-block;
    font-size: 16px;
}
.umf-profile-stats span {
    margin-right: 15px;
}
.umf-profile-stats strong {
    font-size: 18px;
}
.umf-profile-btn {
    display: inline-block;
}
.umf-login-required,
.umf-self {
    color: #999;
    font-size: 13px;
}

/* ==================== 会员目录 ==================== */
.umf-directory-btn {
    margin-top: 8px;
}

/* ==================== 选项卡列表 ==================== */
.umf-list {
    max-width: 640px;
    margin: 20px auto;
}

.umf-list-item {
    display: flex;
    align-items: center;
    padding: 12px 8px;
    border-bottom: 1px solid #e0e0e0;
}

/* 头像：强制圆形 + 与昵称之间留间距 */
.umf-list-item img,
.umf-list-item .avatar,
.umf-list-item .um-avatar,
.umf-list-item img.um-avatar,
.umf-list-item img.gravatar {
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    object-fit: cover;
    margin-right: 20px !important;
    margin-left: 0 !important;
    flex-shrink: 0;
    display: inline-block;
    vertical-align: middle;
}

/* 昵称 */
.umf-list-item > a {
    flex: 1;
    font-weight: bold;
    text-decoration: none;
    color: inherit;
    margin-right: 10px;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.umf-list-item > a:hover {
    color: #3498db;
}

/* 右侧按钮区 */
.umf-list-item .umf-list-btn {
    margin-left: auto;
    flex-shrink: 0;
}

/* 空列表提示 */
.umf-empty {
    text-align: center;
    color: #888;
    padding: 30px 0;
}

/* ==================== 响应式 ==================== */
@media (max-width: 480px) {
    .umf-list-item img,
    .umf-list-item .avatar,
    .umf-list-item .um-avatar,
    .umf-list-item img.um-avatar,
    .umf-list-item img.gravatar {
        width: 40px !important;
        height: 40px !important;
        margin-right: 14px !important;
    }
    .umf-list-item {
        padding: 10px 4px;
    }
    .umf-btn {
        padding: 5px 12px;
        font-size: 13px;
    }
}

/* 被限制关注时的提示文字 */
.umf-restricted {
    color: #e74c3c;
    font-size: 13px;
    font-style: italic;
    padding: 6px 0;
    display: inline-block;
}









/* 分类页切换按钮 */
.umf-view-switch {
    display: flex;
    gap: 8px;
    justify-content: center;
   margin: 45px 0 25px;   /* ← 原来 15px 0，改大上边距 */
    padding: 0 20px;
    max-width: 1200px;
    font-size: 14px;
}
.umf-view-switch .umf-tab {
    padding: 6px 20px;
    border-radius: 20px;
    background: #eee;
    color: #333;
    text-decoration: none;
    transition: all 0.2s;
    display: inline-block;
}
.umf-view-switch .umf-tab:hover {
    background: #ddd;
}
.umf-view-switch .umf-tab.active {
    background: #3498db;
    color: #fff;
    cursor: default;
}