/* Backdrop sampling is confined to stationary navigation/composer panels. */
.glass { backdrop-filter: blur(20px) saturate(140%); -webkit-backdrop-filter: blur(20px) saturate(140%); }
.chat-head { backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); }
.attachment-sheet .gallery-sources { backdrop-filter: blur(20px) saturate(130%); -webkit-backdrop-filter: blur(20px) saturate(130%); }
.peer-cover.has-photo .profile-actions button,
#peer-profile.has-cover-photo>.page-head button,
#call-dialog.call-photo .secondary,
#call-dialog .call-device-notice { background-color: #29292d; color: #fff; }
.story-reply:not([hidden]) { background-color: var(--panel, #1c1c1e); }
.energy-effects :is(.glass,.chat-head,.attachment-sheet .gallery-sources),
#app.e-nav-layer :is(.glass,.chat-head) { backdrop-filter: none; -webkit-backdrop-filter: none; }
@media (prefers-reduced-transparency: reduce) {
 .glass,.chat-head,.attachment-sheet .gallery-sources { backdrop-filter: none; -webkit-backdrop-filter: none; background-color: var(--panel, #1c1c1e); }
}
