.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;
}

.reproductor-yt__vast-sound {
    background: rgba(5, 5, 5, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    bottom: 1rem;
    color: #fff;
    cursor: pointer;
    left: 1rem;
    padding: 0.4rem 0.9rem;
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    z-index: 3;
}

.reproductor-yt__vast-sound:hover {
    opacity: 0.9;
}

.reproductor-yt__vast-sound-icon {
    display: block;
    font-size: 1.05rem;
    line-height: 1;
}

.reproductor-yt__vast-sound-icon::before {
    content: '🔇';
}

.reproductor-yt__vast-sound:not(.is-muted) .reproductor-yt__vast-sound-icon::before {
    content: '🔊';
}

.reproductor-yt__sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.reproductor-yt__vast-click-layer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: transparent;
    text-indent: -9999px;
}

@supports not (inset: 0) {
    .reproductor-yt__vast-click-layer {
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
    }
}

@media (hover: hover) and (pointer: fine) {
    .reproductor-yt__vast-click-layer {
        cursor: pointer;
    }
}

@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;
    }
}

.reproductor-yt__comments {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.5rem;
}

.reproductor-yt__comments.is-loading {
    opacity: 0.72;
}

.reproductor-yt__comments--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 140px;
}

.reproductor-yt__comments-loading {
    color: inherit;
    font-size: 0.95rem;
    text-align: center;
}

.reproductor-yt__comments-header {
    align-items: center;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.reproductor-yt__comments-eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    margin: 0 0 0.25rem;
    text-transform: uppercase;
}

.reproductor-yt__comments-title {
    font-size: 1.2rem;
    margin: 0;
}

.reproductor-yt__comments-count {
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    min-width: 2.2rem;
    padding: 0.3rem 0.65rem;
    text-align: center;
}

.reproductor-yt__comments-notice {
    border-radius: 12px;
    font-size: 0.92rem;
    margin-bottom: 1rem;
    padding: 0.8rem 1rem;
}

.reproductor-yt__comments-notice.is-success {
    background: rgba(25, 130, 125, 0.16);
}

.reproductor-yt__comments-notice.is-warning {
    background: rgba(245, 158, 11, 0.16);
}

.reproductor-yt__comments-notice.is-error {
    background: rgba(239, 68, 68, 0.16);
}

.reproductor-yt__comments-composer {
    margin-bottom: 1.25rem;
}

.reproductor-yt__comments-form,
.reproductor-yt__comments-auth {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.reproductor-yt__comments-label {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.reproductor-yt__comments-textarea {
    border: 1px solid rgba(148, 163, 184, 0.4);
    border-radius: 14px;
    font: inherit;
    min-height: 110px;
    padding: 0.9rem 1rem;
    resize: vertical;
    width: 100%;
}

.reproductor-yt__comments-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.reproductor-yt__comments-submit,
.reproductor-yt__comments-link {
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.92rem;
    font-weight: 700;
    min-height: 42px;
    padding: 0.65rem 1.15rem;
    text-decoration: none;
}

.reproductor-yt__comments-submit {
    background: #19827d;
    border: none;
    color: #fff;
    cursor: pointer;
}

.reproductor-yt__comments-submit:hover {
    opacity: 0.9;
}

.reproductor-yt__comments-submit:disabled {
    cursor: wait;
    opacity: 0.7;
}

.reproductor-yt__comments-link {
    background: transparent;
    border: 1px solid currentColor;
}

.reproductor-yt__comments-helper,
.reproductor-yt__comments-empty {
    font-size: 0.92rem;
    line-height: 1.5;
    margin: 0;
}

.reproductor-yt__comments-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.reproductor-yt__comment {
    display: grid;
    gap: 0.9rem;
    grid-template-columns: 44px minmax(0, 1fr);
}

.reproductor-yt__comment-avatar img {
    border-radius: 999px;
    display: block;
    height: 44px;
    object-fit: cover;
    width: 44px;
}

.reproductor-yt__comment-body {
    min-width: 0;
}

.reproductor-yt__comment-meta {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-bottom: 0.4rem;
}

.reproductor-yt__comment-author {
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
}

.reproductor-yt__comment-date {
    font-size: 0.8rem;
}

.reproductor-yt__comment-text {
    font-size: 0.94rem;
    line-height: 1.6;
    word-break: break-word;
}

.reproductor-yt__comment-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    font-size: 0.8rem;
    margin-top: 0.55rem;
}

.reproductor-yt__comment-replies {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.9rem;
    padding-left: 1rem;
}

.reproductor-yt__comment-reply {
    border-left: 2px solid currentColor;
    font-size: 0.88rem;
    line-height: 1.55;
    opacity: 0.9;
    padding-left: 0.85rem;
}

.reproductor-yt__comment-reply span {
    display: inline-block;
    font-size: 0.78rem;
    margin-left: 0.45rem;
}

.reproductor-yt--style1 .reproductor-yt__comments {
    background: rgba(6, 6, 6, 0.42);
    color: #f7f7f7;
}

.reproductor-yt--style1 .reproductor-yt__comments-eyebrow,
.reproductor-yt--style1 .reproductor-yt__comment-date,
.reproductor-yt--style1 .reproductor-yt__comment-stats,
.reproductor-yt--style1 .reproductor-yt__comment-reply span,
.reproductor-yt--style1 .reproductor-yt__comments-helper,
.reproductor-yt--style1 .reproductor-yt__comments-empty {
    color: #b9c0c7;
}

.reproductor-yt--style1 .reproductor-yt__comments-count {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.reproductor-yt--style1 .reproductor-yt__comments-textarea {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

.reproductor-yt--style1 .reproductor-yt__comments-link,
.reproductor-yt--style1 .reproductor-yt__comment-author,
.reproductor-yt--style1 .reproductor-yt__comment-reply strong {
    color: #fff;
}

.reproductor-yt--style2 .reproductor-yt__comments {
    border-top-color: #e2e8f0;
    color: #0f172a;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0;
}

.reproductor-yt--style2 .reproductor-yt__comments-eyebrow,
.reproductor-yt--style2 .reproductor-yt__comment-date,
.reproductor-yt--style2 .reproductor-yt__comment-stats,
.reproductor-yt--style2 .reproductor-yt__comment-reply span,
.reproductor-yt--style2 .reproductor-yt__comments-helper,
.reproductor-yt--style2 .reproductor-yt__comments-empty {
    color: #64748b;
}

.reproductor-yt--style2 .reproductor-yt__comments-count {
    background: #e2e8f0;
    color: #0f172a;
}

.reproductor-yt--style2 .reproductor-yt__comments-textarea {
    background: #fff;
    color: #0f172a;
}

.reproductor-yt--style2 .reproductor-yt__comments-link,
.reproductor-yt--style2 .reproductor-yt__comment-author,
.reproductor-yt--style2 .reproductor-yt__comment-reply strong {
    color: #0f172a;
}

@media (max-width: 640px) {
    .reproductor-yt__comments {
        padding: 1rem;
    }

    .reproductor-yt__comment {
        grid-template-columns: 36px minmax(0, 1fr);
    }

    .reproductor-yt__comment-avatar img {
        height: 36px;
        width: 36px;
    }

    .reproductor-yt__comments-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .reproductor-yt__comments-submit,
    .reproductor-yt__comments-link {
        width: 100%;
    }
}
