body {
	background-image: url(background.jpg);
	background-position: 50%;
	background-size: cover;
	bottom: -10%;
    height: 110%;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
}

canvas {
    box-shadow: 0px 3px 15px rgba(21, 24, 50, 0.6);
}

#game-overlay {
	height: 0px;
	position: absolute;
	width: 0px;
}

#game-shell {
	display: flex;
	position: absolute;
	width: 100%;
	height: 100%;
}

.game-shell {
	font-family: PingFang SC, Microsoft YaHei, WenQuanYi Micro Hei, sans-serif;
	touch-action: none;
}

#game-overlay {
	transform: scale(calc(var(--construct-scale) * 3) ) rotate(0deg);
}

/* progress bar va button start loading layout */
.start-button-container-land, .start-button-container-land-pc, .start-button-container-port {
	align-items: center;
	display: flex;
	justify-content: center;
	left: 0px;
	margin: auto;
	position: absolute;
	right: 0px;
}

.start-button-container-port {
	height: 32px;
	top: 481px;
	width: 151.7px;
	left: -80px;
}

.start-button {
	background-color: #30a2d0;
	border: 2px solid rgba(0, 0, 0, .15);
	border-radius: 8px;
}
.start-button-show-land, .start-button-show-land-pc, .start-button-show-port {
	animation-name: show-bounce;
}

.start-button-inner {
	background-image: linear-gradient(180deg, hsla(0, 0%, 100%, .5), hsla(0, 0%, 100%, 0));
	background-origin: border-box;
	border: .87px solid hsla(0, 0%, 100%, .4);
	border-radius: 6px;
	bottom: 0px;
	left: 0px;
	position: absolute;
	right: 0px;
	top: 0px;
}

.text-land, .text-land-pc, .text-port {
	color: #fff;
	font-size: 10.3px;
	margin: 0;
	padding: 0;
}

.start-button .text-land, .start-button .text-land-pc, .start-button .text-port {
	font-size: 12px;
	font-weight: 900;
}

.animationTipsContainer-land, .animationTipsContainer-land-pc, .animationTipsContainer-port {
	height: 35px;
	margin: 515px auto 0;
	position: relative;
	width: 320px;
}

.animationTipsContainer-port {
	margin-top: 515px;
	z-index: 1;
	left: -160px;
}

.loading-container-land, .loading-container-land-pc, .loading-container-port {
	align-items: center;
	display: flex;
	flex-direction: column;
	left: 0px;
	position: absolute;
	right: 0px;
}

.loading-container-port {
	top: auto;
}

.progress-bar-container-land, .progress-bar-container-land-pc, .progress-bar-container-port {
	background-color: initial;
	height: 13px;
	position: relative;
	width: 212px;
}

.text-land, .text-land-pc, .text-port {
	color: #fff;
	font-size: 10.3px;
	margin: 0;
	padding: 0;
}

#tips-text {
	margin-top: 4px;
	text-align: center;
	text-overflow: ellipsis;
	width: 200px;
}

.tips-text-child2 {
	margin-left: 5px;
}

.progress-bar-background {
	background-color: #111;
	border-radius: 3.5px;
	height: 100%;
	position: absolute;
	width: 100%;
}

.progress-bar-fill-container {
	bottom: 0.87px;
	left: 0.87px;
	position: absolute;
	right: 0.87px;
	top: 0.87px;
}

.progress-bar-outline {
	border-radius: 3.5px;
	bottom: 0px;
	left: 0px;
	position: absolute;
	right: 0px;
	top: 0px;
	transform: translateZ(0px);
}

.border-inner {
	border: 1.7px solid #272727;
}

.border-outer {
	border: .85px solid #111;
}

.progress-bar-fill {
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	background-color: #30a2d0;
	background-size: 8.7px 100%;
	border-radius: 3.5px;
	height: 100%;
	position: absolute;
	width: 0px;
}

.stripes {
	animation-duration: 1s;
	animation-iteration-count: infinite;
	animation-name: animate-stripes;
	animation-timing-function: linear;
	background-image: linear-gradient(-75deg, hsla(0, 0%, 100%, 0) 35%, hsla(0, 0%, 100%, .1) 0, hsla(0, 0%, 100%, .1) 75%, hsla(0, 0%, 100%, 0) 0, hsla(0, 0%, 100%, 0));
}

.front-highlight {
	background-image: linear-gradient(90deg, hsla(0, 0%, 100%, 0), #fff);
	border-radius: 0 3.5px 3.5px 0;
	height: 100%;
	max-width: 20px;
	right: 0px;
	width: 50%;
}

.front-highlight, .top-highlight {
	position: absolute;
	transform: translateZ(0px);
}

.top-highlight {
	background-color: hsla(0, 0%, 100%, .2);
	border-radius: 3.5px 3.5px 0 0;
	height: 50%;
	width: 100%;
}

.animated_text_wrap {
	color: #fff;
	font-size: 10px;
	height: 26px;
	line-height: 26px;
	position: relative;
	text-align: center;
}

.animated_text {
	align-items: center;
	display: flex;
	height: 26px;
	justify-content: center;
	line-height: 13px;
	margin: 0;
	opacity: 0;
	position: absolute;
	top: 100%;
	width: 100%;
}

.animated-text-move-to-top-port, .animated-text-reset-to-bottom-port {
	opacity: 0;
}

.animated-text-reset-to-bottom-port {
	top: 26px;
}

.animated-text-move-to-top-port, .animated_text_move_to_center {
	transition: top 1s, opacity 1s;
	transition-timing-function: linear;
}

.animated_text_move_to_center {
	opacity: 1;
	top: 0px;
}

@keyframes animate-stripes {
	0% {
		background-position: 0 0
		}

    to {
		background-position: 34.7px 0
        }
}

/* Exit layout */
.qpage {
    background-color: #fff;
    height: 640px;
    margin: auto;
    position: absolute;
    width: 360px;
    z-index: 975;
}

.qpage_container {
    background-color: #fff;
    display: flex;
    flex-direction: column;
    height: 100%;
    text-align: center;
    width: 100%;
    z-index: 950;
}

.qpage_container .qpage_content {
    align-items: center;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
}

.sprite_main_res {
    background-image: url(./quit.png);
    background-repeat: no-repeat;
    background-size: 100%;
    display: inline-block;
}

.ic_iconic {
    background-position: -1px -1px;
    height: 178px;
    width: 158px;
}


.qpage_container .qpage_content .qpage_title {
    color: #000;
    font-size: 20px;
    line-height: 20px;
    position: relative;
    text-align: center;
    top: 0px;
    width: 80%;
}

.qpage_container .qpage_content .qpage_desc {
    color: #000;
    font-size: 11.3px;
    line-height: 14px;
    opacity: 0.3;
    position: relative;
    text-align: center;
    top: 8.7px;
    width: 80%;
}

.qpage_container .qpage_content .qpage_button {
    background-color: rgba(24, 17, 84, .075);
    border-radius: 2px;
    color: #000;
    font-size: 10.3px;
    height: 36.3px;
    line-height: 36.3px;
    margin-top: 20px;
    max-width: 303.3px;
    min-width: 156px;
}
.bd_orange{
	text-align: center;
    font-size: 15px;
    color: rgba(191, 117, 34,1.00);
    cursor: pointer;
    border: 1px solid transparent;
	border-color: rgba(191, 117, 34,1.00);
    background: #252330;
	appearance: none;
}

/* Thong bao khong co mang */
#toast-container {
    left: 0;
    pointer-events: none;
    position: absolute;
    top: 0;
    visibility: visible;
    z-index: 950;
}

#toast.toast_show {
    opacity: .96;
    visibility: visible;
    animation: fadeOut 3.5s ease-in-out forwards;
}

#toast.toast_bottom {
    bottom: 20px;
}

#toast {
    background-color: #30303c;
    border-radius: 3.48px;
    box-shadow: 0 12px 18px 0 rgba(0, 0, 0, .4), inset 0 1px 0 0 hsla(0, 0%, 100%, .1);
    color: hsla(0, 0%, 100%, .9);
    display: inline-block;
    font-size: 14px;
    line-height: 18px;
    margin: auto;
    max-height: 676px;
    max-width: 300px;
    opacity: 0;
    padding: 18px;
    pointer-events: auto;
    position: absolute;
    text-align: center;
    visibility: hidden;
}

@keyframes fadeOut {
    0% {
        opacity: 0.96;
        visibility: visible;
    }

    60% {
        opacity: 0.96;
        visibility: visible;
    }

    100% {
        opacity: 0;
        visibility: hidden;
    }
}