/* 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 {
    min-height: 320px !important;
}
.pic-list > li .pic-img {
    min-height: 280px !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;
    list-style: none !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;
    border-radius: 4px !important;
}
.pic-list h3.name,
.pic-list .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;
    padding: 0 5px !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; }
}

@-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; }
}

/* 筛选按钮高亮样式 */
.film-filter a.active {
    background: linear-gradient(45deg, #4a9eff, #667eea);
    color: white !important;
    border-radius: 4px;
    padding: 5px 12px;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(74, 158, 255, 0.3);
}

.film-filter li a:hover {
    color: #4a9eff;
    transition: color 0.3s ease;
}
