.bf-video-toolbar {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}

.bf-video-toolbar-cover {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background: #f5f5f5;
    overflow: hidden;
}

.bf-video-toolbar-cover img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bf-video-toolbar-info {
    padding: 12px;
}

.bf-video-toolbar-info h4 {
    margin: 0 0 8px 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.bf-video-toolbar-info h4 a {
    color: #333;
    text-decoration: none;
}

.bf-video-toolbar-info h4 a:hover {
    color: #dc3544;
}

.bf-video-toolbar-meta {
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: #888;
}

.bf-video-toolbar-meta i {
    margin-right: 4px;
}

.bf-video-toolbar-actions {
    display: flex;
    border-top: 1px solid #eee;
}

.bf-video-toolbar-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 8px;
    border: none;
    background: transparent;
    color: #666;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
    gap: 4px;
}

.bf-video-toolbar-btn:not(:last-child) {
    border-right: 1px solid #eee;
}

.bf-video-toolbar-btn:hover {
    background: #f5f5f5;
    color: #dc3544;
}

.bf-video-toolbar-btn i {
    font-size: 16px;
}

.bf-video-toolbar-link {
    padding: 10px 12px;
    background: #f8f9fa;
    border-top: 1px solid #eee;
}

.bf-video-download {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 16px;
    background: #dc3544;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 13px;
    transition: background 0.2s;
}

.bf-video-download:hover {
    background: #c82333;
    color: #fff;
}

.bf-video-list-widget {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bf-video-list-item {
    display: flex;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #f4f4f4;
}

.bf-video-list-item:last-child {
    border-bottom: none;
}

.bf-video-list-thumb {
    flex-shrink: 0;
    width: 80px;
    height: 50px;
    position: relative;
    border-radius: 4px;
    overflow: hidden;
}

.bf-video-list-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bf-video-list-duration {
    position: absolute;
    bottom: 3px;
    right: 3px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    font-size: 10px;
    padding: 1px 4px;
    border-radius: 2px;
}

.bf-video-list-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.2s;
}

.bf-video-list-thumb:hover .bf-video-list-play-icon {
    opacity: 1;
}

.bf-video-list-play-icon i {
    font-size: 24px;
    color: rgba(255,255,255,0.9);
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.bf-video-list-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bf-video-list-info h4 {
    margin: 0 0 6px 0;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.bf-video-list-info h4 a {
    color: #333;
    text-decoration: none;
}

.bf-video-list-info h4 a:hover {
    color: #dc3544;
}

.bf-video-list-meta {
    display: flex;
    gap: 10px;
    font-size: 12px;
    color: #999;
}

.bf-video-list-views,
.bf-video-list-comments {
    display: flex;
    align-items: center;
}

.bf-video-list-views i,
.bf-video-list-comments i {
    margin-right: 3px;
}

.bf-hot-ranking-widget {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bf-hot-ranking-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #f4f4f4;
}

.bf-hot-ranking-item:last-child {
    border-bottom: none;
}

.bf-hot-ranking-rank {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: #999;
    background: #f5f5f5;
    border-radius: 4px;
}

.bf-hot-ranking-rank.top1 {
    background: linear-gradient(135deg, #ffd700, #ffb700);
    color: #fff;
}

.bf-hot-ranking-rank.top2 {
    background: linear-gradient(135deg, #c0c0c0, #a0a0a0);
    color: #fff;
}

.bf-hot-ranking-rank.top3 {
    background: linear-gradient(135deg, #cd7f32, #b87333);
    color: #fff;
}

.bf-hot-ranking-content {
    flex: 1;
    min-width: 0;
}

.bf-hot-ranking-content h4 {
    margin: 0 0 4px 0;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bf-hot-ranking-content h4 a {
    color: #333;
    text-decoration: none;
}

.bf-hot-ranking-content h4 a:hover {
    color: #dc3544;
}

.bf-hot-ranking-meta {
    display: flex;
    align-items: center;
    font-size: 12px;
    color: #999;
    gap: 4px;
}

.bf-hot-ranking-empty {
    text-align: center;
    padding: 20px;
    color: #999;
    font-size: 13px;
}

.bf-hot-ranking-footer {
    padding-top: 12px;
    border-top: 1px solid #f4f4f4;
    text-align: center;
}

.bf-hot-ranking-more {
    display: inline-block;
    padding: 6px 16px;
    background: #f8f9fa;
    color: #666;
    font-size: 12px;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.2s;
}

.bf-hot-ranking-more:hover {
    background: #dc3544;
    color: #fff;
}

.bf-news-widget-list,
.bf-post-widget-list,
.bf-circle-widget-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bf-news-widget-item,
.bf-post-widget-item,
.bf-circle-widget-item {
    display: flex;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s;
}

.bf-news-widget-item:last-child,
.bf-post-widget-item:last-child,
.bf-circle-widget-item:last-child {
    border-bottom: none;
}

.bf-news-widget-item:hover,
.bf-post-widget-item:hover,
.bf-circle-widget-item:hover {
    padding-left: 5px;
}

.bf-news-widget-thumb,
.bf-post-widget-thumb,
.bf-circle-widget-thumb {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    overflow: hidden;
    border-radius: 6px;
}

.bf-news-widget-thumb-img,
.bf-post-widget-thumb-img,
.bf-circle-widget-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bf-news-widget-content,
.bf-post-widget-content,
.bf-circle-widget-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.bf-news-widget-title,
.bf-post-widget-title,
.bf-circle-widget-title {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.bf-news-widget-title a,
.bf-post-widget-title a,
.bf-circle-widget-title a {
    color: #333;
    text-decoration: none;
}

.bf-news-widget-title a:hover,
.bf-post-widget-title a:hover,
.bf-circle-widget-title a:hover {
    color: #dc3544;
}

.bf-news-widget-meta,
.bf-post-widget-meta,
.bf-circle-widget-meta {
    font-size: 12px;
    color: #999;
    display: flex;
    align-items: center;
    gap: 4px;
}

.bf-widget-empty {
    text-align: center;
    color: #999;
    padding: 20px 0;
    margin: 0;
}

.video-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 4px 0;
}

.video-tag-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 10px;
    background: #f5f5f5;
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.2s;
    white-space: nowrap;
}

.video-tag-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.video-tag-item.tag-hot {
    background: #fff3f3;
    color: #dc3544;
    border: 1px solid #ffe5e5;
}

.video-tag-item.tag-hot:hover {
    background: #ffe5e5;
}

.video-tag-item.tag-warm {
    background: #fff8f0;
    color: #fd7e14;
    border: 1px solid #ffe8cc;
}

.video-tag-item.tag-warm:hover {
    background: #ffe8cc;
}

.video-tag-item.tag-normal {
    background: #f8f9fa;
    color: #666;
    border: 1px solid #e9ecef;
}

.video-tag-item.tag-normal:hover {
    background: #e9ecef;
    color: #dc3544;
}

.video-tag-item.tag-cool {
    background: #f8f9fa;
    color: #999;
    border: 1px solid #e9ecef;
}

.video-tag-item.tag-cool:hover {
    background: #e9ecef;
    color: #666;
}

.video-tag-item span {
    font-weight: 500;
}

.video-tag-count {
    font-size: 11px !important;
    opacity: 0.7;
    font-weight: 400 !important;
}
