/**
 * 视频缩略图美化样式
 * 目标比例：200×363 像素
 * 应用于：首页视频列表、详情页相关视频、分类页、所有视频列表
 */

/* ============================================
   基础缩略图样式 - 统一 200×363 像素
   ============================================ */

/* 标准视频缩略图 - 高度由mobile_fix.css控制 */
.conch-content .hl-row-box .hl-item-thumb {
    width: 198px !important;
    /* height由padding-top控制，在mobile_fix.css中设置 */
    aspect-ratio: auto !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    overflow: hidden !important;
}

/* 缩略图悬浮效果 - 更 subtle */
.conch-content .hl-row-box .hl-item-thumb:hover {
    transform: scale(1.02) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12) !important;
}

/* 图片加载完成后的淡入效果 */
.conch-content .hl-row-box .hl-item-thumb.hl-lazy.loaded,
.conch-content .hl-row-box .hl-item-thumb.hl-lazy.lazyloaded {
    animation: thumbnailFadeIn 0.5s ease-out;
}

@keyframes thumbnailFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ============================================
   播放图标美化
   ============================================ */

.conch-content .hl-row-box .hl-pic-icon {
    background: rgba(0, 0, 0, 0.3) !important;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    border-radius: 8px !important;
}

.conch-content .hl-row-box .hl-pic-icon i {
    width: 40px !important;
    height: 40px !important;
    margin-top: -20px !important;
    margin-left: -20px !important;
    background: linear-gradient(135deg, rgba(255, 85, 0, 0.9), rgba(255, 136, 0, 0.9)) !important;
    box-shadow: 0 3px 10px rgba(255, 85, 0, 0.35) !important;
    font-size: 16px !important;
    line-height: 40px !important;
    transition: all 0.25s ease !important;
}

.conch-content .hl-row-box .hl-item-thumb:hover .hl-pic-icon i {
    transform: scale(1.08) !important;
    box-shadow: 0 4px 14px rgba(255, 85, 0, 0.45) !important;
}

/* ============================================
   标签样式美化
   ============================================ */

.conch-content .hl-row-box .hl-pic-tag {
    top: 6px !important;
    right: 6px !important;
}

.conch-content .hl-row-box .hl-pic-tag span {
    padding: 1px 5px !important;
    font-size: 10px !important;
    font-weight: 500 !important;
    border-radius: 3px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15) !important;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2) !important;
}

.conch-content .hl-row-box .hl-pic-tag span.douban {
    background: linear-gradient(135deg, #00b51d, #00d423) !important;
}

.conch-content .hl-row-box .hl-pic-tag span.version {
    background: linear-gradient(135deg, #00bcd4, #00e5ff) !important;
}

.conch-content .hl-row-box .hl-pic-tag span.state {
    background: linear-gradient(135deg, #ffc107, #ffd54f) !important;
    color: #333 !important;
}

/* ============================================
   底部信息栏美化
   ============================================ */

.conch-content .hl-row-box .hl-pic-text {
    padding: 6px 10px !important;
    line-height: 20px !important;
    background-image: linear-gradient(transparent, rgba(0, 0, 0, 0.65)) !important;
    border-radius: 0 0 6px 6px !important;
}

.conch-content .hl-row-box .hl-pic-text .remarks {
    font-size: 11px !important;
    font-weight: 500 !important;
    letter-spacing: 0.2px !important;
}

/* ============================================
   视频标题区域美化
   ============================================ */

.conch-content .hl-row-box .hl-item-text {
    margin-top: 8px !important;
    padding: 0 2px !important;
}

.conch-content .hl-row-box .hl-vod-list .hl-item-text {
    height: 40px !important;
    overflow: hidden !important;
}

.conch-content .hl-row-box .hl-item-title {
    font-size: 13px !important;
    line-height: 19px !important;
    font-weight: 500 !important;
    color: #333 !important;
    transition: color 0.2s ease !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.conch-content .hl-row-box .hl-item-title a:hover {
    color: #f50 !important;
}

.conch-content .hl-row-box .hl-item-sub {
    margin-top: 4px !important;
    font-size: 11px !important;
    line-height: 15px !important;
    color: #999 !important;
}

.conch-content .hl-row-box .hl-item-sub .score {
    color: #ff6b00 !important;
    font-weight: 700 !important;
    font-size: 12px !important;
}

/* ============================================
   剧集标签美化
   ============================================ */

.conch-content .hl-row-box .hl-item-series {
    font-size: 11px !important;
    color: #3b82f6 !important;
    margin-top: 4px !important;
    padding: 2px 0 !important;
}

/* ============================================
   列表项间距调整
   ============================================ */

/* 修复缩略图纵向对齐 - 使用更强选择器 */
.conch-content .hl-row-box .row .hl-vod-list,
.conch-content .hl-row-box .hl-vod-list {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.conch-content .hl-row-box .row .hl-vod-list .hl-list-item,
.conch-content .hl-row-box .hl-vod-list .hl-list-item {
    margin-bottom: 16px !important;
    padding: 0 !important;
}

/* ============================================
   响应式调整 - 三端完美显示
   ============================================ */

/* Web端：大屏幕（≥1200px）*/
@media (min-width: 1200px) {
    .conch-content .hl-row-box .hl-item-thumb {
        border-radius: 8px !important;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1) !important;
    }
    
    .conch-content .hl-row-box .hl-pic-icon i {
        width: 48px !important;
        height: 48px !important;
        margin-top: -24px !important;
        margin-left: -24px !important;
        line-height: 48px !important;
        font-size: 20px !important;
    }
    
    .conch-content .hl-row-box .hl-item-title {
        font-size: 15px !important;
        line-height: 22px !important;
    }
    
    .conch-content .hl-row-box .hl-item-sub {
        font-size: 13px !important;
        line-height: 18px !important;
    }
    
    .conch-content .hl-row-box .hl-pic-tag span {
        padding: 2px 6px !important;
        font-size: 11px !important;
    }
}

/* 平板端（768px - 1199px）*/
@media (min-width: 768px) and (max-width: 1199px) {
    .conch-content .hl-row-box .hl-item-thumb {
        border-radius: 6px !important;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08) !important;
    }
    
    .conch-content .hl-row-box .hl-pic-icon i {
        width: 40px !important;
        height: 40px !important;
        margin-top: -20px !important;
        margin-left: -20px !important;
        line-height: 40px !important;
        font-size: 16px !important;
    }
    
    .conch-content .hl-row-box .hl-item-title {
        font-size: 14px !important;
        line-height: 20px !important;
    }
    
    .conch-content .hl-row-box .hl-item-sub {
        font-size: 12px !important;
        line-height: 16px !important;
    }
}

/* 手机端（< 768px）*/
@media (max-width: 767px) {
    .conch-content .hl-row-box .hl-item-thumb {
        border-radius: 4px !important;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06) !important;
    }
    
    .conch-content .hl-row-box .hl-pic-icon i {
        width: 36px !important;
        height: 36px !important;
        margin-top: -18px !important;
        margin-left: -18px !important;
        line-height: 36px !important;
        font-size: 15px !important;
    }
    
    .conch-content .hl-row-box .hl-item-title {
        font-size: 13px !important;
        line-height: 18px !important;
    }
    
    .conch-content .hl-row-box .hl-item-sub {
        font-size: 11px !important;
        line-height: 15px !important;
    }
    
    .conch-content .hl-row-box .hl-pic-tag {
        top: 4px !important;
        right: 4px !important;
    }
    
    .conch-content .hl-row-box .hl-pic-tag span {
        padding: 1px 4px !important;
        font-size: 10px !important;
    }
    
    .conch-content .hl-row-box .hl-pic-text {
        padding: 4px 8px !important;
        line-height: 18px !important;
    }
    
    .conch-content .hl-row-box .hl-pic-text .remarks {
        font-size: 11px !important;
    }
}

/* 小屏手机（< 480px）*/
@media (max-width: 480px) {
    .conch-content .hl-row-box .hl-item-thumb {
        border-radius: 3px !important;
    }
    
    .conch-content .hl-row-box .hl-pic-icon i {
        width: 32px !important;
        height: 32px !important;
        margin-top: -16px !important;
        margin-left: -16px !important;
        line-height: 32px !important;
        font-size: 13px !important;
    }
    
    .conch-content .hl-row-box .hl-item-title {
        font-size: 12px !important;
        line-height: 17px !important;
    }
    
    .conch-content .hl-row-box .hl-item-sub {
        font-size: 10px !important;
        line-height: 14px !important;
    }
    
    .conch-content .hl-row-box .hl-pic-tag span {
        padding: 1px 3px !important;
        font-size: 9px !important;
    }
}

/* ============================================
   特殊列表覆盖（保持原有功能）
   ============================================ */

/* 宽图模式 - 高度由mobile_fix.css控制 */
.conch-content .hl-row-box .hl-vod-big .hl-vod-list li:first-child .hl-item-thumb,
.conch-content .hl-row-box .hl-vod-widebig .hl-vod-list .hl-item-thumb,
.conch-content .hl-row-box .hl-wide-list .hl-item-thumb {
    width: 198px !important;
    /* height由padding-top控制，在mobile_fix.css中设置 */
}
