/* Styles for what animations.js draws. The motion itself is in the script (it needs the
 * points and counts); this file holds the look of the lettering and the layer rules. */

/* Animations never catch clicks meant for the map. */
.gs-fx-layer, .gs-fx { pointer-events: none; }

/* Captions: bold lettering with a paper-coloured halo so it reads over land, sea and pieces. */
.gs-fx-text {
  font-family: var(--gs-font, ui-rounded, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif);
  font-variant-numeric: tabular-nums;
  paint-order: stroke;
  stroke: var(--chip, #fffdf6);
  stroke-width: 5px;
  stroke-linejoin: round;
}
.gs-fx-text.gs-fx-nohalo { stroke: none; }

/* Shapes grow, shrink and turn about their own point, not the corner of the map. */
.gs-fx g, .gs-fx circle, .gs-fx path, .gs-fx polygon, .gs-fx rect { transform-origin: 0 0; }
