.sprite-portrait{object-fit:contain;border-radius:0;flex-shrink:0;width:80px;height:80px}.sprite-portrait.thinking{animation:1.6s ease-in-out infinite sprite-breathe}.sprite-intro{align-items:center;gap:20px;margin-bottom:20px;display:flex}.sprite-intro h2{font-size:27px}.sprite-intro p{color:#746b62;font-size:14px}.sprite-chat{min-width:0}.sprite-dialog{width:min(620px,100vw - 28px);max-height:90dvh;overflow-y:auto;max-width:620px!important;padding:28px!important}.sprite-prompts{gap:8px;display:grid}.sprite-prompts button{text-align:left;background:#f7f0e6;justify-content:flex-start;font-size:14px}.sprite-messages{overscroll-behavior:contain;scrollbar-gutter:stable;max-height:340px;margin:16px 0;overflow-y:auto}.sprite-message{overflow-wrap:anywhere;background:#f4eddf;border-radius:14px;margin:10px 0;padding:14px 16px}.sprite-message.user{background:#e9e4da;margin-left:30px}.sprite-message.assistant{margin-right:10px}.sprite-message small{color:#715039;font-size:11px}.sprite-message p,.sprite-suggestion p{white-space:pre-wrap;font-size:14px}.sprite-compose{align-items:flex-end;gap:10px;display:flex}.sprite-compose textarea{resize:vertical;flex:1;min-width:0}.sprite-compose button{flex-shrink:0}.sprite-note{color:#746b62;margin-top:16px;line-height:1.6;font-size:11px!important}.sprite-bottom{flex-wrap:wrap;justify-content:space-between;gap:8px;margin-top:12px;display:flex}.sprite-bottom button{font-size:12px}.sprite-sources{flex-wrap:wrap;gap:7px;margin-top:12px;display:flex}.sprite-sources small{width:100%}.sprite-sources a{background:#fffaf1;border:1px solid #d9cbb6;border-radius:20px;align-items:center;gap:5px;padding:4px 10px;font-size:12px;display:inline-flex}.sprite-sources a:hover{text-decoration:underline}.story-assistant{background:#fbf5e9;border:1px solid #ddcbb1;border-radius:12px;margin-top:26px;padding:22px}.story-assistant h3{align-items:center;gap:7px;font-size:20px;display:flex}.story-assistant .sprite-portrait{border-radius:12px;width:44px;height:44px}.story-assistant>p{font-size:14px}.story-assistant .actions{flex-wrap:wrap}.story-assistant button{font-size:13px}.sprite-translate{flex-wrap:wrap;align-items:flex-end;gap:10px;margin:16px 0;display:flex}.sprite-translate label{gap:5px;font-size:12px;display:grid}.sprite-translate select{min-width:120px}.sprite-suggestion{background:#fffdf8;border:1px solid #dfd3c1;border-radius:9px;margin-top:16px;padding:18px}.sprite-suggestion .eyebrow{font-size:10px}.sprite-suggestion h3{margin-top:16px}.sprite-companion{max-width:780px;margin:auto}.sprite-companion .sprite-messages{max-height:480px}.sprite-companion .sprite-intro .sprite-portrait{width:120px;height:120px}@keyframes sprite-breathe{50%{transform:translateY(-4px)}}@media (prefers-reduced-motion:reduce){.sprite-portrait.thinking{animation:none}}.reduce-motion .sprite-portrait.thinking{animation:none}@media (max-width:600px){.sprite-dialog{padding:20px!important}.sprite-intro{gap:12px}.sprite-intro h2{font-size:23px}.sprite-portrait{width:60px;height:60px}.sprite-companion .sprite-intro .sprite-portrait{width:75px;height:75px}.sprite-compose{flex-wrap:wrap}.sprite-compose textarea{flex-basis:100%}.story-assistant{padding:16px}.sprite-messages{max-height:280px}}
