.interactive-card {
  position: absolute;
  left: 170px;
  top: 22px;
  width: 320px;
  height: 455px;
}
.annotated-card .interactive-card img {
  inset: 0;
  width: 100%;
  height: 100%;
  transform: none;
}
.card-audio {
  position: absolute;
  left: 88.3%;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: transform 150ms ease;
  -webkit-tap-highlight-color: transparent;
}
.card-audio::before {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: #efede4
    url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"%3E%3Cpath fill="%235b5a50" d="M3 9h4l5-5v16l-5-5H3z"/%3E%3Cpath fill="none" stroke="%235b5a50" stroke-width="2" stroke-linecap="round" d="M15 8a5 5 0 0 1 0 8m3-11a9 9 0 0 1 0 14"/%3E%3C/svg%3E')
    center / 20px 20px no-repeat;
}
.card-audio-word {
  top: 8.25%;
}
.card-audio-definition {
  top: 20.4%;
}
.card-audio-example {
  top: 91.3%;
}
@media (hover: hover) {
  .card-audio:hover {
    transform: translate(-50%, -50%) scale(1.08);
  }
}
.card-audio:active {
  transform: translate(-50%, -50%) scale(0.92);
}
/* Reason: the clip is fetched on the first tap, so sound can lag the press by
   a moment. Turning the chip coral as soon as it is pressed, and pulsing it
   until the clip ends, is what tells a phone visitor the tap landed. */
.card-audio::before {
  transition: background-color 150ms ease;
}
.card-audio[aria-pressed='true']::before {
  background-color: var(--coral);
  background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"%3E%3Cpath fill="%23fff" d="M3 9h4l5-5v16l-5-5H3z"/%3E%3Cpath fill="none" stroke="%23fff" stroke-width="2" stroke-linecap="round" d="M15 8a5 5 0 0 1 0 8m3-11a9 9 0 0 1 0 14"/%3E%3C/svg%3E');
}
.card-audio::after {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  pointer-events: none;
}
.card-audio[aria-pressed='true']::after {
  animation: card-audio-pulse 1.2s ease-out infinite;
}
@keyframes card-audio-pulse {
  from {
    box-shadow: 0 0 0 0 rgba(238, 106, 76, 0.45);
  }
  to {
    box-shadow: 0 0 0 10px rgba(238, 106, 76, 0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .card-audio,
  .card-audio::before {
    transition: none;
  }
  .card-audio[aria-pressed='true']::after {
    animation: none;
  }
}
.card-audio:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
}
.card-audio-status {
  position: absolute;
  bottom: 0;
  width: 100%;
  color: #a13725;
  text-align: center;
}
@media (max-width: 640px) {
  .card-audio::before,
  .card-audio::after {
    inset: 7px;
  }
  .card-audio::before {
    background-size: 17px 17px;
  }
  .interactive-card {
    left: 50%;
    top: 13px;
    width: 270px;
    height: 384px;
    transform: translateX(-50%);
  }
  .card-audio-status {
    bottom: 0;
    margin: 0;
  }
}
