How it works
Level 7. Each orb color has a fixed priority and value. The tool concatenates (quantity)(value) per color, sorted by ascending priority. Zero-quantity colors are dropped entirely.
Level 11. Spatial override. The gem shelf is read right-to-left. The output reflects the exact keypad input order.
Edge cases handled
- Zero-Value Omission. If quantity is 0, the color is dropped from the working set entirely.
- Double-digit quantities. Quantities above 9 concatenate as strings (e.g., 10 Yellow = "105").
- Rule subversion. Level 11 never applies the priority sort — the tool hides the priority numbers.