/* v0.2.10: Native BlackVeil HUD, exactly 217 x 72 px. No EXP gauge.
   The source artwork has four distinct slots: nickname, HP, MP, combat power.
   Coordinates below are local to the original BV_HUD_Frame.png. */
.bv-hud {
  position:absolute;
  top:calc(22px + env(safe-area-inset-top));
  left:calc(20px + env(safe-area-inset-left));
  width:217px; height:72px;
  z-index:4; pointer-events:none;
  filter:drop-shadow(0 3px 6px rgba(0,0,0,.55));
  isolation:isolate;
}
.bv-hud-skin {position:absolute;inset:0;width:217px;height:72px;display:block;}
.bv-hud-level {
  position:absolute;left:15px;top:13px;width:42px;height:42px;
  display:flex;align-items:center;justify-content:center;
  font:800 17px/1 'Pretendard','Pretendard Medium','Malgun Gothic',sans-serif;
  color:#f5e9ce;text-shadow:0 1px 2px #070605,0 0 4px #060504;
  font-variant-numeric:tabular-nums;
}
.bv-hud-nickname {
  position:absolute;left:61px;top:15px;width:59px;height:11px;
  display:flex;align-items:center;justify-content:center;
  font-size:9px;font-weight:700;line-height:1;
  color:#f4e8d4;text-shadow:0 1px 2px #050402;
  overflow:hidden;white-space:nowrap;
}
.bv-hud-meter {
  position:absolute;left:61px;width:138px;height:11px;
  overflow:hidden;
}
.bv-hud-hp {top:26px;}
.bv-hud-mp {top:38px;width:137px;}
/* Bar is a full shape at every percentage: decorative end caps never get
   cropped off. Only the middle's length changes, with a continuous CSS transition.
   The original uploaded PNGs remain in the assets directory. */
.bv-hud-fill {
  position:absolute;left:0;top:0;width:100%;height:11px;
  display:flex;align-items:stretch;overflow:visible;
  transition:width 360ms cubic-bezier(.22,.75,.28,1);
  will-change:width;
}
.bv-hud-cap {display:block;flex:0 1 11px;min-width:0;height:11px;background-repeat:no-repeat;background-position:center;background-size:100% 100%;}
.bv-hud-center {position:relative;display:block;flex:1 1 0;min-width:0;height:11px;background-repeat:no-repeat;background-position:center;background-size:100% 100%;overflow:hidden;}
.bv-hud-center::after {
  content:"";position:absolute;inset:2px 0 2px 0;
  background-repeat:repeat-x;background-size:238px 7px;
  opacity:.28;mix-blend-mode:screen;animation:bvHudWave 2.6s linear infinite;
}
.bv-hud-hp .bv-hud-cap-left {background-image:url("../assets/ui/hp_left_cap.png");}
.bv-hud-hp .bv-hud-center {background-image:url("../assets/ui/hp_middle.png");}
.bv-hud-hp .bv-hud-cap-right {background-image:url("../assets/ui/hp_right_cap.png");}
.bv-hud-hp .bv-hud-center::after {background-image:url("../assets/ui/BV_HP_Bar_Wave.png");}
.bv-hud-mp .bv-hud-cap-left {background-image:url("../assets/ui/mp_left_cap.png");}
.bv-hud-mp .bv-hud-center {background-image:url("../assets/ui/mp_middle.png");}
.bv-hud-mp .bv-hud-cap-right {background-image:url("../assets/ui/mp_right_cap.png");}
.bv-hud-mp .bv-hud-center::after {background-image:url("../assets/ui/BV_MP_Bar_Wave.png");}
@media (prefers-reduced-motion:reduce) { .bv-hud-fill{transition:none;} .bv-hud-center::after{animation:none;} }
.bv-hud-meter-text {
  position:absolute;inset:0;display:flex;justify-content:center;align-items:center;
  color:#fff5eb;text-shadow:0 1px 2px #000,0 -1px 2px #000;
  font-size:9px;font-weight:750;line-height:1;white-space:nowrap;
  font-variant-numeric:tabular-nums;
}
.bv-hud-power {
  position:absolute;left:61px;top:51px;width:44px;height:11px;
  display:flex;align-items:center;justify-content:center;
  color:#f3e4cd;text-shadow:0 1px 2px #000;
  font-size:9px;font-weight:700;line-height:1;font-variant-numeric:tabular-nums;
}
@keyframes bvHudWave {from{transform:translateX(-108px)}to{transform:translateX(0)}}
@media (max-width:650px) {
  .bv-hud{left:12px;top:calc(15px + env(safe-area-inset-top));transform:scale(.86);transform-origin:top left;}
}
