#gameArea {
  background:
    linear-gradient(rgba(45, 30, 18, 0.28), rgba(45, 30, 18, 0.28)),
    url("assets/cheese-bg.jpg") center / cover no-repeat;
}

.rat {
  position: absolute;
  width: clamp(56px, 7.15vw, 85px);
  aspect-ratio: 868 / 1022;
  height: auto;
  display: none;
  cursor: pointer;
  z-index: 2;
  margin: 0;
  border: 0;
  background: transparent url("assets/mouse-normal.png") center / contain no-repeat;
  box-shadow: none;
  touch-action: manipulation;
  transition: transform 0.12s ease, filter 0.12s ease;
}

.rat::before,
.rat::after,
.rat .eyes {
  content: none;
  display: none;
}

.rat:hover {
  transform: scale(1.04);
  filter: drop-shadow(0 8px 8px rgba(0, 0, 0, 0.18));
}

.rat.dead {
  border: 0;
  margin: 0;
  background-color: transparent;
  background-image: url("assets/mouse-hit.png");
  aspect-ratio: 1214 / 962;
  transform: scale(0.92) rotate(-5deg);
  filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.18));
}

@media (max-width: 700px) {
  .rat {
    width: clamp(49px, 11.7vw, 73px);
    transform-origin: center;
  }

  .rat:hover {
    transform: scale(1.02);
  }

  .rat.dead {
    transform: scale(0.9) rotate(-5deg);
  }
}
