body {
	font-family: MicrosoftYaHei-Bold;
	margin: 0;
	padding: 0;
	/* background: #fff !important; */
}

:root {
	--theme-color: transparent;
	/* 主要颜色 */

}

#search-input::placeholder {
	color: #E8A592;
}

/* input:-internal-autofill-selected{
	background-color: transparent!important;
} */
.top_layout,
.search_container {
	height: 18vw;
	background-color: var(--theme-color);
	display: flex;
	justify-content: center;
	align-items: center;

}

.search_layout {
	width: 100vw;
}

.search_input_layout {
	display: flex;
	flex-direction: row;
	align-items: center;
	background: #FBE3DA;
	width: 85vw;
	height: 10vw;
	-webkit-border-radius: 15px;
	-moz-border-radius: 15px;
	border-radius: 18px;
	overflow: hidden;
	margin: 0 4vw;

}

.search_input_layout input {
	display: flex;
	height: 100%;
	width: 100%;
	font-size: 13px;
	color: #fff;
	padding-left: 20px;
	border-width: 0;
	outline: none;
	background: none;
}

/* 设置 placeholder 的颜色 */
.search_input_layout input::placeholder {
	color: #BBBABA;
	/* 提示字颜色 */
	opacity: 1;
	/* 确保提示字的透明度 */
}

.search_input_layout a {
	display: flex;
	justify-content: center;
	align-items: center;
}

.search_btn>img {
	width: 4vw;
	height: 4vw;
	margin: 0 12px;
}

.menu_icon {
	width: 7vw;
	height: 6vw;
}

.menu_icon img {
	width: 100%;
	height: 100%;
}

.top_layout .game_title {
	width: 76vw;
	text-align: center;
	font-size: 20px;
	color: white;
	font-weight: bold;
}

.top_layout .search_icon {
	width: 10vw;
	height: 10vw;
}

.top_layout .search_icon img {
	width: 100%;
	height: 100%;
}

.menu_layout {
	position: fixed;
	top: 0;
	left: 0;
	height: 100vh;
	width: 100vw;
	background-color: rgba(0, 0, 0, .58);
	z-index: 10000
}

.menu_container {
	width: 44vw;
	height: 100%;
	background: #fff;
	display: flex;
	flex-direction: column;
}

.ui-sidepanel-content-catelist-item1 {
	height: 1.44rem;
	line-height: 1.44rem;
	margin-bottom: 1.3rem;
	font-size: 1.32rem;
	font-weight: 400;
	color: #000
}

.item_title {
	height: 10vw;
	display: flex;
	align-items: center;
	padding: 0 1vw;
}

.item_title img {
	width: 9vw;
	height: 9vw;
}

.item_title h4 {
	width: 80vw;
	font-family: MicrosoftYaHei-Bold;
	font-weight: bold;
	font-size: 14px;
	padding-left: 5px;
}

.item_title a {
	width: 9vw;
	height: 9vw;
}

.table_container {
	display: flex;
	text-align: center;
	/* 标题居中 */
	padding: 0 2vw;
}


.small-images {
	display: grid;
	/* 使用网格布局 */
	grid-template-columns: repeat(2, 1fr);
	/* 两列布局 */
	column-gap: 2vw;
	/* 小图之间的间距 */
}

.small-images a {
	display: flex;
	flex-direction: column;
	/* 使小图和标题垂直排列 */
	text-align: center;
	/* 标题居中 */
}

.small-images img {
	width: 100% !important;
	/* 小图宽度占满容器 */
	height: 100% !important;
	/* 固定高度 */
	object-fit: fill;
	/* 保持图像比例，裁剪超出部分 */
	border-radius: 10px;
	/* 添加圆角 */
}

.list_layout {
	border-top-left-radius:20px;
	border-top-right-radius: 20px;
	background-color: #2F2C47;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 4vw;
	margin-top: -65px;
	padding: 3vw;
	padding-top: 92px;
	box-sizing: border-box;
}

.list_layout a {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
}

.list_layout a .game_img_block {
	width: 28vw;
	height: 28vw;
}

.list_layout a .game_img_block img {
	width: 28vw;
	height: 28vw;
	border-radius: 15px;
	/* box-shadow: 0 3px 4px #adadad; */
}

.title {
	margin-top: 10px;
	/* margin: 5px 0; */
	/* 标题与图片的间距 */
	max-width: 28vw;
	text-align: center;
	font-size: 14px;
	color: #5AA5F1;
	white-space: nowrap;
	/* 不换行 */
	overflow: hidden;
	/* 超出部分隐藏 */
	text-overflow: ellipsis;
	/* 超出部分显示省略号 */
}

.top_layout {
	height: 14vw;
	background-color: var(--theme-color);
	display: flex;
	justify-content: center;
	align-items: center;
	/* padding: 0 1rem; */
}

.top_layout .icon_back {
	width: 4vw;
	height: 6vw;
	position: absolute;
	left: 5vw;
}

.top_layout .game_title {
	font-size: 20px;
	color: white;
	font-weight: bold;
}

.rec_layout {
	/* background: #fff; */
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
	margin-top: 2vw;
}

.game_info {
	position: relative;
	width: 100%;
	background-color: transparent;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 5vw 0;
}


.detail_img {
	position: relative;
	width: 50vw;
	height: 50vw;
	object-fit: cover;
	border-radius: 10px;
}

.star_row {
	display: flex;
	flex-direction: row;
	width: 50vw;
	justify-content: space-between;
	align-items: flex-end;
	margin: 10px 0;
}

.rate_col,
.play_col {
	position: relative;
	/* height: 12vw; */
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	/* background: rgba(26, 115, 232, 0.3);
	border-radius: 0.625rem;
	padding: 5px 4px; */
	/* margin-bottom: 1.25rem; */
}

.star_row img {
	width: 6vw;
	height: 6vw;
}

.star_row p {
	font-size: 14px;
	line-height: 8px;
	font-weight: bold;
	margin-top: 5px;
	color: #333;
}

.play_count {
	/* color: #81D72E !important;
	-webkit-text-stroke: 0.03rem #000;
	text-stroke: 1px #000; */
}

.play_btn {
	width: 40vw;
	height: 10vw;
	text-align: center;
	background-color: #5AA5DE;
	border-radius: 20vw;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
	font-size: 18px;
	font-weight: 500;
	color: #fff;
	display: flex;
	justify-content: center;
	align-items: center;
}

.play_button img {
	width: 8vw;
	height: 8vw;
	margin-right: 5px;
}

.desc_layout {
	padding: 4vw;
	margin-top: 10px;
}

.desc_layout p {
	font-size: 12px;
	line-height: 18px;
	margin-top: 10px;
	color: #333;
}

#desc_info {
	scrollbar-width: none;
	/* Firefox */
	-ms-overflow-style: none;
	/* IE/Edge */
}

#desc_info::-webkit-scrollbar {
	display: none;
	/* 隐藏滚动条 */
}

.other_layout {
	padding: 4vw;
}

.list_item {
	width: 100%;
	height: 20vw;
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	margin-top: 10px;
	border-radius: 15px;
	background-color: #2F2C46;
	padding-right: 2vw;
}

.game_img_block {
	width: 20vw;
	height: 20vw;
}

.game_img_block img {
	width: 20vw;
	height: 20vw;
	border-radius: 15px;
}

.item_text {
	flex: 1;
	margin-left: 20px;
}

.item_name {
	font-weight: 400;
	color: #5AA5DE;
	line-height: 15px;
	font-size: 12px;
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap;
}

.item_count {
	font-size: 10px;
	line-height: 15px;
	font-family: PingFangSC-Regular, PingFang SC;
	font-weight: 400;
	color: #ff9c60;
	margin-top: 15px;
}

.btn_play {
	width: 15vw;
	height: 6vw;
	line-height: 6vw;
	text-align: center;
	background:#59AAF8;
	border-radius: 10px;
	font-size: 16px;
	color: #fff;
	font-weight: 500;
}

.search_list {
	height: 100%;
	display: flex;
	align-items: center;
	padding: 10px 20px;
	flex-direction: column;
	background-color: #2F2C46;
	border-top-left-radius: 20px;
	border-top-right-radius: 20px;
}


.cate_list {
	display: flex;
	flex-direction: column;
	padding: 1.5rem;
}

.cate_list a {
	height: 1.5rem;
	line-height: 1.5rem;
	margin-bottom: 1.5rem;
	font-size: 18px;
	font-weight: 400;
	color: #333;
	position: relative;
}

.cate_list a:not(:first-child)::after {
	content: "";
	display: block;
	position: absolute;
	top: 50%;
	right: -12px;
	transform: translateY(-50%);
	width: 20px;
	height: 20px;
	background-image: url(../images/right.png);
	background-repeat: no-repeat;
	background-size: cover;
}

.container {
	max-width: 800px;
	margin: 100px auto;
}

.tags {
	display: flex;
	justify-content: space-around;
	/* 标签均匀分布 */
	margin-bottom: 20px;
}

.tag {
	padding: 10px 20px;
	border: none;
	background-color: #3498db;
	/* 标签背景色 */
	color: white;
	/* 标签文字颜色 */
	cursor: pointer;
	border-radius: 5px;
	/* 标签圆角 */
	transition: background-color 0.3s;
}

.tag:hover {
	background-color: #2980b9;
	/* 悬停时的背景色 */
}

.list {
	display: flex;
	flex-wrap: wrap;
	/* 允许换行 */
}

.list-item {
	flex: 1 1 calc(33.33% - 20px);
	/* 三列布局，减去间距 */
	margin: 10px;
	/* 列表项之间的间距 */
	padding: 20px;
	background-color: #f0f0f0;
	/* 列表项背景色 */
	border-radius: 5px;
	/* 列表项圆角 */
	display: flex;
	align-items: center;
	justify-content: center;
	/* 内容居中 */
}

.category_layout {
	width: 100%;
	/* background-color: white; */
}

.cate_container {
	display: flex;
	align-items: center;
	overflow-x: auto;
	scrollbar-width: none;
	/* 	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr)); */
	padding:0 0.75rem 0.6rem;
	gap: 0.75rem;
	padding-right: 34px;
}

.cate_expend {
	position: relative;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	padding: 0.75rem 1.25rem;
	gap: 0.75rem;
	padding-right: 34px;
}

.cate_expend .cate_more {
	box-shadow: none;
}

/* 隐藏 Chrome/Safari 中的滚动条 */
.cate_container::-webkit-scrollbar {
	display: none;
	/* 隐藏滚动条 */
}

.cate_expend::-webkit-scrollbar {
	display: none;
	/* 隐藏滚动条 */
}

.cate_btn {
	border: none;
	/* 去除边框 */
	font-size: 15px;
	line-height: 1.25rem;
	white-space: nowrap;
	transition: all 0.3s ease;
	padding: 0.375rem .85rem;
	border-radius: 20px;
	color: #FFD8E5;
	font-weight: bold;
}

.cate_more {
	display: flex;
	align-items: center;
	justify-content: center;
	position: fixed;
	right: -1px;
	z-index: 10;
	padding: 0 10px;
	/* width: 35px; */
	height: 55px;
	text-align: center;
	background-color: #fff;
	box-sizing: border-box;
	box-shadow: -10px 0 10px -5px rgba(225, 225, 225, 0.6);
}

.up-triangle {
	width: 0;
	height: 0;
	border-left: 6px solid transparent;
	border-right: 6px solid transparent;
	border-top: 9px solid #d4d4d4;
	/* 三角形颜色 */
}

.bg-gray-100 {
	/* background-color: rgb(235, 235, 235); */
	background-color: transparent;
}

.bg-primary {
	/* background-color: var(--theme-color); */
	background-color: transparent;
}

.text-white {
	color: #fff;
	font-weight: bold;
	font-size: 16px;
	background-color: #5CA9F1;
}


.carousel {
	position: relative;
	width: 94vw;
	/* 设置轮播图最大宽度 */
	max-width: 94vw;
	margin: auto;
	/* 居中 */
	overflow: hidden;
	/* 隐藏溢出的部分 */
	margin-top: 2vw;
}

.carousel-images {
	display: flex;
	/* 使用 flexbox 布局 */
	transition: transform 0.5s ease;
	/* 添加过渡效果 */
}

.carousel-images img {
	/* width: 100%; */
	width: 94vw;
	/* 图片宽度 */
	height: 50vw;
	/* 图片高度 */
	border-radius: 18px;
}
.indicator {
	width: 15px;
	/* 点的宽度 */
	height: 15px;
	/* 点的高度 */
	margin: 0 10px;
	/* 点之间的间距 */
	background-color: #F1F1EF;
	/* 默认点颜色 */
	border-radius: 50%;
	/* 圆形 */
	cursor: pointer;
	/* 鼠标指针样式 */
}

.cate_list_result {
	display: flex;
	flex-direction: column;
	padding: 10px;
}

.indicator.active {
	background-color: #5AA5F1;
	/* 当前点的颜色 */
}
/* 全局样式 */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f9;
    color: #333;
}

/* 头部样式 */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: #E11515;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.search-container {
    display: flex;
    align-items: center;
}

#search-input {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px 0 0 4px;
    font-size: 1rem;
}

#search-btn {
    padding: 0.5rem 1rem;
    border: none;
    background-color: #fff;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

.menu-icon {
    cursor: pointer;
}

/* 分类导航样式 */
.category-nav {
    background-color: #fff;
    padding: 1rem 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.category-buttons {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
}

.category-btn {
    padding: 0.5rem 1rem;
    border: none;
    background-color: #f0f0f0;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.category-btn.active {
    background-color: #E11515;
    color: #fff;
}


.carousel-images {
    display: flex;
    transition: transform 0.5s ease;
}


.indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
}

.indicator.active {
    background-color: #fff;
}

/* 游戏列表样式 */
.game-main {
    padding: 2rem;
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.game-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.game-card:hover {
    transform: translateY(-5px);
}

.game-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.game-card h3 {
    margin: 1rem;
    font-size: 1.2rem;
}

.game-card p {
    margin: 0 1rem 1rem;
    font-size: 0.9rem;
    color: #666;
}

/* 页脚样式 */
.main-footer {
    text-align: center;
    padding: 1rem;
    background-color: #fff;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
}