.grammar-live .grammar-speech-scene{scroll-margin-block:24px}html:has(.grammar-speech-scene){scroll-behavior:auto}.grammar-live .grammar-speech-scene{width:100%;max-width:780px;margin:0 auto;display:grid;gap:20px}.grammar-live .grammar-speech-turn{min-width:0;display:flex;align-items:flex-start;gap:16px}.grammar-live .grammar-speech-turn--reply{flex-direction:row-reverse}.grammar-live .grammar-speech-turn__character{flex:0 0 64px;width:64px;height:96px;object-fit:contain;object-position:center top}.grammar-live .grammar-speech-turn__bubble{--speech-line: #d7d3ed;position:relative;flex:1;min-width:0;padding:14px 18px;border:1px solid var(--speech-line);border-radius:16px;background:#f4f1ff}.grammar-live .grammar-speech-turn--reply .grammar-speech-turn__bubble{--speech-line: #cbdfe9;background:#eef8fc}.grammar-live .grammar-speech-turn__bubble:before{position:absolute;top:24px;left:-7px;width:12px;height:12px;border-left:1px solid var(--speech-line);border-bottom:1px solid var(--speech-line);background:inherit;transform:rotate(45deg);content:""}.grammar-live .grammar-speech-turn--reply .grammar-speech-turn__bubble:before{left:auto;right:-7px;transform:rotate(225deg)}.grammar-live .grammar-practice-card .grammar-speech-scene .grammar-task__sentence{max-width:none;font-size:18px;font-weight:550;line-height:2}.grammar-live .grammar-practice-card .grammar-speech-scene .grammar-answer input{width:9em;text-align:center}.grammar-live .grammar-speech-scene--compact .grammar-speech-turn__character{flex-basis:44px;width:44px;height:68px}.grammar-live .grammar-speech-scene--compact .grammar-speech-turn__bubble{padding:10px 12px}@media (max-width: 680px){.grammar-live .grammar-speech-scene{gap:16px}.grammar-live .grammar-speech-turn{gap:12px}.grammar-live .grammar-speech-turn__character{flex-basis:44px;width:44px;height:80px}.grammar-live .grammar-speech-turn__bubble{padding:10px 12px;border-radius:14px}.grammar-live .grammar-practice-card .grammar-speech-scene .grammar-task__sentence{font-size:16px;line-height:1.9}.grammar-live .grammar-practice-card .grammar-speech-scene .grammar-answer input{width:8em}}
