.icon {
  width: 1.15em;
  height: 1.15em;
  vertical-align: -0.2em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
}

.icon.icon-duo,
.icon-duo .icon {
  /* These properties inherit into external SVG symbols. */
  --icon-accent-fill: var(--accent, #F7D046);
  --icon-accent-opacity: 1;
}

.icon.icon-duo .accent,
.icon-duo .icon .accent {
  fill: var(--accent, #F7D046);
  opacity: 1;
}

.pop-in {
  animation: bhs-pop-in 180ms ease-out both;
}

.fade-up {
  animation: bhs-fade-up 220ms ease-out both;
  animation-delay: calc(var(--i, 0) * 45ms);
}

.pulse-dot {
  display: inline-block;
  width: 0.65em;
  height: 0.65em;
  border-radius: 50%;
  background: #C63C4C;
  animation: bhs-pulse-dot 2s ease-out infinite;
}

.btn-press {
  transition: transform 100ms ease-out;
}

.btn-press:active {
  transform: scale(0.97);
}

.shake {
  animation: bhs-shake 300ms ease-in-out;
}

@keyframes bhs-pop-in {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes bhs-fade-up {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes bhs-pulse-dot {
  0% { box-shadow: 0 0 0 0 rgb(198 60 76 / 38%); }
  66%, 100% { box-shadow: 0 0 0 0.4em rgb(198 60 76 / 0%); }
}

@keyframes bhs-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  50% { transform: translateX(4px); }
  75% { transform: translateX(-2px); }
}

@media (prefers-reduced-motion: reduce) {
  .pop-in,
  .fade-up,
  .pulse-dot,
  .shake {
    animation: none;
  }

  .btn-press {
    transition: none;
  }

  .btn-press:active {
    transform: none;
  }
}
