#targets {
  inset: 0;
  width: auto;
  height: auto;
  z-index: 0;
  pointer-events: none;
}
#damage-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  box-shadow: inset 0 0 70px 20px #c3292970;
  border: 3px solid #ef745b80;
}
#damage-vignette.reduced {
  box-shadow: none;
  border: 2px solid #d76a5d90;
}
#boss-armor {
  font-size: 11px;
  line-height: 1.5;
  color: #c6d6dd;
  margin-top: 6px;
  overflow-wrap: anywhere;
}
.world-target {
  position: absolute;
  top: 0;
  left: 0;
  width: 102px;
  color: #fff4dc;
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  line-height: 14px;
  text-shadow:
    0 1px 2px #102330,
    1px 0 2px #102330;
}
.world-target .target-name {
  display: block;
  white-space: nowrap;
}
.world-target progress {
  display: block;
  appearance: none;
  width: 72px;
  height: 5px;
  margin: 1px auto 0;
  border: 1px solid #182d34;
  background: #23333ae6;
}
.world-target progress::-webkit-progress-bar {
  background: #23333ae6;
}
.world-target progress::-webkit-progress-value {
  background: #e39476;
}
.world-target progress::-moz-progress-bar {
  background: #e39476;
}
.world-target.focused {
  color: #ffe3a4;
}
.world-target.elite .target-name {
  color: #ffd36f;
}
.world-target.focused progress {
  width: 92px;
  border-color: #fff0b7;
}
.world-target.recent-hit progress::-webkit-progress-value {
  background: #ffd36f;
}
.world-target.recent-hit progress::-moz-progress-bar {
  background: #ffd36f;
}
.world-target small {
  display: block;
  color: #ffe2a0;
  font-size: 11px;
}
.health-readout {
  display: inline-flex;
  gap: 8px;
  align-items: baseline;
}
#hud .mana > span {
  white-space: nowrap;
  flex-shrink: 0;
}
#damage-feedback {
  color: #ffb7a0;
  font-size: 11px;
}
#combat-confirm {
  position: absolute;
  left: 50%;
  top: 112px;
  transform: translateX(-50%);
  border-bottom: 2px solid #ffcb69;
  padding: 3px 8px;
  color: #fff1ce;
  background: #19313be6;
  font-weight: 800;
  font-size: 13px;
  white-space: nowrap;
  pointer-events: none;
  z-index: 1;
}
#crosshair.confirmed-kill {
  color: #ffbf52;
  text-shadow: 0 0 3px #382516;
}
/* Inked hit brackets sit outside the actual aiming point. They never create
   a full-screen flash or obscure the target, including reduced effects. */
#crosshair::after {
  content:"";
  position:absolute;
  left:50%; top:50%; width:38px; height:38px;
  transform:translate(-50%,-50%) scale(.8);
  background:linear-gradient(45deg,transparent 44%,#ffe3a0 45% 55%,transparent 56%),linear-gradient(-45deg,transparent 44%,#ffe3a0 45% 55%,transparent 56%);
  mask:radial-gradient(circle,transparent 0 11px,#000 12px);
  filter:drop-shadow(0 1px 1px #271c13);
  opacity:0; pointer-events:none;
}
#crosshair.confirmed-hit::after { opacity:1; transform:translate(-50%,-50%); }
#crosshair.confirmed-hit:not(.reduced)::after { animation:comic-hit .13s ease-out; }
#crosshair.confirmed-kill::after { background:linear-gradient(45deg,transparent 43%,#ffc04e 44% 56%,transparent 57%),linear-gradient(-45deg,transparent 43%,#ffc04e 44% 56%,transparent 57%); mask:radial-gradient(circle,transparent 0 13px,#000 14px); }
@keyframes comic-hit { from { transform:translate(-50%,-50%) scale(1.4); } to { transform:translate(-50%,-50%) scale(1); } }
@media(prefers-reduced-motion:reduce) { #crosshair.confirmed-hit:not(.reduced)::after { animation:none; } }
#hud .status,
#actions,
#leave-game,
#boss-panel,
#field-map,
#battle-clock {
  z-index: 2;
}
@media (max-width: 600px) {
  #hud .status {
    width: min(230px, calc(100vw - 110px));
    font-size: 11px;
  }
}
