Searches for all POIs on screen, then color them by how recently they were check (from purple as most recent to red as years old). A pink outline is added around the point if the date is an assumption based on when the POI was last edited and a check_date=* tag is not present. (This query is not very robust. POI tags and year to color matching is hard coded)

Overpass Turbo link: click me

---
style:
  extends: https://styles.trailsta.sh/protomaps-dark.json
  layers:
    - type: circle
      filter: ["==", ["geometry-type"], "Point"]
      paint:
        circle-radius: 6
        circle-color:
          - case
          - - has
            - check_date
          - - case
            - [in, 2025, [get, check_date]]
            - purple
            - [in, 2024, [get, check_date]]
            - blue
            - [in, 2023, [get, check_date]]
            - green
            - [in, 2022, [get, check_date]]
            - orange
            - red
          - - case
            - [in, 2025, [get, "@timestamp"]]
            - purple
            - [in, 2024, [get, "@timestamp"]]
            - blue
            - [in, 2023, [get, "@timestamp"]]
            - green
            - [in, 2022, [get, "@timestamp"]]
            - orange
            - red
        circle-stroke-width: 2
        circle-stroke-color:
          - case
          - - has
            - check_date
          - "rgba(0, 0, 0, 0)"
          - pink
---
[out:json][timeout:20];
(
  nwr[amenity~"^(restaurant|cafe|bar|pub|fast_food|bank|atm|fuel|pharmacy|hospital|dentist|veterinary|post_office|police|fire_station)$"]({{bbox}});
  nwr[shop~"^(supermarket|convenience|bakery|butcher|clothes|shoes|electronics|bookshop|florist|hairdresser|beauty|optician|jewelry|mobile_phone|bicycle|car|car_repair)$"]({{bbox}});
  nwr[tourism~"^(hotel|guest_house|hostel|museum|attraction|information|viewpoint)$"]({{bbox}});
  nwr[leisure~"^(fitness_centre|park|sports_centre|golf_course|cinema|theatre)$"]({{bbox}});
  nwr[office~"^(company|lawyer|accountant|estate_agent|insurance|architect|government)$"]({{bbox}});
);
out center meta;