/* Keep the existing character footprint and replace only its artwork. */
.character-scene .ask-working-layer{display:none;position:absolute;inset:0;z-index:30;pointer-events:none}
html body .character-scene:has(#bot-person) :is(.bot-art,.hero-person-art,.tree-companion-art)[data-working-ready]>.ask-working-layer{display:block;visibility:visible!important;opacity:1!important}
html body .character-scene:has(#bot-person) :is(.bot-art,.hero-person-art,.tree-companion-art)[data-working-ready]>:not(.ask-working-layer,.ask-orbit){visibility:hidden!important;pointer-events:none!important}
.character-scene .ask-working-layer>img{display:block!important;width:100%!important;height:100%!important;object-fit:contain;object-position:center bottom;opacity:1!important;transform:none!important}
.character-scene .ask-working-label{position:absolute;left:78%;top:12%;transform:translateX(-50%);display:flex;justify-content:center;align-items:center;gap:3px;width:clamp(44px,5vw,64px);height:clamp(30px,3.5vw,40px);border:1px solid var(--line,#c1cbc9);border-radius:14px;background:var(--card,#fffefa);color:var(--ink,#343c3b);font:700 clamp(22px,2.6vw,30px)/1 system-ui;box-shadow:0 3px 8px #00000008}
.character-scene .ask-working-label::after{content:'';position:absolute;left:12px;bottom:-5px;width:8px;height:8px;background:inherit;border-right:1px solid var(--line,#c1cbc9);border-bottom:1px solid var(--line,#c1cbc9);transform:rotate(45deg)}
.character-scene .ask-working-label>span{display:inline-block;transform:translateY(-4px);animation:ask-working-dot 1.2s ease-in-out infinite;animation-delay:var(--working-dot-delay)}
@keyframes ask-working-dot{0%,65%,100%{opacity:.35;transform:translateY(-4px)}30%{opacity:1;transform:translateY(-8px)}}
@media(prefers-reduced-motion:reduce){.character-scene .ask-working-label>span{animation:none;opacity:1}}

.character-scene #bot-person > .bot-art{isolation:isolate}
.character-scene #bot-person .ask-orbit{
 position:absolute;left:46%;top:17%;width:82%;height:39%;
 transform:translate(-50%,-50%);pointer-events:none
}
.character-scene #bot-person .ask-orbit-back{z-index:-1}
.character-scene #bot-person .ask-orbit-front{z-index:31}
.character-scene #bot-person:not([data-processing]) .ask-orbit{visibility:hidden}

@media(max-width:600px){
 body:not(.ask-duo-enabled) .character-scene.phone-researching>#bot-person[data-processing]{
  display:block!important;position:relative;inset:auto;translate:none;
  width:clamp(76px,19vw,108px);height:auto;flex:none;justify-self:center;grid-row:1;margin:0 auto
 }
 body:not(.ask-duo-enabled) .character-scene.phone-researching:has(>#bot-person[data-processing]){
  grid-template-rows:auto minmax(0,1fr)
 }
 body:not(.ask-duo-enabled) .character-scene.phone-researching:has(>#bot-person[data-processing])>.decision-tree{grid-row:2}
 body:not(.ask-duo-enabled) #ask-app .character-scene.phone-researching:has(>#bot-person[data-processing]){
  flex-direction:column;gap:6px
 }
}
