body {
	text-align: center;
	margin: 0;
}

body.center-page {
	margin-left: 0;
	margin-right: 0;
}

h1 {
	font-size: 40px;
	margin-bottom: 30px;
}

h2 {
	font-size: 16px;
	margin-bottom: 30px;
}

h3 {
}

p {
	font-size: 16px; /* matcher h2 */
	text-align: left;
}

.game {
	flex-basis: 42%;
	width: 42%;
	min-width: 0;
	margin-left: 0;
	margin-right: 0;
	/* border: 1px solid red; */
}

.game:nth-child(6n),
.game:nth-child(1){
	margin-right: 0px;
}

.game_title {
	font-size: 13px;
	line-height: 17px;
	white-space: normal;
	min-height: 54px;
}

.ai-game-controls {
	opacity: 1;
	pointer-events: auto;
	transform: none;
}

.ai-game-controls .ai-game-control {
	width: 32px;
	height: 32px;
}

.ai-game-modal {
	padding: 14px;
	align-items: start;
	overflow-y: auto;
}

.ai-game-dialog {
	margin-top: 22px;
	padding: 24px 18px;
}

.ai-game-dialog h3 {
	font-size: 23px;
}

.public-ai-browser-dialog {
	max-height: none;
}

.public-ai-categories {
	flex-wrap: nowrap;
	overflow-x: auto;
	padding-bottom: 4px;
}

.public-ai-categories button {
	flex: 0 0 auto;
}

.public-ai-results {
	display: block;
	overflow-y: visible;
}

.public-ai-result {
	margin-bottom: 12px;
}

#header {
	width: calc(100% - 28px);
	margin: 0 auto;
}

.site-header {
	display: block;
	padding: 18px 0;
	border-radius: 0;
}

.site-brand {
	justify-content: center;
	margin-bottom: 12px;
	font-size: 24px;
}

.site-nav {
	justify-content: center;
	flex-wrap: wrap;
	gap: 16px;
	margin-bottom: 14px;
}

.site-actions {
	justify-content: center;
	flex-wrap: wrap;
}

.admin-emulation-form {
	flex-basis: 100%;
	display: flex;
	justify-content: center;
	margin: 0 0 4px;
}

.admin-emulation-form label {
	font-size: 12px;
}

.admin-emulation-form select {
	min-width: 150px;
	height: 40px;
	font-size: 13px;
}

.site-actions .button-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	min-height: 48px;
	padding-top: 0;
	padding-bottom: 0;
	line-height: 1;
}

.hero {
	display: block;
	width: 100%;
	margin: 0;
	padding: 30px 20px 34px 20px;
	border-radius: 0;
	text-align: left;
}

.hero h1 {
	font-size: 42px;
	margin-bottom: 16px;
}

.hero-text {
	font-size: 17px;
}

.hero-actions {
	display: block;
}

.hero-actions .button-link {
	display: block;
	margin-right: 0;
}

.hero-art {
	min-height: 220px;
	margin-top: 18px;
}

.hero-art img {
	width: min(300px, 92%);
}

.games-section {
	width: calc(100% - 28px);
	margin: 28px auto 50px auto;
}

.games-section > h3 {
	text-align: left;
	font-size: 20px;
	margin-top: 32px;
}

.game-filter-tabs {
	flex-wrap: nowrap;
	overflow-x: auto;
	gap: 10px;
	padding-bottom: 8px;
}

.game-filter-tabs button {
	flex: 0 0 auto;
	padding: 12px 17px;
	font-size: 15px;
}

.game-picker-tools {
	display: none;
}

#skole {
	position: fixed;
	width: 100%;
	height: auto;
	padding: 20px 0px 20px 0px;
	-webkit-mask-image: none;
	mask-image: none;
}

#skole span {
	font-size: 100%;
}

#skole_spacer {
	height: 80px;
}

#page {
	margin-right: 0%;
	text-align: left;
}

#page input {
	width: 90%;
}

.auth-page,
.dashboard,
.school-page {
	width: 90%;
	margin: 28px auto 0 auto !important;
	text-align: left;
}

.auth-page,
.dashboard {
	padding: 28px 22px;
	border-radius: 20px;
}

.account-dashboard {
	margin-bottom: 42px !important;
}

.auth-page,
.dashboard,
.school-page,
.admin-page,
.games-section {
	margin-bottom: 42px !important;
}

.school-benefits {
	display: block;
}

.pricing-grid {
	display: block;
}

.pricing-card {
	margin-bottom: 18px;
	padding: 22px;
}

.pricing-card .price {
	font-size: 28px;
}

.site-footer {
	margin-top: 48px;
}

.site-footer-inner {
	width: calc(100% - 36px);
	padding: 28px 0;
	display: block;
	text-align: center;
}

.site-footer-brand {
	text-align: center;
	margin-bottom: 18px;
}

.site-footer-links {
	justify-content: center;
	gap: 12px 16px;
}

.school-benefits > div {
	margin-bottom: 24px;
}

.button-link {
	display: block;
	width: auto;
	margin-right: 0;
	text-align: center;
}

#account_actions {
	position: static;
	margin-bottom: 30px;
	text-align: center;
}

#game_actions {
	position: static;
	margin-bottom: 26px;
	text-align: center;
}

#game_actions .button-link {
	display: inline-block;
	width: auto;
	min-width: 90px;
	margin-left: auto;
	margin-right: auto;
}

#account_actions .button-link {
	display: inline-block;
	margin-left: 4px;
	margin-right: 4px;
}

.inline-actions {
	display: block;
}

.inline-actions form {
	margin-bottom: 12px;
}

.status-grid {
	display: block;
}

.account-hero {
	display: block;
	margin: -8px -8px 22px -8px;
	padding: 22px;
}

.account-hero .button-link {
	margin-top: 16px;
	display: inline-block;
}

.account-status-grid p {
	margin-bottom: 12px;
}

.admin-page {
	width: 90%;
	margin: 50px auto 0 auto !important;
	text-align: left;
}

.admin-table {
	min-width: 960px;
}

.admin-status-form {
	display: block;
}

.admin-status-form select,
.admin-status-form input[type=submit] {
	width: 100% !important;
	margin-bottom: 8px;
}

.optiontext::before {
	content: "\a";
	white-space: pre;
}

.explainer {
	font-size: 70%;
	font-style: italic;
}
