/* Spot The Ball frontend styles */
#stb-game {
	margin-top: 150px;
	min-height: 100%;
	min-width: 100%;
	position: relative;
	overflow: hidden;
	display: grid;
	grid-template-columns: 66% 32%;
    grid-gap: 2%;
	padding: 35px;
}

#stb-game:after {
	content: "";
	position: absolute;
	background-image: url("stb-frame--desktop.svg");
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
	min-height: 100%;
	min-width: 100%;
	top: 0;
	left: 0;
	z-index: 0;
	pointer-events: none;
}

#stb-game-image {
	cursor: crosshair;
	display: block;
	position: relative;
	height: 100%;
	width: 100%;
	/* left: 3%;
	top: 5%; */
	object-fit: contain;
}

#stb-user-marker {
	display: none;
	position: absolute;
	/* width: 32px;
	height: 32px; */
	width: 44px;
	height: 44px;
	border: none;
	border-radius: 50%;
	opacity: 1;
	pointer-events: none;
	transform: translate(-50%, -50%);
	z-index: 10;
	box-shadow: 0 0 8px #0003;
	background: none;
	overflow: visible;
}

#stb-user-marker svg {
	width: 100%;
	height: 100%;
	display: block;
}

.stb-image-container {
	position: relative;
	display: inline-block;
	/* mask-image: url("stb-frame--desktop-v7.svg");
	-webkit-mask-image: url("stb-frame--desktop-v7.svg"); */
	/* mask-size: 100% 100%;
	-webkit-mask-size: 100% 100%;
	mask-repeat: no-repeat;
	-webkit-mask-repeat: no-repeat;
	mask-position: center;
	-webkit-mask-position: center; */
	flex-shrink: 1;
	width: 100%;
	left: 0;
	height: 100%;
	top: 0;
}
.inner {
	max-height: 440px;
	overflow-y: hidden;
	/* padding-left: 3px; */
}
.stb-content-container {
	z-index: 10;
	/* padding: 100px 0 75px 35px; */
	color: #fff;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	/* justify-content: center; */
}
.stb-content-container.showing-info #stb-submit-btn {
	display: none;
}
.stb-content-container.showing-info .content {
    overflow-y: auto;
    height: 340px;
    padding-left: 20px;
    padding-right: 5px;
}
.stb-content-container.showing-info ol,
.stb-content-container.showing-info ul {
	text-align: left;
	font-size: 14px;
	line-height: 18px;
	color: #c2c2c2;
}
.stb-content-container.showing-info ul {
	list-style-type: "-";
}
.stb-content-container.showing-info a {
	color: #c2c2c2;
	text-decoration: underline;
}
.stb-content-container p {
	color: #c2c2c2;
}

/* #stb-modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(0, 0, 0, 0.5);
	z-index: 99999999;
	align-items: center;
	justify-content: center;
    overflow-y: auto;
}

#stb-modal > div {
	background: #fff;
	max-width: 1300px;
	margin: auto;
} */

/* #stb-modal::after {
	display: block;
    content: '';
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(0, 0, 0, 0.5);
	z-index: -1;
} */

#stb-modal .modal-content {
    margin-top: 0;
}

#stb-modal #stb-modal-close {
    position: absolute;
    top: 0;
    right: 0;
    width: 3rem;
    height: 3rem;
    color: black;
    display: flex;
    align-items: center;
    justify-content: center;
}

#stb-modal p {
    color: black;
}

#stb-modal .gform_fields .ginput_container input[type="text"], 
#stb-modal .gform_fields .ginput_container input[type="email"] {
    color: currentColor !important;
    border-bottom-color: currentColor !important;
    text-align: left;
}

#stb-modal .gform-theme--framework .gform-field-label--type-inline {
    text-align: left;
}

#stb-modal form button.arrow {
    padding-right: 75px;
}

#stb-modal .geetest_captcha {
    margin-top: 0 !important;
}

#stb-submit-btn {
	padding: 15px 25px;
	min-width: 220px;
	justify-content: flex-start;
	font-size: 16px;
    margin: 0 auto;
}
.button-group {
	display: flex;
	gap: 20px;
	/* flex-grow: 1;
	align-items: flex-end; */
}
.game-action-btn {
	background: #ffffff1a;
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-radius: 50%;
	height: 44px;
	width: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0px 17.33px 17.33px 0px #00000040;
	transition: 0.3s ease-in-out;
}
.game-action-btn:hover,
.game-action-btn:active,
.game-action-btn.active {
	background-color: #c34813;
}

.game-action-btn a {
	display: flex;
	align-items: center;
	justify-content: center;
}

.stb-row-highlight {
    background: rgba(255, 255, 255, 0.05);
}

.stb-play-banner td {
    padding: 12px 8px;
}

.stb-game-closed {
    color: #c9302c;
    font-weight: 600;
}

#stb-reset-btn {
    margin-left: 8px;
}

.stb-set-email-form {
    display: block;
}

.stb-entry-summary {
    text-align: center;
    padding: 15px;
}

.stb-entry-summary img {
    max-width: 100%;
    height: auto;
    margin-bottom: 12px;
}

.stb-entry-summary .stb-entry-title {
    font-weight: 700;
    font-size: 1.1em;
    margin: 8px 0;
}

.stb-entry-summary p {
    margin: 6px 0;
}

.stb-set-email {
    color: white;
    padding: 2rem 0;
}

.stb-set-email .gfield {
    text-align: left;
}

@media screen and (max-width: 1024px) {
	#stb-game {
        padding: 25px;
        margin-top: 200px;
	}
}
@media screen and (max-width: 768px) {
	#stb-game {
		grid-template-columns: 1fr;
        grid-gap: 1rem;
        padding-top: 20px;
	}
    #stb-game:after {
        background-image: url("stb-frame--mobile.png");
        background-size: 100%;
        background-position: top center;
        width: 100%;
    }
    .stb-content-container {
        flex-direction: column-reverse;
    }
    .button-group {
        width: 100%;
        margin: 1rem 0;
    }
    #stb-info-btn {
        margin-right: auto;
    }
    #stb-submit-btn {
        width: calc(100% - 3rem);
    }
    #stb-modal > div {
        margin: 0 2rem;
        max-height: 100%;
    }
    .stb-play-now-btn {
        white-space: nowrap;
    }
}
@media screen and (max-width: 480px) {
    #stb-game {
        padding: 16px 20px 20px;
    }
}