html, body {
	padding: 0;
	margin: 0;
	overflow: hidden;
	background: #ffffff;
	color: white;
}

html, body, canvas {
	touch-action: none;
}

#notSupportedWrap {
	margin: 2em auto 1em auto;
	width: 75%;
	max-width: 45em;
	border: 2px solid #aaa;
	border-radius: 1em;
	padding: 2em;
	background-color: #f0f0f0;
	font-family: "Segoe UI", Frutiger, "Frutiger Linotype", "Dejavu Sans", "Helvetica Neue", Arial, sans-serif;
	color: black;
}

#notSupportedTitle {
	font-size: 1.8em;
}

.notSupportedMessage {
	font-size: 1.2em;
}

.notSupportedMessage em {
	color: #888;
}

/* bbcode styles */
.bbCodeH1 {
	font-size: 2em;
	font-weight: bold;
}

.bbCodeH2 {
	font-size: 1.5em;
	font-weight: bold;
}

.bbCodeH3 {
	font-size: 1.25em;
	font-weight: bold;
}

.bbCodeH4 {
	font-size: 1.1em;
	font-weight: bold;
}

.bbCodeItem::before {
	content: " • ";
}

/* screen reader text */
.c3-screen-reader-text {
	position: absolute;
	width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
}

/* Game canvas fullscreen responsive styles */
html, body {
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	overflow: hidden;
	background: #000;
	display: flex;
	align-items: center;
	justify-content: center;
}

#gameembed {
	width: 100vw;
	height: 100vh;
	margin: 0;
	padding: 0;
	display: block;
	background: #000;
	position: fixed;
	top: 0;
	left: 0;
	overflow: hidden;
}

canvas {
	display: block;
	width: 100vw !important;
	height: 100vh !important;
	max-width: none !important;
	max-height: none !important;
	object-fit: fill !important;
	image-rendering: pixelated;
	image-rendering: -moz-crisp-edges;
	image-rendering: crisp-edges;
	margin: 0 !important;
	padding: 0 !important;
	border: 0;
	outline: none;
	position: fixed !important;
	top: 0 !important;
	left: 0 !important;
	transform: none !important;
	z-index: 1;
}

/* Remove mobile optimization - use full screen on all devices */

/* High DPI screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
	canvas {
		image-rendering: -webkit-optimize-contrast;
		image-rendering: optimize-contrast;
	}
}

/* Hide scrollbars */
::-webkit-scrollbar {
	display: none;
}

/* Force hardware acceleration */
canvas {
	transform: translateZ(0);
	-webkit-transform: translateZ(0);
	will-change: transform;
}

/* Override any inline styles from game engine */
canvas[style] {
	width: 100vw !important;
	height: 100vh !important;
	position: fixed !important;
	top: 0 !important;
	left: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	transform: none !important;
}

/* Force full screen on canvas container */
div:has(canvas) {
	width: 100vw !important;
	height: 100vh !important;
	margin: 0 !important;
	padding: 0 !important;
	position: fixed !important;
	top: 0 !important;
	left: 0 !important;
}

/* Prevent text selection */
body {
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}