OFTQUEST / static /css /protection.css
Nicolasmed26's picture
Deploy MedMembers OFT 2026
2ab2d4a verified
Raw History Blame Contribute Delete
6.67 kB
/* ===== DRM-LIKE PROTECTION STYLES ===== */
.protected-content { -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; }
.protected-content img { -webkit-user-drag: none; user-drag: none; pointer-events: none; }
@media print { html, body, * { display: none !important; visibility: hidden !important; opacity: 0 !important; background: #000 !important; color: #000 !important; } }
.content-blur { filter: blur(30px) !important; transition: filter 0.3s ease; }
.devtools-warning { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: #000; color: #fff; display: none; align-items: center; justify-content: center; z-index: 99999; font-size: 24px; text-align: center; padding: 40px; }
.devtools-warning.show { display: flex; }
.devtools-warning .warning-content { max-width: 500px; }
.devtools-warning h2 { color: #ea4335; margin-bottom: 16px; font-size: 28px; }
.devtools-warning p { color: #aaa; line-height: 1.6; }
/* ===== VIDEO PROTECTION ===== */
.video-wrapper { position: relative; overflow: hidden; }
.video-wrapper > div:not(.video-protection-overlay):not(.video-controls-zone):not(.video-placeholder):not(.video-top-shield):not(.video-watermark) { display: none !important; }
#idm-aio-button, [id*="IDM"], [id*="idm"], [class*="IDM"], [class*="idm"], [class*="download-panel"],
[id*="EagleGet"], [id*="eagleget"], [class*="eagleget"], [id*="xdm"], [class*="xdm"] {
display: none !important; visibility: hidden !important; opacity: 0 !important; pointer-events: none !important; width: 0 !important; height: 0 !important;
}
.video-protection-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 100; cursor: pointer; background: transparent; }
.video-protection-overlay.hidden { pointer-events: none; }
.video-top-shield { position: absolute; top: 0; right: 0; width: 200px; height: 60px; z-index: 200; background: transparent; pointer-events: all; }
.video-watermark { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 50; overflow: hidden; }
.video-placeholder {
width: 100%; aspect-ratio: 16/9;
background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
border-radius: 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; cursor: pointer; transition: all 0.3s ease;
}
.video-placeholder:hover { background: linear-gradient(135deg, #0f3460 0%, #1a1a2e 50%, #16213e 100%); transform: scale(1.01); }
.video-placeholder .play-button { width: 80px; height: 80px; background: rgba(255,255,255,0.15); border: 3px solid rgba(255,255,255,0.4); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 32px; color: white; margin-bottom: 16px; transition: all 0.3s ease; }
.video-placeholder:hover .play-button { background: rgba(255,255,255,0.25); border-color: rgba(255,255,255,0.6); transform: scale(1.1); }
.video-placeholder .play-text { color: rgba(255,255,255,0.7); font-size: 14px; font-weight: 500; }
.watermark-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 9998; opacity: 1; overflow: hidden; }
.wm-text { position: fixed; font: 700 13px sans-serif; color: rgba(0,0,0,0.12); transform: rotate(-25deg); white-space: nowrap; pointer-events: none; z-index: 9998; user-select: none; -webkit-user-select: none; }
.recording-detected .wm-text { color: rgba(0,0,0,0.35) !important; }
.screenshot-shield { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 99997; pointer-events: none; background: #000; opacity: 0; transition: opacity 0.3s ease; }
.screenshot-active .screenshot-shield { opacity: 1; background: #000 !important; }
.screenshot-active #app { opacity: 0 !important; }
.screenshot-active iframe { opacity: 0 !important; }
.screenshot-active .watermark-overlay { visibility: hidden !important; }
.screenshot-active .gabarito-video { visibility: hidden !important; }
.recording-detected .video-watermark { opacity: 0.6 !important; }
.recording-detected #watermark { opacity: 0.3 !important; }
.kicked-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.85); display: none; align-items: center; justify-content: center; z-index: 100000; }
.kicked-overlay.show { display: flex; }
.kicked-card { background: white; border-radius: 16px; padding: 48px; text-align: center; max-width: 400px; }
.kicked-card h2 { color: var(--wrong); margin-bottom: 12px; }
.kicked-card .kicked-message { color: var(--text-sec); margin-bottom: 24px; }
/* ===== FORTRESS v2: Automation Warning ===== */
.automation-warning {
position: fixed; top: 0; left: 0; right: 0; bottom: 0;
background: rgba(0,0,0,0.97); display: none; align-items: center; justify-content: center;
z-index: 999999; font-family: sans-serif;
}
.automation-warning.show { display: flex; }
.automation-warning-content {
text-align: center; max-width: 500px; padding: 40px;
}
.automation-warning-content h2 {
color: #ff4444; font-size: 28px; margin-bottom: 16px;
}
.automation-warning-content p {
color: #aaa; font-size: 16px; line-height: 1.6;
}
/* ===== FORTRESS v2: Fullscreen Watermark ===== */
.fullscreen-watermark {
position: fixed !important; top: 0 !important; left: 0 !important;
width: 100vw !important; height: 100vh !important;
pointer-events: none !important; z-index: 2147483647 !important;
overflow: hidden !important; opacity: 1 !important;
display: block !important; visibility: visible !important;
}
.fullscreen-watermark span {
pointer-events: none !important; user-select: none !important;
-webkit-user-select: none !important; visibility: visible !important;
display: inline !important; opacity: 1 !important;
}
/* Prevent extensions from hiding fullscreen watermark */
*:-webkit-full-screen .fullscreen-watermark,
*:fullscreen .fullscreen-watermark {
display: block !important; visibility: visible !important; opacity: 1 !important;
}
/* ===== FORTRESS v2: Enhanced Download Blocker Styles ===== */
[id*="savefrom"], [class*="savefrom"], [id*="vdh-"], [class*="vdh-"],
[id*="tubedigger"], [class*="tubedigger"], [id*="keepvid"], [class*="keepvid"],
[id*="video-download"], [class*="video-download"], [id*="ytdl"], [class*="ytdl"],
[id*="grabber"], [class*="grabber"], [id*="snatcher"], [class*="snatcher"],
[id*="ripper"], [class*="ripper"] {
display: none !important; visibility: hidden !important; opacity: 0 !important;
pointer-events: none !important; width: 0 !important; height: 0 !important;
position: absolute !important; left: -9999px !important;
}