/* Interactive sentence builder – human SVG avatars + responsive word tiles */
.v6-character-card{display:flex;gap:14px;align-items:center;background:linear-gradient(125deg,#fff5fe,#e9f9fe);border:1px solid #dce7ed;border-radius:20px;padding:16px;margin:5px 0 20px;min-width:0}.v6-avatar{width:108px;height:108px;min-width:108px;border-radius:50%;position:relative;display:grid;place-items:center;flex-shrink:0;transition:transform .2s}.v6-avatar svg{width:100%;height:100%;filter:drop-shadow(0 8px 8px #35435420)}.v6-avatar.speaking{animation:v6-talk .5s linear infinite alternate}.v6-speech-bubble{position:relative;flex:1;display:flex;flex-direction:column;align-items:flex-start;gap:8px;min-width:0;padding:15px;border-radius:17px;background:white;border:1px solid #dce3ed;box-shadow:0 5px 0 #deebeb}.v6-speaker-label{font-size:11px;font-weight:900;color:#a35598;letter-spacing:.03em}.v6-speech-text{font-size:clamp(18px,3.5vw,24px);line-height:1.38;overflow-wrap:anywhere;color:#173e4b}.v6-speech-reading{font-size:12px;color:#587a8a;overflow-wrap:anywhere}.v6-speak{display:grid;place-items:center;align-self:flex-end;border:0;background:#e2f7ed;border-radius:12px;width:46px;height:42px;color:#07855f;transition:transform .18s}.v6-speak:active{transform:scale(.94)}.v6-built-sentence{min-height:90px;padding:13px;display:flex;align-content:start;align-items:flex-start;gap:7px;flex-wrap:wrap;background:linear-gradient(125deg,#f6fff9,#f4fbff);border:2px dashed #9bdcc6;border-radius:16px;font-size:16px;color:#8ca7a1}.v6-picked-word,.v6-word-tile{color:#264755;border:2px solid #d6e9e2;background:#fff;box-shadow:0 4px 0 #dae9e3;border-radius:12px;min-height:50px;display:flex;align-items:center;gap:5px;text-align:center;padding:9px 13px;font-weight:850;cursor:pointer;max-width:100%;overflow-wrap:anywhere}.v6-picked-word{background:#d8fae8;border-color:#82d9b2;box-shadow:0 4px 0 #a3e3c2}.v6-bank{display:flex;gap:9px;flex-wrap:wrap;justify-content:center;padding:15px 2px}.v6-word-tile{flex-shrink:0;justify-content:center}.v6-word-tile .lv5-text{font-size:16px}.v6-word-tile .lv5-reading{font-size:10px}.v6-word-tile.v6-used{opacity:.3;pointer-events:none;box-shadow:none}.v6-word-tile .lv5-word{display:flex;flex-direction:column;align-items:center}.v6-word-tile:focus-visible,.v6-picked-word:focus-visible,.v6-speak:focus-visible{outline:3px solid #267ed8;outline-offset:2px}html[data-theme='dark'] .v6-character-card{background:#223442;border-color:#355562}html[data-theme='dark'] .v6-speech-bubble,html[data-theme='dark'] .v6-word-tile{background:#1d313e;color:#f3fffc;border-color:#3e5c65}html[data-theme='dark'] .v6-speech-text{color:#f4faff}
@keyframes v6-talk{to{transform:translateY(-4px) rotate(2deg)}}
@media(max-width:540px){.v6-character-card{align-items:flex-start;gap:8px;padding:10px;border-radius:15px}.v6-avatar{width:70px;height:70px;min-width:70px}.v6-speech-bubble{padding:10px;gap:6px}.v6-speech-text{font-size:17px}.v6-speech-reading{font-size:11px}.v6-speak{height:36px;width:39px}.v6-bank{gap:8px}.v6-word-tile{min-height:46px;padding:8px 11px}.v6-built-sentence{min-height:74px;padding:10px}}
@media(prefers-reduced-motion:reduce){.v6-avatar.speaking{animation:none!important}}
