.phaser-wrapper {
	display: none;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    position: fixed;
    z-index: 7777;
    width: 100%;
    height: 100vh;
    background: #FFF;
}
.phaser-close {
	position: fixed;
	top: 30px;
	left: 30px;
	width: 40px;
	height: 40px;
	z-index: 77777;
	display: none;
	padding: 0;
	border-radius: 100%;
	transition: all 0.3s;
	border: 0;
	cursor: pointer;
}
body.madbeans-game-open {
	overflow: hidden;
}
body.madbeans-game-open .phaser-wrapper {
	aria-hidden: false;
}
@media (prefers-reduced-motion: reduce) {
	.phaser-wrapper,
	.phaser-close,
	#wk-loading {
		transition: none !important;
		animation: none !important;
	}
}
/*.phaser-close:hover {
	background: #FFF;
	border: 1px solid #CCC;
	box-shadow: 1px 1px 2px rgba(0,0,0,0.17);
}*/
.phaser-close:after {
	display: block;
	content: "\00d7";
	color: #FFF;
    font-size: 37px;
    line-height: 33px;
	text-align: center;
	cursor: pointer;
}
/*.phaser-close:hover:after {
	box-shadow: 3px 3px 3px rgba(0,0,0,0.03);
    border: 1px solid #CCC;
	background: white;
    color: black;
}*/

.no-bg {
	background: transparent !important;
	transition: all 0.3s;
}

/* Loader shown while the arcade scripts download, and between games. */
#wk-loading {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 77776;
	background: #fff;
	color: #141a26;
	text-align: center;
	padding-top: 38vh;
	font-family: "Jura", system-ui, sans-serif;
}
#wk-loading .loading-bean {
	display: block;
	margin: 0 auto 12px;
	width: 96px;
	height: auto;
	animation: arcade-bob 1s ease-in-out infinite alternate;
}
#wk-loading .loading-text {
	font-size: 1.4rem;
	font-weight: 600;
	margin: 0;
}
.phaser-close {
	background: linear-gradient(180deg, #2f6fe4, #e5373a);
}
@keyframes arcade-bob {
	from { transform: translateY(0); }
	to { transform: translateY(-14px); }
}
@media (prefers-reduced-motion: reduce) {
	#wk-loading .loading-bean { animation: none; }
}
