@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
    body :is(a.cat-pill, a.trending-card, .tools-grid a.tool-card, #categoryToolsGrid > a.tw-tool-card) {
        transition: transform .2s ease, box-shadow .2s ease,
                    border-color .22s ease, color .22s ease !important;
    }

    body :is(a.cat-pill, a.trending-card, .tools-grid a.tool-card, #categoryToolsGrid > a.tw-tool-card):hover {
        transform: translateY(-4px) !important;
    }
}

@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
    body :is(a.cat-pill, a.trending-card, .tools-grid a.tool-card, #categoryToolsGrid > a.tw-tool-card):hover {
        transform: none !important;
    }
}
