.weapon-hitbox-debug-layer {
  position: absolute;
  inset: 0;
  z-index: 44;
  pointer-events: none;
  overflow: visible;
  display: none;
}
.hq-shell.is-hitbox-debug .weapon-hitbox-debug-layer { display: block; }
.weapon-debug-box {
  position: absolute;
  box-sizing: border-box;
  border: 2px solid rgba(250, 204, 21, .95);
  background: rgba(250, 204, 21, .16);
  box-shadow: 0 0 18px rgba(250, 204, 21, .46);
  border-radius: 8px;
  transform-origin: center center;
}
.weapon-debug-box--inactive {
  opacity: .38;
  border-style: dashed;
  background: rgba(250, 204, 21, .08);
}
.weapon-debug-box--monster {
  border-color: rgba(239, 68, 68, .92);
  background: rgba(239, 68, 68, .12);
  box-shadow: 0 0 14px rgba(239, 68, 68, .32);
}
.weapon-debug-box--player {
  border-color: rgba(34, 197, 94, .9);
  background: rgba(34, 197, 94, .1);
  box-shadow: 0 0 14px rgba(34, 197, 94, .3);
}
.weapon-debug-label {
  position: absolute;
  left: 0;
  top: -20px;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(15, 23, 42, .9);
  color: #fff;
  font: 700 10px/1.2 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  white-space: nowrap;
  letter-spacing: .02em;
}
.weapon-hitbox-debug-pill {
  position: absolute;
  left: 14px;
  top: 120px;
  z-index: 80;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(15, 23, 42, .9);
  color: #fff;
  font: 800 12px/1 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .35);
  pointer-events: none;
  display: none;
}
.hq-shell.is-hitbox-debug .weapon-hitbox-debug-pill { display: block; }
