/* Keep icon treatment shared by React pages and same-origin embedded widgets.
   Do not sharpen arbitrary photos, campaign artwork, charts or documents. */
:is(
  svg.lucide,
  button > svg,
  a > svg,
  [role="button"] > svg,
  ._imhw_ib svg,
  .imx-icon-btn svg,
  svg.card-verify
) {
  shape-rendering: geometricPrecision;
}
:is(
  svg.lucide,
  button > svg,
  a > svg,
  [role="button"] > svg,
  ._imhw_ib svg,
  .imx-icon-btn svg,
  svg.card-verify
):not([style*="filter"]) {
  filter: url("/produce-icon-sharpen.svg#sharpen");
}
:is(
  img[src*="icon" i],
  img[alt*="icon" i],
  img.object-contain,
  [data-category-icon] img,
  ._imhw_ib img,
  .imx-icon-btn img,
  .ai-robot-fab img,
  .ai-collapsed-token img
) {
  image-rendering: -webkit-optimize-contrast;
}
:is(
  img[src*="icon" i],
  img[alt*="icon" i],
  img.object-contain,
  [data-category-icon] img,
  ._imhw_ib img,
  .imx-icon-btn img,
  .ai-robot-fab img,
  .ai-collapsed-token img
):not([style*="filter"]) {
  filter: url("/produce-icon-sharpen.svg#sharpen");
}
