/* Pictogrammes exacts de la planche validée par Marion (1487 × 1058 px).
   Une seule image mise en cache sert les quinze allergènes. */
.md-allergene-picto {
  display: inline-block;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border-radius: 50%;
  background-repeat: no-repeat;
  vertical-align: middle;
}
.md-allergene-picto--sprite {
  background-image: url('./planche.png?v=3');
  background-size: 1161.71875% 826.5625%;
  background-position: var(--md-picto-x, 93.083%) var(--md-picto-y, 71.290%);
}
.md-allergene-picto--custom {
  background-size: contain;
  background-position: center;
}
.md-allergene-picto--gluten { --md-picto-x: 9.860%; --md-picto-y: 19.892%; }
.md-allergene-picto--crustaces { --md-picto-x: 30.831%; --md-picto-y: 19.892%; }
.md-allergene-picto--oeufs { --md-picto-x: 51.582%; --md-picto-y: 19.892%; }
.md-allergene-picto--poissons { --md-picto-x: 72.333%; --md-picto-y: 19.892%; }
.md-allergene-picto--arachides { --md-picto-x: 93.083%; --md-picto-y: 19.892%; }
.md-allergene-picto--soja { --md-picto-x: 9.860%; --md-picto-y: 45.376%; }
.md-allergene-picto--lait { --md-picto-x: 30.831%; --md-picto-y: 45.376%; }
.md-allergene-picto--fruits-a-coque { --md-picto-x: 51.582%; --md-picto-y: 45.376%; }
.md-allergene-picto--celeri { --md-picto-x: 72.333%; --md-picto-y: 45.376%; }
.md-allergene-picto--moutarde { --md-picto-x: 93.083%; --md-picto-y: 45.376%; }
.md-allergene-picto--sesame { --md-picto-x: 9.860%; --md-picto-y: 71.290%; }
.md-allergene-picto--sulfites { --md-picto-x: 30.831%; --md-picto-y: 71.290%; }
.md-allergene-picto--lupin { --md-picto-x: 51.582%; --md-picto-y: 71.290%; }
.md-allergene-picto--mollusques { --md-picto-x: 72.333%; --md-picto-y: 71.290%; }
.md-allergene-picto--autre { --md-picto-x: 93.083%; --md-picto-y: 71.290%; }

.md-allergenes li .md-allergene-picto {
  width: 32px;
  height: 32px;
  flex-basis: 32px;
  font-size: 0;
}
.md-allergenes.est-compact li .md-allergene-picto {
  width: 26px;
  height: 26px;
  flex-basis: 26px;
}
.md-allergenes li .md-allergene-nom {
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}
.md-allergenes.est-compact li .md-allergene-nom { font-size: 0.68rem; }
