/*
 * Play button on an advisor's round photo in the listings
 * (frontend/partials/avatar-video-play), on the big photo on the psychic
 * page (frontend/psychics/show, .avatar-video-play-lg) and its player popup. Its own file
 * because the favourites page (member shell) doesn't load site.css.
 */
.avatar-video-wrap {
    position: relative;
    display: inline-block;
}

.avatar-video-wrap > a {
    display: block;
    line-height: 0;
}

.avatar-video-play {
    --avatar-video-size: 34px;
    position: absolute;
    right: 2px;
    bottom: 2px;
    z-index: 2;
    width: var(--avatar-video-size);
    height: var(--avatar-video-size);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #684287;
    color: #fff;
    font-size: 1.3rem;
    line-height: 1;
    box-shadow: 0 3px 10px rgba(60, 30, 90, .35);
    cursor: pointer;
    transition: transform .15s ease, background-color .15s ease;
}

/* The 150 px photo on the psychic page: a bigger circle, pulled in onto the photo's edge. */
.avatar-video-play-lg {
    --avatar-video-size: 42px;
    right: 6px;
    bottom: 6px;
    font-size: 1.6rem;
}

.avatar-video-play .bi {
    margin-left: 2px;
}

/* A 44 px touch target around the 34 px circle. */
.avatar-video-play::before {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50%;
}

.avatar-video-play:hover,
.avatar-video-play:focus-visible {
    background: #7a53a0;
    transform: scale(1.08);
}

.avatar-video-play:focus-visible {
    outline: 3px solid rgba(104, 66, 135, .45);
    outline-offset: 2px;
}

.avatar-video-player {
    display: block;
    width: 100%;
    max-height: 80vh;
    background: #000;
}
