/* Responsive  Styles */

.before-login .mobile {    display: none;}



/*  - - - - - - - - - - min-width Queries - - - - - - - - - - */
@media(min-width:1921px)	{
	.bs-ul li {    
		width: calc(21% - 8px);
	}
	.mobile {
		display: block !important;
	}
	.header-section {
		padding-top: 4px;
		padding-bottom: 4px;
	}
	.header-section .container {
		padding: 0;
		max-width: 1560px !important;
		gap: 10px;
	}
	.header-section:before, .header-section:after {
		height: 3px;
	}
	.main-menu {
		width: 100%;
		table-layout: fixed;
		gap: 4px;
	}
	.main-menu li a {
		height: fit-content;
		padding: 20px 0 16px 0;
		border-radius: 6px;
		overflow: hidden;
	}
	.main-menu li a:before {
		height: calc(100% - 0px);
	}
	.bal-container {
		width: fit-content;
		padding: 10px 0 10px 0;
	}
	.sidebar {
		width: 94%;
		margin: 0 3%;
		margin-bottom: 10px;
		display: none;
	}
	.sidebar .al-inner {
		width: fit-content;
		max-width: 700px;
		margin: 0 auto;
		gap: 16px;
	}
}



/* - - - - - - - - - - max-width Queries - - - - - - - - - - */
@media(max-width:1920px)	{
	.bs-ul li {
		width: calc(21% - 8px);
	}
	.mobile {
		display: block !important;
	}
	/*
	.desktop {
		display: none !important;
	}
	*/
	.header-section {
		min-height: fit-content;
		padding-top: 4px;
		padding-bottom: 5px;
	}
	.header-section .container {
		padding: 0;
		flex-wrap: nowrap;
		gap: 8px;
	}
	.header-section:before, .header-section:after {
		height: 3px;
	}
	.main-menu {
		width: 100%;
		table-layout: fixed;
		gap: 4px;
	}
	.main-menu li a {
		padding: 20px 0 16px;
		border-radius: 6px;
		overflow: hidden;
	}
	.main-menu li a:before {
		height: 100%;
	}
	.bal-container {
		width: fit-content;
	}
	.sidebar {
		width: 100%;
		margin: 0;
		margin-bottom: 8px;
		display: none;
	}
	.sidebar .al-inner {
		/* width: fit-content;
		max-width: 700px; */
		width: 100%;
		max-width: 90vw;
		margin: 0 auto;
		gap: 16px;
	}
}



@media(max-width:1430px)	{
	.toggle-section .container {
		width: 95%;
	}
	.board-section .row {
		margin: 0;
	}
	.board-panel {
		width: 100%;
		max-width: 740px;
		margin: 10px 0;
	}
	.realtime-board {
		width: 100%;
		max-width: 740px;
		margin: 10px 0;
		order: 1;
	}
	.board-section {
		padding: 40px 0 15px;
	}
}



@media(max-width:1300px){
	.container { max-width: 95%;}
	.banner-section {
		height: 280px !important;
		padding: 0;
	}
	.banner-section .banner-bg {
		display: block;
		width: 123.9%;
		left: -11.95%;
	}
	.banner-section .container {
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		margin: auto;
		padding: 0;
	}
	.logo {
		width: 18.59%;
	}
	.top_logo {
		width: 100%;
		max-width: 350px;
	}
	.banner-carousel {
		margin-top: 1.5vw;
	}
	.banner-carousel .text-panel {
		padding: 1.5% 15px;
		margin-bottom: 1.25%;
	}
	.banner-carousel .text-panel:before {
		height: 92%;
	}
	.sc-btn {
		width: calc(20% - 15px);
	}
	.header-section .container {
		flex-wrap: wrap;
		padding: 0 0 12px 0;
	}
	
	.header-section .container .bal-container {
		width: 100%;
	}
	.header-section .container .after-login .sidebar {
		width: auto;
		margin: 0;
	}
	/*	login-before	*/
	#login-before .header-section .container {
		flex-wrap: nowrap;
		padding: 0;
	}
	#login-before .header-section .bal-container {
		width: fit-content;
	}
	.header-section .container .after-login.active {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		justify-content: space-between;
	}
}



@media (max-width: 1200px) {
	.header-section {
		height: auto;
		padding-top: 3px;
		padding-bottom: 3px;
	}
	.banner-section .banner-bg {
		width: 140%;
		left: -20%;
	}
	.after-login .mobile .btn-set {
		justify-content: center;
		align-items: stretch;
	}
	/* .after-login .mobile .btn-set > * {
		flex: 1 1 0;
	} */
}



@media(max-width:1024px){
	.sc-btn {
		width: calc(25% - 15px);
	}
	.level-information .container{ 
		width:25%; 
	}
	.level-information .container:first-child{ 
		width:20%; 
	}
	.level-information .container span{
		font-size:12px;
	}
	.level-information .container .labels{ 
		margin-right:0;
	}
	.level-information .container .amount{
		font-size:14px;
	}
	.level-information .point-form{
		width:55%;
		padding:0 5px;
	}
	.level-information .point-form input{
		width:58%;
		border-radius:5px 0 0 5px;
	}
	.level-information .points-btn{
		width:40%;
		position:relative;
		right:0;
		font-size:8px;
		border-radius:0 5px 5px 0;
	}
	.gamelist-container {
		min-height: initial;
		max-height: initial;
		margin: 0 0 -20px;
		overflow-y: auto;
	}
	.game-btn {
		width: calc(20% - 16px);
	}
}



@media(max-width: 900px){
	.container, .container-md, .container-sm {
		max-width: unset !important;
	}
	.banner-carousel .text-panel {
		margin-bottom: 1.75%;
	}
	.banner-carousel .text-panel h1 {
		font-size: clamp(14px, 3.4vw, 22px);
	}
	.banner-carousel .text-panel h2 {
		font-size: clamp(11px, 3vw, 18px);
	}
	.header-section .container {
		flex-wrap: wrap;
	}
	.main-menu {
		flex-wrap: nowrap;
		margin: 0 auto;
		padding: 8px;
		gap: 6px;
	}
	.sidebar .al-cont .info {
		font-size: 13px;
	}
	.sidebar .al-cont .info .balance {
		font-size: 14px;
	}
	.btn_social {
		bottom: 360px !important;
	}
	.bs-ul li {
		width: 100%;
		border: 1px solid rgba(177, 163, 122, 0.5);
		border-radius: 8px;
		margin: 0 0;
		padding-bottom: 4px;
		background: linear-gradient(0deg, rgb(37, 29, 1) 0%, rgb(100, 70, 5) 100%);
	}
	.bs-ul li a {
		padding:12px 0 8px 0;
	}
	.bs-ul li a span {
		font-size: 16px;
	}
	/*	login-before	*/
	#login-before .header-section .container {
		flex-direction: column;
	}
	#login-before .header-section .bal-container {
		padding: 0 8px 12px 8px;
		width: 100%;
	}
	.before-login .mobile .btn-set {
		flex-direction: row;
		flex-wrap: nowrap;
		align-items: center;
		justify-content: center;
	}
	.bal-container {
		width: 100%;
		padding: 10px 8px;
	}
	.toggle-section .container {
		flex-wrap: nowrap !important;
		gap: 0.4rem !important;
		padding: 0 0.4rem;
	}
	.toggle-btn {
		min-height: fit-content;
		height: 100%;
		font-size: 18px;
	}
	.toggle-btn .indicator {
		font-size: 24px;
	}
	.toggle-btn .btn-panel {
		flex-direction: column;
		align-items: center;
		justify-content: center;
		width: 100%;
		padding: 0.725rem 0;
	}
	.toggle-btn .icon-panel {
		margin-top: -2rem;
	}
	.toggle-btn .btn-panel .category {
		position: initial;
		right: unset;
		text-align: center;
		white-space: normal;
	}
	.btn-effect:hover .glass, .toggle-btn.active .btn-effect .glass {
		transform: rotate(-10deg);
		width: 200%;
		top: -20%;
		left: -50%;
	}
	/*
	.toggle-btn:first-child .icon-panel {
		margin-left: 0;
		margin-right: 15px;
	}
	.toggle-btn:last-child .icon-panel {
		margin-right: 0;
		margin-left: 15px;
	}
	.toggle-btn:first-child .btn-panel {
		margin-right: 0;
	}
	.toggle-btn:last-child .btn-panel {
		margin-left: 0;
	}
	*/
}



@media(max-width:767px)	{
	input, textarea, select {
		touch-action: manipulation;
		/* touch-action: manipulation; → 불필요한 확대 방지, font-size: 16px; → iOS Safari가 자동 확대하지 않도록 설정 */
		font-size: 16px;
	}
	.logo {
		width: 22%;
	}
	.top_logo {
		width: 52%;
	}
	.banner-section .banner-bg {
		width: 170%;
		left: -35%;
	}
	.banner-carousel .text-panel {
		padding: 3vw 0;
		margin-bottom: 5vw;
	}
	.sc-btn {
		width: calc(33.33% - 15px);
	}
	.footer-section .provider-logo {
		padding-bottom: 8px;
		gap: 12px;
	}
	.footer-section .provider-logo li {
		padding: 0;
	}
	.footer-section .provider-logo img {
		max-width: none;
		max-height: none;
		margin: unset;
		width: auto;
		height: 20px;
	}
	.sc-btn .g-info .g-name {
		font-size: 14px;
		white-space: nowrap;
	}
	.modal-dialog .modal-content:not(.loginModal .modal-dialog .modal-content) {
		min-height: 50vh;
		min-height: 50dvh;/* safari */
		max-height: calc(100vh - 1rem);
		max-height: calc(100dvh - 1rem);/* safari */
	}
	.modal-title {
		display: flex;
		align-items: center;
		justify-content: center;
	}
	.modal-title .modal-icon {
		width: 70px;
		height: 80px;
		font-size: 24px;
		margin: 0;
	}
	.modal-title .title-panel {
		display: flex;
		align-items: center;
		justify-content: flex-start;
		gap: 0.75rem;
		width: 100%;
		margin: 0;
	}
	.modal-title .title {
		width: initial;
		font-size: 24px;
		text-shadow: 0 1px 0 rgba(0, 0, 0, 1), 0 0 10px rgba(0, 0, 0, 1);
	}
	.modal-title .sub {
		width: initial;
		font-size: 12px;
		text-shadow: 0 1px 0 rgba(0, 0, 0, 1), 0 0 10px rgba(0, 0, 0, 1), 0 0 10px rgba(0, 0, 0, 1);
	}
	.w-mob-title {
		display: none !important;
	}
	.modal-title-mob {
		display: inline-block;
	}
	.modal-head-panel {
		width: 100%;
		margin: 16px auto;
		padding: 0 16px;
		min-height: initial;
	}
	.modal-head-panel .btn-grp {
		width: 100%;
		order: 1;
		margin: 0;
	}
	.modal-head-panel .btn-grp button {
		width: calc(50% - 8px);
		margin: 0 4px;
	}
	.modal-head-panel .ask-link {
		width: 100%;
		text-align: center;
		order: 2;
		margin: 10px 0 0;
	}
	.game-btn {
		width: calc(25% - 16px);
	}
}



@media(max-width:600px)	{
	.header-section .container .after-login.active {
		flex-direction: column;
		gap: 8px;
	}
	.after-login .mobile .btn-set {
		font-size: 12px;
	}
	.header-section .container .after-login .dropbtn {
		min-width: unset !important;
	}
	.header-section .container .after-login .dropbtn td > span {
		display: none;
	}
	.main-menu li a span {
		font-size: 13px;
	}
	.toggle-btn .indicator {
		font-size: 18px;
		top: -2px;
		position: relative;
	}
	.toggle-btn .btn-panel {
		gap: 0.75rem;
	}
	.modal-menu .bs-ul {
		display: flex;
		flex-wrap: wrap;
	}
	.modal-menu .bs-ul li {
		width: 33.33%;
		display: block;
	}
	.modal-menu .bs-ul li:nth-child(4n+0):before {
		display: none;
	}
	.modal-menu li a {
		height: 40px;
	}
	.modal-menu li a:before {
		display: none;
	}
	.modal-body {
		padding-top: 10px;
	}
	.gamelist-container {
		width: calc(100% + 10px);
		margin: 0 -5px -20px;
	}
	.game-btn {
		width: calc(33.33% - 10px);
		margin: 0 5px 10px;
	}
	.game-btn .g-panel .g-footer {
		height: 30px;
	}
	.game-btn .g-panel .g-footer .name-text {
		font-size: 11px;
	}
	.game-btn .g-panel .play-btn {
		top: 5px;
		left: 5px;
	}
	.game-btn .g-panel .play-btn .icon {
		width: 30px;
		height: 30px;
	}
}

@media(max-width:500px)	{
	.logo {
		width: 25%;
		margin-top: 1%;
	}
	.carousel-indicators li {
		width: 20px;
		height: 4px;
		margin: 0 2px;
	}
	.carousel-indicators li.active {
		width: 30px;
		height: 4px;
	}
	.banner-section {
		max-height: 40vh;
		max-height: 40dvh;/* safari */
		min-height: 200px;
	}
	.banner-section .banner-bg {
		width: 180%;
		left: -40%;
	}
	.banner-background {
		width: 104%;
	}
	.main-menu {
		flex-wrap: wrap;
		justify-content: center; /* add */
	}
	.main-menu li {
		width: calc(100% / 4 - 5px);
	}
	.before-login .mobile button:not(.dropbtn) {
		flex-grow: 1;
		width: clamp(80px, 40%, 100%);
	}
	.before-login .dropdown.lang .dropbtn {
		min-width: unset !important;
	}
	.before-login .dropdown.lang button td > span {
		display: none;
	}
	.toggle-section {
		padding: 24px 0 0 0;
	}
	.toggle-btn .btn-panel {
		border: none;
	}
	.toggle-btn .btn-panel:after {
		display: none;
	}
	.toggle-btn .icon-panel {
		width: 64px;
		height: auto;
	}
	.toggle-btn {
		font-size: 12px;
	}
	.toggle-btn .indicator {
		font-size: 14px;
	}
	.toggle-btn .btn-effect .item-box:before,
	.toggle-btn .btn-effect .item-box .item-inner {
		height: calc(100% - 4px);
		width: calc(100% - 4px);
	}
	.board-panel img.icon {
		width:100%
	}
	.page-content {
		padding: 0;
	}
	.game-provider {
		margin: 20px 0 0;
	}
	.sc-btn {
		width: calc(50% - 12px);
		margin: 7px 6px;
		padding: 2px;
		box-shadow: 0 2px 5px rgba(0, 0, 0, 1);
	}
	.sc-btn .g-panel {
		padding: 6px 6px 8px;
	}
	.sc-btn .play-btn {
		width: 80px;
		height: 30px;
		font-size: 12px;
	}
	.board-panel .header .icon-panel img {
		max-width: 70px;
	}
	.board-panel:last-child .header .icon-panel img {
		max-width: 60px;
	}
	.board-panel .header .title-panel .title {
		font-size: 18px;
	}
	.board-section .board-panel .content table td a {
		max-width: 200px;
		font-size: 12px;
	}
	.board-panel table tr td{
		font-size: 12px;
		padding-right: 0;
	}
	.board-panel table tr td.date-td{
		font-size: 11px;
		line-height: 1;
		padding: 0;
	}
	.realtime-board .rb-panel .rb-cont {
		padding: 5px 8px;
	}
	.rolling-realtime ul li div {
		font-size: 12px;
	}
	.rolling-realtime ul li div.amount {
		font-size: 14px;
		padding: 0;
	}
	.rolling-realtime ul li .crown-icon {
		width: 30px;
	}
	.footer-section {
		padding: 25px 0 35px;
	}
	.footer-section .provider-logo {
		padding: 0 0 20px;
	}
	.footer-section .copyright {
		padding: 15px 0 0;
	}

	.modal-banner {
		height: auto;
	}
	.modal-banner .modal-logo {
		width: 100px;
		margin: 0 0 5px;
	}
	.modal-title .modal-icon {
		width: 60px;
		height: 65px;
		font-size: 20px
	}
	.modal-title .modal-icon img {
		max-width: 38px;
	}
	.modal-title .title-panel {
		margin: 0;
		flex-direction: row;
		flex-wrap: nowrap;
	}
	.modal-title .title { font-size: 16px; word-break: keep-all; line-height: 1;}
	.modal-title .sub {
		font-size: 10px;
		text-align: left;
		letter-spacing: 1px;
		line-height: 1;
		vertical-align: middle;
		margin-top: 2px;
	}
	.modal-head-panel {
		padding: 0 32px 0 24px;
	}
	.modal-menu {
		margin: 0 auto;
		padding: 0;
	}
	.modal-menu li a {
		font-size: 12px;
	}
	.modal-menu li a .icon-panel {
		width: 30px;
		height: 22px;
	}
	.modal-body {
		padding: 10px 10px 40px;
	}
	.bs-table tr td a {
		max-width: 100%;
	}
	.bs-table tr .count-td {
		width: auto;
		padding-left: 6px;
	}
	.bs-table tr .date-td {
		width: auto;
		font-size: 12px;
		padding-right: 10px;
	}
	.bs-table tr .nav-td {
		width: auto;
		padding: 0 4px;
	}
	.new-icon {
		margin-left: 2px;
	}
	.bs-table tr .count-tag {
		width: 20px;
		height: 20px;
		margin: 0 0 0 5px;
	}
	.bs-table td .level-txt {
		width: 100%;
		text-align: center;
	}
	.form-container .form-group {
		margin: 0 0 15px;
	}
	.form-container .form-footer {
		margin: 24px auto 0;
	}
	.form-container .form-footer button {
		height: 38px;
		margin: 0 4px;
		word-break: keep-all;
		font-size: 90%;
		font-weight: bold;
		letter-spacing: -1px;
	}
	.form-container .form-group .infos .btn-grp {
		display: flex;
		flex-wrap: wrap;
		gap: 4px;
	}
	.form-container .form-group .infos .btn-grp button:first-child,
	.form-container .form-group .infos .btn-grp button:last-child {
		width: auto;
		margin: unset;
	}
	.form-container .form-group .infos .btn-grp button {
		width: calc(100% / 3 - 3px) !important;
		margin: 0;
		float: unset;
		border-radius: 4px;
	}

	.search-m	{
		display: flex;
		flex-direction: row;
		flex-wrap: nowrap;
		align-items: center;
		justify-content: space-between;
		width: 100%;
	}
	.search-m .searchbox {
		margin: 0;
		max-width: 56vw;
	}
	.search-pc	{	display: none;}
}


@media(max-width:414px)	{ 
	.sidebar .al-inner {
		flex-wrap:wrap;
		gap: 8px;
	}
	.sidebar .al-cont{
		width: calc(100% / 2 - 8px);
		height: fit-content;
		margin: 0;
		padding: 5px 10px;
	}
	.sidebar .al-cont:nth-child(1) {	order: 1;}
	.sidebar .al-cont:nth-child(2) {	order: 3;}
	.sidebar .al-cont:nth-child(3) {	order: 5;}
	.sidebar .al-cont:nth-child(4) {	order: 2;}
	.sidebar .al-cont:nth-child(5) {	order: 4;}
	.sidebar .al-cont:nth-child(6) {	order: 6;}
	.sidebar .al-cont .labels {
		top: 0;
		bottom: 0;
		left: 5px;
		margin: auto 0;
	}
	.sidebar .btn-group{
		padding:0;
		background-color:transparent;
		background-image: none;
		border:none;
	}
	.sidebar .btn-group button{
		width: calc(50% - 8px);
		height: 30px;
		font-size: 12px;
		margin: 0 4px;
	}
	.sc-btn .g-info .g-name {
		font-size: 12px;
	}
}

