/* ============================================================
 * 用户主页（掘金式）· PC
 * 布局：居中双列（主列 + 右侧栏小工具），灰底；
 * 白卡资料头（头像/昵称/徽章/简介 + 关注/私信）→ Tab 条 →
 * feed（动态=掘金动态行 / 文章·赞=掘金 entry 行 / 视频=网格卡 / 音乐=歌单行）
 * ============================================================ */

.lsj-user-page {
    width: 100%;
    margin: 0;
    background: #f4f5f5;
}

.lsj-user-page .up-wrap {
    width: min(var(--up-width, 960px), calc(100% - 32px));
    margin: 12px auto 48px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}
.lsj-user-page .up-main {
    flex: 1;
    min-width: 0;
}
.lsj-user-page .up-aside {
    width: var(--up-aside, 240px);
    flex-shrink: 0;
    /* 滚动悬停（掘金侧栏同款 sticky，顶距 = 站点头部高度 + 间距） */
    position: sticky;
    top: calc(var(--ls-header-height, 64px) + 10px);
    align-self: flex-start;
}
.lsj-user-page .up-wrap.no-aside .up-main {
    max-width: 760px;
    margin: 0 auto;
}

/* ---------- 右侧栏（掘金式内置卡片） ---------- */
.lsj-user-page .up-aside-card {
    background: #fff;
    border-radius: 4px;
    margin-bottom: 16px;
    overflow: hidden;
}
.lsj-user-page .up-aside-title {
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 600;
    color: #252933;
    border-bottom: 1px solid hsla(0, 0%, 59.2%, .1);
}

/* 个人成就 */
.lsj-user-page .up-achieve-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 16px;
    font-size: 13px;
    color: #515767;
}
.lsj-user-page .up-achieve-row i {
    font-size: 16px;
    width: 18px;
    text-align: center;
    flex-shrink: 0;
}
.lsj-user-page .up-achieve-like { color: #1e80ff; }
.lsj-user-page .up-achieve-view { color: #5ec4b6; }
.lsj-user-page .up-achieve-exp { color: #ff7d00; }
.lsj-user-page .up-achieve-verify { color: #ffb800; }
.lsj-user-page .up-achieve-vip { color: #f5a623; }
.lsj-user-page .up-achieve-label em {
    font-style: normal;
    color: #252933;
}

/* 关注了 / 关注者 */
.lsj-user-page .up-follow-card {
    display: flex;
}
.lsj-user-page .up-follow-cell {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 14px 0;
    text-decoration: none;
}
.lsj-user-page .up-follow-cell + .up-follow-cell {
    border-left: 1px solid hsla(0, 0%, 59.2%, .1);
}
.lsj-user-page .up-follow-cell span {
    font-size: 13px;
    color: #515767;
}
.lsj-user-page .up-follow-cell em {
    font-style: normal;
    font-size: 17px;
    font-weight: 700;
    color: #252933;
}
.lsj-user-page .up-follow-cell:hover em {
    color: var(--up-primary, #1e80ff);
}

/* 收藏集 / 关注标签 / 加入于 */
.lsj-user-page .up-meta-card {
    padding: 4px 0;
}
.lsj-user-page .up-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    font-size: 13px;
    color: #515767;
}
.lsj-user-page .up-meta-row em {
    font-style: normal;
    color: #252933;
}
.lsj-user-page a.up-meta-row {
    text-decoration: none;
    transition: background .15s;
}
.lsj-user-page a.up-meta-row:hover {
    background: #f7f8fa;
}
.lsj-user-page a.up-meta-row:hover em {
    color: var(--up-primary, #1e80ff);
}

/* ---------- 资料卡（掘金极简白卡） ---------- */
.lsj-user-page .up-profile-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #fff;
    border-radius: 4px;
    padding: 24px 28px;
}
.lsj-user-page .up-avatar {
    display: flex;
    align-items: center;
    width: 3.75rem;
    height: 3.75rem;
    border-radius: 50%;
}
.lsj-user-page .up-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.lsj-user-page .up-info {
    flex: 1;
    min-width: 0;
}
.lsj-user-page .up-name-line {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.lsj-user-page .up-name {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    line-height: 30px;
    color: #252933;
    word-break: break-all;
}
.lsj-user-page .up-badges {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.lsj-user-page .up-bio {
    margin-top: 8px;
    font-size: 13px;
    line-height: 22px;
    color: #8a919f;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.lsj-user-page .up-actions {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}
.lsj-user-page .up-btn {
    height: 34px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 14px;
    line-height: 1;
    border-radius: 4px;
    box-sizing: border-box;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    transition: background .15s, color .15s, border-color .15s, opacity .15s;
}
.lsj-user-page .up-follow {
    border: 1px solid var(--up-primary, #1e80ff);
    background: var(--up-primary, #1e80ff);
    color: #fff;
}
.lsj-user-page .up-follow:hover {
    opacity: .88;
}
.lsj-user-page .up-follow.is-followed {
    background: #f2f3f5;
    border-color: #f2f3f5;
    color: #8a919f;
}
.lsj-user-page .up-follow.is-loading {
    opacity: .6;
    pointer-events: none;
}
.lsj-user-page .up-chat,
.lsj-user-page .up-edit {
    border: 1px solid rgba(30, 128, 255, .35);
    background: #fff;
    color: var(--up-primary, #1e80ff);
}
.lsj-user-page .up-chat:hover,
.lsj-user-page .up-edit:hover {
    border-color: var(--up-primary, #1e80ff);
    background: rgba(30, 128, 255, .06);
}
/* 私信图标（本地 PNG，与按钮文字对齐） */
.lsj-user-page .up-im-icon {
    width: 15px;
    height: 15px;
    object-fit: contain;
    flex-shrink: 0;
}

/* ---------- Tab 条（动态/文章/视频/音乐/赞） ---------- */
.lsj-user-page .up-tabs {
    margin-top: 12px;
    background: #fff;
    border-radius: 4px;
    padding: 0 20px;
    display: flex;
    align-items: center;
}
.lsj-user-page .up-tab {
    position: relative;
    padding: 14px 0;
    margin-right: 28px;
    font-size: 14px;
    color: #515767;
    cursor: pointer;
    transition: color .15s;
    white-space: nowrap;
}
.lsj-user-page .up-tab:last-child {
    margin-right: 0;
}
.lsj-user-page .up-tab em {
    font-style: normal;
    font-size: 12px;
    color: #8a919f;
}
.lsj-user-page .up-tab:hover {
    color: var(--up-primary, #1e80ff);
}
.lsj-user-page .up-tab.is-active {
    color: var(--up-primary, #1e80ff);
    font-weight: 500;
}
.lsj-user-page .up-tab.is-active::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 22px;
    height: 2px;
    border-radius: 1px;
    background: var(--up-primary, #1e80ff);
}

/* ---------- 关注 Tab 二级菜单（与 Tab 卡连成一体） ---------- */
.lsj-user-page .up-tabs:has(+ .up-follow-sub:not([hidden])) {
    border-radius: 4px 4px 0 0;
}
.lsj-user-page .up-follow-sub {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border-radius: 0 0 4px 4px;
    border-top: 1px solid hsla(0, 0%, 59.2%, .1);
    padding: 10px 20px;
}
.lsj-user-page .up-follow-sub[hidden] {
    display: none;
}
.lsj-user-page .up-follow-sub-label {
    font-size: 14px;
    font-weight: 600;
    color: #252933;
}
.lsj-user-page .up-follow-sub-tabs {
    display: flex;
    align-items: center;
}
.lsj-user-page .up-follow-sub-tab {
    position: relative;
    font-size: 13px;
    color: #515767;
    cursor: pointer;
    padding: 4px 0;
    transition: color .15s;
}
.lsj-user-page .up-follow-sub-tab + .up-follow-sub-tab {
    margin-left: 24px;
}
.lsj-user-page .up-follow-sub-tab + .up-follow-sub-tab::before {
    content: '';
    position: absolute;
    left: -12px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 12px;
    background: hsla(0, 0%, 59.2%, .2);
}
.lsj-user-page .up-follow-sub-tab:hover {
    color: var(--up-primary, #1e80ff);
}
.lsj-user-page .up-follow-sub-tab.is-active {
    color: var(--up-primary, #1e80ff);
    font-weight: 500;
}

/* ---------- 关注行（掘金关注列表样式，1rem=12px 换算对齐） ---------- */
.lsj-user-page .up-follow-row {
    display: flex;
    align-items: center;
    padding: 6px 29px;
    min-height: 84px;
    border-bottom: 1px solid hsla(0, 0%, 59.2%, .1);
    cursor: pointer;
    box-sizing: border-box;
}
.lsj-user-page .up-follow-row:last-child {
    border-bottom: none;
}
.lsj-user-page .up-follow-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    overflow: hidden;
    flex: 0 0 auto;
    margin-right: 20px;
    background: #f2f3f5;
}
.lsj-user-page .up-follow-avatar.is-square {
    border-radius: 8px;
}
.lsj-user-page .up-follow-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: inherit;
}
.lsj-user-page .up-follow-info {
    flex: 1;
    min-width: 0;
}
.lsj-user-page .up-follow-name {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #252933;
    overflow: hidden;
    white-space: nowrap;
}
.lsj-user-page .up-follow-name a {
    max-width: 128px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.lsj-user-page .up-follow-bio {
    margin-top: 5px;
    font-size: 12px;
    color: #8a919f;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.lsj-user-page .up-row-btn {
    flex: 0 0 auto;
    width: 90px;
    height: 30px;
    margin-left: 12px;
    padding: 0;
    border-radius: 2px;
    border: 1px solid #92c452;
    background: #fff;
    color: #92c452;
    font-size: 12px;
    cursor: pointer;
    transition: all .15s;
}
.lsj-user-page .up-row-btn:hover {
    background: rgba(146, 196, 82, .08);
}
.lsj-user-page .up-row-btn.is-followed {
    border-color: #dcdcdc;
    color: #909090;
}
.lsj-user-page .up-row-btn.is-followed:hover {
    background: #f5f6f7;
}
.lsj-user-page .up-row-btn.is-loading {
    opacity: .6;
    pointer-events: none;
}
.lsj-user-page .up-tab.is-active em {
    color: var(--up-primary, #1e80ff);
}

/* ---------- feed 容器 ---------- */
.lsj-user-page .up-feed {
    margin-top: 12px;
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
}
.lsj-user-page .up-feed.is-grid {
    background: transparent;
    overflow: visible;
}

/* ---------- 动态行（1:1 镜像掘金 .activity-item.shadow > .post-item 层级） ---------- */
/* 动态 Tab 下容器透明，每条动态是独立白卡 */
.lsj-user-page .up-feed.is-activity {
    background: transparent;
    overflow: visible;
}
.lsj-user-page .up-feed.is-activity .up-empty,
.lsj-user-page .up-feed.is-activity .up-list-loading {
    background: #fff;
    border-radius: 4px;
}
.lsj-user-page .up-activity {
    border-radius: 0 0 .2rem .2rem;
    margin-bottom: 8px;
    background-color: #fff;
    border-radius: .2rem;
}
.lsj-user-page .up-activity:last-child {
    margin-bottom: 0;
}

/* post-header：author-bar（头像 + 昵称/meta + 右侧关注按钮） */
/* 注意：post-header 与 author-bar 是嵌套关系，样式必须分开写——
   post-header 只负责块级容器与内边距，flex 布局只在 author-bar 一层，避免叠加 */
.lsj-user-page .up-post-header {
    position: relative;
    padding: 16px 20px 0;
}
.lsj-user-page .up-author-bar {
    display: flex;
    align-items: center;
    width: 100%;
    min-width: 0;
}
.lsj-user-page .up-avatar {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    background: #f2f3f5;
}
.lsj-user-page .up-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.lsj-user-page .up-author-content {
    flex: 1;
    min-width: 0;
    margin-left: 12px;
}
.lsj-user-page .up-author-head {
    display: flex;
    align-items: center;
}
.lsj-user-page .up-username {
    font-size: 16px;
    font-weight: 500;
    color: #515767;
    line-height: 24px;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-decoration: none;
    transition: color .15s;
}
.lsj-user-page .up-username:hover {
    color: var(--up-primary, #1e80ff);
}
/* meta-box：职位/简介 + · + 时间（掘金三节点） */
.lsj-user-page .up-meta-box {
    display: flex;
    align-items: center;
    margin-top: 2px;
    font-size: 14px;
    color: #8a919f;
    line-height: 22px;
    min-width: 0;
}
.lsj-user-page .up-position {
    max-width: 320px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.lsj-user-page .up-dot {
    margin: 0 6px;
    flex-shrink: 0;
}
.lsj-user-page .up-time {
    flex-shrink: 0;
}
/* 头部右侧关注按钮（掘金 subscribe-btn：蓝色描边） */
.lsj-user-page .up-subscribe-btn {
    flex-shrink: 0;
    margin: 0 0 0 auto;
    min-width: 74px;
    height: 32px;
    padding: 0 12px;
    font-size: 14px;
    color: #1e80ff;
    background: rgba(30, 128, 255, .05);
    border: 1px solid rgba(30, 128, 255, .3);
    border-radius: 4px;
    cursor: pointer;
    transition: background .15s, border-color .15s;
}
.lsj-user-page .up-subscribe-btn:hover {
    background: rgba(30, 128, 255, .1);
    border-color: rgba(30, 128, 255, .5);
}
.lsj-user-page .up-subscribe-btn.is-loading {
    opacity: .6;
    pointer-events: none;
}

/* post-item-content：标题独占一行在上方，rich-content = 摘要(左) + 缩略图(右) */
.lsj-user-page .up-post-content {
    margin-left: 56px;
    padding: 6px 20px 10px;
}
.lsj-user-page .up-post-link {
    display: block;
    color: inherit;
    text-decoration: none;
}
.lsj-user-page .up-post-title > h3 {
    margin: 0;
    display: inline;
    font-size: 17px;
    color: #17181a;
    line-height: 1.5;
}
.lsj-user-page .up-post-link:hover .up-post-title > h3 {
    /* color: var(--up-primary, #1e80ff); */
}
.lsj-user-page .up-rich-content {
    margin-top: 3px;
    padding: 3px 0;
    display: flex;
    justify-content: space-between;
}
.lsj-user-page .up-post-excerpt {
    margin-right: 16px;
    font-size: 15px;
    color: #5c6066;
    line-height: 1.53;
    flex: 1 1 auto;
    margin-right: 16px;
    font-size: 15px;
    color: #5c6066;
    line-height: 1.53;
    flex: 0 1 auto;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}
.lsj-user-page .up-post-image {
    width: 65px;
    height: 65px;
    background-color: #eee;
    border-radius: 2px;
    flex: 0 0 auto;
}
.lsj-user-page .up-activity-words {
    font-size: 14px;
    line-height: 24px;
    color: #252933;
    word-break: break-word;
}
.lsj-user-page .up-activity-cover-multi {
    flex: 0 0 auto;
    display: flex;
    gap: 8px;
    margin-left: 24px;
}
.lsj-user-page .up-activity-cover-multi img {
    width: 120px;
    height: 80px;
    border-radius: 4px;
    object-fit: cover;
    background: #f2f3f5;
}

/* action-box：赞 / 评论 / 分享（掘金左对齐大间距，无边线、无三段均分） */
.lsj-user-page .up-action-box {
    display: flex;
    position: relative;
    margin-top: 3px;
    height: 34px;
    border-top: 1px solid #ebebeb;
}
.lsj-user-page .up-action {
    flex: 1 1 33.333%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 100%;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    margin-left: 5px;
    font-size: 13px;
    color: #8a93a0;
}
.lsj-user-page .up-action:last-child {
    margin-right: 0;
}
.lsj-user-page .up-action-title-box {
    display: flex;
    align-items: center;
}
.lsj-user-page .up-action .up-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    margin-right: 4px;
    font-size: 15px;
}
.lsj-user-page .up-action .up-icon svg {
    width: 16px;
    height: 16px;
}
.lsj-user-page .up-action:hover {
    color: var(--up-primary, #1e80ff);
}
.lsj-user-page .up-action.liked,
.lsj-user-page .up-action.liked .up-action-title {
    color: #1e80ff;
}

/* ---------- 文章/赞 entry 行（与标签页掘金层级一致） ---------- */
.lsj-user-page .entry {
    cursor: pointer;
    position: relative;
    background: #fff;
    padding: 12px 20px 0;
    display: flex;
    flex-direction: column;
}
.lsj-user-page .entry:hover {
    background: #fafbfc;
}
.lsj-user-page .content-wrapper {
    display: flex;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(228, 230, 235, .5);
    width: 100%;
}
.lsj-user-page li.item:last-child .content-wrapper {
    border-bottom: none;
}
.lsj-user-page .content-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
}
.lsj-user-page .title-row {
    display: flex;
    margin-bottom: 2px;
}
.lsj-user-page .title-row .title {
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    color: #252933;
    width: 100%;
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}
.lsj-user-page .entry:hover .title-row .title {
    color: var(--up-primary, #1e80ff);
}
.lsj-user-page .abstract {
    margin-bottom: 4px;
    font-weight: 400;
}
.lsj-user-page .abstract a {
    color: #8a919f;
    font-size: 13px;
    line-height: 22px;
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}
.lsj-user-page .abstract a > div {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.lsj-user-page .entry-footer {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    flex-wrap: wrap;
    margin-top: auto;
}
.lsj-user-page .action-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 13px;
    color: #8a919f;
    min-width: 0;
}
.lsj-user-page .action-list > .item {
    display: flex;
    align-items: center;
    white-space: nowrap;
}
.lsj-user-page .action-list svg {
    flex-shrink: 0;
    margin-right: 4px;
}
.lsj-user-page .action-list .view-icon {
    margin-right: 5px;
}
.lsj-user-page .footer-divider {
    width: 1px;
    height: 14px;
    background: #e4e6eb;
    margin: 0 10px;
    flex-shrink: 0;
}
/* 竖线只保留在时间后面，浏览/点赞/评论用间距分隔（掘金同款） */
.lsj-user-page .action-list > .item.like,
.lsj-user-page .action-list > .item.comment {
    margin-left: 20px;
}
.lsj-user-page .action-list > .item.like {
    cursor: pointer;
    transition: color .15s;
}
.lsj-user-page .action-list > .item.like:not(.is-liked):hover,
.lsj-user-page .action-list > .item.like:not(.is-liked):hover span {
    color: var(--up-primary, #1e80ff);
}
.lsj-user-page .action-list > .item.like.is-liked,
.lsj-user-page .action-list > .item.like.is-liked span {
    color: #1e80ff;
}
.lsj-user-page .entry-footer-tags {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.lsj-user-page .footer-tag {
    display: inline-flex;
    align-items: center;
    height: 20px;
    padding: 0 8px;
    margin-left: 8px;
    font-size: 12px;
    line-height: 1;
    color: #8a919f;
    background: #f2f3f5;
    border-radius: 2px;
    white-space: nowrap;
    transition: color .15s;
}
.lsj-user-page .footer-tag.width-limited {
    max-width: 90px;
    overflow: hidden;
    text-overflow: ellipsis;
}
.lsj-user-page .footer-tag:hover {
    color: var(--up-primary, #1e80ff);
}
.lsj-user-page .thumb {
    flex: 0 0 auto;
    width: 108px;
    height: 72px;
    margin-left: 24px;
    background-color: #fff;
    border-radius: 4px;
    border: 1px solid rgba(228, 230, 235, 0.5);
}

/* ---------- 视频网格卡（移植自论坛列表 renderVideoCard） ---------- */
.lsj-user-page .up-video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px 14px;
}
.lsj-user-page .up-video-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: box-shadow .15s;
}
.lsj-user-page .up-video-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, .08);
}
.lsj-user-page .up-video-cover {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    background: #1a1a1e;
    overflow: hidden;
}
.lsj-user-page .up-video-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .2s;
}
.lsj-user-page .up-video-card:hover .up-video-cover img {
    transform: scale(1.04);
}
.lsj-user-page .up-video-cover-empty {
    display: block;
    width: 100%;
    height: 100%;
    background: #1a1a1e;
}
.lsj-user-page .up-video-play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, .45);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    opacity: 0;
    transition: opacity .15s, background .15s;
    pointer-events: none;
}
.lsj-user-page .up-video-card:hover .up-video-play,
.lsj-user-page .up-video-card.is-locked .up-video-play {
    opacity: 1;
}
.lsj-user-page .up-video-card:hover .up-video-play {
    background: var(--up-primary, #1e80ff);
}
.lsj-user-page .up-video-duration {
    position: absolute;
    right: 6px;
    bottom: 6px;
    padding: 1px 5px;
    border-radius: 3px;
    background: rgba(0, 0, 0, .72);
    color: #fff;
    font-size: 11px;
    line-height: 16px;
}
.lsj-user-page .up-video-body {
    padding: 8px 10px 10px;
}
.lsj-user-page .up-video-title {
    font-size: 13px;
    font-weight: 500;
    line-height: 19px;
    color: #252933;
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    min-height: 38px;
}
.lsj-user-page .up-video-card:hover .up-video-title {
    color: var(--up-primary, #1e80ff);
}
.lsj-user-page .up-video-meta {
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: #8a919f;
}
.lsj-user-page .up-video-time {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.lsj-user-page .up-video-stat {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    white-space: nowrap;
}
.lsj-user-page .up-video-stat svg {
    flex-shrink: 0;
}

/* ---------- 音乐歌单行（移植自论坛列表 renderMusicRow，用户页去掉分享者列） ---------- */
.lsj-user-page .up-music-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 160px) 96px;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border-bottom: 1px solid #f1f2f5;
    cursor: pointer;
    transition: background .15s;
}
.lsj-user-page .up-music-row:last-child {
    border-bottom: none;
}
.lsj-user-page .up-music-row:hover {
    background: #fafbfc;
}
.lsj-user-page .up-music-row.is-current {
    background: rgba(30, 128, 255, .08);
}
.lsj-user-page .up-music-row.is-playing {
    background: var(--up-primary, #1e80ff);
}
.lsj-user-page .up-music-row.is-playing .up-music-name,
.lsj-user-page .up-music-row.is-playing .up-music-artist,
.lsj-user-page .up-music-row.is-playing .up-music-artist-mobile,
.lsj-user-page .up-music-row.is-playing .up-music-time {
    color: #fff;
}
.lsj-user-page .up-music-song {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}
.lsj-user-page .up-music-cover {
    position: relative;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 4px;
    overflow: hidden;
    background: #f2f3f5;
    border: none;
    padding: 0;
    cursor: pointer;
}
.lsj-user-page .up-music-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.lsj-user-page .up-music-play-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .32);
    color: #fff;
    font-size: 16px;
    opacity: 0;
    transition: opacity .15s;
}
.lsj-user-page .up-music-row:hover .up-music-play-icon,
.lsj-user-page .up-music-row.is-current .up-music-play-icon,
.lsj-user-page .up-music-row.is-locked .up-music-play-icon {
    opacity: 1;
}
.lsj-user-page .up-music-eq {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 3px;
    display: none;
    align-items: flex-end;
    justify-content: center;
    gap: 2px;
    height: 14px;
    pointer-events: none;
}
.lsj-user-page .up-music-eq i {
    width: 3px;
    height: 14px;
    background: #fff;
    border-radius: 1px;
    transform-origin: bottom;
    animation: up-music-eq .85s ease-in-out infinite;
}
.lsj-user-page .up-music-eq i:nth-child(2) { animation-delay: .15s; }
.lsj-user-page .up-music-eq i:nth-child(3) { animation-delay: .3s; }
.lsj-user-page .up-music-eq i:nth-child(4) { animation-delay: .45s; }
.lsj-user-page .up-music-row.is-playing .up-music-eq {
    display: flex;
}
.lsj-user-page .up-music-row.is-playing .up-music-play-icon {
    opacity: 1;
}
.lsj-user-page .up-music-row.is-playing .up-music-play-icon i {
    opacity: 0;
}
@keyframes up-music-eq {
    0%, 100% { transform: scaleY(.35); }
    50% { transform: scaleY(1); }
}
.lsj-user-page .up-music-song-text {
    min-width: 0;
}
.lsj-user-page .up-music-name {
    font-size: 14px;
    font-weight: 600;
    color: #252933;
    line-height: 20px;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-decoration: none;
}
.lsj-user-page .up-music-name:hover {
    color: var(--up-primary, #1e80ff);
}
.lsj-user-page .up-music-row.is-playing .up-music-name:hover {
    color: #fff;
}
.lsj-user-page .up-music-artist-mobile {
    display: none;
    font-size: 12px;
    color: #8a919f;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.lsj-user-page .up-music-artist {
    font-size: 13px;
    color: #8a919f;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.lsj-user-page .up-music-duration {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}
.lsj-user-page .up-music-time {
    font-size: 12px;
    color: #8a919f;
    font-variant-numeric: tabular-nums;
}
.lsj-user-page .up-music-listen {
    display: none;
    height: 24px;
    padding: 0 10px;
    font-size: 12px;
    color: var(--up-primary, #1e80ff);
    background: #fff;
    border: 1px solid rgba(30, 128, 255, .35);
    border-radius: 12px;
    cursor: pointer;
    white-space: nowrap;
}
@media (hover: hover) and (pointer: fine) {
    .lsj-user-page .up-music-row:not(.is-playing):hover .up-music-time {
        display: none;
    }
    .lsj-user-page .up-music-row:not(.is-playing):hover .up-music-listen {
        display: inline-flex;
        align-items: center;
    }
}

/* ---------- 状态：加载 / 空 / 加载更多 ---------- */
.lsj-user-page .up-list-loading,
.lsj-user-page .up-empty {
    list-style: none;
    padding: 56px 20px;
    text-align: center;
    font-size: 14px;
    color: #8a919f;
}
.lsj-user-page .up-empty .remix-icon {
    display: block;
    font-size: 36px;
    margin-bottom: 10px;
    opacity: .35;
}
.lsj-user-page .up-loadmore {
    padding: 16px 20px 20px;
    text-align: center;
}
.lsj-user-page .up-loadmore-text {
    font-size: 13px;
    color: #8a919f;
}

/* ---------- 窄屏兜底 ---------- */
@media (max-width: 900px) {
    .lsj-user-page .up-aside {
        display: none;
    }
    .lsj-user-page .up-video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .lsj-user-page .up-profile-card {
        padding: 16px;
        gap: 12px;
        flex-wrap: wrap;
    }
    .lsj-user-page .up-avatar {
        width: 64px;
        height: 64px;
    }
    .lsj-user-page .up-name {
        font-size: 18px;
        line-height: 26px;
    }
    .lsj-user-page .up-actions {
        width: 100%;
    }
    .lsj-user-page .up-actions .up-btn {
        flex: 1;
    }
    .lsj-user-page .up-tab {
        margin-right: 18px;
    }
    .lsj-user-page .entry {
        padding: 12px 14px 0;
    }
    .lsj-user-page .thumb {
        width: 96px;
        height: 64px;
        margin-left: 12px;
    }
    .lsj-user-page .entry-footer-tags {
        display: none;
    }
    .lsj-user-page .up-activity {
        padding: 14px 16px 12px;
    }
    .lsj-user-page .up-music-row {
        grid-template-columns: minmax(0, 1fr) 64px;
    }
    .lsj-user-page .up-music-artist {
        display: none;
    }
    .lsj-user-page .up-music-artist-mobile {
        display: block;
    }
}
