/* 播放器容器样式 */
.vjsp-container {
    max-width: 100% !important;
    margin: 0 auto 30px !important;
    position: relative !important;
    width: 100% !important;
    box-sizing: border-box !important;
    line-height: 0 !important; /* 防止行高导致的偏移 */
    background-color: #1a1a1a;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    /* 定义CSS变量 - 移除此处的默认值，依赖PHP动态注入 */
}

/* 播放器包装器 - 加强定位 */
.vjsp-player-wrapper {
    position: relative !important;
    width: 100% !important;
    height: 0 !important;
    background-color: #000 !important;
    overflow: hidden !important;
    display: block !important;
}

/* 强制视频元素和Video.js容器绝对定位 */
.vjsp-player-wrapper video,
.vjsp-player-wrapper .video-js,
.video-js.vjs-fluid {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    max-width: 100% !important;
    max-height: 100% !important;
}

/* 防止外部样式影响 */
.vjsp-player-wrapper * {
    box-sizing: content-box;
}

/* 确保菜单正确定位 */
.vjs-menu-button-popup .vjs-menu {
    left: 0;
}

/* 防止iOS Safari中的播放器尺寸变化 */
@supports (-webkit-overflow-scrolling: touch) {
    .video-js {
        position: absolute !important;
        width: 100% !important;
        height: 100% !important;
    }
    
    /* 为iOS设备添加视频触摸控制样式 */
    .vjsp-player-wrapper video,
    .vjsp-player-wrapper .video-js {
        touch-action: manipulation !important; /* 允许所有触摸手势 */
        -webkit-user-select: none !important; /* 防止长按选择 */
        user-select: none !important;
        pointer-events: auto !important; /* 确保可以接收触摸事件 */
    }
    
    /* 确保视频播放器可以接收触摸事件 */
    .vjs-tech {
        touch-action: manipulation !important;
        pointer-events: auto !important;
    }
}

/* 视频播放器样式覆盖 */
.video-js {
    width: 100%;
    height: 100%;
}

/* 剧集容器 - 夜间模式 */
.vjsp-episodes-container {
    background-color: #1e1e1e !important;
    border-top: 1px solid #333 !important;
    width: 100% !important;
    position: relative !important;
    line-height: normal !important;
    overflow: hidden;
}

/* 菜单栏 - 夜间模式 */
.vjsp-menu-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background-color: #252525;
    border-bottom: 1px solid #333;
}

.vjsp-menu-center {
    font-weight: 600;
    font-size: 16px;
    color: #e0e0e0;
}

/* 可滚动剧集列表容器 - 夜间模式 */
.vjsp-episodes-scrollable {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch !important; /* 增强iOS滚动惯性支持 */
    padding: 15px;
    position: relative;
    scrollbar-width: thin;
    white-space: nowrap;
    cursor: grab;
    cursor: -webkit-grab;
    background-color: #1a1a1a;
    scroll-behavior: auto; /* 确保手动滑动时不被干扰 */
}

/* iOS设备特殊优化 */
@supports (-webkit-touch-callout: none) {
    .vjsp-episodes-scrollable {
        -webkit-overflow-scrolling: touch !important;
        -webkit-overflow-style: none; /* 隐藏iOS默认滚动条 */
        scrollbar-width: none; /* 隐藏iOS默认滚动条 */
        scroll-snap-type: none; /* 禁用滚动捕捉，防止回弹 */
        overscroll-behavior-x: none; /* 禁用过度滚动行为 */
        touch-action: pan-x; /* 仅允许水平滚动，防止手势冲突 */
        will-change: scroll-position; /* 提示浏览器优化滚动性能 */
        scroll-behavior: auto !important; /* 确保自动滚动不受干扰 */
    }
    
    /* 提高触摸目标区域 */
    .vjsp-episode-card {
        touch-action: pan-x; /* 只允许水平滚动 */
        margin: 0 var(--vjsp-episode-card-gap) 0 0 !important; /* 使用变量控制卡片间距 */
        -webkit-user-select: none; /* 防止iOS长按选中文本 */
        user-select: none;
    }
    
    /* 修复iOS滚动条 */
    .vjsp-episodes-scrollable::-webkit-scrollbar {
        display: none;
        width: 0;
        height: 0;
    }
    
    /* 提高iOS上的交互反馈 */
    .vjsp-episode-card:active {
        transform: scale(0.97);
        transition: transform 0.1s ease;
    }
    
    /* 自定义滚动容器触摸样式 */
    .vjsp-episodes-scrollable.vjsp-grabbing {
        cursor: grabbing !important;
        scroll-behavior: auto !important;
    }
}

/* 定义滚动条样式 (Webkit) - 夜间模式 */
.vjsp-episodes-scrollable::-webkit-scrollbar {
    height: 6px;
}

.vjsp-episodes-scrollable::-webkit-scrollbar-track {
    background: #2c2c2c;
    border-radius: 3px;
}

.vjsp-episodes-scrollable::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 3px;
}

.vjsp-episodes-scrollable::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* 剧集列表 */
.vjsp-episodes-list {
    display: flex;
    flex-wrap: nowrap;
    gap: var(--vjsp-episode-card-gap);
}

/* 剧集卡片 - 夜间模式 */
.vjsp-episode-card {
    flex: 0 0 auto;
    width: 150px;
    min-width: 150px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    background-color: transparent;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative !important;
}

.vjsp-episode-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
}

.vjsp-episode-active {
    border: 1px solid #ff5252;
}

/* 剧集标题栏 - 夜间模式 */
.vjsp-episode-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 6px 6px 0 0;
    position: relative;
    z-index: 3;
}

.vjsp-episode-title {
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    text-shadow: 0 0 5px #000, 0 0 10px #000;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.vjsp-episode-active .vjsp-episode-header {
    background-color: #3a3a3a;
}

/* 收藏图标按钮 - 夜间模式 */
.vjsp-favorite-toggle {
    position: absolute;
    bottom: 5px;
    right: 5px;
    z-index: 5;
    background-color: transparent !important; /* 强制移除黑色背景 */
    border-radius: 0 !important; /* 强制移除圆形边框 */
    padding: 0 !important; /* 强制移除内边距 */
    width: auto !important; /* 确保宽度不会导致额外背景 */
    height: auto !important; /* 确保高度不会导致额外背景 */
    line-height: 1; /* 确保图标居中且不影响大小 */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff !important; /* 默认图标颜色为白色，强制覆盖 */
    transition: color 0.2s ease;
}

.vjsp-favorite-toggle i {
    font-size: 16px !important; /* 强制图标大小 */
}

.vjsp-favorite-toggle:hover i {
    color: #ff5252 !important; /* 悬停时图标颜色为红色，强制覆盖 */
}

.vjsp-favorite-toggle.is-favorited i {
    color: #ff5252 !important; /* 收藏后图标颜色为红色，确保覆盖 */
    font-weight: 900 !important; /* 使图标变为实心，确保覆盖 */
}

/* 确保旧的 .active 类不会影响新的 .is-favorited 样式 */
.vjsp-favorite-toggle.active {
    color: inherit !important; /* 重置颜色 */
    background-color: transparent !important; /* 重置背景 */
    border-radius: 0 !important; /* 重置边框 */
    padding: 0 !important; /* 重置内边距 */
}

.vjsp-favorite-toggle.active i {
    font-weight: normal !important; /* 重置字体粗细 */
}

/* 再次确认移除任何可能隐藏图标的样式 */
.vjsp-favorite-icon,
.vjsp-episode-card .fa-heart,
.vjsp-episode-card .fas.fa-heart,
.vjsp-episode-card .far.fa-heart {
    display: inline-block !important; /* 强制显示图标，避免被其他隐藏规则覆盖 */
}

/* 剧集内容 - 支持缩略图背景 */
.vjsp-episode-content {
    padding: 0 !important;
    background-color: transparent !important;
    position: static !important;
    z-index: 2;
    overflow: hidden;
    height: auto !important;
}

/* 缩略图 */
.vjsp-episode-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    z-index: 1;
    transition: transform 0.3s ease-in-out;
}

/* 默认缩略图 - 使用渐变色作为占位符 */
.vjsp-episode-thumbnail.default {
    background: linear-gradient(135deg, #2a2a2a 0%, #333333 100%);
}

/* 鼠标悬停效果 */
.vjsp-episode-card:hover .vjsp-episode-thumbnail {
    transform: scale(1.05);
}

/* 为活跃卡片添加特殊效果 */
.vjsp-episode-active .vjsp-episode-thumbnail {
    opacity: 0.8;
}

/* 隐藏剧集号码 */
.vjsp-episode-number {
    display: none !important;
}

/* 响应式样式 */
@media (max-width: 768px) {
    .vjsp-episode-card {
        width: 130px;
    }
}

@media (max-width: 480px) {
    .vjsp-episode-card {
        width: 110px;
    }
    
    .vjsp-episode-header {
        padding: 6px 8px;
    }
    
    .vjsp-episode-title {
        font-size: 12px;
    }
    
    .vjsp-episodes-scrollable {
        padding: 10px;
    }
}

/* 简化的播放器控制栏修复 */
.video-js .vjs-control-bar {
    display: flex;
    width: 100%;
    bottom: 0;
    left: 0;
    right: 0;
}

/* 确保播放器容器正确定位，但不干扰Video.js内部组件样式 */
.video-js,
.vjs-poster {
    background-color: #000;
}

/* 修复进度条滑块点的位置 */
.vjs-slider-bar {
    margin: 0 auto;
}

/* 拖动样式 */
.vjsp-grabbing {
    cursor: grabbing !important;
    cursor: -webkit-grabbing !important;
    user-select: none !important;
    -webkit-user-select: none !important;
}

.vjsp-no-click {
    pointer-events: none;
}

/* 修复字幕轨道显示偏移问题 */
.vjs-text-track-display {
    position: absolute !important;
    inset: 0 !important; /* 覆盖任何内联样式 */
    inset-inline: 0 !important; /* 强制覆盖导致偏移的内联样式 */
    margin: 0 !important;
    width: 100% !important;
    height: 100% !important;
    pointer-events: none !important;
}

.vjs-text-track-display > div {
    position: absolute !important;
    inset: 0 !important;
    margin: 1.5% !important; /* 保持原有的边距 */
}

/* 确保字幕文本正确定位 */
.vjs-text-track-cue {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    text-align: center !important;
}

/* 防止播放器初始化时闪烁 */
.video-js:not(.vjs-has-started):not(.vjs-playing) video {
    opacity: 0 !important;
}

/* 隐藏原生控件，直到Video.js完全初始化 */
video::-webkit-media-controls {
    display: none !important;
}

video::-webkit-media-controls-enclosure {
    display: none !important;
}

/* 添加加载指示器 */
.vjsp-loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.vjsp-loading::after {
    content: "";
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: vjsp-loading-spin 1s infinite linear;
}

@keyframes vjsp-loading-spin {
    to { transform: rotate(360deg); }
}

/* 权限检查覆盖层 */
.vjsp-permission-checking {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 20;
    backdrop-filter: blur(2px);
}

.vjsp-checking-content {
    text-align: center;
    color: #fff;
    padding: 20px;
}

.vjsp-checking-content i {
    font-size: 24px;
    margin-bottom: 10px;
    display: block;
    color: #ff5252;
}

.vjsp-checking-content p {
    margin: 0;
    font-size: 14px;
    color: #e0e0e0;
}

/* 频谱动画 - 美化版本 */
.vjsp-spectrum-animation {
    display: none; /* 默认隐藏，只在当前播放剧集显示 */
    align-items: flex-end;
    height: 18px;
    width: 22px;
    margin-right: 6px;
}

.vjsp-episode-active .vjsp-spectrum-animation {
    display: flex; /* 只在活跃剧集上显示 */
}

.vjsp-spectrum-animation span {
    width: 4px;
    margin-right: 2px;
    background-color: #ff5252;
    height: 5px;
    animation: spectrum-wave 0.8s ease-in-out infinite;
    border-radius: 1px;
}

.vjsp-spectrum-animation span:nth-child(1) {
    animation-delay: 0s;
}

.vjsp-spectrum-animation span:nth-child(2) {
    animation-delay: 0.2s;
}

.vjsp-spectrum-animation span:nth-child(3) {
    animation-delay: 0.4s;
}

.vjsp-spectrum-animation span:nth-child(4) {
    animation-delay: 0.6s;
    margin-right: 0;
}

@keyframes spectrum-wave {
    0%, 100% {
        height: 5px;
    }
    50% {
        height: 18px;
    }
}

/* 频谱动画 - 夜间模式调整 */
.vjsp-spectrum-animation span {
    background-color: #ff5252;
}

/* 增强收藏按钮可见性 */
.vjsp-favorite-toggle i {
    color: #fff; /* 默认图标颜色为白色 */
    /* text-shadow: 0 0 5px #000, 0 0 10px #000; */ /* 移除黑色阴影 */
}

/* 设置菜单样式 - 简化版本 */
.vjsp-settings-button {
    font-size: 1.2em !important;
    cursor: pointer;
    position: relative;
}

.vjsp-settings-button .vjs-icon-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.vjsp-settings-button:hover {
    color: #ff5252;
}

.vjsp-settings-menu-container {
    position: absolute;
    bottom: 40px;
    right: 0;
    z-index: 100;
}

.vjsp-settings-menu {
    display: none;
    background: rgba(43, 51, 63, 0.9);
    border-radius: 4px;
    padding: 5px 0;
    min-width: 150px;
    max-width: 200px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.vjsp-settings-menu.vjsp-show {
    display: block;
}

.vjsp-settings-item {
    padding: 8px 15px;
    cursor: pointer;
    color: #eee;
    display: flex;
    align-items: center;
    transition: background-color 0.2s ease;
}

.vjsp-settings-item:hover {
    background-color: rgba(255, 82, 82, 0.5);
    color: white;
}

.vjsp-settings-item.vjsp-selected {
    background-color: rgba(255, 82, 82, 0.7);
    color: white;
}

.vjsp-menu-item-icon {
    margin-right: 10px;
    width: 16px;
    text-align: center;
}

.vjsp-menu-item-label {
    flex: 1;
}

/* 线路切换按钮样式 */
.vjsp-source-switcher-button {
    font-size: 0.9em !important;
    min-width: 60px;
    text-align: center;
    cursor: pointer;
    position: relative;
}

.vjsp-source-switcher-button .vjs-icon-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-family: inherit; /* 使用正常字体 */
    font-weight: normal;
}

.vjsp-source-switcher-button:hover {
    color: #ff5252;
}

.vjsp-source-menu-container {
    position: absolute;
    bottom: 40px;
    right: 0;
    z-index: 100;
}

.vjsp-source-menu {
    max-height: 200px;
    overflow-y: auto;
}

/* 公告容器样式增强 */
.vjsp-announcement-container {
    width: 100%;
    min-height: 20px;
    overflow: hidden;
    position: relative;
}

.vjsp-announcement-text {
    white-space: nowrap;
    color: #fff; /* 确保文本颜色 */
    font-size: 14px;
    line-height: 20px;
    position: relative;
    display: inline-block;
}

/* 滚动动画 */
@keyframes vjspTextScroll {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

.vjsp-announcement-scrolling {
    animation: vjspTextScroll linear infinite;
    animation-delay: 1s;
    padding-left: 100%;
    display: inline-block;
}

/* 菜单中心区域样式调整 */
.vjsp-menu-center {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 0; /* 防止内容溢出 */
    padding: 0 10px;
}

/* 会员等级显示样式 - 已隐藏 */
.vjsp-member-badge {
    display: none !important;
}

/* 会员标识相关样式已移除 */

/* 播放权限不足提示样式 - 增强浅色主题兼容性 */
.vjsp-no-permission {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

.vjsp-no-permission-content {
    text-align: center;
    color: white;
    padding: 30px;
    max-width: 80%;
    background-color: rgba(0, 0, 0, 0.85);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.vjsp-no-permission-content i {
    font-size: 48px;
    color: #FF5252;
    margin-bottom: 20px;
    display: block;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.vjsp-no-permission-content h3 {
    margin: 0 0 20px;
    font-size: 22px;
    color: white;
    font-weight: 600;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
    letter-spacing: 0.5px;
}

.vjsp-no-permission-content p {
    margin: 0 0 25px;
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.vjsp-upgrade-btn {
    background: linear-gradient(135deg, #FF5252, #FF6B6B);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 82, 82, 0.4);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
}

.vjsp-upgrade-btn:hover {
    background: linear-gradient(135deg, #FF6B6B, #FF7676);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 82, 82, 0.6);
}

.vjsp-upgrade-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(255, 82, 82, 0.4);
}

/* 锁定的剧集列表 */
.vjsp-episodes-locked {
    position: relative;
    /* pointer-events: none; */
    opacity: 0.7;
}

/* 主题兼容性 - 浅色主题特殊处理 */
@media (prefers-color-scheme: light) {
    .vjsp-no-permission {
        background-color: rgba(0, 0, 0, 0.95) !important;
    }
    
    .vjsp-no-permission-content {
        background-color: rgba(0, 0, 0, 0.9) !important;
        border: 2px solid rgba(255, 255, 255, 0.2) !important;
    }
    
    .vjsp-no-permission-content h3 {
        text-shadow: 0 3px 10px rgba(0, 0, 0, 0.9) !important;
    }
    
    .vjsp-no-permission-content p {
        text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9) !important;
    }
}

/* 高对比度模式支持 */
@media (prefers-contrast: high) {
    .vjsp-no-permission-content {
        background-color: rgba(0, 0, 0, 0.95) !important;
        border: 3px solid white !important;
    }
    
    .vjsp-no-permission-content h3,
    .vjsp-no-permission-content p {
        text-shadow: 2px 2px 0px black, -2px -2px 0px black, 2px -2px 0px black, -2px 2px 0px black !important;
    }
}

/* 强制深色背景以确保文字可读性 */
.vjsp-no-permission-content {
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* 已移除遮罩和提示的伪元素样式 */

/* 修改移动设备上的公告样式 - 替换原有的小屏幕样式 */
@media screen and (max-width: 767px) {
    /* 调整菜单栏布局 */
    .vjsp-menu-bar {
        padding: 4px 6px;
    }
    
    /* 调整菜单中心区域 */
    .vjsp-menu-center {
        flex: 1;
        min-width: 0;
        overflow: hidden;
        text-align: center;
        line-height: 1.2;
        margin: 0 5px;
    }
    
    /* 删除滚动效果，使用静态显示 */
    .vjsp-announcement-container {
        display: block !important;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        margin: 0;
        padding: 0;
    }
    
    .vjsp-announcement-text {
        font-size: 12px;
        white-space: normal !important;
        text-overflow: ellipsis;
        overflow: hidden !important;
        max-width: 100%;
        animation: none !important;
        transform: none !important;
    }
    
    /* 删除所有动画 */
    .vjsp-announcement-text.vjsp-announcement-scrolling {
        animation: none !important;
        transform: none !important;
    }
    
    /* 调整按钮大小 */
    .vjsp-menu-right button {
        font-size: 12px;
        padding: 2px 4px;
        min-width: 0;
    }
    
    /* 调整菜单左右区域 */
    .vjsp-menu-left, .vjsp-menu-right {
        max-width: 60px;
    }
}

/* 添加公告滚动动画关键帧 - 确保放在CSS文件中 */
@keyframes vjspAnnouncementScroll {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* 动画类 */
.vjsp-announcement-scrolling {
    animation: vjspAnnouncementScroll 10s linear infinite;
    white-space: nowrap;
}

/* 修复剧集卡片活动状态边框 */
.vjsp-episode-card.vjsp-episode-active {
    border: 2px solid #ff5252 !important; /* 使用更明显的边框 */
    box-shadow: 0 0 8px rgba(255, 82, 82, 0.5) !important;
    box-sizing: border-box !important; /* 确保边框不会改变元素大小 */
    position: relative;
    z-index: 2; /* 提高选中项的层级 */
}

/* 确保内容不会被边框遮挡 */
.vjsp-episode-card.vjsp-episode-active .vjsp-episode-content,
.vjsp-episode-card.vjsp-episode-active .vjsp-episode-header {
    /* margin: -1px; */ /* 移除边框补偿，避免渲染问题 */
}

/* 移动设备上的优化 */
@media screen and (max-width: 767px) {
    .vjsp-episode-card {
        margin: 4px !important; /* 增加卡片间距 */
        border-radius: 6px !important; /* 更明显的圆角 */
        overflow: hidden !important;
    }
    
    .vjsp-episode-card.vjsp-episode-active {
        border: 3px solid #ff5252 !important; /* 移动设备上使用更粗的边框 */
        transform: scale(1.02); /* 稍微放大激活的卡片 */
        transition: transform 0.2s ease;
    }
    
    /* 更好的触摸反馈 */
    .vjsp-episode-card:active {
        opacity: 0.8;
    }
} 