.link-arrow::before {
  content: "↗";
}

@media (max-width: 760px), (hover: none) and (pointer: coarse) {
  .link-arrow::before {
    --arrow-shape: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 20 20 4M5 4h15v15' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    content: "";
    display: inline-block;
    width: .9em;
    height: .9em;
    vertical-align: -.06em;
    background-color: currentColor;
    -webkit-mask: var(--arrow-shape) center / contain no-repeat;
    mask: var(--arrow-shape) center / contain no-repeat;
  }
}
