.visual {
	position: relative;
}
.visual_box {
    position: relative;
    padding-bottom: 23.5%;
    overflow: hidden;
}
.visual_box video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tab_box {
	background: var(--sub_2);
	padding: 40px 0;
}
.tab_box .inner {
	gap: 10px;
}
.tab_box button {
	position: relative;
	width: calc(25% - 8px);
}
.tab_box button span {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	flex-direction: column;
	justify-content: end;
	height: 200px;
	background-repeat: no-repeat;
	background-position: 50% 50%;
	background-size: cover;
	padding-bottom: 20px;
	border-radius: 20px;
	z-index: 1;
	box-sizing: border-box;
}
.tab_box button span em {
	position: relative;
	font-size: 32px;
	font-weight: 900;
	background: var(--gold_strock);
	-webkit-background-clip: text;
	-webkit-text-stroke: 3px transparent;
	color: var(--black);
}
.tab_box button.active:before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    display: block;
    width: calc(100% - -2px);
    height: calc(100% - -2px);
    background: var(--gold_strock);
    border-radius: 20px;
}


.m_main_menu {
	display: none;
	padding: 20px 16px;
	background: var(--black);
	gap: 10px;
	box-sizing: border-box;
}
.m_main_menu a {
	width: calc(25% - 8px);
	padding: 14px 0;
	border-radius: 10px;
	background: var(--sub);
	font-size: 12px;
	box-sizing: border-box;
}
.m_main_menu a.btn_gold > * {
	font-weight: 800;
}

.main_game_box {
	gap: 10px;
}
.main_game_box .controls {
	display: none;
	width: 105px;
	gap: 10px;
}
.main_game_box .controls button {
	position: relative;
	width: 100%;
	max-width: 95px;
	border-radius: 10px 0 0 10px;
	background: url("../images/label_bg.svg")no-repeat 50% 50% / 100%;
	padding: 6px 8px;
	text-align: left;
	font-family: 'Paperlogy';
	font-size: 14px;
	box-sizing: border-box;
}
.main_game_box .controls button span {
	background: var(--gold_fill);
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	font-weight: 800;
	box-sizing: border-box;
}
.main_game_box .controls button.active {
	background: url("../images/label_bg_on.svg")no-repeat 50% 50% / 100%;
}
.main_game_box .controls button.active span {
    color: var(--black);
    background: transparent;
    -webkit-text-fill-color: var(--black);
}

.main_game {
	flex: 1;
	width: 100%;
}
.main_game .box {
	padding: 40px 0;
	background: var(--black);
}
.main_game .box.favorite {
	display: none;
}
.main_game .box .grid {
	gap: 10px;
}
.main_game .box .grid6 {
	width: 100%;
}
.main_game .box .grid2 > div {
	width: calc(50% - 5px);
}
.main_game .box .tit {
	position: relative;
	margin-bottom: 20px;
}
.main_game .box .tit span {
	position: relative;
    z-index: 1;
	background: var(--black);
	font-size: 24px;
	font-family: 'Paperlogy';
	font-weight: 700;
	padding-right: 20px;
	box-sizing: border-box;
}
.main_game .box .tit:after {
	content: '';
	position: absolute;
	top: 50%;
	left: 0;
	display: block;
	width: 100%;
	height: 1px;
	background: linear-gradient(180deg, #FCF6D1 0%, #BD9457 10.42%, #E3CA89 25%, #FEE8C8 69.79%, #4D3A1A 85.42%, #FCF0D1 100%);
}
.main_game .box ul {
	gap: 20px 10px;
}
.main_game .box ul li {
	position: relative;
	width: calc(20% - 8px);
	text-align: center;
}
.main_game .box .grid3 ul li .img {
	padding-bottom: 65%;
}
.main_game .box .grid6 ul li {
	width: calc(16.666% - 9px);
}
.main_game .box ul li .heart {
	position: absolute;
	top: 15px;
	right: 15px;
	display: block;
	width: 28px;
	height: 28px;
	background: url("../images/ic_heart.png")no-repeat 50% 50% / 100%;
	z-index: 1;
}
.main_game .box ul li .heart.on {
	background-image: url("../images/ic_heart_on.png");
}
.main_game .box ul li .img {
	position: relative;
	width: 100%;
	height: 0;
	padding-bottom: 100%;
	border-radius: 20px;
	overflow: hidden;
	margin-bottom: 10px;
}
.main_game .box ul li .img img {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1);
	transition: all .3s;
}
.main_game .box ul li .img:hover img {
	transform: scale(1.05);
}
.main_game .box ul li p {
	font-weight: 500;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
}



.main_community {
	background: var(--black);
	padding: 50px 0;
	box-sizing: border-box;
}
.main_community .inner {
	gap: 20px;
}
.main_community .item {
	flex: 1;
	padding: 20px;
	border-radius: 10px;
	background: var(--sub_2);
	box-sizing: border-box;
}
.main_community .tabs {
	border-bottom: 1px solid #FCF6D1;
	gap: 10px;
	margin-bottom: 10px;
}
.main_community .tabs button {
	height: 42px;
	border-radius: 10px 10px 0px 0px;
	border: 1px solid var(--strock);
	border-bottom: 0;
	background-color: var(--black);
	color: var(--strock);
	font-size: 16px;
	font-weight: 500;
	padding: 0 16px;
	text-align: center;
	box-sizing: border-box;
}
.main_community .tab_box > div ul {
	gap: 10px;
}
.main_community .tab_box > div ul li {
	color: var(--sub_text);
}
.main_community .tab_box > div ul li > div {
	gap: 15px;
}
.main_community .notice .title {
	height: 42px;
	border-bottom: 1px solid #FCF6D1;
	gap: 10px;
	margin-bottom: 10px;
}
.main_community .notice .title h4 {
	font-size: 20px;
}
.main_community .notice .title a {
	font-size: 14px;
    padding: 5px 8px;
    border-radius: 5px
}
.main_community .notice ul {
	gap: 10px;
}
.main_community .notice ul li {
	color: var(--sub_text);
	gap: 10px;
}
.main_community .notice ul li a {
	flex: 1;
	width: 100%;
	color: var(--sub_text);
	overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}
.main_community .notice ul li span {
	font-size: 14px;
}


#left_main_pop img {
	width: 100%;
}


@media screen and (max-width: 1280px) {
	.main_game .box .grid6 ul li {
		width: calc(20% - 8px);
	}

	.tab_box button span {
		height: 160px;
	}
}
@media screen and (max-width: 1024px) {
	.main_community {
		padding: 30px 0;
	}
	.main_community .item {
		flex: none;
		width: 100%;
		font-size: 14px;
		padding: 15px;
	}
	.main_community .tabs button {
		height: 36px;
		font-size: 14px;
	}
	.main_community .notice .title h4 {
		font-size: 18px;
	}
	.main_community .notice .title a {
		font-size: 12px;
	}
	.main_community .notice ul li span {
		font-size: 12px;
	}

	.main_category {
		display: none;
	}

	.tab_box {
		display: none;
	}

	.m_main_menu {
		display: flex;
	}

	.main_game_box {
		padding: 20px 16px;
		box-sizing: border-box;
	}
	.main_game_box .controls {
		display: flex;
	}
	.main_game .box {
		display: none;
		padding: 0;
		max-height: 400px;
		overflow-y: auto;
	}
	.main_game .box:nth-child(even) {
		background: var(--sub_2);
	}
	.main_game .box:first-child {
		display: block;
		background: transparent;
	}
	.main_game .box .inner {
		padding: 0;
	}
	.main_game .box .tit {
		display: none;
	}
	.main_game .box ul li {
		width: calc(33.333% - 7px);
	}
	.main_game .box .grid6 ul li {
        width: calc(33.333% - 7px);
    }
	.main_game .box ul li p {
		font-size: 14px;
	}
}
@media screen and (max-width: 768px) {
	.main_game .box ul li .heart {
		top: 10px;
		right: 10px;
		width: 20px;
		height: 20px;
	}
}
@media screen and (max-width: 480px) {
	.main_game .box ul li {
        width: calc(50% - 5px);
    }
}
@media screen and (max-width: 380px) {
}