body {
	/* TODO Remove the disrespectful font-size from main-head.css once we
	add regression testing and run a regression test.
	
	Reset the disrespectful font-size from main-head.css. */
	font-size: revert !important;
}
a {
	/* TODO Ditto about removing the reset from main-head that makes links
	unaccessible.

	Re-set the outline that main-head.css removes because we need it for
	accessibility. */
	outline: revert !important;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}
button {
	font: inherit;
}
p {
	text-wrap: pretty;
	overflow-wrap: break-word;
}
h1,
h2 {
	text-wrap: balance;
	overflow-wrap: break-word;
}

.reaper {
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	background: #100;
	color: #eee;
	padding: 2rem;
	transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out;
}
.reaper h2 {
	/* Override body's color from main-head.css. */
	color: #eee;
	transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out;
}

.reaper-hall {
	list-style: none;
	padding: 0;
	text-align: center;
}
.reaper-hall li {
	margin-block-end: 0.5rem;
}
.reaper-hall a:hover {
	animation: reaper-rainbow 1s linear infinite;
	text-decoration: none;
}

.reaper-wrapper {
	margin-inline: auto;
	max-width: 80ch;
}

.reaper-logo {
	animation: reaper-logo-rotate 25s linear infinite;
}
@keyframes reaper-logo-rotate {
	0% {
		transform: rotateY(0deg) skewY(0deg);
	}
	25% {
		transform: rotateY(90deg) skewY(10deg);
	}
	50% {
		transform: rotateY(180deg) skewY(0deg);
	}
	75% {
		transform: rotateY(270deg) skewY(-10deg);
	}
	100% {
		transform: rotateY(360deg) skewY(0deg);
	}
}

.reaper-img {
	display: flex;
	justify-content: center;
	margin-block: 1.5rem;
}

/* Make invisible in a way that (hopefully) crawlers won't ignore. */
.reaper-seo {
	pointer-events: none;
	user-select: none;
	color: #0000 !important;
	margin: 0;
	line-height: 0;
	z-index: -1;
}

.reaper-games {
	display: grid;
	gap: 1rem;
}

@keyframes reaper-rainbow {
	0% {
		color: #f00;
	}
	12.5% {
		color: #f80;
	}
	25% {
		color: #ff0;
	}
	37.5% {
		color: #0f0;
	}
	50% {
		color: #08f;
	}
	62.5% {
		color: #04f;
	}
	75% {
		color: #c0c;
	}
	87.5% {
		color: #f0f;
	}
	100% {
		color: #f00;
	}
}
.reaper-rainbow {
	font-weight: 700;
	animation: reaper-rainbow 3s linear infinite;
}

.reaper-game {
	padding: 1rem;
	cursor: pointer;
	border-radius: 1rem;
	border: 2px solid #0ff;
	text-align: center;
	transition: background-color 0.2s ease-in-out;
}
.reaper-game:hover {
	background-color: #ff13;
	animation: reaper-rainbow 1s linear infinite;
}
.reaper-game p {
	margin: 0 0 0.5rem;
}
.reaper-game p:last-child {
	margin: 0;
}

@media (prefers-color-scheme: light) {
	.reaper {
		background: #eee;
		color: #111;
	}
	.reaper h2 {
		color: #111;
	}

	.reaper-game {
		border-color: #088;
	}
}
