/* BossV Team - 关键CSS：卡片统一高度 (2026-01-23) */
.pic-list {
    display: grid !important;
    grid-template-columns: repeat(6, 1fr) !important;
    gap: 15px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    align-items: start !important;
}
.pic-list > li, .pic-list > li[class*="col-"] {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
.pic-img, a.pic-img, .pic-list .pic-img, .pic-list a.pic-img {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    height: 0 !important;
    padding-top: 140% !important;
    overflow: hidden !important;
    border-radius: 4px !important;
    background: #1a1a2e !important;
}
.pic-img img, a.pic-img img, .pic-list .pic-img img, .pic-img img.lazyload {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center top !important;
}
.pic-list h3.name { font-size: 14px !important; line-height: 40px !important; height: 40px !important; overflow: hidden !important; text-overflow: ellipsis !important; white-space: nowrap !important; margin: 0 !important; }
@media (max-width: 1200px) { .pic-list { grid-template-columns: repeat(5, 1fr) !important; } }
@media (max-width: 992px) { .pic-list { grid-template-columns: repeat(4, 1fr) !important; } }
@media (max-width: 768px) { .pic-list { grid-template-columns: repeat(3, 1fr) !important; gap: 10px !important; } }
@media (max-width: 480px) { .pic-list { grid-template-columns: repeat(2, 1fr) !important; gap: 8px !important; } }

/* BossV Team - 新闻模块样式 (2026-01-25) */
.news-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 15px !important;
}
.news-grid .news-card {
    background: #1a1a2e;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.news-grid .news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.news-grid .news-card a {
    display: block;
    text-decoration: none;
    color: inherit;
}
.news-grid .news-card .news-pic {
    position: relative;
    width: 100%;
    height: 0;
    padding-top: 56.25%;
    overflow: hidden;
}
.news-grid .news-card .news-pic img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.news-grid .news-card .news-info {
    padding: 12px;
}
.news-grid .news-card .news-title {
    font-size: 14px;
    line-height: 1.4;
    height: 40px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    color: #fff;
    margin: 0 0 8px 0;
}
.news-grid .news-card .news-meta {
    font-size: 12px;
    color: #999;
    display: flex;
    justify-content: space-between;
}
.news-grid .news-card .news-category {
    color: #ff5f00;
}
.news-list .news-item {
    padding: 10px 0;
    border-bottom: 1px solid #2a2a4a;
}
.news-list .news-item:last-child {
    border-bottom: none;
}
.news-list .news-item a {
    display: flex;
    align-items: center;
    color: #ddd;
    text-decoration: none;
    font-size: 13px;
}
.news-list .news-item a:hover {
    color: #ff5f00;
}
.news-list .news-item .news-rank {
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    background: #2a2a4a;
    border-radius: 3px;
    margin-right: 10px;
    font-size: 12px;
    color: #999;
}
.news-list .news-item:nth-child(1) .news-rank,
.news-list .news-item:nth-child(2) .news-rank,
.news-list .news-item:nth-child(3) .news-rank {
    background: #ff5f00;
    color: #fff;
}
.news-list .news-item .news-text {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
@media (max-width: 992px) { .news-grid { grid-template-columns: repeat(3, 1fr) !important; } }
@media (max-width: 768px) { .news-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; } }
@media (max-width: 480px) { .news-grid { grid-template-columns: repeat(1, 1fr) !important; } }

/* 侧边栏新闻列表样式（用于热门资讯） */
.txt-list-ccc { list-style: none; margin: 0; padding: 0; }
.txt-list-ccc li { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.txt-list-ccc li:last-child { border-bottom: none; }
.txt-list-ccc .news-item { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.05); display: flex; gap: 10px; align-items: flex-start; }
.txt-list-ccc .news-item:last-child { border-bottom: none; }
.txt-list-ccc .news-item a { text-decoration: none; color: #ccc; display: flex; gap: 10px; align-items: flex-start; width: 100%; transition: color 0.3s; }
.txt-list-ccc .news-item a:hover { color: #ff5f00; }
.txt-list-ccc .news-rank { flex-shrink: 0; width: 20px; height: 20px; background: rgba(255,95,0,0.2); color: #ff5f00; border-radius: 3px; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: bold; }
.txt-list-ccc .news-text { flex: 1; font-size: 13px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* 影片热播榜 - 纯文本列表，隐藏缩略图 */
.txt-list-ccc a { display: flex; align-items: center; gap: 8px; text-decoration: none; color: #ccc; font-size: 13px; line-height: 1.6; transition: color 0.3s; }
.txt-list-ccc a:hover { color: #ff5f00; }
.txt-list-ccc a img, .txt-list-ccc li img { display: none !important; }
.txt-list-ccc .text-rank { flex-shrink: 0; width: 18px; height: 18px; background: rgba(255,95,0,0.15); color: #ff5f00; border-radius: 3px; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: bold; }
.txt-list-ccc .text-title { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* 全部菜单下拉样式 */
.header-nav-all {
    display: none;
    position: absolute;
    top: 55px;
    left: 0;
    right: 0;
    z-index: 9998;
}

.nav-more.open a {
    color: #ff5f00 !important;
}

@-moz-keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@-webkit-keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@-o-keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* 返回顶部按钮 */
.movie2-back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 8px;
    background: linear-gradient(135deg, #ec4899 0%, #be185d 100%);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(236, 72, 153, 0.4);
}

.movie2-back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.movie2-back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(236, 72, 153, 0.6);
}

@media (max-width: 768px) {
    .movie2-back-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
        font-size: 20px;
    }
}
