/* lite-youtube facade — minimal styles */
lite-youtube {
    background-color: #000;
    position: relative;
    display: block;
    contain: content;
    background-position: center center;
    background-size: cover;
    cursor: pointer;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    width: 100%;
}

lite-youtube::before {
    content: '';
    display: block;
    position: absolute;
    top: 0; right: 0; left: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.4), transparent);
    height: 60px;
    pointer-events: none;
    z-index: 1;
}

lite-youtube > .lty-playbtn {
    width: 68px;
    height: 48px;
    background-color: #212121;
    z-index: 2;
    opacity: 0.8;
    border-radius: 14%;
    transition: all 0.2s cubic-bezier(0, 0, 0.2, 1);
    border: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate3d(-50%, -50%, 0);
    cursor: pointer;
    padding: 0;
}

lite-youtube > .lty-playbtn::before {
    content: '';
    border-style: solid;
    border-width: 11px 0 11px 19px;
    border-color: transparent transparent transparent #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate3d(-50%, -50%, 0);
}

lite-youtube:hover > .lty-playbtn {
    background-color: #f00;
    opacity: 1;
}

lite-youtube.lyt-activated {
    cursor: unset;
}

lite-youtube.lyt-activated::before,
lite-youtube.lyt-activated > .lty-playbtn {
    opacity: 0;
    pointer-events: none;
}
