body:not(.tw-bypass-protection) {
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
}

body.tw-bypass-protection,
body.tw-bypass-protection * {
    -webkit-user-select: auto !important;
    -moz-user-select: auto !important;
    -ms-user-select: auto !important;
    user-select: auto !important;
    -webkit-user-drag: auto !important;
    pointer-events: auto !important;
}

input, textarea, [contenteditable="true"] {
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
    user-select: text !important;
}

body:not(.tw-bypass-protection) img {
    -webkit-user-drag: none !important;
    pointer-events: none !important;
}

.tw-single-media, .tw-tweet-media, .tw-single-text figure {
    position: relative;
}

body:not(.tw-bypass-protection) .tw-single-media::after,
body:not(.tw-bypass-protection) .tw-tweet-media::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 10;
    background: rgba(0,0,0,0.001);
    pointer-events: auto;
}

body.tw-bypass-protection .tw-single-media::after,
body.tw-bypass-protection .tw-tweet-media::after {
    display: none !important;
    pointer-events: none !important;
}

@media print {
    body:not(.tw-bypass-protection) {
        display: none !important;
        visibility: hidden !important;
    }
}
