.container {
    max-width: 1200px;
    margin: 24px auto;
    display: flex;
    flex-direction: row-reverse;
    /* 让右侧内容区在DOM顺序上先出现，但视觉上右侧在右、左侧在左 */
    gap: 24px;
    padding: 0 24px;
}
body{
    background-color: #fff !important;
}
.hot-top-bg {
    width: 100vw;
    height: 480px;
    position: fixed;
    left: 0;
    top: 0;
    z-index: -899;
    background: linear-gradient(0deg, #fff 20%, rgba(30, 128, 255, .2));
}

/* 分割线 */
.divider {
    display: inline-block;
    width: 1px;
    height: 13px;
    background: var(--gray-border);
    margin: 0 3px;
}

/* 左侧导航栏（实际显示在左边） */
.sidebar {
    width: 260px;
    flex-shrink: 0;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    padding: 16px;
    height: fit-content;
}

.sidebar-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    font-size: 15px;
    color: #2c3e50;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.2s, color 0.2s;
    border-left: 3px solid transparent;
    margin: 2px 0;
}

.sidebar-item:hover {
    background: rgba(41, 151, 247, 0.1);
    color: var(--logo);
}

/* 点击状态 */
.sidebar-item.active {
    background: rgba(41, 151, 247, 0.1);
    color: var(--logo);
}

/* 侧边栏 SVG 图标悬停放大效果 */
.sidebar-item.active .badge svg {
    transition: transform 0.3s ease;
    display: inline-block;
    transform: scale(1.2);
}

/* 右侧主内容区 */
.main-content {
    flex: 1;
    background: #ffffff;
    border-radius: 10px;
    padding: 10px;
}

.badge {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 内容样式 */
.ant-list-item-meta li {
    padding: 14px;
}

.ant-list-item-meta .Heat {
    display: flex;
    gap: 24px;
    transition: all 0.3s;
    align-items: center;
    justify-content: space-between;
}

.ant-list-item-meta .Heat:hover {
    background-color: #f0f0f080;
    border-radius: 4px;
}

.ant-list-item-meta .Heat h3 a {
    font-size: 15px;
    overflow: hidden;
    display: -webkit-box;
    max-width: 580px;
    color: #000000;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}

/* 排名 */
.modet {
    font-size: 24px;
}

.list-top-1 {
    color: #ff403a;
}

.list-top-2 {
    color: rgb(247, 121, 50);
}

.list-top-3 {
    color: var(--fuzhu);
}

.Heat .data-list {
    width: 100%;
    display: flex;
    gap: 28px;
    align-items: center;
    margin-top: 3px;
    color: var(--size);
}

.Heat .flexq {
    display: flex;
    gap: 28px;
    align-items: center;
}

.Heat .user-data {
    gap: 3px;
}

.Heat .data-list .img-user {
    width: 23px;
    height: 23px;
    background-color: #ff403a;
    overflow: hidden;
    border-radius: 50%;
}

.Heat .data-list .img-user img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.Heat .data-list .user-name a {
    color: #000000;
    margin-left: 6px;
}

.Heat .data-list .user-name a:hover {
    color: var(--logo);
}

/* 右边热度 */
.right-li {
    position: relative;
    align-items: center;
    gap: 6px;
}

.right-li {
    position: relative;
    /* 确保父容器相对定位，让角标绝对定位生效 */
}

.right-li samp {
    position: absolute;
    top: -16px;
    right: 0;
    /* 倾斜与美化 */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 14px;
    padding: 0 6px;
    background: #1E80FF;
    /* 品牌蓝 */
    color: white;
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    border-radius: 12px 12px 12px 4px;
    /* 右下角略直，体现倾斜感 */
    transform: skewX(-8deg);
    /* 轻微倾斜，增强动态 */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease;

    /* 修复倾斜后内部文字反向倾斜，保持可读 */
    &::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: inherit;
        border-radius: inherit;
        z-index: -1;
    }

    /* 让文字反向倾斜回正 */
    transform: skewX(-8deg);

    >span,
    &::after {
        transform: skewX(8deg);
        display: inline-block;
    }
}

/* 如果只想简单粗暴让文字也回正，可以包裹span，或者直接这样用： */
.right-li samp {
    transform: skewX(-8deg);
}

.right-li samp span {
    display: inline-block;
    transform: skewX(8deg);
}

/* 学习排行榜 */
.align {
    gap: 28px;
    align-items: center;

}

.user-d {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.user-d .grup .user-avimg {
    width: 37px;
    height: 37px;
    overflow: hidden;
    border-radius: 50%;
}

.user-d .grup {
    gap: 5px;
    align-items: center;
}

.user-d .grup .text .user-name a {
    overflow: hidden;
    display: -webkit-box;
    max-width: 580px;
    color: #000000;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    color: #000000;
}

.user-d .grup .text .from {
    font-size: 13px;
    color: var(--size);
    overflow: hidden;
    display: -webkit-box;
    color: #000000;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    max-width: 420px;
}

.user-d .grup .user-avimg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gd {
    gap: 18px;
    align-items: center;
}

/* 关注按钮 */
.btn-sf {
    background-color: var(--logo);
    color: white;
    padding: 6px 18px;
    border-radius: 5px;
    font-size: 0.9rem;
    box-shadow: 0 1px 3px rgba(30, 128, 255, 0.2);
    border: none;
    cursor: pointer;
}
 

.btn-sf:hover {
    opacity: .8;
}