button.phrase-audio {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  margin-inline-start: .35em;
  vertical-align: middle;
  border: 1px solid var(--olive-line);
  border-radius: 50%;
  background: var(--bg);
  color: var(--ink);
  --button-depth: 2px;
  --button-edge: var(--olive-line);
}

button.phrase-audio-inline {
  display: inline;
  width: auto;
  height: auto;
  margin: 0;
  vertical-align: baseline;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--action);
  font: inherit;
  font-weight: 700;
  text-decoration: underline dotted;
  text-underline-offset: .2em;
}
button.phrase-audio-inline.phrase-audio-inline,
button.phrase-audio-inline.phrase-audio-inline:active {
  box-shadow: none;
  transform: none;
}
button.phrase-audio.is-playing { color: var(--action); }
button.phrase-audio-inline.is-playing { text-decoration-style: solid; }

@media (prefers-reduced-motion: no-preference) {
  button.phrase-audio.is-playing svg path[stroke] {
    animation: phrase-speaker-wave .48s ease-in-out infinite alternate;
    transform-box: fill-box;
    transform-origin: left center;
  }

  button.phrase-audio-inline.is-playing {
    text-decoration: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='5' viewBox='0 0 16 5'%3E%3Cpath d='M0 2.5Q2 .5 4 2.5T8 2.5T12 2.5T16 2.5' fill='none' stroke='%23556B2F' stroke-width='1.2'/%3E%3C/svg%3E");
    background-repeat: repeat-x;
    animation: phrase-inline-wave .45s linear infinite;
  }

  [data-theme="dark"] button.phrase-audio-inline.is-playing {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='5' viewBox='0 0 16 5'%3E%3Cpath d='M0 2.5Q2 .5 4 2.5T8 2.5T12 2.5T16 2.5' fill='none' stroke='%23A9B665' stroke-width='1.2'/%3E%3C/svg%3E");
  }
}

@keyframes phrase-speaker-wave {
  from { transform: scale(.65); opacity: .45; }
  to { transform: scale(1); opacity: 1; }
}

@keyframes phrase-inline-wave {
  from { background-position: 0 bottom; }
  to { background-position: 16px bottom; }
}

.blog-page a.article-back > span {
  width: .65rem;
  height: .65rem;
  flex: none;
  font-size: 0;
  background: currentColor;
  clip-path: polygon(0 50%, 100% 0, 100% 100%);
}

@media (prefers-reduced-motion: no-preference) {
  .blog-page a.article-back {
    transition: transform 140ms ease, box-shadow 140ms ease, background-color 220ms ease;
  }
  .blog-page a.article-back:active {
    transform: translateY(3px);
  }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .blog-page a.article-back:hover:not(:active) {
    transform: translateY(-2px);
  }
}
