/* Vũ Khí đang mặc: ảnh lấy từ preview_art_path của item thực. Tất cả nơi
   trình diễn cùng thu 10% để vũ khí nghiêng không đè nhân vật hoặc rail. */
.hero-tienhiep .th-equip-weapon-float{
  height:calc(var(--ch-h, 56vh) * .396);
  z-index:3;
  animation:th-weapon-float-like-phikiem 3.2s ease-in-out infinite;
}
.th-pk-equip-weapon{
  height:36%;
  z-index:3;
  animation:th-weapon-float-like-phikiem 3.2s ease-in-out infinite;
}
/* Chỉ Scene Trang Bị: đẩy hai rail đối xứng thêm 5px ra xa nhân vật. */
.hero-tienhiep.is-equip-view .th-equip-rail-left{
  transform:translate(-5px,-50%);
}
.hero-tienhiep.is-equip-view .th-equip-rail-right{
  transform:translate(5px,-50%);
}
.th-combat-player .th-combat-weapon{
  position:absolute;
  z-index:3;
  left:calc(100% - var(--th-pk-body-right,20%) + 5px);
  bottom:18px;
  width:auto;
  height:37.8%;
  max-height:none;
  filter:drop-shadow(0 6px 8px rgba(0,0,0,.55)) drop-shadow(0 0 10px var(--th-q-glow,transparent)) drop-shadow(0 0 22px var(--th-q-glow,transparent));
  pointer-events:none;
  animation:th-weapon-float-like-phikiem 3.2s ease-in-out infinite;
}
.th-combat-player .th-combat-weapon .th-combat-companion-img{
  display:block;
  height:100%;
  width:auto;
  max-height:none;
  filter:none;
}
@keyframes th-weapon-float-like-phikiem{
  0%,100%{transform:translateY(0) rotate(-12deg);}
  50%{transform:translateY(-5%) rotate(-9deg);}
}
@media (prefers-reduced-motion:reduce){
  .hero-tienhiep .th-equip-weapon-float,
  .th-pk-equip-weapon,
  .th-combat-player .th-combat-weapon{animation:none;}
}
