.sidebar-stack {
    min-width: 0;
    display: grid;
    gap: 16px;
    align-content: start;
}

.sidebar-block {
    background: linear-gradient(180deg, rgba(255, 253, 248, 0.95), rgba(252, 245, 232, 0.94));
    border: 1px solid rgba(194, 175, 141, 0.7);
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 10px 18px rgba(99, 69, 23, 0.07);
}

.sidebar-block h3 {
    margin: 0 0 12px;
    font-family: 'Noto Serif SC', serif;
    font-size: 20px;
}

.rank-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
}

.rank-list li {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
}

.rank-list i {
    width: 24px;
    height: 24px;
    border-radius: 8px;
    font-style: normal;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #fff;
    background: linear-gradient(145deg, #0f7a67, #1c9682);
}

.rank-list li:nth-child(2) i {
    background: linear-gradient(145deg, #c47b2f, #db984f);
}

.rank-list li:nth-child(3) i {
    background: linear-gradient(145deg, #9c7152, #b58662);
}

.rank-list a {
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-list a:hover {
    color: #0b5f51;
}

.sidebar-block .news-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.sidebar-block .news-list li {
    display: grid;
    gap: 5px;
    padding-bottom: 8px;
    border-bottom: 1px dashed rgba(194, 175, 141, 0.65);
}

.sidebar-block .news-list li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.sidebar-block .news-cat {
    display: inline-block;
    max-width: fit-content;
    font-size: 12px;
    border-radius: 999px;
    padding: 2px 8px;
    color: #0b5f51;
    background: rgba(15, 122, 103, 0.1);
}

.sidebar-block .news-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
}

.sidebar-block .news-title:hover {
    color: #0f7a67;
}

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

.tag-cloud a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(194, 175, 141, 0.72);
    background: rgba(255, 255, 255, 0.72);
    font-size: 12px;
    color: #5f5546;
}

.tag-cloud a:hover {
    border-color: rgba(15, 122, 103, 0.45);
    color: #0f7a67;
}
