/* ===== 收藏夹（侧栏） ===== */
.sidebar__widget .rc-post ul {
    margin: 0;
    padding: 0;
    list-style: none
}

.sidebar__widget .rc-post li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 5px 0 18px 0;
    border-bottom: 1px solid rgba(0, 0, 0, .06)
}

.sidebar__widget .rc-post li:last-child {
    border-bottom: none
}

/* 缩略图 */
.sidebar__widget .rc-post .star_img {
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
    border-radius: 4px;
    overflow: hidden;
    background: #f3f4f6
}

.sidebar__widget .rc-post .star_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

/* 文本：两行省略 */
.sidebar__widget .rc-post .star_text {
    margin-top: 4px;
    flex: 1;
    min-width: 0
}

.sidebar__widget .rc-post .star_text > a {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
    max-height: calc(1.4em * 2);
    font-weight: 600;
    font-size: 17px !important;
    color: inherit
}

.sidebar__widget .rc-post .star_text > a:hover {
    color: #2563eb
}

/* 可换主题色 */

/* 元信息 */
.sidebar__widget .rc-post .star_meta {
    margin-top: 6px;
    font-size: 12px;
    color: #6b7280;
    display: flex;
    gap: 8px;
    flex-wrap: wrap
}

/* 无图场景：直接不写 .star_img 即可，文本自动占满 */

/* 小屏优化 */
@media (max-width: 480px) {
    .sidebar__widget .rc-post .star_img {
        flex-basis: 56px;
        width: 56px;
        height: 56px
    }
}

@media (max-width: 1201px) {
    #filter-toggle {
        position: fixed;
        right: 50px;
        bottom: 150px;
        width: 40px;
        height: 40px;
        line-height: 40px;
        text-align: center;
        font-size: 15px;
        padding: 0;
        border: 1px solid var(--blue-color);
        background: var(--blue-color);
        color: #fff;
        cursor: pointer;
        z-index: 1001;
    }
}

@media (max-width: 993px) {
    #filter-toggle {
        bottom: 210px;
    }
}

@media (min-width: 1201px) {
    #filter-toggle {
        display: none;
    }
}