#talkingHead {
    height: 20vh;
    width: 20vh;
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 1000;
}

#talkingMask {
    height: 20vh;
    width: 20vh;
    border-radius: 50%;
    overflow: hidden;
}

#talkingHead iframe {
    height: 100%;
    width: 100vh;
    max-width: unset;
    translate: calc(-50% + 10vh);
}

#playerOverlay {
    /* background-color: rgba(255, 0, 0, 0.521); */
    position: absolute;
    width: 100%;
    height: 100%;
    /* z-index: 100; */
    top: 0;
    cursor: move; /* fallback if grab cursor is unsupported */
    cursor: grab;
    cursor: -moz-grab;
    cursor: -webkit-grab;
}

#playerOverlay:active {
    cursor: grabbing;
    cursor: -moz-grabbing;
    cursor: -webkit-grabbing;
}

#playerProgress {
    --size: calc(20vh + 4px);
    --track-width: 10px;
    --indicator-width: 10px;
    margin: -2px;
}

#playerControlsWrapper > * {
    --wa-form-control-height: 4vh;
    position: absolute;
    width: 15vh;
    height: var(--wa-form-control-height);
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    text-align: center;
    justify-content: center;
}

#playerOverlay #playerControls {
    opacity: 0;
    transition: opacity 1s ease-in;
}

#playerOverlay:hover #playerControls,
#playerControls:has(#pauseBtn[hidden]) {
    opacity: 1;
    transition: opacity 0.2s ease;
}
