/*!******************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js!./src/styles.css ***!
  \******************************************************************/
/* Remove default margins and paddings */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

/* Ensure full-screen canvas - Use 100dvh for better mobile support */
html,
body {
	width: 100%;
	height: 100%;
	overflow: hidden;
	background-color: black; /* Prevents white flickers */
	position: fixed; /* Prevents scrolling and address bar issues */
	top: 0;
	left: 0;
}

/* Enhanced fullscreen support for all browsers */
html:-webkit-full-screen,
html:-moz-full-screen,
html:-ms-fullscreen,
html:fullscreen {
	width: 100% !important;
	height: 100% !important;
	overflow: hidden !important;
	margin: 0 !important;
	padding: 0 !important;
}

body:-webkit-full-screen,
body:-moz-full-screen,
body:-ms-fullscreen,
body:fullscreen {
	width: 100% !important;
	height: 100% !important;
	overflow: hidden !important;
	margin: 0 !important;
	padding: 0 !important;
}

#game:-webkit-full-screen,
#game:-moz-full-screen,
#game:-ms-fullscreen,
#game:fullscreen {
	width: 100% !important;
	height: 100% !important;
	position: fixed !important;
	top: 0 !important;
	left: 0 !important;
}

/* Force remove any margins/padding that might affect fullscreen */
*:-webkit-full-screen,
*:-moz-full-screen,
*:-ms-fullscreen,
*:fullscreen {
	margin: 0 !important;
	padding: 0 !important;
}

/* Edge-specific fullscreen fixes */
html:-ms-fullscreen,
html:fullscreen {
	width: 100vw !important;
	height: 100vh !important;
	overflow: hidden !important;
}

#game:-ms-fullscreen,
#game:fullscreen {
	width: 100vw !important;
	height: 100vh !important;
}

/* Edge legacy support */
:-ms-fullscreen {
	width: 100vw !important;
	height: 100vh !important;
}

/* Ensure game container takes full space in Edge */
@supports (-ms-ime-align: auto) {
	#game {
		width: 100vw !important;
		height: 100vh !important;
	}
}

/* Modern Edge (Chromium-based) */
@supports (display: -webkit-box) {
	html:fullscreen #game {
		width: 100vw !important;
		height: 100vh !important;
	}
}

/* TEXT CLARITY FIXES FOR MOBILE */
#game {
	/* Smooth but crisp text rendering - removed pixelated options */
	image-rendering: -webkit-optimize-contrast;
	image-rendering: auto;
	
	/* Font smoothing for better text clarity */
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	
	/* Prevent text selection and improve touch handling */
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	
	/* Improve canvas rendering */
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

/* Canvas specific fixes for text clarity */
canvas {
	/* Smooth rendering for text, not pixelated */
	image-rendering: auto;
	
	/* Prevent blur on transforms */
	-webkit-transform: translateZ(0);
	transform: translateZ(0);
	
	/* Hardware acceleration */
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	
	/* Prevent text selection */
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

/* Enhanced canvas fullscreen support */
canvas:-webkit-full-screen,
canvas:-moz-full-screen,
canvas:-ms-fullscreen,
canvas:fullscreen {
	width: 100% !important;
	height: 100% !important;
	position: fixed !important;
	top: 0 !important;
	left: 0 !important;
	object-fit: contain !important;
}

#html-ui-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Add this back */
    z-index: 1000;
}

/* Add pointer-events: none only to specific non-interactive elements */
/* .non-interactive-element {
    pointer-events: none;
} */

/* Re-enable pointer events for actual UI elements */
#html-ui-container input,
#html-ui-container button,
#html-ui-container select,
#html-ui-container .interactive,
#html-ui-container #scroll-panel { 
    pointer-events: auto;
}

/* iOS or non-enforced fullscreen style */
#game.ios-style {
    background-color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

#game.ios-style canvas {
    display: block;
    margin: 0 auto;
    max-width: none !important;
    max-height: none !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
}

/* Enforced fullscreen style (non-iOS) */
#game.enforced-fullscreen {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    position: fixed;
    top: 0;
    left: 0;
    touch-action: pan-y;
    background-color: black;
}

#game.enforced-fullscreen canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    touch-action: pan-y;
    position: absolute;
    top: 0;
    left: 0;
}

/* Enhanced fullscreen canvas positioning */
#game.enforced-fullscreen:fullscreen canvas,
#game.enforced-fullscreen:-webkit-full-screen canvas,
#game.enforced-fullscreen:-moz-full-screen canvas {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    max-width: none !important;
    max-height: none !important;
}

#overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	font-family: "CustomFont";
	background-color: rgba(0, 0, 0, 1);
	color: black;
	display: none;
	justify-content: center;
	align-items: center;
	text-align: center;
	font-size: 18px;
	z-index: 10002;
	color: white;
	font-family: "Gluten", sans-serif;
}

#fullscreenOverlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(252, 113, 14);
	z-index: 10000;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	color: white;
	font-family: "Gluten", sans-serif;
}

#fullscreenOverlay img {
	max-width: 70%;
	margin-bottom: 20px;
}

#fullscreenOverlay button {
	background-color: white;
	color: #fc710e;
	border: none;
	padding: 10px 20px;
	font-size: 18px;
	font-family: "Gluten", sans-serif;
	border-radius: 10px;
	cursor: pointer;
	margin-top: 20px;
}

/* Additional mobile-specific fixes */
@supports (height: 100dvh) {
	#game {
		height: 100dvh;
	}
}

/* iOS Safari specific fixes */
@supports (-webkit-touch-callout: none) {
	html, body {
		height: -webkit-fill-available;
	}
	
	#game {
		height: -webkit-fill-available;
	}
}

/* Help hide status bars on mobile browsers */
@media screen and (max-device-width: 1024px) {
  html, body {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
  }
}

/* Additional fixes for transition smoothness */
#game,
#game canvas {
    transition: none !important;
}

/* Prevent any scrolling during fullscreen transitions */
html:fullscreen,
body:fullscreen {
    overflow: hidden !important;
    scroll-behavior: auto !important;
}

/*# sourceMappingURL=main.3bb6b0b59f0a613ba98b.css.map*/