/* Full-body Atlas. The dock still owns all positioning and drag transforms. */
html:root body [data-chat-pet].docta-companion-pet[data-assistant-pet-version="whitehair-v2"],
html:root body [data-chat-pet].docta-companion-pet[data-assistant-pet-version="whitehair-v2-3d"],
html:root body [data-chat-pet].docta-companion-pet[data-assistant-pet-version="whitehair-v5"] {
  width:var(--chat-pet-size,220px);
  height:var(--chat-pet-visible-height,calc(var(--chat-pet-size,220px) * .96));
  padding:0;
  border:0;
  background:transparent;
  isolation:isolate;
}
html:root body [data-chat-pet][data-assistant-pet-version^="whitehair-v2"] > :is(svg,.atlas-pet-art),
html:root body [data-chat-pet][data-assistant-pet-version="whitehair-v5"] > :is(svg,.atlas-pet-art) { display:none!important; }
html:root body [data-chat-pet] > .atlas-character-fallback {
  display:block;
  flex:0 0 auto;
  width:100%;
  height:var(--chat-pet-visible-height,calc(var(--chat-pet-size,220px) * .96));overflow:hidden;
  background-position:50% 0;
  background-size:100% auto;
  background-repeat:no-repeat;
  pointer-events:none;
  user-select:none;
  -webkit-user-select:none;
}
@media (hover:hover) and (pointer:fine) {
  html:root body .chat-pet-tools { opacity:0; pointer-events:none; }
  html:root body:has([data-chat-pet]:hover) .chat-pet-tools,
  html:root body:has([data-chat-pet]:focus-visible) .chat-pet-tools,
  html:root body .chat-pet-tools:hover,
  html:root body .chat-pet-tools:focus-within { opacity:1; pointer-events:auto; }
}
