.sample-group-voice .voice-player { display: grid; grid-template-columns: 88px minmax(0, 1fr); column-gap: 14px; row-gap: 14px; align-items: center; }
.voice-avatar { width: 88px; height: 88px; background-image: url('assets/kristina-emoji-sprite.png'); background-size: 200% 100%; background-position: left center; background-repeat: no-repeat; }
.voice-identity { min-width: 0; }
.voice-name { display: block; color: #fff; font-size: 13px; line-height: 1.4; }
.voice-status { display: block; color: #bbc5d2; font-size: 11px; line-height: 1.4; margin-top: 7px; }
.voice-indicator { display: flex; align-items: center; gap: 3px; height: 13px; margin-top: 9px; color: var(--lime); }
.voice-indicator i { width: 3px; height: 3px; border-radius: 3px; background: currentColor; opacity: .5; }
.voice-player.is-speaking .voice-avatar { animation: voice-mouth .42s steps(1, end) infinite, voice-breathe 1.8s ease-in-out infinite; }
.voice-player.is-speaking .voice-indicator i { opacity: 1; animation: voice-level .65s ease-in-out infinite alternate; }
.voice-player.is-speaking .voice-indicator i:nth-child(2) { animation-delay: -.22s; }
.voice-player.is-speaking .voice-indicator i:nth-child(3) { animation-delay: -.44s; }
.voice-player.is-speaking .voice-indicator i:nth-child(4) { animation-delay: -.11s; }
.sample-group-voice .voice-player audio { grid-column: 1 / -1; }
.voice-subtitles { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; min-height: 110px; padding: 14px 12px; border-radius: 6px; background: #111e33; }
.voice-subtitles[hidden] { display: none; }
.voice-caption-text { color: #f6f5ef; font-size: 15px; line-height: 1.6; text-align: center; overflow-wrap: break-word; }
.voice-caption-toggle { grid-column: 1 / -1; justify-self: center; font: inherit; font-size: 11px; line-height: 1.4; color: #c3ccda; padding: 7px 9px; border: 0; background: transparent; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.voice-caption-toggle:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 3px; }
@keyframes voice-mouth { 0%, 100% { background-position: left center; } 50% { background-position: right center; } }
@keyframes voice-breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.035); } }
@keyframes voice-level { from { height: 3px; } to { height: 13px; } }
@media(max-width: 800px) {
  .sample-group-voice .voice-player { grid-template-columns: 76px minmax(0, 1fr); }
  .voice-avatar { width: 76px; height: 76px; }
  .voice-caption-text { font-size: 15px; }
}
@media(prefers-reduced-motion: reduce) {
  .voice-player.is-speaking .voice-avatar, .voice-player.is-speaking .voice-indicator i { animation: none; }
  .voice-player.is-speaking .voice-avatar { background-position: right center; }
  .voice-player.is-speaking .voice-indicator i { height: 9px; }
}
