@font-face {
	font-family: 'OMORI_GAME2'; font-display: block;
	src: url('OMORI_GAME-subset.woff2') format("woff2"), local('OMORI_GAME2');
}

:root { color-scheme: only dark }

body {
	width: 80%;
	height: 100vh;

	display: grid;
	place-items: center;
	margin: auto;
	padding: 0;

	font-family: "OMORI_GAME2", cursive;
	line-height: 1.5;
	text-size-adjust: none;

	text-wrap: balance;
	text-wrap: pretty;

	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: greyscale;
}

*, :before, :after { box-sizing: border-box }

article {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;

	width: 100%;
	height: 100%;
	max-width: 606px;
	gap: 6px;
}

header {
	display: flex;
	width: 100%;
	align-items: flex-end;
	justify-content: space-between;
}

main, header > * {
	border: 3px white solid;
}

header > span {
	width: 81px;
	font-size: 24px;
}

header > picture {
	width: 112px;
	height: 112px;
	aspect-ratio: 1/1;

	line-height: 0;
	padding: 1px;
	overflow: clip;

	image-rendering: crisp-edges;
	image-rendering: pixelated;
}

header > picture > * {
	width: 104px;
	height: 104px;
	aspect-ratio: 1/1;
	overflow: clip;
}

main {
	font-size: 28px;

	width: 100%;
	max-width: 606px;
	padding: 0 14px;

	height: 100%;
	min-height: fit-content;
	max-height: 110px;

	position: relative
}

main > picture {
	line-height: 0;

	position: absolute;
	bottom: 7px;
	right: 19px;
}
