.yt-image-wrap {
    position: relative;
    display: inline-block;
    max-width: 100%;
}

.yt-image-wrap img {
    display: block;
    max-width: 100%;
}

.yt-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.yt-play-button {
    width: 74px;
    height: 52px;
    border-radius: 14px;
    background: rgba(255, 0, 0, 0.88);
    position: relative;
    box-shadow: 0 2px 8px rgba(0,0,0,.25);
    transition: transform .2s ease;
}

.yt-play-button::before {
    content: "";
    position: absolute;
    left: 29px;
    top: 15px;
    width: 0;
    height: 0;
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
    border-left: 17px solid #fff;
}

.yt-play-overlay:hover .yt-play-button {
    transform: scale(1.1);
}

.yt-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(16, 35, 74, 0.72);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    padding: 20px;
}

.yt-modal {
    background: #fff;
    width: 90%;
    max-width: 480px;
    padding: 32px;
    border-radius: 18px;
    box-sizing: border-box;
    box-shadow: 0 20px 60px rgba(0,0,0,.28);
    border-top: 8px solid #254AA5;
}

.yt-modal p {
    margin: 0;
    color: #1f2f4a;
    font-size: 17px;
    line-height: 1.55;
}

.yt-modal-buttons {
    margin-top: 28px;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.yt-modal-buttons button {
    border: 0;
    border-radius: 999px;
    padding: 11px 22px;
    font-weight: 700;
    cursor: pointer;
    transition: transform .15s ease, opacity .15s ease, background .15s ease;
}

.yt-modal-buttons button:hover {
    transform: translateY(-1px);
}

.yt-cancel {
    background: #e9eef7;
    color: #254AA5;
}

.yt-ok {
    background: #254AA5;
    color: #fff;
}

.yt-ok:hover {
    background: #1d3d8a;
}

@media (max-width: 480px) {
    .yt-modal {
        padding: 24px;
    }

    .yt-modal-buttons {
        flex-direction: column-reverse;
    }

    .yt-modal-buttons button {
        width: 100%;
    }
}