/* Tap the word to hear it — shared by the Basic Thai lesson pages.
   The word itself is the button; the faded speaker beside it is only a hint,
   so it never takes a click of its own. */
.tap-audio{cursor:pointer;-webkit-tap-highlight-color:transparent}
.tap-audio .ta-snd{display:inline-flex;align-items:center;vertical-align:middle;
  margin-left:.26em;color:var(--gold);opacity:.62;flex:none;pointer-events:none;
  transition:opacity .18s}
.tap-audio .ta-snd svg{width:.72em;height:.72em;min-width:16px;min-height:16px;max-width:24px;max-height:24px}
@media(hover:hover){.tap-audio:hover .ta-snd{opacity:.95}}
.tap-audio.playing .ta-snd{opacity:1}
.tap-audio:focus{outline:none}
.tap-audio:focus-visible{outline:2px solid var(--gold);outline-offset:3px;border-radius:6px}

/* on the gold vocabulary bar the word is white, so the speaker must be white too */
html body .vocab-head.hl .tap-audio .ta-snd{color:#fff;opacity:.8}
@media(hover:hover){html body .vocab-head.hl .tap-audio:hover .ta-snd{opacity:1}}
