/* One-bar WLAN: retained frames, like a surface that is not repainted while
   it moves. The copies are deliberately opaque; this is feedback, not glass. */
#wifi-motion-trails {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 29;
  contain: layout;
  isolation: isolate;
}

#wifi-motion-trails:empty {
  display: none;
}

.wifi-motion-ghost {
  pointer-events: none !important;
  user-select: none !important;
  transform-origin: center !important;
  filter: none !important;
  opacity: 1;
  background-color: rgb(75, 73, 80) !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  will-change: auto;
  animation: none !important;
}

.wifi-motion-ghost > .titlebar,
.wifi-motion-ghost > .mail-titlebar,
.wifi-motion-ghost > .about-drag-zone {
  background-color: rgb(84, 82, 88) !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

.wifi-motion-ghost * {
  pointer-events: none !important;
  animation-play-state: paused !important;
  transition: none !important;
  caret-color: transparent !important;
}

@media (prefers-reduced-motion: reduce) {
  #wifi-motion-trails { display: none !important; }
}
