.page-emulator-base {
	background-color: #181818;
	color: #d69e2e;

	height: 100vh;

	.loading {
		margin: 20% 0;
	}
}

.page-emulator-list {
	h1 {
		margin-top: 1rem;
		color: #f7f7f7;
		text-align: center;
	}

	.row {
		justify-content: center !important;
	}

	.emulator-button {
		min-height: 120px;
		padding: 1.25rem 1rem;
		text-align: center;

		font-size: 1.7em;
		padding: 2rem 1rem;
		width: 100%;
	}
}

.page-emulator {
	height: 100vh;

	display: grid;
	grid-template-rows: auto 1fr;
	grid-auto-flow: column;

	.loading {
		margin: 20% 0;
	}

	.emulatorgrid {
		background-color: #181818;

		display: grid;
		// height: 100vh;
		width: 100vw;
		grid-row: 2;

		justify-content: space-around;
		// grid-auto-flow: row;

		.buttongrid {
			-webkit-touch-callout: none !important;
			-webkit-user-select: none !important;
			user-select: none !important;

			margin-top: auto;
			margin-bottom: auto;

			display: grid;
			grid-auto-flow: row;
			grid-auto-rows: 1fr;

			.button-control {
				padding: min(5px, 1%);
			}
		}
	}
}

.emulator-not-found {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 4vh 2vw;

	code {
		color: var(--cui-warning);
	}

	.emulator-back-button {
		margin-top: 1rem;
		display: inline-block;
		min-width: 96px;

		color: #000;
	}
}

.emulator-nonideal {
	display: block;
	margin: 0 auto;
	color: #f7f7f7 !important;
	background: rgba(255, 255, 255, 0.02);
	padding: 4vh;
	border-radius: 8px;
	text-align: center;
	max-width: 720px;

	/* Ensure the icon is visible against dark backgrounds */
	svg {
		color: #f7f7f7;
		opacity: 0.95;
	}
}
