feat: echte Pair-Audios statt TTS, Klick auf Satz spielt Audio (preloaded)

- usePairAudio-Hook: preload beim Kachel-Mount, nur eine Stimme gleichzeitig
- PairSentenceCard: audio_url statt speechSynthesis (TTS nur noch Fallback)
- PairYesNoCard/PairWordCard: Frage klickbar + Speaker-Button (vorher kein Audio)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
2026-06-12 21:49:21 +02:00
parent e7dbb9d0a7
commit acfd57ee87
5 changed files with 102 additions and 20 deletions

View File

@@ -215,6 +215,12 @@
flex: 1;
}
/* Clickable sentence — tap to play audio */
.pair-sentence-clickable {
cursor: pointer;
user-select: none;
}
/* Word chips inside sentences — underline italic style */
.pair-word-chip {
display: inline;