/* Uniform surfaces, not GPU blur. Opacity preserves geometry, links and focus. */
.pf-discreet-button{position:fixed;left:max(12px,env(safe-area-inset-left));bottom:max(14px,env(safe-area-inset-bottom));z-index:9500;width:46px;height:46px;display:grid;place-items:center;padding:10px;border:1px solid #85500b;border-radius:15px;background:#17140ff5;color:#ffab19;box-shadow:0 3px 12px #0005;cursor:pointer;touch-action:manipulation}
.pf-discreet-button svg{display:block;width:24px;height:24px;pointer-events:none}
.pf-discreet-button[data-discreet-active]{border-color:#ffab19;background:#30200c}
.pf-discreet-button:focus-visible{outline:3px solid #ffb43b;outline-offset:3px}
@media(hover:hover) and (pointer:fine){.pf-discreet-button:hover{border-color:#ffab19;background:#30200c}}
/* Stay above the Shorts title/hashtag area, without covering its top/back or right controls. */
body.pf-shorts-page .pf-discreet-button{bottom:calc(env(safe-area-inset-bottom,0px) + 180px)}
.pf-discreet-setting p{margin:.5rem 0;line-height:1.5}
.pf-discreet-setting input[role=switch]{appearance:none;position:relative;flex:0 0 44px;width:44px;min-width:44px;max-width:44px;height:26px;padding:0;border:1px solid #6d5a43;border-radius:15px;background:#252525;cursor:pointer}
.pf-discreet-setting input[role=switch]::before{content:'';position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#c5bbb0}
.pf-discreet-setting input[role=switch]:checked{background:#ff9c00;border-color:#ff9c00}
.pf-discreet-setting input[role=switch]:checked::before{left:21px;background:#17110a}
.pf-discreet-setting input[role=switch]:focus-visible{outline:2px solid #ffbc58;outline-offset:3px}
html.pf-discreet-active :is(img,video,canvas,iframe,object,embed):not([data-pf-discreet-functional]):not([data-guide-src]):not([src^="/assets/guide/fapbot"]):not([src^="/assets/fapbot"]):not([src*="captcha"]):not([src*="challenges.cloudflare.com"]):not([src^="/assets/favicon"]):not([src^="/assets/logo"]){opacity:0!important;transition:none!important;animation:none!important}
/* Account avatars inside the header are media too; keep their menu button usable. */
html.pf-discreet-active :is(.thumbnail-media,.cover,.player-wrap,.pf-video-player,.pf-short-stage,.pf-photo-image,.pf-photo-stage,.pf-performer-card-image,.home-category-image,.public-category-cover,.category-hero-image,.motion-mobile-media,.pf-featured-image,.pf-cover){background:#191919!important;background-image:none!important}
html.pf-discreet-active :is(.video-card .card-line,.video-card .card-meta-primary,.pf-photo-card-copy h2,.pf-photo-card-copy h3,.pf-performer-card h2,.home-category-caption,.public-category-copy,.category-hero-copy,.cm-video span,.cm-shared-video-preview span,.cm-message-video strong,.pf-short-meta,.watch-content>.video-title,.watch-content>.description,.pf-photo-viewer-copy h2,.pf-photo-viewer-copy p,.pf-performer-hero h1,.pf-performer-description,.pf-performer-breadcrumb>span,.pf-performer-videos>h2,.video-uploader span,.pf-featured-copy h2,.pf-featured-copy>p,.pf-article-header h1,.pf-article-lead,.pf-article-body){opacity:0!important;transition:none!important;animation:none!important}
html.pf-discreet-active :is(.cover-fallback,.play-hover,.category-pills,.watch-category-rail,.tags,.pf-photo-filmstrip [title]){color:transparent!important;text-shadow:none!important}
/* Preserve anchor hit areas. Do not use visibility:hidden/display:none on cards. */
html.pf-discreet-active :is(.cover,.pf-photo-image,.pf-performer-card-image,.home-category-image,.public-category-cover){position:relative}
html.pf-discreet-active :is(.cover,.pf-photo-image,.pf-performer-card-image,.home-category-image,.public-category-cover)::after{content:''!important;position:absolute;inset:0;background:#191919!important;opacity:1!important;pointer-events:none;transition:none!important;animation:none!important;border-radius:inherit}
html.pf-discreet-active :is(.video-card,.pf-photo-card,.pf-performer-card,.home-category-card,.public-category-card,.cm-video):focus-within{outline:2px solid #ffab19;outline-offset:2px}
/* Textual player posters/preview canvases and later inline background images. */
html.pf-discreet-active :is(.pf-short-stage,.player-wrap,.pf-photo-stage,.cm-message-image,.cm-shared-video-preview){background-image:none!important}
html.pf-discreet-active :is(.tags,.category-pills,.cm-person strong,.cm-feed-person strong,.cm-feed-item>p,.cm-feed-item>.cm-link,.cm-profile-head h1,.cm-people-list strong,.cm-message-video>span,.cm-shared-video-preview strong){opacity:0!important;transition:none!important;animation:none!important}
/* A custom player's shadow poster is covered by its host, not by descendant selectors. */
html.pf-discreet-active :is(.pf-video-player,.pf-photos-heading>h1,.pf-photos-heading>p,.cm-bio){opacity:0!important;transition:none!important;animation:none!important}
html.pf-discreet-active :is(.home-short-card h3,.home-performer-card h3,.pf-photo-card-copy p span[title],.pf-upload-item h2,.cm-video-picker-item>strong,.cm-message-video>strong){opacity:0!important;transition:none!important;animation:none!important}
html.pf-discreet-active :is(.home-short-image,.home-performer-card){background:#191919!important;background-image:none!important}
html.pf-discreet-active :is(.live-search-title,.live-search-label>span:last-child,.cm-playlist strong){opacity:0!important;transition:none!important;animation:none!important}
