.sidebar-card {
    backdrop-filter: blur(4px);
}

.rank-list,
.news-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.rank-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 0;
    border-bottom: 1px dashed rgba(217, 171, 99, 0.18);
}

.rank-item:last-child {
    border-bottom: 0;
    padding-bottom: 2px;
}

.rank-num {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: #201408;
    background: linear-gradient(140deg, #f2d4a9, #d9ab63);
    box-shadow: 0 6px 12px rgba(217, 171, 99, 0.28);
    flex-shrink: 0;
}

.rank-item:nth-child(1) .rank-num {
    background: linear-gradient(140deg, #ffe2bd, #ffb15a);
}

.rank-item:nth-child(2) .rank-num {
    background: linear-gradient(140deg, #ffe5c5, #eec079);
}

.rank-item:nth-child(3) .rank-num {
    background: linear-gradient(140deg, #fff0d7, #d9ab63);
}

.rank-info {
    min-width: 0;
    flex: 1;
}

.rank-title {
    display: block;
    color: var(--text-main);
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
}

.rank-title:hover {
    color: var(--primary-hover);
}

.rank-meta {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    font-size: 12px;
    color: var(--text-light);
}

.news-item {
    padding: 10px 0;
    border-bottom: 1px dashed rgba(217, 171, 99, 0.18);
}

.news-item:last-child {
    border-bottom: 0;
    padding-bottom: 2px;
}

.news-title {
    display: block;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 5px;
}

.news-title:hover {
    color: var(--primary-hover);
}

.news-meta {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    font-size: 12px;
    color: var(--text-light);
}

.news-category {
    color: var(--primary);
    max-width: 58%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-category:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-item {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(120, 199, 255, 0.3);
    background: rgba(120, 199, 255, 0.08);
    color: #bae5ff;
    font-size: 13px;
}

.tag-item:hover {
    border-color: rgba(217, 171, 99, 0.6);
    background: rgba(217, 171, 99, 0.18);
    color: var(--primary-hover);
}
