/* Shared HiLo cards for bet history. Game-page overrides stay under #game_hilow. */
.hilow_game_container {
	max-width: 500px;
	padding: 5px 0px 15px;
	width: 100%;
	overflow: hidden;
}
.hilow_board {
    margin: 10px 0px 15px;
    padding: 0px 5px;
    background: #F5F5F5;
    border-radius: 5px;
    border: 1px solid #DDD;
	position: inherit;
	height: 200px;
	display: flex;
	overflow: hidden;
}
.hilow_board .hilow_deck {
	margin-top: 20px;
}*/
.hilow_board .hilow_card {
    border-radius: 1px;
    cursor: pointer;
    position: relative;
    height: 150px !important;
    width: 95px !important;
    transition: transform 500ms ease 0s, -webkit-transform 500ms ease 0s;
}

.hilow_board .hilow_card .hilow_card_inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
	border-radius: 3px;
}
.hilow_board .hilow_card .hilow_card_inner.flipped{
    transform: rotateY(180deg);
}
.hilow_board .hilow_card .hilow_card_inner.heart p,  .hilow_card .hilow_card_inner.diamond p{
    color: #f44336;
}
.hilow_board .hilow_card .front {
    width: 100%;
    height: 100%;
    background: #FFF;
    padding: 10px;
    border: 1px solid #DDD !important;
    border-radius: 3px;
    position: absolute;
    backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -o-backface-visibility: hidden;
}
.hilow_board .hilow_card .front p {
    width: 40px;
    font-size: 35px;
    text-align: center;
    line-height: 30px;
    margin: 0px;
}
.hilow_board .hilow_card .front i {
    font-size: 20px;
    line-height: 18px;
}
.hilow_board .hilow_card .back {
    width: 100%;
    height: 100%;
    background-color: #0f7a4a;
    background-image: url(../../img/games/card_back_design.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    padding: 10px;
    border-radius: 3px;
    border: 0;
    overflow: hidden;
    position: absolute;
    transform: rotateY(180deg);
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -o-backface-visibility: hidden;
}
.hilow_board .hilow_card .back div,
.hilow_board .hilow_card .back i {
    display: none;
}
.hilow_board .hilow_card .back div:nth-child(1) {
    top: 10px;
    left: 10px;
}
.hilow_board .hilow_card .back div:nth-child(2) {
    top: 10px;
    right: 10px;
}
.hilow_board .hilow_card .back div:nth-child(3) {
    bottom: 10px;
    left: 10px;
}
.hilow_board .hilow_card .back div:nth-child(4) {
    bottom: 10px;
    right: 10px;
}
.hilow_board .hilow_card .back i {
    color: #EFEFEF;
    font-size: 28px;
    position: absolute;
    top: calc(50% - 14px);
    left: calc(50% - 14px);
}

.hilow_card_list {
	overflow-x: auto;
    background: #F5F5F5;
	border: 1px solid #DDD;
	border-radius: 5px;
	padding-right: 5px;
	padding-left: 10px;
}

.hilow_slider {
	padding: 5px 0px;
	display: flex;
	width: fit-content;
	min-width: 100%;
	transition-property: transform;
	height: 80px;
}
.hilow_slider .hilow_small_card {
    border-radius: 1px;
    cursor: pointer;
    position: relative;
    height: 70px !important;
    width: 44px !important;
    transition: transform 500ms ease 0s, -webkit-transform 500ms ease 0s;
	margin: 0px -5px 0px -5px;
}

.hilow_slider .hilow_small_card .hilow_small_card_inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
	border-radius: 3px;
}
.hilow_slider .hilow_small_card .hilow_small_card_inner.flipped{
    transform: rotateY(180deg);
}
.hilow_slider .hilow_small_card .back {
    width: 100%;
    height: 100%;
    background-color: #0f7a4a;
    background-image: url(../../img/games/card_back_design.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    padding: 10px;
    border-radius: 3px;
    border: 0;
    overflow: hidden;
    position: absolute;
    transform: rotateY(180deg);
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -o-backface-visibility: hidden;
}
.hilow_slider .hilow_small_card .back div,
.hilow_slider .hilow_small_card .back i {
    display: none;
}
.hilow_slider .hilow_small_card .back div:nth-child(1) {
    top: 8px;
    left: 8px;
}
.hilow_slider .hilow_small_card .back div:nth-child(2) {
    top: 8px;
    right: 8px;
}
.hilow_slider .hilow_small_card .back div:nth-child(3) {
    bottom: 8px;
    left: 8px;
}
.hilow_slider .hilow_small_card .back div:nth-child(4) {
    bottom: 8px;
    right: 8px;
}
.hilow_slider .hilow_small_card .back i {
    color: #EFEFEF;
    font-size: 18px;
    position: absolute;
    top: calc(50% - 10px);
    left: calc(50% - 10px);
}
.hilow_slider .hilow_small_card .hilow_small_card_inner.heart p,  .hilow_small_card .hilow_small_card_inner.diamond p{
    color: #f44336;
}
.hilow_slider .hilow_small_card .front {
    width: 100%;
    height: 100%;
    background: #FFF;
    padding: 10px;
    border: 1px solid #DDD !important;
    border-radius: 3px;
    position: absolute;
    backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -o-backface-visibility: hidden;
}
.hilow_slider .hilow_small_card .front p {
    width: 25px;
    font-size: 22px;
    text-align: center;
    line-height: 15px;
    margin: 0px;
}
.hilow_slider .hilow_small_card .front i {
    font-size: 12px;
    line-height: 10px;
}
.hilow_slider .comparison {
	box-shadow: #2a2f3c33 0 0 0 1px;
    text-align: center;
    justify-content: center;
    padding: 5px;
    border-radius: 3px;
    background: #FFF;
	width: 20px;
	height: 20px;
	margin-top: 24px;
	z-index: 20;
	line-height: 12px;
	font-size: 12px;
	opacity: 0;
	transition-delay: 0.7s;
	transition-duration: 0.3s;
	color: #4caf50;
}
.hilow_slider .comparison.true{
	color: #4caf50;
}
.hilow_slider .comparison.false{
	color: #e91e63;
}

.hilow_bet_high_btn {
	width: 100%;
    height: 50px;
    font-weight: bold;
    font-size: 13px;
    background: rgb(255, 204, 0) !important;
    border: 1px solid rgb(255, 204, 0) !important;
    opacity: 0.85;
    margin-top: 20px;
    color: #333;
	max-width: 250px;
    margin: 10px auto 5px;
    margin-right: 5px;
}
.hilow_bet_high_btn:hover, .hilow_bet_high_btn:focus {
	opacity: 1;
	color: #333;
}
.hilow_bet_low_btn {
	width: 100%;
    height: 50px;
    font-weight: bold;
    font-size: 13px;
    background: rgb(134, 68, 251) !important;
    border: 1px solid rgb(134, 68, 251) !important;
    opacity: 0.85;
    margin-top: 20px;
    color: #FFF;
	max-width: 250px;
    margin: 10px auto 5px;
    margin-left: 5px;
}
.hilow_bet_low_btn:hover, .hilow_bet_low_btn:focus {
	opacity: 1;
	color: #FFF;
}

#game_hilow {
	--hilo-hi: #f6c90e;
	--hilo-lo: #3d9eff;
	--hilo-cash: #fac905;
	--radius-md: .375rem;
	--radius-lg: .5rem;
	position: relative;
	box-sizing: border-box;
	width: 100% !important;
	max-width: 100% !important;
	padding: 16px 16px 0;
	margin: 20px auto 30px;
	border-radius: 12px;
	background: #fff !important;
	color: #333;
	overflow: visible;
}

.dark_mode #game_hilow {
	background: #1c1e22 !important;
	color: #fff;
	border: 1px solid #dddddd1a;
}

#game_hilow.hilo_game_container,
#game_hilow.hilow_game_container {
	max-width: 100% !important;
	overflow: visible;
}

#game_hilow .hilo-layout {
	display: grid;
	grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
	gap: 15px;
	align-items: stretch;
	width: 100%;
	min-width: 0;
}

#game_hilow .hilo-sidebar {
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: visible !important;
	max-height: none;
}

#game_hilow .hilo-choices {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: 4px;
}

#game_hilow .hilo-choice,
#game_hilow .gx-sidebar .hilow_bet_high_btn,
#game_hilow .gx-sidebar .hilow_bet_low_btn {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	max-width: none !important;
	min-height: 56px;
	height: auto !important;
	margin: 0 !important;
	padding: 8px 12px;
	border-radius: 8px;
	border: 1px solid #DDD !important;
	background: #e9ecef !important;
	color: #152c3c !important;
	text-align: left;
	opacity: 1 !important;
	font-weight: 700;
	line-height: 1.2;
}

.dark_mode #game_hilow .hilo-choice,
.dark_mode #game_hilow .gx-sidebar .hilow_bet_high_btn,
.dark_mode #game_hilow .gx-sidebar .hilow_bet_low_btn {
	background: #2a2d33 !important;
	border-color: #3a3e44 !important;
	color: #fff !important;
}

#game_hilow .hilo-choice:hover,
#game_hilow .gx-sidebar .hilow_bet_high_btn:hover,
#game_hilow .gx-sidebar .hilow_bet_low_btn:hover {
	filter: brightness(1.06);
	color: inherit !important;
}

#game_hilow .hilo-choice:disabled,
#game_hilow .gx-sidebar .hilow_bet_high_btn:disabled,
#game_hilow .gx-sidebar .hilow_bet_low_btn:disabled {
	opacity: 0.45 !important;
	cursor: not-allowed !important;
	filter: none;
}

#game_hilow .hilo-choice-ico {
	flex: 0 0 36px;
	width: 36px;
	height: 36px;
	border-radius: 8px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	line-height: 1;
}

#game_hilow .hilo-choice-hi .hilo-choice-ico {
	background: rgba(246, 201, 14, 0.16);
	color: var(--hilo-hi);
}

#game_hilow .hilo-choice-lo .hilo-choice-ico {
	background: rgba(61, 158, 255, 0.16);
	color: var(--hilo-lo);
}

#game_hilow .hilo-choice-copy {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 2px;
	min-width: 0;
}

#game_hilow .hilo-choice-title {
	font-size: 13px;
	font-weight: 800;
	text-transform: capitalize;
}

#game_hilow .hilo-choice-pct {
	font-size: 12px;
	font-weight: 700;
	color: #90a4ae;
}

#game_hilow .hilo-actions {
	margin-top: auto;
	padding-top: 12px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

#game_hilow .bet_btn,
#game_hilow #bet_game_hilow,
.dark_mode #game_hilow.hilow_game_container.game_main #bet_game_hilow,
#game_hilow.hilow_game_container.game_main #bet_game_hilow {
	display: flex;
	width: 100%;
	max-width: none !important;
	height: 48px;
	margin: 0 !important;
	padding: 0 8px;
	border: 0 !important;
	border-radius: 8px;
	background: #67e366 !important;
	border-color: #67e366 !important;
	color: #0d1a0d !important;
	font-size: 14px;
	font-weight: 800;
	align-items: center;
	justify-content: center;
	gap: 8px;
	opacity: 1;
}

.dark_mode #game_hilow.hilow_game_container.game_main #cashout_game_hilow,
#game_hilow.hilow_game_container.game_main #cashout_game_hilow,
#game_hilow #cashout_game_hilow {
	display: flex;
	width: 100%;
	max-width: none !important;
	height: 48px;
	margin: 0 !important;
	padding: 0 8px;
	border: 0 !important;
	border-radius: 8px;
	background: var(--hilo-cash) !important;
	border-color: var(--hilo-cash) !important;
	color: #111 !important;
	font-size: 14px;
	font-weight: 800;
	align-items: center;
	justify-content: center;
	gap: 8px;
	opacity: 1;
}

.dark_mode #game_hilow.hilow_game_container.game_main #cashout_game_hilow:hover,
#game_hilow #cashout_game_hilow:hover {
	background: #e6b804 !important;
	border-color: #e6b804 !important;
	color: #111 !important;
	filter: none;
}

#game_hilow #bet_game_hilow:disabled,
#game_hilow #cashout_game_hilow:disabled {
	opacity: 0.6 !important;
}

#game_hilow #bet_game_hilow span,
#game_hilow #cashout_game_hilow span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

#game_hilow #bet_game_hilow img,
#game_hilow #cashout_game_hilow img {
	width: 22px;
	height: 22px;
}

#game_hilow .hilo-cash-ico {
	width: 18px !important;
	height: 18px !important;
}

#game_hilow #cashout_amount {
	font-style: normal;
	font-weight: 800;
}

#game_hilow .hilo-stage {
	position: relative;
	min-width: 0;
	min-height: 520px;
	display: flex;
	flex-direction: column;
	padding: 16px 16px 12px;
	border: 1px solid #DDD;
	border-radius: 10px;
	background: #f5f6f8;
}

.dark_mode #game_hilow .hilo-stage {
	background: #212428;
	border-color: #3a3e44;
}

#game_hilow .hilo-live-mult {
	position: relative;
	z-index: 3;
	display: flex;
	flex-direction: row-reverse;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-items: center;
	gap: 6px;
	height: 40px;
	margin-bottom: 10px;
	overflow: hidden;
}

#game_hilow .hilo-mult {
	flex: 0 0 auto;
	min-width: 0;
	padding: 10px 15px;
	border-radius: 6px;
	background: #eceff1;
	color: #546e7a;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	text-align: center;
	white-space: nowrap;
	transform-origin: center center;
}

#game_hilow .hilo-mult.is-new {
	animation: hilo-mult-pop .28s ease-out forwards;
	backface-visibility: hidden;
}

@keyframes hilo-mult-pop {
	from { transform: scale(1); }
	to { transform: scale(1.15); }
}

#game_hilow .hilo-mult.is-win {
	background: #8bc34a;
	color: #fff;
}

.dark_mode #game_hilow .hilo-mult {
	background: #2f363d;
	color: #e8eef2;
}

.dark_mode #game_hilow .hilo-mult.is-win {
	background: #67e366;
	color: #1a270b;
}

#game_hilow .hilo-play {
	flex: 1 1 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 28px;
	min-height: 280px;
	position: relative;
}

#game_hilow .hilo-tri,
#game_hilow .hilo-stage .hilow_bet_high_btn,
#game_hilow .hilo-stage .hilow_bet_low_btn {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 130px;
	max-width: 130px !important;
	margin: 0 !important;
	padding: 0;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	height: auto !important;
	opacity: 1 !important;
	color: inherit !important;
}

#game_hilow .hilo-tri-hi .hilo-tri-pct { order: 1; }
#game_hilow .hilo-tri-hi .hilo-tri-svg { order: 2; }
#game_hilow .hilo-tri-hi .hilo-tri-caption { order: 3; }
#game_hilow .hilo-tri-lo .hilo-tri-caption { order: 1; }
#game_hilow .hilo-tri-lo .hilo-tri-svg { order: 2; }
#game_hilow .hilo-tri-lo .hilo-tri-pct { order: 3; }

#game_hilow .hilo-tri-pct {
	font-size: 13px;
	font-weight: 800;
	color: #90a4ae;
}

#game_hilow .hilo-tri-hi .hilo-tri-pct { color: var(--hilo-hi); }
#game_hilow .hilo-tri-lo .hilo-tri-pct { color: var(--hilo-lo); }

#game_hilow .hilo-tri-caption {
	font-size: 12px;
	font-weight: 700;
	color: #90a4ae;
	text-align: center;
	text-transform: capitalize;
	line-height: 1.2;
}

#game_hilow .hilo-tri-svg {
	position: relative;
	width: 108px;
	height: 94px;
	transform-origin: center center;
	transition: transform 0.18s ease;
}

#game_hilow .hilo-tri:not(:disabled):hover .hilo-tri-svg {
	transform: scale(1.1);
}

#game_hilow .hilo-tri-svg svg {
	width: 100%;
	height: 100%;
	display: block;
}

#game_hilow .hilo-tri-word {
	position: absolute;
	left: 50%;
	font-weight: 800;
	font-size: 22px;
	letter-spacing: 0.5px;
	pointer-events: none;
	transform: translateX(-50%);
}

#game_hilow .hilo-tri-hi .hilo-tri-word {
	bottom: 16px;
	color: var(--hilo-hi);
}

#game_hilow .hilo-tri-lo .hilo-tri-word {
	top: 16px;
	color: var(--hilo-lo);
}

#game_hilow .hilo-tri:disabled {
	opacity: 0.4 !important;
	cursor: not-allowed !important;
}

#game_hilow .hilo-hero,
#game_hilow .hilow_board {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 170px;
	height: 250px;
	margin: 0;
	padding: 0;
	background: transparent;
	border: 0;
	overflow: visible;
}

#game_hilow .hilow_deck {
	margin: 0;
	position: relative;
	width: 158px;
	height: 230px;
}

#game_hilow .hilow_board .hilow_card,
#game_hilow .hilow_card {
	height: 230px !important;
	width: 158px !important;
	margin: 0 !important;
	border-radius: 14px;
}

#game_hilow .hilow_board .hilow_card .hilow_card_inner,
#game_hilow .hilow_card .hilow_card_inner {
	border-radius: 14px;
	border: 0 !important;
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

#game_hilow .hilow_board .hilow_card .front,
#game_hilow .hilow_card .front {
	border-radius: 14px;
	border: 1px solid #DDD !important;
	outline: none;
	padding: 16px 14px;
	background: #fff;
}

#game_hilow .hilow_board .hilow_card .front p,
#game_hilow .hilow_card .front p {
	width: auto;
	font-size: 42px;
	line-height: 1;
	font-weight: 800;
}

#game_hilow .hilow_board .hilow_card .front i,
#game_hilow .hilow_card .front i {
	font-size: 28px;
	line-height: 1;
}

#game_hilow .hilow_board .hilow_card .back,
#game_hilow .hilow_card .back {
	border-radius: 14px;
	background-color: #0f7a4a;
	background-image: url(../../img/games/card_back_design.png);
	background-position: center;
	background-repeat: no-repeat;
	background-size: 100% 100%;
	border: 0;
	overflow: hidden;
}

#game_hilow .hilow_board .hilow_card .back div,
#game_hilow .hilow_board .hilow_card .back i,
#game_hilow .hilow_card .back div,
#game_hilow .hilow_card .back i {
	display: none;
}

#game_hilow .hilo-stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0;
	margin-top: 8px;
	border-radius: 10px;
	overflow: hidden;
	background: #e9ecef;
}

.dark_mode #game_hilow .hilo-stats {
	background: #2a2d33;
}

#game_hilow .hilo-stat {
	padding: 12px 14px;
	text-align: center;
	min-width: 0;
}

#game_hilow .hilo-stat + .hilo-stat {
	border-left: 1px solid rgba(0, 0, 0, 0.08);
}

.dark_mode #game_hilow .hilo-stat + .hilo-stat {
	border-left-color: #3a3e44;
}

#game_hilow .hilo-stat-label {
	font-size: 11px;
	font-weight: 700;
	color: #90a4ae;
	margin-bottom: 6px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

#game_hilow .hilo-stat.is-hi .hilo-stat-val {
	color: var(--hilo-hi);
}

#game_hilow .hilo-stat.is-lo .hilo-stat-val {
	color: var(--hilo-lo);
}

#game_hilow .hilo-stat-val {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	font-size: 14px;
	font-weight: 800;
	color: #152c3c;
}

.dark_mode #game_hilow .hilo-stat-val {
	color: #fff;
}

#game_hilow .hilo-stat-val img {
	width: 16px;
	height: 16px;
}

#game_hilow .hilo-stat-val i {
	font-size: 12px;
}

#game_hilow .hilo-history,
#game_hilow .hilow_card_list {
	margin-top: 12px;
	overflow-x: auto;
	background: #e9ecef;
	border: 0;
	border-radius: 10px;
	padding: 10px 12px 8px;
}

.dark_mode #game_hilow .hilo-history,
.dark_mode #game_hilow .hilow_card_list {
	background: #1a1c1e;
}

#game_hilow .hilow_slider {
	padding: 4px 0 2px;
	display: flex;
	align-items: flex-start;
	gap: 8px;
	width: fit-content;
	min-width: 100%;
	height: auto;
	min-height: 108px;
}

#game_hilow .hilo-hist-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
}

#game_hilow .hilow_slider .hilow_small_card {
	margin: 0;
	height: 72px !important;
	width: 50px !important;
	border-radius: 8px;
}

#game_hilow .hilow_slider .hilow_small_card .hilow_small_card_inner {
	border-radius: 8px;
	border: 0 !important;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

#game_hilow .hilow_slider .hilow_small_card .front {
	border-radius: 8px;
	border: 1px solid #DDD !important;
	padding: 8px 6px;
}

#game_hilow .hilow_slider .hilow_small_card .back {
	border-radius: 8px;
	background-color: #0f7a4a;
	background-image: url(../../img/games/card_back_design.png);
	background-position: center;
	background-repeat: no-repeat;
	background-size: 100% 100%;
	border: 0;
	overflow: hidden;
}

#game_hilow .hilow_slider .hilow_small_card .back div,
#game_hilow .hilow_slider .hilow_small_card .back i {
	display: none;
}

#game_hilow .hilo-hist-badge {
	font-size: 10px;
	font-weight: 800;
	padding: 2px 8px;
	border-radius: 4px;
	background: #8bc34a;
	color: #0d1a0d;
	white-space: nowrap;
	line-height: 16px;
}

#game_hilow .hilo-hist-badge.is-loss {
	background: #546e7a;
	color: #fff;
}

#game_hilow .hilow_slider .comparison {
	box-shadow: none;
	width: 22px;
	height: 22px;
	margin-top: 26px;
	padding: 0;
	border-radius: 50%;
	background: #43a047;
	color: #fff !important;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 11px;
	line-height: 1;
}

#game_hilow .hilow_slider .comparison.true {
	background: #43a047;
	color: #fff !important;
}

#game_hilow .hilow_slider .comparison.false {
	background: #e53935;
	color: #fff !important;
}

#game_hilow .hilo-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
}

#game_hilow .gx-board-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 12px -16px 0;
	padding: 6px 14px 10px;
	border-top: 1px solid #e5e7eb;
	min-height: 40px;
}

.dark_mode #game_hilow .gx-board-bar {
	border-top-color: #3a3e44;
}

#game_hilow .gx-board-bar .gx-left {
	gap: 8px;
	flex: 0 1 auto;
	min-width: 0;
}

#game_hilow .gx-board-bar .gx-title {
	font-size: 15px;
	font-weight: 700;
	margin: 0;
	color: #374151;
}

.dark_mode #game_hilow .gx-board-bar .gx-title {
	color: #fff;
}

#game_hilow .gx-board-bar .gx-nav {
	display: flex;
	align-items: center;
	flex-shrink: 0;
	gap: 2px;
	margin-left: auto;
}

#game_hilow .gx-board-bar .gx-btn {
	background: transparent;
	border: 0;
	border-radius: 8px;
	padding: 6px 8px;
	min-width: 32px;
	height: 32px;
	color: #90a4ae;
	font-size: 14px;
	box-shadow: none;
}

.dark_mode #game_hilow .gx-board-bar .gx-btn {
	color: #b0bec5;
	background: transparent;
}

#game_hilow .gx-board-bar .gx-btn:hover,
.dark_mode #game_hilow .gx-board-bar .gx-btn:hover {
	background: rgba(0, 0, 0, 0.06);
	color: #111;
}

.dark_mode #game_hilow .gx-board-bar .gx-btn:hover {
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
}

#game_hilow .gx-board-bar .gx-btn.is-active-stats,
.dark_mode #game_hilow .gx-board-bar .gx-btn.is-active-stats {
	color: #67e366;
}

@media (max-width: 991px) {
	#game_hilow .hilo-layout {
		grid-template-columns: minmax(0, 1fr);
	}
	#game_hilow .hilo-stage {
		order: -1;
		min-height: 460px;
	}
	#game_hilow .hilo-live-mult {
		height: 28px;
		gap: 4px;
		margin-bottom: 6px;
	}
	#game_hilow .hilo-mult {
		padding: 5px 8px;
		font-size: 11px;
		border-radius: 5px;
	}
	#game_hilow .hilo-tri-word {
		position: absolute;
		left: 50%;
		font-weight: 800;
		font-size: 18px;
		letter-spacing: 0.5px;
		pointer-events: none;
		transform: translateX(-50%);
	}
	#game_hilow .hilo-stats {
		grid-template-columns: 1fr 1fr;
		grid-template-areas:
			"total total"
			"hi lo";
	}
	#game_hilow .hilo-stat.is-hi {
		grid-area: hi;
	}
	#game_hilow .hilo-stat:not(.is-hi):not(.is-lo) {
		grid-area: total;
		border-bottom: 1px solid rgba(0, 0, 0, 0.08);
	}
	#game_hilow .hilo-stat + .hilo-stat {
		border-left: 0;
	}
	#game_hilow .hilo-stat.is-lo {
		grid-area: lo;
		border-left: 1px solid rgba(0, 0, 0, 0.08);
	}
	.dark_mode #game_hilow .hilo-stat:not(.is-hi):not(.is-lo) {
		border-bottom-color: #3a3e44;
	}
	.dark_mode #game_hilow .hilo-stat.is-lo {
		border-left-color: #3a3e44;
	}
	#game_hilow .hilo-stat-label {
		white-space: normal;
	}
}

@media (max-width: 575px) {
	#game_hilow {
		width: 100% !important;
		max-width: 100% !important;
		padding: 12px 10px 0;
		margin: 10px auto 20px;
	}
	#game_hilow .hilo-play {
		gap: 8px;
	}
	#game_hilow .hilo-tri,
	#game_hilow .hilo-stage .hilow_bet_high_btn,
	#game_hilow .hilo-stage .hilow_bet_low_btn {
		width: 92px;
		max-width: 92px !important;
	}
	#game_hilow .hilo-tri-svg {
		width: 84px;
		height: 74px;
	}
	#game_hilow .hilow_board,
	#game_hilow .hilo-hero {
		width: 126px;
		height: 190px;
	}
	#game_hilow .hilow_deck {
		width: 118px;
		height: 172px;
	}
	#game_hilow .hilow_board .hilow_card,
	#game_hilow .hilow_card {
		height: 172px !important;
		width: 118px !important;
	}
	#game_hilow .hilo-stat-label {
		font-size: 10px;
	}
}
