.map-grid-collection {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  padding: 20px;
}

.map-grid-wrapper {
  width: 100%;
  max-width: 100px;
  aspect-ratio: 1 / 1;
  background: linear-gradient(145deg, #fefefe, #eaeaea);
  border: 1px solid var(--colour-line-strong, #ccc);
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  font-family: 'Verdana', sans-serif;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.map-grid-wrapper:hover {
  transform: scale(1.05);
  box-shadow: 0 0 10px 4px rgba(3, 122, 214, 0.4);
  border-color: var(--colour-accent, #037ad6);
}

.map-grid-wrapper::before {
  content: '';
  display: block;
  width: 100%;
  height: 4px;
  background: var(--colour-accent, #037ad6);
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  margin-bottom: 4px;
}

.map-grid-complete {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(4, 1fr);
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 8px;
}

.map-grid-piece {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.map-single-icon {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 8px;
}

.map-grid-name {
  margin-top: 6px;
  font-size: 1.167rem;
  font-weight: bold;
  colour: #037ad6;
  text-align: center;
  max-width: 100%;
  line-height: 1.3;
}
