/* Independent speech controls sit inside the associated answer's visible border. */
.answer-option > .listen, .answer-option > .answer-speak { position: absolute; top: 5px; right: 5px; transform: none; display: grid; place-items: center; margin: 0; padding: 0; width: 44px; height: 44px; min-height: 44px; font-size: 1.15rem; }
.answer-option > .word, .answer-option > .choice { min-height: 54px; padding-right: 58px; }
.audio-text-frame { display: flex; align-items: center; gap: 12px; padding: 12px; margin: 12px 0; border: 1px solid #b5d0d5; border-radius: 14px; background: #f5fafb; min-width: 0; }
.audio-text-copy, .audio-text-frame > :first-child { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.audio-text-copy > :first-child, .audio-text-frame > .sentence-area { margin-top: 0; margin-bottom: 0; }
.audio-text-copy .school-sentence { margin: 0; }
.audio-text-frame > .listen, .audio-text-frame > .again { flex: 0 0 auto; margin: 0; min-height: 44px; max-width: 155px; white-space: normal; }
.audio-text-frame > .sentence-area { border: 0; padding: 0; background: transparent; }
.bilingual-word-list th:last-child, .bilingual-word-list td:last-child { width: 80px; }
.bilingual-word-list thead th:last-child { white-space: nowrap; overflow-wrap: normal; font-size: .82rem; }
@media (max-width: 540px) {
  .audio-text-frame { gap: 8px; padding: 10px; }
  .audio-text-frame > .listen, .audio-text-frame > .again { max-width: 110px; padding: 9px; font-size: .8rem; }
  .bilingual-word-list th:last-child, .bilingual-word-list td:last-child { width: 72px; }
  .bilingual-word-list thead th:last-child { font-size: .78rem; }
}
