/* CSS-drawn arrow keeps the same form across operating systems and browsers. */
.scroll-icon {
  display: inline-block;
  position: relative;
  width: 12px;
  height: 18px;
  margin-left: 18px;
  vertical-align: -5px;
  color: currentColor;
}

.scroll-icon::before {
  content: "";
  position: absolute;
  top: 0;
  left: 5px;
  width: 1px;
  height: 14px;
  background: currentColor;
}

.scroll-icon::after {
  content: "";
  position: absolute;
  bottom: 1px;
  left: 2px;
  width: 6px;
  height: 6px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
}

/* Direction icons are lines, never operating-system emoji glyphs. */
.direction-icon {
  display: inline-block !important;
  position: relative;
  width: 12px;
  height: 12px;
  margin-left: 10px !important;
  vertical-align: -1px;
  font-size: 0 !important;
  line-height: 1 !important;
  transition: transform .3s ease;
}

.direction-icon::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 6px;
  width: 10px;
  height: 1px;
  background: currentColor;
  transform-origin: right center;
}

.direction-icon::after {
  content: "";
  position: absolute;
  right: 1px;
  top: 3px;
  width: 5px;
  height: 5px;
  border-right: 1px solid currentColor;
  border-top: 1px solid currentColor;
}

.direction-up-right { transform: rotate(-45deg); }
.direction-up { transform: rotate(-90deg); }
.compare-trigger:hover .direction-icon,
.compare-trigger:focus-visible .direction-icon { transform: translate(3px, -3px) rotate(-45deg); }
