/* Chapter 2 cinematic effects. Applied only to the game screen, so the
 * dialogue box and quick menu stay readable. */
game-screen.ch2-half-eyes::before {
	position: absolute;
	inset: 0;
	z-index: 7;
	content: "";
	background: url("../assets/ui/ch2_half_eyes.png") center / 100% 100% no-repeat;
	pointer-events: none;
}

game-screen.ch2-camera-shake {
	animation: ch2-camera-shake 1.35s ease-in-out both;
}

@keyframes ch2-camera-shake {
	0%, 100% { transform: translate(0, 0) rotate(0); }
	8% { transform: translate(-7px, 4px) rotate(-0.35deg); }
	16% { transform: translate(6px, -5px) rotate(0.3deg); }
	24% { transform: translate(-5px, 3px) rotate(-0.2deg); }
	32% { transform: translate(7px, 5px) rotate(0.35deg); }
	40% { transform: translate(-4px, -4px) rotate(-0.25deg); }
	50% { transform: translate(5px, 2px) rotate(0.2deg); }
	60% { transform: translate(-6px, 4px) rotate(-0.3deg); }
	70% { transform: translate(4px, -4px) rotate(0.25deg); }
	80% { transform: translate(-3px, 3px) rotate(-0.15deg); }
	90% { transform: translate(2px, -2px) rotate(0.1deg); }
}
