/* v2.79 map stability, clean restart and fixed troop bars */

/*
 * AI turns rebuild the surrounding UI frequently. Keep city artwork itself
 * static and use the castle shell for source/target emphasis so image filters
 * and transforms never enter a GPU animation that can blink on some browsers.
 */
#campaign-map .node.ai-source .city-node-icon,
#campaign-map .node.ai-target .city-node-icon {
  animation: none !important;
  transform: none !important;
  opacity: 1 !important;
  visibility: visible !important;
}

#campaign-map .node.ai-source .city-castle-shell {
  box-shadow: 0 0 0 2px rgba(241, 193, 83, .72), 0 0 14px rgba(241, 193, 83, .38);
}

#campaign-map .node.ai-target .city-castle-shell {
  box-shadow: 0 0 0 2px rgba(238, 88, 68, .78), 0 0 16px rgba(238, 88, 68, .42);
}

#campaign-map .city-node-icon {
  opacity: 1;
  visibility: visible;
  backface-visibility: hidden;
}
