.content-tabs {
    display: flex;
    background: #fff;
    border-radius: 8px 8px 0 0;
    border-bottom: 1px solid #f0f0f0;
    padding: 0 16px;
}

.content-tab {
    padding: 14px 20px;
    font-size: 15px;
    color: #999;
    cursor: pointer;
    position: relative;
    transition: color 0.2s;
}

.content-tab:hover {
    color: #333;
}

.content-tab.active {
    color: #333;
    font-weight: 600;
}

.content-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 3px;
    background: #333;
    border-radius: 1.5px;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding: 16px;
    background: #fff;
    border-radius: 0 0 8px 8px;
}

.post-card {
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    background: #fff;
    border: 1px solid #f0f0f0;
}

.post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.post-cover-wrap {
    position: relative;
    width: 100%;
    padding-top: 133%;
    overflow: hidden;
}

.post-cover-wrap img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.post-card:hover .post-cover-wrap img {
    transform: scale(1.05);
}

.post-rate-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(0,0,0,0.6);
    border-radius: 4px;
    padding: 2px 8px;
}

.rate-text {
    color: #fff;
    font-size: 11px;
    font-weight: 500;
}

.post-vote-status {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0,0,0,0.5);
    border-radius: 4px;
    padding: 2px 6px;
    font-size: 10px;
    color: #fff;
}

.post-info {
    padding: 10px 12px;
}

.post-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 14px;
    line-height: 1.4;
    color: #333;
    margin-bottom: 6px;
}

.post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.post-author {
    display: flex;
    align-items: center;
    gap: 6px;
}

.post-author-avatar {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
}

.post-author-name {
    font-size: 12px;
    color: #999;
}

.post-stats {
    display: flex;
    gap: 8px;
    font-size: 12px;
    color: #999;
}

.loading-more {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 20px;
    color: #999;
    font-size: 13px;
}

.no-more {
    text-align: center;
    padding: 20px;
    color: #ccc;
    font-size: 12px;
}
