#health-recovery[hidden] { display: none; }
body[data-recovering] #game { transition: filter .36s ease; }
body[data-recovering="dazed"] #game { animation: recovery-focus 1.45s ease-in-out both; }
body[data-recovering="arriving"] #game { filter: blur(1.3px) saturate(.82) brightness(.82); }
body[data-recovering] #health-recovery:not([hidden]) {
  position: fixed;
  inset: 0;
  width: auto;
  max-width: none;
  transform: none;
  display: grid;
  align-content: end;
  justify-items: center;
  padding: 0 22px max(11vh, 40px);
  background: radial-gradient(ellipse at 50% 44%, transparent 38%, #0a131dbe 100%);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  text-shadow: 0 2px 10px #000;
  z-index: 10000;
  pointer-events: auto;
  touch-action: none;
}
#health-recovery p { margin: 6px 0 10px; }
@keyframes recovery-focus {
  0% { filter: blur(0) saturate(1) brightness(1); }
  22% { filter: blur(4px) saturate(.59) brightness(.7); }
  55% { filter: blur(2px) saturate(.7) brightness(.82); }
  78% { filter: blur(3px) saturate(.65) brightness(.75); }
  100% { filter: blur(1.3px) saturate(.82) brightness(.82); }
}
@media (prefers-reduced-motion: reduce) {
  body[data-recovering] #game { animation: none; transition: none; filter: brightness(.82) saturate(.82); }
}
