Is there a way to style the "Latest" page and "Top" page separately?

You can add a custom class or do whatever based on route (discovery.top, discovery.latest). The central block would be sth like

@discourseComputed("router.currentRouteName")
  canDisplay(currentRouteName) {
    if (currentRouteName === `discovery.top`) {
       ...
    }

But would love to hear if there’s a solution that doesn’t involve a custom script.