media-player > .fp-viewer-watermark-layer {
    position: absolute;
    inset: 12% 6% 22%;
    z-index: 6;
    pointer-events: none;
    user-select: none;
}

media-player:not([data-playing]) > .fp-viewer-watermark-layer,
media-player[data-waiting] > .fp-viewer-watermark-layer {
    display: none;
}

.fp-viewer-watermark-layer > span {
    position: absolute;
    box-sizing: border-box;
    width: max-content;
    max-width: 100%;
    padding: .2em .5em;
    border-radius: .3em;
    background: rgba(0, 0, 0, .55);
    color: rgba(255, 255, 255, .9);
    font: 600 clamp(10px, 2vw, 16px)/1.35 system-ui, sans-serif;
    overflow-wrap: anywhere;
    direction: ltr;
    unicode-bidi: isolate;
}

@media (prefers-reduced-motion: no-preference) {
    .fp-viewer-watermark-layer > span {
        /* Interpolate all three properties together to keep the label inside the layer. */
        transition-property: left, top, transform;
        transition-duration: var(--fp-watermark-move-duration);
        transition-timing-function: ease-in-out;
    }
}
