/* Keep all three starting bases visible together as one clear first decision. */

.item-grid[data-category="elfType"] {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-height: 126px;
  gap: 6px;
}

.item-grid[data-category="elfType"] .item-card {
  min-height: 116px;
  padding: 5px;
}

.item-grid[data-category="elfType"] .item-icon.item-visual {
  height: 72px;
  min-height: 72px;
}

.item-grid[data-category="elfType"] .item-name {
  margin-top: 5px;
  font-size: 0.68rem;
  text-align: center;
}

@media (max-width: 430px) {
  .item-grid[data-category="elfType"] {
    gap: 5px;
  }

  .item-grid[data-category="elfType"] .item-card {
    min-height: 111px;
    padding: 4px;
  }

  .item-grid[data-category="elfType"] .item-icon.item-visual {
    height: 68px;
    min-height: 68px;
  }

  .item-grid[data-category="elfType"] .item-name {
    font-size: 0.63rem;
  }
}
