/* Add hover growth without replacing existing lifts or bespoke scale effects. */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  :where(
    button,
    input:is([type="button"], [type="submit"], [type="reset"], [type="image"]),
    [role="button"],
    .header-main summary,
    .topic-nav > a,
    .chapter-guide-links > a,
    a:is(.button, .btn, .outline, .inline-link, .dash-btn, .contribution-button,
      .account-button, .premium-plan-link, .locator-link, .header-direct-link,
      .chapter-link, .roundlink, .ppf-resource-link, .color-explorer-link, .marine-viewer-link,
      .home-hero-primary, .home-hero-secondary, .shop-social-button, .shop-map-link, .contribution-jump)
  ):not(:where(
    :disabled, [aria-disabled="true"],
    .spot, .color-swatch-button, .directory-dock > .dock-toggle,
    .ppf-basics-page main .ppf-resource-link,
    #choose-film .tabs [data-finish], #coverage .tabs [data-package],
    .viewer-hub .coverage-action, .viewer-hub #plan-coverage .edge-planning > .inline-link,
    .insights-status > .inline-link,
    body:has(#ppf-manufacturers) .next-step .button, #warranties .warranty-guide-link,
    .account-visitor > a, .home-manufacturers-copy a
  )) {
    transition: scale 160ms ease-out;

    &:hover {
      scale: 1.15;
      z-index: 1;
    }
  }

  /* The homepage frame and the native dock each own the visible outline. */
  .floating-shop-finder:not(.is-open, .is-dialog),
  body:not(.finder-page, .floating-finder) .directory-dock:not(.is-open) {
    max-width:calc((100vw - 36px) / 1.15);
    transform-origin:bottom right;
    transition:scale 160ms ease-out;

    &:hover {
      scale:1.15;
    }
  }
}
