/* One stationary wallpaper canvas for the mobile header and conversation. */
.app-mobile-layout--app.nx-chat-wallpaper {
  isolation: isolate;
}
.app-mobile-layout--app.nx-chat-wallpaper::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-color: #060509;
  background-image: var(--nx-chat-wallpaper-image);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  filter: blur(var(--nx-chat-wallpaper-blur, 0px));
  clip-path: inset(var(--nexti-app-safe-top, env(safe-area-inset-top, 0px)) 0 var(--nexti-app-safe-bottom, env(safe-area-inset-bottom, 0px)));
}
.app-mobile-layout--app.nx-chat-wallpaper .tm-shell,
.app-mobile-layout--app.nx-chat-wallpaper .tm-shell.tm-shell--wide,
.app-mobile-layout--app.nx-chat-wallpaper .tg-chat-container.has-chat-background,
.app-mobile-layout--app.nx-chat-wallpaper .tg-chat-container.has-chat-background > .tg-chat-container__scroll {
  background-color: transparent !important;
  background-image: none !important;
}
.app-mobile-layout--app.nx-chat-wallpaper .tg-chat-container__appearance-background {
  display: none !important;
}
.app-mobile-layout--app.nx-chat-wallpaper .tm-mobile-chat-header {
  background: transparent !important;
}
.app-mobile-layout--app.nx-chat-wallpaper .tm-mobile-chat-header::before {
  background: linear-gradient(to bottom,
    var(--mobile-theme-background, #070d18) 0,
    var(--mobile-theme-background, #070d18) var(--nexti-app-safe-top, env(safe-area-inset-top, 0px)),
    transparent var(--nexti-app-safe-top, env(safe-area-inset-top, 0px)),
    transparent 100%) !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}
