.reading > p:has(.horror-decoration) { position: relative; }
.horror-decoration {
  position: absolute;
  pointer-events: none;
  user-select: none;
  inset: 0;
  animation: horror-fade 1.65s ease both;
}
.horror-static {
  position: fixed;
  z-index: 19;
  background:
    repeating-linear-gradient(0deg, #0005 0 1px, transparent 1px 4px),
    url("assets/tv-static.png") repeat;
  background-size: auto, 128px 128px;
  image-rendering: pixelated;
  --horror-opacity: .78;
  animation: tv-bursts .65s steps(1, end) both, tv-static .32s steps(1) infinite;
}
@keyframes tv-bursts {
  0%, 38.461538% { opacity: var(--horror-opacity); }
  15.384615%, 100% { opacity: 0; }
}
@keyframes tv-static {
  0% { background-position: 0 0, 0 0; }
  25% { background-position: 0 1px, 37px -23px; }
  50% { background-position: 0 2px, -19px 53px; }
  75% { background-position: 0 1px, 61px 11px; }
}
.horror-glyphs {
  overflow: hidden;
  background: var(--bg);
  color: var(--ink);
  text-shadow: 2px 0 #b54253, -2px 0 #398694;
  --horror-opacity: 1;
}
@keyframes horror-fade {
  0%, 100% { opacity: 0; }
  9%, 72% { opacity: var(--horror-opacity); }
}
@media (prefers-reduced-motion: reduce) {
  .horror-decoration { animation: none; opacity: var(--horror-opacity); }
}

.horror-blood-drops {
  inset: -36px 2% auto auto;
  width: min(180px, 48vw);
  height: 150px;
  z-index: 2;
  --horror-opacity: .97;
  animation: horror-fade 1.12s ease both;
}
.horror-blood-drops i {
  position: absolute;
  top: var(--y);
  left: var(--x);
  width: var(--size);
  height: calc(var(--size) * .8);
  background: url("assets/blood-soak.svg") center / contain no-repeat;
  transform-origin: 48% 53%;
  animation: horror-soak .76s var(--delay) cubic-bezier(.15,.65,.3,1) both;
}
.horror-blood-drops i:nth-child(1) { --x:21%; --y:38%; --size:52px; --delay:0ms; }
.horror-blood-drops i:nth-child(2) { --x:63%; --y:63%; --size:35px; --delay:150ms; }
@keyframes horror-soak {
  0% { opacity:0; transform:scale(.09); }
  18% { opacity:.98; transform:scale(.39); }
  100% { opacity:.94; transform:scale(1); }
}
.horror-handprint {
  position:fixed;
  inset: 9vh 0 auto;
  margin:auto;
  z-index:18;
  width:min(65vw, 300px);
  aspect-ratio: 4 / 5;
  background: url("assets/blood-handprint.svg?v=6") center / contain no-repeat;
  animation: horror-handprint-hit 1.45s ease-out both;
}
@keyframes horror-handprint-hit {
  0% { opacity:1; transform:rotate(-12deg) scale(1.18); }
  8%, 66% { opacity:.88; transform:rotate(-12deg) scale(1); }
  100% { opacity:0; transform:rotate(-12deg) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .horror-blood-drops { animation:horror-fade 1.12s steps(1,end) both; }
  .horror-blood-drops i { animation:none; transform:none; }
  .horror-handprint { animation:horror-handprint-reduced 1.45s steps(1,end) both; transform:rotate(-12deg); }
}

@keyframes horror-handprint-reduced { 0% { opacity:.88; } 75%, 100% { opacity:0; } }
