:root {
	--primary-color: #2c3e50;
	--secondary-color: #46cfa7;
	--accent-color: #3498db;
	--bg-color: #f9fafc;
	--card-bg: #ffffff;
	--shadow-color: rgba(44, 62, 80, 0.05);
	--text-gray: #7f8c8d;
	--primary: #46cfa7;
	--secondary: #4A6FA5;
	--accent: #46cfa7;
	--light: #fff;
	--dark: #3A3A3A;
}



/* 全局样式重置，确保所有浏览器初始样式一致 */
* {
	padding: 0;
	margin: 0;
	list-style-type: none;
	/* 使用通用的字体族，提高兼容性 */
	font-family: "Microsoft YaHei", Arial, sans-serif;
	box-sizing: border-box;
}

body {
	background-image: url("../image/background.svg");
	background-size: 100% 100%;
	background-repeat: no-repeat;
	background-attachment: fixed;
}

/* Flexbox 布局类，提供居中对齐 */
.flex {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
}

/* 允许 Flex 项目换行 */
.flex-warp {
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
}

/* 主框架容器，适应视口宽度 */
#frame {
	width: calc(100vw - 0.7vw);
	height: auto;
	overflow: hidden;
	margin: 0 auto;
}

/* 头部区域，固定高度并设置相对定位 */
header {
	width: 100%;
	height: 50px;
	position: fixed;
	z-index: 9999;
	overflow: hidden;
	left: 0;
	right: 0;
	background-color: #323232;
	-webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
	-moz-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.blurs {
	-webkit-backdrop-filter: blur(30px);
	-moz-backdrop-filter: blur(30px);
	-ms-backdrop-filter: blur(30px);
	backdrop-filter: blur(30px);
}

img {
	object-fit: cover;
}

/* logo图片，左浮动并设置高度 */
img[alt="logo"] {
	float: left;
	height: 100%;
	width: auto;
	margin: 0px 20px;
}

/* 去除链接下划线 */
a {
	text-decoration: none;
	cursor: pointer;
}

/* 导航栏，左浮动并设置宽度 */
header nav {
	width: 720px;
	height: 100%;
	float: left;
	background-image: url("../image/zhifeiji.gif");
	background-size: 190% auto;
	background-repeat: no-repeat;
	background-position: -28vw -0.8vw;
}

/* 菜单列表，设置相对定位 */
#menu {
	width: auto;
	height: 100%;
	position: relative;
}

/* 菜单项，左浮动并设置宽度和高度 */
#menu li {
	float: left;
	width: 80px;
	height: 100%;
	text-align: center;
	line-height: 50px;
	font-weight: bold;
	position: relative;
	/* background-color: #000; */
}

/* 菜单项下划线效果，初始隐藏 */
#menu li::before {
	content: '';
	width: 80px;
	height: 3px;
	background-color: #1fdbcf;
	position: absolute;
	bottom: -3px;
	left: 0;
	border-radius: 20px 20px 0 0;
	-webkit-transition: bottom 0.3s ease;
	transition: bottom 0.3s ease;
}

/* 菜单项悬停时显示下划线 */
#menu li:hover::before {
	bottom: 0;
}

/* 菜单项链接和登录区域链接颜色 */
#menu li a,
#login-right a {
	color: #fff;
}

/* 菜单项链接块级显示 */
#menu li a {
	display: block;
	width: 100%;
	height: 100%;
}

/* 菜单项和登录区域链接悬停颜色 */
#menu li:hover a,
#login-right span:hover a {
	color: #51f0c1;
}

/* 登录区域，右浮动并设置宽度 */
#login {
	width: auto;
	float: right;
	height: 100%;
	overflow: hidden;
	margin-right: 30px;
}

/* 图标区域，左浮动并设置宽度 */
#icon {
	width: auto;
	height: 100%;
	overflow: hidden;
	float: left;
	margin-left: 10px;
}

/* 头部图标样式 */
header .icon {
	height: 30px;
	aspect-ratio: 1/1;
	vertical-align: -0.15em;
	fill: currentColor;
	overflow: hidden;
	margin-top: 10px;
}

/* 头部图标悬停时显示手型光标 */
header .icon:hover {
	cursor: pointer;
}

/* 最后一个头部图标样式 */
header .icon:last-of-type {
	height: 20px;
	vertical-align: 0.1em;
	margin-left: 10px;
}

/* 登录区域右侧文字样式 */
#login-right {
	float: left;
	width: auto;
	height: auto;
	overflow: hidden;
	line-height: 50px;
	margin-left: 20px;
	font-weight: bold;
	color: #fff;
}

/* 选中文本样式 */
::selection {
	background-color: rgba(211, 247, 91, 0.2);
	color: #46cfa7;
}

/* 兼容 Firefox 浏览器选中文本样式 */
::-moz-selection {
	background-color: rgba(211, 247, 91, 0.2);
	color: #46cfa7;
}

/* 滚动条整体样式 */
::-webkit-scrollbar {
	width: 10px;
	/* 垂直滚动条宽度 */
	height: 10px;
	/* 水平滚动条高度 */
}

/* 滚动条轨道 */
::-webkit-scrollbar-track {
	background: transparent;
	width: 0;
}

/* 滚动条滑块 */
::-webkit-scrollbar-thumb {
	background: #46cfa7;
	border-radius: 5px;
}

/* 滚动条滑块悬停状态 */
::-webkit-scrollbar-thumb:hover {
	background: #39b590;
}

/* 滚动条角落（垂直和水平滚动条交汇处） */
::-webkit-scrollbar-corner {
	background: transparent;
}

/* Firefox 浏览器滚动条样式 */
* {
	scrollbar-width: thin;
	scrollbar-color: #46cfa7 transparent;
}

/* 为了展示滚动条效果，添加一个有滚动内容的容器 */
.scrollable-container {
	height: 200px;
	overflow-y: auto;
	border: 1px solid #ccc;
	padding: 10px;
}

/* 固定按钮区域，右下角显示 */
#button {
	position: fixed;
	right: 0.2vw;
	bottom: 2em;
	width: auto;
	height: auto;
	/* background-color: #ffaaff; */
	overflow: hidden;
	z-index: 9999;
}

/* 按钮列表项，初始透明 */
#button li {
	width: auto;
	height: auto;
	background-color: #fff;
	margin: auto;
	overflow: hidden;
	opacity: 0;
	-webkit-transition: opacity 0.3s ease;
	transition: opacity 0.3s ease;
	border: 1px solid #e2e2e2;
	padding: 10px;
}

/* 显示按钮列表项 */
#button li.visible {
	opacity: 1;
}

/* 按钮列表项悬停时显示手型光标和背景颜色 */
#button li:hover {
	cursor: pointer;
	background-color: #07ae72;
}

/* 按钮图标样式 */
#button li svg.icon {
	width: 2em;
	height: 2em;
	vertical-align: -0.15em;
	fill: currentColor;
	overflow: hidden;
	color: #b8b8b8;
}

footer {
	border-top: 5px solid #37c063;
	width: 100%;
	background-color: #242424;
	color: #909090;
	font-size: 14px;
	line-height: 1.6;
}

#footer-top {
	background-color: #323232;
	padding: 2em 0;
}

#footer-bottom {
	background-color: #242424;
	padding: 2em 0 1em;
}

#about {
	width: 90%;
	max-width: 1200px;
	margin: auto;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

#about-left {
	width: 60%;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

#about-left ul {
	width: 30%;
	margin-bottom: 1em;
	text-align: left;
}

#about-left h4 {
	color: #c0c0c0;
	border-left: 4px solid #31b85c;
	padding-left: 0.5em;
	margin-bottom: 0.5em;
}

#about-left ul li {
	margin: auto;
}

#about-left ul a {
	display: block;
	color: #909090;
	text-decoration: none;
	transition: color 0.3s ease;
	text-indent: 10px;
}

#about-left ul a:hover {
	color: #46cfa7;
}

#about-right {
	width: 35%;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	text-align: center;
}

#about-right ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 0.5em;
	width: 100%;
}

#about-right ul li {
	width: 30%;
}

#about-right ul li img {
	width: 100%;
	border-radius: 4px;
	object-fit: cover;
}

#about-right .wx-c {
	width: 30%;
	font-size: 0.85em;
	margin-top: 0.5em;
	color: #909090;
}

#footer-bottom-1,
#footer-bottom-2 {
	width: 90%;
	max-width: 1200px;
	margin: auto;
	text-align: center;
}

#footer-bottom-1 {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 1.5em;
}

#footer-bottom-1 img {
	height: 60px;
	object-fit: contain;
}

#copyright {
	flex: 1 1 300px;
}

#footer-bottom-2 {
	margin-top: 1em;
}

footer a {
	color: #909090;
	text-decoration: none;
	transition: color 0.3s ease;
}

footer a:hover {
	color: #46cfa7;
}

footer img {
	max-width: 100%;
	height: auto;
	display: inline-block;
	vertical-align: middle;
}

/* 响应式适配 */
@media (max-width: 768px) {
	#about {
		flex-direction: column;
		align-items: center;
	}

	#about-left,
	#about-right {
		width: 100%;
	}

	#about-left ul {
		width: 100%;
		text-align: center;
	}

	#about-right ul li,
	#about-right .wx-c {
		width: 30%;
		font-size: 0.75em;
	}

	#footer-bottom-1 {
		flex-direction: column;
		text-align: center;
	}

	#footer-bottom-1 img {
		height: 50px;
	}
}


/* 左侧提示框样式 */
#l-tips {
	width: auto;
	height: auto;
	padding: 0.8em 1.2em;
	position: fixed;
	left: 30px;
	bottom: 2em;
	background-color: #46cfa7;
	border-radius: 5px;
	line-height: 2em;
	cursor: pointer;
	font-weight: bold;
	color: #fff;
	z-index: 10;
}

/* 左侧提示框内文本样式 */
#l-tips span {
	display: block;
	/* height: 100%;
    aspect-ratio: 1/1; */
	margin-left: 1em;
	float: left;
	cursor: pointer;
}

/* 左侧提示框内最后一个文本样式 */
#l-tips span:last-child {
	font-size: 1.5em;
}

#tp-weather-widget .sw-container {
	right: unset;
	left: 10px;
	bottom: unset;
	top: 60px;
	z-index: 99999;
}

#cursor {
	position: fixed;
	width: 16px;
	height: 16px;
	background: #000;
	border-radius: 8px;
	opacity: 0.25;
	z-index: 10086;
	pointer-events: none;
	transition: 0.2s ease-in-out;
	transition-property: background, opacity, transform;
}

#cursor.hidden {
	opacity: 0;
}

#cursor.hover {
	opacity: 0.1;
	transform: scale(2.5);
}

#cursor.active {
	opacity: 0.5;
	transform: scale(0.5);
}

.footer {
	width: 100%;
	height: auto;
}

.retry-btn {
	padding: 8px 16px;
	background-color: #4CAF50;
	color: white;
	border: none;
	border-radius: 4px;
	cursor: pointer;
}

.retry-btn:hover {
	background-color: #45a049;
}