.craft-grid {
  grid-template-columns: repeat(3, 3.25rem);
}

.craft-slot {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border: 1px solid #4b5b4e;
  border-radius: 4px;
  background: #0f1511;
}

.craft-slot img,
.recipe-icons img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  image-rendering: pixelated;
}

.recipe-upgrade {
  padding: .8rem 0;
  border-bottom: 1px solid var(--line);
}

.recipe-upgrade:last-of-type {
  border-bottom: 0;
}

.recipe-icons {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: .55rem;
}

.recipe-operator {
  color: var(--gold);
  font-size: 1.2rem;
  font-weight: 800;
}

.recipe-output {
  display: grid;
  place-items: center;
  padding: .2rem;
  border: 1px solid #4d8053;
  border-radius: 5px;
  background: #152217;
}

.recipe-upgrade p {
  margin: .45rem 0 0;
  color: var(--muted);
  font-size: .88rem;
  text-align: center;
}

.footer-links {
  display: flex;
  gap: 1rem;
  margin-left: auto;
}

.footer-links a {
  margin-left: 0;
}

@media (max-width: 620px) {
  .craft-grid {
    grid-template-columns: repeat(3, 2.6rem);
  }

  .craft-slot img,
  .recipe-icons img {
    width: 32px;
    height: 32px;
  }

  .recipe-icons {
    gap: .35rem;
  }

  .footer-links {
    margin-left: 0;
  }
}
