/* Pass 36 - prevent HUD collision between realm-shell bar (top:0, z:9500)
   and engine v2 HUD (top:0, z:100). Push engine HUD below the shell bar. */
.as-realm-hud {
  top: 2.6rem !important;
}
/* And the small status pill bottom-right stays put */
.as-realm-pill {
  /* unchanged */
}
/* Avatar widget (avatar-mount.js) is bottom-right at 16px - shift it slightly
   up to clear the engine v2 pill (which is bottom-right too) */
#as-avatar-mount {
  bottom: 60px !important;
}
/* Move NPC + Voice buttons to RIGHT side - left side has joystick at bottom-left.
   They'll sit below the realm-shell bar (top: 2.6rem) and above the avatar widget. */
#as-p3-npc-button {
  top: 80px !important;
  left: auto !important;
  right: 18px !important;
}
#as-p3-voice-button {
  top: 130px !important;
  left: auto !important;
  right: 18px !important;
}

/* Hide realm-shell's next-realm FAB - engine v2 HUD already has "Realms" button
   in the top bar that opens the realm map. Avoids redundant UI + collision with joystick/avatar. */
.as-next-realm-fab {
  display: none !important;
}
/* Engine v2 status pill stays in corner */
.as-realm-pill {
  z-index: 9999 !important;
}
