/* Bot portraits across the inbox, chat, and controls. Each sheet contains 24 actual 3D poses × six colors. */
.reply-avatar-row>.bot-badge.reply-avatar{
  display:grid;place-items:center;position:relative;width:30px;height:30px;
  align-self:end;grid-column:1;grid-row:2;isolation:isolate;
}
.group-conversation .reply-avatar-row{grid-template-columns:30px minmax(0,1fr)}
.direct-speaker.reply-avatar-row{grid-template-columns:30px minmax(0,1fr);column-gap:8px;justify-items:start}
.direct-speaker.reply-avatar-row>.bubble:not(.typing-echo){grid-column:2;grid-row:2;max-width:min(100%,520px)}
.direct-speaker.reply-avatar-row>.image-bubble{max-width:min(100%,380px)}
.direct-speaker.reply-avatar-row>.typing-echo{left:38px;margin:0}
.reply-avatar{position:relative;isolation:isolate}
.reply-avatar-frame{display:none;position:absolute;inset:-1px;pointer-events:none;
  background-repeat:no-repeat;background-position:0% var(--avatar-strip,0%);
  background-size:2400% 600%;
}
.reply-atlas-idle .reply-avatar[data-reply-pose="idle"],
.reply-atlas-think .reply-avatar[data-reply-pose="think"]{overflow:visible;background:transparent}
.reply-atlas-idle .reply-avatar[data-reply-pose="idle"]>svg,
.reply-atlas-think .reply-avatar[data-reply-pose="think"]>svg{visibility:hidden}
.reply-atlas-idle .reply-avatar[data-reply-pose="idle"]>.reply-avatar-frame{
  display:block;background-image:url("/bot/reply-idle.webp?v=1");
}
.reply-atlas-think .reply-avatar[data-reply-pose="think"]>.reply-avatar-frame{
  display:block;background-image:url("/bot/reply-think.webp?v=1");
}
.reply-atlas-idle :is(.reply-avatar-visible,.top .reply-avatar,.team-sheet[open] .reply-avatar)[data-reply-pose="idle"]>.reply-avatar-frame{animation:avatar-3d-poses 3.6s steps(23,end) infinite}
.reply-atlas-think .reply-avatar[data-reply-pose="think"]>.reply-avatar-frame{animation:avatar-3d-poses 3s steps(23,end) infinite}
.direct-avatar-slot{flex:none}
.direct-avatar-slot>.bot-badge{width:39px;height:39px}
.reply-atlas-idle .inbox-row>.reply-avatar>.reply-avatar-frame{inset:-3px}
.reply-atlas-idle :is(.group-avatars,.inbox-group-icon)>.reply-avatar{border-color:transparent}
.reply-avatar-row .workcard{min-width:min(230px,100%)}
@keyframes avatar-3d-poses{to{background-position-x:100%}}
@media(prefers-reduced-motion:reduce){.reply-avatar>.reply-avatar-frame{animation:none!important}}
