.teaching-animation{border:1px solid var(--journey-border);border-radius:9px;background:var(--journey-soft);padding:22px;margin:18px 0}
.animation-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.animation-heading .eyebrow{font-size:.75rem;letter-spacing:.05em;color:var(--journey-gold)}.animation-count{font-size:.75rem;color:var(--journey-muted);white-space:nowrap}
.animation-stage{display:flex;align-items:stretch;flex-wrap:wrap;gap:10px;min-height:110px;padding:8px 0;position:relative}.animation-word{position:relative;display:flex;flex-direction:column;justify-content:center;gap:8px;padding:14px 17px;max-width:100%;min-width:90px;border:1px solid var(--journey-border);border-radius:7px;background:var(--journey-surface);color:var(--journey-text)}.animation-word strong{font:800 clamp(1.2rem,3vw,1.65rem)/1.35 Manrope,sans-serif;overflow-wrap:break-word}.animation-word>span{font-size:.8125rem;color:var(--journey-muted);line-height:1.45}.animation-word.is-accent{border-bottom:3px solid #ae3540}.animation-ending{display:inline-block;color:var(--journey-text);background:color-mix(in srgb,var(--journey-gold) 28%,transparent);padding:0 3px;border-radius:3px}.animation-stage.is-joined{gap:3px}.is-joined .animation-word{border-color:var(--journey-gold);min-width:0}.animation-result{font:800 clamp(1.5rem,4vw,2rem)/1.35 Manrope,sans-serif;overflow-wrap:anywhere;margin:18px 0 8px;color:var(--journey-text)}.animation-translation{font-size:.9375rem;color:var(--journey-muted);margin:12px 0}.animation-caption{min-height:3.3em;margin:18px 0;font-size:1rem;line-height:1.65;color:var(--journey-text)}.animation-progress{display:block;width:100%;height:5px;accent-color:var(--journey-gold);margin-bottom:18px}.animation-progress::-webkit-progress-bar{background:var(--journey-border);border-radius:5px}.animation-progress::-webkit-progress-value{background:var(--journey-gold);border-radius:5px}.animation-controls{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px}.animation-controls .button{font-size:.875rem;min-height:46px;padding:10px 16px}.animation-controls .plain-button{font-size:.8125rem}.animation-controls button:disabled{opacity:.5}.animation-help{font-size:.75rem;line-height:1.6;color:var(--journey-muted);margin:12px 0 0}
@media(max-width:760px){.teaching-animation{padding:16px}.animation-stage{min-height:100px;gap:8px}.animation-word{padding:12px;min-width:85px}.animation-word strong{font-size:1.3rem}.animation-controls{gap:4px 12px}.animation-controls .button{flex-basis:100%;width:100%}.animation-caption{min-height:0;font-size:.9375rem}.animation-help{font-size:.75rem}}
@media(prefers-reduced-motion:reduce){.teaching-animation *{animation:none!important;transition:none!important}}

.animation-extra{font-size:.875rem;color:var(--journey-muted);margin-top:16px}.animation-extra summary{min-height:44px;cursor:pointer;display:flex;align-items:center;text-decoration:underline;text-underline-offset:4px}.animation-extra p{line-height:1.7}

.animation-playbar{margin-bottom:12px}.animation-playbar .button{font-size:.875rem;min-height:46px;padding:10px 16px}@media(max-width:760px){.animation-playbar .button{width:100%}}
