/* m04 only: compensate for narrower source-image lettering without changing
   the full-size tile link.  The editable block font attributes are the cap. */
.chums-category-grid.chums-category-label-tuned .cg-label {
  transform: scaleX(.9);
  transform-origin: center;
}
/* The source lettering was baked into square images and therefore scales with
   each tile. Keep the editable size as the maximum while scaling down on
   narrow viewports so long labels cannot wrap solely due to the repair. */
@supports (container-type: inline-size) and (font-size: 1cqw) {
  .chums-category-grid.chums-category-label-tuned .cg-frame { container-type: inline-size; }
  .chums-category-grid.chums-category-label-tuned .cg-label { font-size: min(var(--cg-label-d), 11.2cqw); }
  @media (max-width: 768px) {
    .chums-category-grid.chums-category-label-tuned .cg-label { font-size: min(var(--cg-label-m), 11.2cqw); }
  }
}
