#gsvideo_play_btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    overflow: hidden;
    z-index: 50;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: transform 0.15s ease;
    background-repeat: no-repeat;
    /* Safe fallback values, in case the shop's custom style (loaded via the
       module's own inline <style> block) hasn't refreshed yet due to caching.
       The module's settings always override these once they load. */
    width: 74px;
    height: 74px;
    background-color: #ffffff;
    opacity: 1;
}

/* Inset "fill" circle: covers the center of the button, leaving only a thin
   ring of the button's own background visible around the edge. This is how
   the border/ring is drawn (instead of the CSS `border` property), because
   it lets that ring show an animated gradient cleanly, with no bleeding. */
#gsvideo_play_btn::before {
    content: "";
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.55);
    z-index: 0;
}

/* The triangle is a CSS-masked shape (not an inline SVG fill) so that it can
   share the exact same animated gradient background as the ring. */
.gsvideo_play_icon {
    display: block;
    width: 26px;
    height: 26px;
    position: relative;
    left: 2px;
    z-index: 2;
    background-color: #ffffff;
    background-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-position: center;
    mask-position: center;
}

.gsvideo_inline_media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 40;
    background: #000;
    border: 0;
}

.gsvideo_yt_click_overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 41;
    cursor: pointer;
    background: transparent;
}

#gsvideo_stop_btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    padding: 0;
    box-sizing: border-box;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 60;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

@media (max-width: 767px) {
    #gsvideo_stop_btn {
        width: 30px;
        height: 30px;
        font-size: 18px;
    }
}
