/* ═══════════════════════════════════════
   ICON PACKS — the Evolution step's rarity strip.
   The Generate step and the Calibrate wrapper use the shared generator step
   rules in workbench-pages.css.
   ═══════════════════════════════════════ */

/* Side by side, common to legendary. The light table centres its content,
   so the strip takes the width itself. */
.wbic-variants {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  width: min(1000px, 100%);
}

.wbic-variant {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  text-align: center;
}

/* The box takes the picture's own height at the strip's width — an icon is
   rarely square, and a square box let a tall one spill out of it. */
.wbic-variant .wb-img {
  min-height: 0;
}

/* The width is set per picture, to one scale across the four
   (WorkbenchIconEvolution sizeTogether). */
.wbic-variant .wb-img img {
  width: 100%;
  height: auto;
  max-height: none;
}

/* The strip grows with its pictures, so its frame never scrolls. */
.wbsp-table.wbic-table {
  overflow: visible;
}

@media (max-width: 700px) {
  .wbic-variants {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
