#legendBox {
  position: absolute;
  top: 10px;
  right: 10px;
  background: white;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 13px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
  z-index: 1000;
  max-width: 180px;
}

#difficulty {
  font-weight: bold;
  font-size: 14px;
  margin-bottom: 6px;
}
