#card-hotpost {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

#card-hotpost .post-rank {
    background: var(--efu-secondbg);
    border: var(--style-border-always);
    color: var(--efu-fontcolor);
    border-radius: 50%;
    margin-right: 4px;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    margin-top: 2px;
    flex-shrink: 0;
}

#card-hotpost .post-rank.rank-1 {
    background: var(--efu-lighttext);
    color: var(--efu-card-bg);
    border-color: var(--efu-lighttext);
}

.hot-post-link {
    display: flex;
    font-size: 15px;
    overflow: hidden;
    padding: 0.3rem;
    gap: 4px;
    border-radius: 12px;
    text-decoration: none;
    color: var(--efu-fontcolor);
    transition: background 0.2s ease, color 0.2s ease;
}

.hot-post-link .post-title-container {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
}

.hot-post-link .post-title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-height: 1.38;
    flex: 1;
    overflow: hidden;
    padding-top: 2px;
}

.hot-post-link:hover {
    background: var(--efu-lighttext);
    border-radius: 8px;
    color: var(--efu-card-bg);
}

#card-hotpost .hot-post-link:hover .post-rank {
    background: var(--efu-card-bg);
    color: var(--efu-fontcolor);
    border-color: var(--efu-card-bg);
}

#card-hotpost .hot-post-link:hover .post-rank.rank-1 {
    background: var(--efu-maskbg);
    color: var(--efu-white);
    border-color: var(--efu-maskbg);
}

.hot-post-empty {
    padding: 0.5rem;
    text-align: center;
    color: var(--efu-fontcolor);
    opacity: 0.7;
    font-size: 14px;
}

/* 今日热门卡片标题栏右侧的「更多」按钮 */
.card-hotpost .item-headline {
    justify-content: space-between;
    padding-right: 12px;
}

.card-hotpost .item-headline span:first-of-type {
    flex: 1;
}

.hot-more {
    margin-left: auto;
    font-size: 13px;
    font-weight: 400;
    color: var(--efu-secondtext);
    text-decoration: none;
    transition: color 0.2s ease;
}

.hot-more:hover {
    color: var(--efu-theme);
}

/* 今日热门加载骨架屏 */
.hot-loading {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 4px 0;
}

.hot-loading-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0.3rem;
}

.hot-loading-rank {
    flex-shrink: 0;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: linear-gradient(90deg, var(--efu-secondbg) 0%, var(--efu-card-bg) 50%, var(--efu-secondbg) 100%);
    background-size: 200% 100%;
    animation: hot-loading-shine 1.6s ease-in-out infinite;
}

.hot-loading-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}

.hot-loading-line {
    height: 10px;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--efu-secondbg) 0%, var(--efu-card-bg) 50%, var(--efu-secondbg) 100%);
    background-size: 200% 100%;
    animation: hot-loading-shine 1.6s ease-in-out infinite;
}

.hot-loading-line.title {
    height: 14px;
    width: 80%;
}

.hot-loading-line.meta {
    width: 45%;
}

@keyframes hot-loading-shine {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}
