#pox-overlay { position: fixed; inset: 0; z-index: 3; overflow: hidden; pointer-events: none; opacity: 0; transition: opacity .45s ease-out; background: radial-gradient(ellipse at center, transparent 38%, #315b2222 69%, #193e1a73 100%); }
#pox-overlay.active { opacity: 1; }
#pox-overlay::before { content: ''; position: absolute; inset: 0; opacity: var(--pox-flash, 0); background: radial-gradient(circle at center, #b7f27265, #5da65e7d 43%, #31662f99 100%); mix-blend-mode: screen; }
#pox-overlay::after { content: ''; position: absolute; inset: 0; border: 2px solid #8df16a21; box-shadow: inset 0 0 90px #447a4270, inset 0 0 200px #1939208a; animation: pox-breathe 3.4s ease-in-out infinite; }
.pox-spores { position: absolute; inset: -10%; opacity: var(--pox-intensity, .18); background: radial-gradient(circle at 11% 26%, #b7f49d 0 2px, transparent 3px), radial-gradient(circle at 78% 17%, #b7f49d 0 2px, transparent 3px), radial-gradient(circle at 24% 81%, #c3f8a3 0 3px, transparent 4px), radial-gradient(circle at 88% 72%, #b7f49d 0 2px, transparent 3px), radial-gradient(circle at 55% 11%, #b7f49d 0 1px, transparent 2px), radial-gradient(circle at 61% 92%, #b7f49d 0 2px, transparent 3px); filter: blur(.4px) drop-shadow(0 0 6px #aaff83); animation: pox-drift 7s ease-in-out infinite alternate; }
.pox-scan { position: absolute; inset: 0; opacity: .12; background: repeating-linear-gradient(0deg, transparent 0 6px, #b5e9a32e 7px 8px); animation: pox-scan 4s linear infinite; }
#pox-hud { border-color: #b0ed69; color: #ecffd3; box-shadow: 0 0 18px #74c9574a; }
#pox-hud.critical { border-color: #ff7355; color: #ffe7d2; box-shadow: 0 0 20px #f46e4e80; }
@keyframes pox-breathe { 50% { opacity: .48; } }
@keyframes pox-drift { to { transform: translate(2.5%, -3%); } }
@keyframes pox-scan { to { transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) { #pox-overlay::after, .pox-spores, .pox-scan { animation: none; } }
