/* 首頁示範：AI 傳來的語音（可播放，static/home-voice-play-20261022.js） */
.message.ai p.voice-msg { display:inline-flex; align-items:center; gap:10px; color:#111; cursor:pointer; user-select:none; }
.message.ai p.voice-msg .voice-play { width:0; height:0; border-style:solid; border-width:6px 0 6px 10px; border-color:transparent transparent transparent #111; }
.message.ai p.voice-msg .voice-wave { display:inline-flex; align-items:center; gap:3px; height:20px; }
.message.ai p.voice-msg .voice-wave i { display:block; width:2px; border-radius:1px; background:#111; }
.message.ai p.voice-msg .voice-wave i:nth-child(1),.message.ai p.voice-msg .voice-wave i:nth-child(7){height:8px}
.message.ai p.voice-msg .voice-wave i:nth-child(2),.message.ai p.voice-msg .voice-wave i:nth-child(6){height:13px}
.message.ai p.voice-msg .voice-wave i:nth-child(3),.message.ai p.voice-msg .voice-wave i:nth-child(5){height:17px}
.message.ai p.voice-msg .voice-wave i:nth-child(4){height:20px}
.message.ai p.voice-msg .voice-time { font-variant-numeric:tabular-nums; color:#111; }
p.voice-msg[data-audio]:focus-visible { outline:2px solid #06c755; outline-offset:3px; }
p.voice-msg.playing .voice-play { width:10px; height:12px; border:0; border-left:3px solid #111; border-right:3px solid #111; box-sizing:border-box; }
p.voice-msg.playing .voice-wave i { animation:hv-wave .8s ease-in-out infinite; }
p.voice-msg.playing .voice-wave i:nth-child(2n) { animation-delay:.2s; } p.voice-msg.playing .voice-wave i:nth-child(3n) { animation-delay:.4s; }
@keyframes hv-wave { 50% { transform:scaleY(.45); } }
@media (prefers-reduced-motion:reduce) { p.voice-msg.playing .voice-wave i { animation:none; } }
.message.ai .voice-caption { text-align:left; margin-top:4px; }   /* AI 傳的語音：灰字放左邊 */
#hero-live-demo .hero-message-body > div > span { white-space:nowrap; }   /* 示範裡的選項字卡、時間：字不換行 */
