/**
 * Zibll 视频剧集扩展 - 前端样式
 */

/* 禁止拖动进度：屏蔽 DPlayer 进度条交互 */
.vse-no-seek .dplayer-bar-wrap {
    pointer-events: none;
}

/* 未解锁的剧集 */
.featured-video-episode .switch-video.vse-locked {
    opacity: .5;
    cursor: not-allowed;
    filter: grayscale(.6);
}
.featured-video-episode .switch-video.vse-locked .vse-lock-icon {
    margin-right: 4px;
    color: inherit;
}

/* 已看完的剧集 */
.featured-video-episode .switch-video.vse-completed .badg {
    background: #2ea44f;
    color: #fff;
}

/* 剧集列表排列方式：一行一个 */
.featured-video-episode.vse-layout-1 .switch-video {
    display: block;
    width: 100%;
    min-width: 0;
    margin: 4px 0 0;
}

/* 剧集列表排列方式：一行两个 */
.featured-video-episode.vse-layout-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}
.featured-video-episode.vse-layout-2 .switch-video {
    display: block;
    width: auto;
    min-width: 0;
    margin: 0;
}

/* 提示气泡 */
.vse-toast {
    position: fixed;
    left: 50%;
    bottom: 60px;
    transform: translateX(-50%);
    z-index: 99999;
    max-width: 80vw;
    background: rgba(0, 0, 0, .78);
    color: #fff;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .3s, visibility .3s;
}
.vse-toast.vse-toast-show {
    opacity: 1;
    visibility: visible;
}
