.maxfun-yt-widget-list { list-style: none; margin: 0; padding: 0; }
.maxfun-yt-widget-item { margin: 0 0 20px; }
.maxfun-yt-widget-item:last-child { margin-bottom: 0; }
.maxfun-yt-thumb { display: block; text-decoration: none; }
.maxfun-yt-thumb-inner {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 4px;
    background: #000;
}
.maxfun-yt-thumb-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .2s ease;
}
.maxfun-yt-thumb:hover .maxfun-yt-thumb-inner img { transform: scale(1.04); }
.maxfun-yt-play {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 54px;
    height: 54px;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, .65);
    border-radius: 50%;
    transition: background .2s ease;
}
.maxfun-yt-thumb:hover .maxfun-yt-play { background: rgba(210, 0, 0, .85); }
.maxfun-yt-play::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 54%;
    transform: translate(-50%, -50%);
    border-style: solid;
    border-width: 10px 0 10px 17px;
    border-color: transparent transparent transparent #fff;
}
.maxfun-yt-widget-title {
    display: block;
    margin-top: 8px;
    color: inherit;
    text-decoration: none;
    line-height: 1.3;
}
.maxfun-yt-shortcode-more { margin-top: 10px; }
.maxfun-yt-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .85);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.maxfun-yt-modal-box {
    position: relative;
    width: 100%;
    max-width: 960px;
    aspect-ratio: 16 / 9;
    background: #000;
}
.maxfun-yt-modal-box iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}
.maxfun-yt-modal-close {
    position: absolute;
    top: -38px;
    right: 0;
    background: none;
    border: 0;
    color: #fff;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    padding: 4px 8px;
}
