.reproductor-yt {
    width: auto;
}

.reproductor-yt__empty {
    padding: 1.5rem;
    margin: 0;
}

.reproductor-yt__playlist {
    list-style: none;
    margin: 0;
    padding: 0;
}

.reproductor-yt__viewer {
    position: relative;
}

.reproductor-yt.is-playing-ad .reproductor-yt__iframe {
    opacity: 0;
    pointer-events: none;
}

.reproductor-yt.is-vast-complete .reproductor-yt__iframe {
    opacity: 1;
    pointer-events: auto;
}

.reproductor-yt__vast-player {
    align-items: center;
    background: #000;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    inset: 0;
    justify-content: center;
    padding: 1.5rem;
    position: absolute;
    z-index: 2;
}

.reproductor-yt__vast-status {
    color: #f5f5f5;
    font-size: 1rem;
    margin: 0;
    text-align: center;
}

.reproductor-yt__vast-video-frame {
    background: #050505;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    width: min(100%, 960px);
}

.reproductor-yt__vast-video-frame::before {
    content: '';
    display: block;
    padding-bottom: 56.25%;
}

.reproductor-yt__vast-video {
    bottom: 0;
    height: 100%;
    left: 0;
    object-fit: contain;
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
}

.reproductor-yt__vast-countdown,
.reproductor-yt__vast-skip {
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.4rem 0.95rem;
    position: absolute;
    right: 1rem;
    z-index: 3;
}

.reproductor-yt__vast-countdown {
    background: rgba(5, 5, 5, 0.75);
    color: #fff;
    top: 1rem;
}

.reproductor-yt__vast-skip {
    background: #19827d;
    border: none;
    color: #fff;
    cursor: pointer;
    bottom: 1rem;
}

.reproductor-yt__vast-skip:hover {
    opacity: 0.85;
}

@media (max-width: 640px) {
    .reproductor-yt__vast-player {
        padding: 1rem;
    }

    .reproductor-yt__vast-video-frame {
        width: 100%;
    }

    .reproductor-yt__vast-countdown,
    .reproductor-yt__vast-skip {
        right: 0.75rem;
    }
}

.reproductor-yt.is-playing-ad .reproductor-yt__playlist {
    opacity: 0.45;
    pointer-events: none;
}

.reproductor-yt.is-vast-complete .reproductor-yt__vast-player {
    display: none;
}

.reproductor-yt__iframe {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    background: #050505;
    transition: opacity 0.35s ease;
}

.reproductor-yt__iframe iframe {
    border: 0;
    border-radius: 0;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

.reproductor-yt__badge {
    background: rgba(0, 0, 0, 0.75);
    border-radius: 4px;
    bottom: 6px;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    left: 6px;
    padding: 0.15rem 0.4rem;
    position: absolute;
}

/* Style 1 */
.reproductor-yt--style1 {
    background: linear-gradient(135deg, #1e1e1e 0%, #101010 100%);
    border-radius: 18px;
    box-shadow: 0 20px 45px #19827d3a;
    color: #fff;
    overflow: hidden;
    padding: 0;
}

.reproductor-yt--style1 .reproductor-yt__titulo {
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin: 0;
    padding: 1.5rem 1.75rem 0.75rem;
    text-transform: uppercase;
}

.reproductor-yt--style1 .reproductor-yt__layout {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}

.reproductor-yt--style1 .reproductor-yt__viewer {
    background: #000;
    flex: 1 1 60%;
    min-width: 280px;
    position: relative;
}

.reproductor-yt--style1 .reproductor-yt__current {
    align-items: flex-start;
    background: rgba(10, 10, 10, 0.92);
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding: 1.25rem 1.75rem;
}

.reproductor-yt--style1 .reproductor-yt__current-label {
    color: #c0c0c0;
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    margin: 0 0 0.5rem;
    text-transform: uppercase;
}

.reproductor-yt--style1 .reproductor-yt__current-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 0.35rem;
}

.reproductor-yt--style1 .reproductor-yt__current-description {
    color: #d0d0d0;
    font-size: 0.95rem;
    line-height: 1.4;
    margin: 0;
}

.reproductor-yt--style1 .reproductor-yt__current-duration {
    align-self: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 40px;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    padding: 0.4rem 0.95rem;
    white-space: nowrap;
}

.reproductor-yt--style1 .reproductor-yt__playlist {
    background: #161616;
    flex: 1 1 40%;
    margin: 0;
    max-height: 640px;
    overflow-y: auto;
    padding: 0;
    width: 100%;
}

.reproductor-yt--style1 .reproductor-yt__playlist::-webkit-scrollbar {
    width: 6px;
}

.reproductor-yt--style1 .reproductor-yt__playlist::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
}

.reproductor-yt--style1 .reproductor-yt__playlist-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
    display: flex;
    gap: 1rem;
    padding: 1rem 1.5rem;
    position: relative;
    transition: background 0.2s ease, transform 0.2s ease;
}

.reproductor-yt--style1 .reproductor-yt__playlist-item:last-child {
    border-bottom: none;
}

.reproductor-yt--style1 .reproductor-yt__playlist-item:hover {
    background: rgba(255, 255, 255, 0.04);
}

.reproductor-yt--style1 .reproductor-yt__playlist-item.is-active {
    background: rgba(255, 255, 255, 0.08);
    box-shadow: inset 4px 0 0 #19827d;
}

.reproductor-yt--style1 .reproductor-yt__playlist-thumb {
    flex: 0 0 120px;
    position: relative;
}

.reproductor-yt--style1 .reproductor-yt__playlist-thumb img {
    border-radius: 6px;
    display: block;
    height: 72px;
    object-fit: cover;
    width: 120px;
}

.reproductor-yt--style1 .reproductor-yt__playlist-copy {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.reproductor-yt--style1 .reproductor-yt__playlist-index {
    color: #a0a0a0;
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
}

.reproductor-yt--style1 .reproductor-yt__playlist-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

@media (max-width: 1024px) {
    .reproductor-yt--style1 .reproductor-yt__layout {
        flex-direction: column;
    }

    .reproductor-yt--style1 .reproductor-yt__playlist {
        max-height: none;
    }
}

@media (max-width: 768px) {
    .reproductor-yt--style1 .reproductor-yt__playlist-item {
        flex-direction: column;
    }

    .reproductor-yt--style1 .reproductor-yt__playlist-thumb {
        flex-basis: auto;
        width: 100%;
    }

    .reproductor-yt--style1 .reproductor-yt__playlist-thumb img {
        height: 180px;
        width: 100%;
    }
}

/* Style 2 */
.reproductor-yt--style2 {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 35px 60px #19827d3a;
    color: #0f172a;
    padding: 1.5rem 1.5rem 2rem;
}

.reproductor-yt--style2 .reproductor-yt__titulo {
    background: rgba(15, 23, 42, 0.85);
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    margin: 0 0 1rem;
    padding: 0.45rem 1.25rem;
    text-transform: none;
    text-shadow: 0 4px 12px #19827d3a;
}

.reproductor-yt--style2 .reproductor-yt__layout {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.reproductor-yt--style2 .reproductor-yt__viewer {
    background: #000;
    border-radius: 18px;
    box-shadow: 0 25px 50px #19827d3a;
    overflow: hidden;
}

.reproductor-yt--style2 .reproductor-yt__current {
    align-items: center;
    border-top: 1px solid #e2e8f0;
    color: #0f172a;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding: 1rem 1.5rem;
}

.reproductor-yt--style2 .reproductor-yt__current-label {
    color: #64748b;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    margin: 0 0 0.3rem;
    text-transform: uppercase;
}

.reproductor-yt--style2 .reproductor-yt__current-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    color: #fff;
}

.reproductor-yt--style2 .reproductor-yt__current-description {
    display: none;
}

.reproductor-yt--style2 .reproductor-yt__current-duration {
    background: #0f172a;
    border: none;
    border-radius: 999px;
    color: #fff;
    font-weight: 600;
    padding: 0.35rem 1rem;
}

.reproductor-yt--style2 .reproductor-yt__playlist {
    background: transparent;
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
}

.reproductor-yt--style2 .reproductor-yt__playlist::-webkit-scrollbar {
    height: 6px;
}

.reproductor-yt--style2 .reproductor-yt__playlist::-webkit-scrollbar-thumb {
    background: rgba(15, 23, 42, 0.25);
    border-radius: 999px;
}

.reproductor-yt--style2 .reproductor-yt__playlist-item {
    background: #fff;
    border: 1px solid #d9e1f2;
    border-radius: 16px;
    cursor: pointer;
    display: block;
    flex: 0 0 clamp(220px, 26vw, 280px);
    overflow: hidden;
    padding: 0;
    scroll-snap-align: start;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.reproductor-yt--style2 .reproductor-yt__playlist-item:hover {
    box-shadow: 0 15px 35px #19827d3a;
    transform: translateY(-4px);
}

.reproductor-yt--style2 .reproductor-yt__playlist-item.is-active {
    border-color: #19827d;
    box-shadow: 0 25px 55px #19827d3a;
}

.reproductor-yt--style2 .reproductor-yt__playlist-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.reproductor-yt--style2 .reproductor-yt__playlist-thumb {
    flex: 0 0 auto;
    position: relative;
}

.reproductor-yt--style2 .reproductor-yt__playlist-thumb img {
    border-radius: 16px 16px 0 0;
    display: block;
    height: 170px;
    object-fit: cover;
    width: 100%;
}

.reproductor-yt--style2 .reproductor-yt__badge {
    background: rgba(15, 23, 42, 0.85);
    border-radius: 999px;
    bottom: 12px;
    left: auto;
    right: 12px;
}

.reproductor-yt--style2 .reproductor-yt__playlist-copy {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 0.9rem 1rem 1.2rem;
}

.reproductor-yt--style2 .reproductor-yt__playlist-title {
    color: #0f172a;
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

@media (max-width: 900px) {
    .reproductor-yt--style2 {
        padding: 1.25rem;
    }

    .reproductor-yt--style2 .reproductor-yt__playlist-thumb img {
        height: 150px;
    }
}

@media (max-width: 640px) {
    .reproductor-yt--style2 .reproductor-yt__current {
        align-items: flex-start;
        flex-direction: column;
    }

    .reproductor-yt--style2 .reproductor-yt__playlist-thumb img {
        height: 200px;
    }

    .reproductor-yt--style2 .reproductor-yt__playlist {
        gap: 0.75rem;
        padding-bottom: 0.5rem;
        scroll-snap-type: x mandatory;
    }
}