/* Performance trims. public/perf-monitor.js measures the frame rate and puts
   `cwl-lowfx` on <html> when a device keeps missing frames; these rules drop
   decoration that costs a repaint every frame and adds nothing to play. */

/* Always: the clouds drift behind the world map, where they are mostly hidden
   but still repaint the page every frame. */
body:has(.worldmap-map-viewport) .cloud {
  animation-play-state: paused;
}

/* Low-effects mode */
.cwl-lowfx .clouds,
.cwl-lowfx .cloud {
  display: none !important;
}

.cwl-lowfx .worldmap-hex-badge,
.cwl-lowfx .worldmap-item-card,
.cwl-lowfx .hex-next-arrow,
.cwl-lowfx .hex-next-level,
.cwl-lowfx .worldmap-active-raid-banner,
.cwl-lowfx .daily-bonus-btn {
  animation: none !important;
}

.cwl-lowfx .worldmap-blob {
  filter: none;
  transition: none;
}

.cwl-lowfx .worldmap-hex,
.cwl-lowfx .worldmap-hex * {
  transition: none !important;
}
