/* Media guard extension for Datenstrom Yellow */
/* Protected media cannot be dragged out of the page, selected or saved by holding them. */

[data-mg-type] {
    -webkit-user-drag: none;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}
img[data-mg-type], video[data-mg-type] {
    pointer-events: auto;   /* the reader still uses the player, only the menu of the browser is gone */
}
/* while the picture is being fetched it keeps the room it needs, so the page does not jump */
img[data-mg]:not([src]) {
    background: rgba(127, 127, 127, .08);
    min-height: 1px;
}
/* a medium whose address has stopped working says so instead of leaving an empty place */
.mediaguard-missing {
    outline: 1px dashed rgba(127, 127, 127, .6);
    outline-offset: 2px;
}
@media print { /* a protected medium is not printed */
    [data-mg-type] { visibility: hidden; }
}