.yps-video-wrapper {
    display: flex;
}
.yps-video-wrapper .yps-video-list {
    width: 66%;
    height: 100%;
}

.yps-video-wrapper .yps-sidebar {
    width: 34%;
    padding-left: 70px;
}

.yps-video-wrapper .yps-video-list #yps-videos {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 36px;
}

.yps-video-wrapper .yps-video-list #yps-videos .yps-video {
    position: relative;
    flex: calc(50% - 18px);
    max-width: calc(50% - 18px);
}

.yps-video-wrapper .yps-video-list #yps-videos .yps-video .yps-video-thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    margin-bottom: 10px;
    cursor: pointer;
    line-height: 0;
}

.yps-video-wrapper .yps-video-list #yps-videos .yps-video .yps-video-thumb .yps-video-icon {
    position: absolute;
    width: 60px;
    height: auto;
    opacity: 0.9;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: 0.3s all ease;
    z-index: 1;
}

.yps-video-wrapper .yps-video-list #yps-videos .yps-video .yps-video-thumb:hover .yps-video-icon {
    opacity: 0.7;
}

.yps-video-wrapper .yps-video-list #yps-videos .yps-video .yps-video-thumb::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-color: rgba(0, 0, 0, 0);
    transition: 0.3s all ease;
    z-index: 2;
}

.yps-video-wrapper .yps-video-list #yps-videos .yps-video .yps-video-thumb:hover::before {
    background-color: rgba(0, 0, 0, 0.4);
}

.yps-video-wrapper .yps-video-list #yps-videos .yps-video .yps-video-thumb .yps-video-duration {
    position: absolute;
    bottom: 16px;
    right: 12px;
    background-color: #000;
    color: #fff;
    padding: 4px 6px;
    font-size: 12px;
    line-height: 1;
    border-radius: 4px;
    z-index: 10;
}

.yps-video-wrapper .yps-video-list #yps-videos .yps-video .yps-video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin-bottom: 0;
}

.yps-video-wrapper .yps-video-list #yps-videos .yps-video .yps-video-name {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}

.yps-video-wrapper .yps-video-list #yps-videos .yps-video .yps-video-info {
    font-weight: bold;
}

.yps-video-wrapper .yps-sidebar #yps-playlists .yps-playlist {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 16px;
    gap: 20px;
    cursor: pointer;
}

.yps-video-wrapper .yps-sidebar #yps-playlists .yps-playlist:last-child {
    border-bottom: 0;
}

.yps-video-wrapper .yps-sidebar #yps-playlists .yps-playlist .yps-playlist-thumb {
    width: 100px;
    flex: 100px;
    max-width: 100px;
    line-height: 0;
}

.yps-video-wrapper .yps-sidebar #yps-playlists .yps-playlist .yps-playlist-info {
    width: calc(100% - 120px);
    flex: calc(100% - 120px);
}

.yps-video-wrapper .yps-sidebar #yps-playlists .yps-playlist .yps-playlist-thumb img {
    margin-bottom: 0;
}

.yps-video-wrapper .yps-sidebar #yps-playlists .yps-playlist .yps-playlist-info .yps-playlist-title {
    font-size: 15px;
    line-height: 1.4;
    font-weight: 600;
}

.yps-video-wrapper .yps-sidebar #yps-playlists .yps-playlist .yps-playlist-info .yps-video-count {
    font-size: 12px;
}

.yps-popup-overlay {
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000000;
}

.yps-popup-overlay .popup-content {
    position: absolute;
    width: 100%;
    max-width: 1100px;
    background: #fff;
    left: 50%;
    top: calc(50% + 30px);
    transform: translate(-50%, -50%);
}

.yps-popup-overlay .popup-content iframe {
    width: 100%;
    height: unset;
    aspect-ratio: 16 / 9;
}

.yps-popup-overlay .popup-content #video-info {
    padding: 20px;
}

.yps-popup-overlay .popup-content #video-info #video-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

.yps-popup-overlay .popup-content #video-info #video-description {
    margin-top: 10px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

.yps-popup-overlay .popup-content .close-popup {
    position: absolute;
    top: -24px;
    right: -5px;
    background: transparent;
    border: 0;
    color: #fff;
    cursor: pointer;
    z-index: 1;
}

.yps-channel-info {
    display: flex;
    gap: 30px;
    padding-bottom: 20px;
}

.yps-channel-info .thumb {
    flex: 180px;
    width: 180px;
}

.yps-channel-info .thumb img {
    border-radius: 200px;
}

.yps-channel-info .info {
    flex: calc(100% - 210px);
    width: calc(100% - 210px);
}

.yps-channel-info .info .yps-channel-title {
    color: #333;
}

.yps-channel-info .info .yps-channel-subscribers {
    display: flex;
    gap: 20px;
    color: #444;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 500;
}

.yps-channel-info .info .yps-subscribe-button {
    padding: 10px 20px;
    background: #000;
    color: #fff;
    font-weight: 600;
    border-radius: 20px;
}

@media(max-width: 1200px) {
    .yps-video-wrapper .yps-sidebar {
        padding-left: 40px;
    }
}

@media(max-width: 1024px) {
    .yps-video-wrapper {
        display: block;
    }

    .yps-video-wrapper .yps-video-list {
        width: 100%;
    }

    .yps-video-wrapper .yps-sidebar {
        width: 100%;
        padding-left: 0;
        margin-top: 60px;
    }
}

@media(max-width: 768px) {
    .yps-video-wrapper .yps-video-list #yps-videos {
        display: block;
    }

    .yps-video-wrapper .yps-video-list #yps-videos .yps-video {
        max-width: 100%;
        margin-bottom: 40px;
    }

    .yps-channel-info {
        display: block;
    }

    .yps-channel-info .info {
        width: 100%;
    }
}