@font-face {
	font-family: "Jolly";
	src: url('https://www.xiaozhangyu.vip/fonts/jollyregular.woff') format('woff');
}
@font-face {
	font-family: "Jolly";
	src: url('https://www.xiaozhangyu.vip/fonts/jollybold.woff') format('woff');
	font-weight: bold;
}
@font-face {
	font-family: "Jolly";
	src: url('https://www.xiaozhangyu.vip/fonts/jollyitalic.woff') format('woff');
	font-style: italic;
}
@font-face {
	font-family: "h5p";
	src: url('https://www.xiaozhangyu.vip/h5p/h5p-php-library/fonts/h5p-core-23.woff') format('woff');
}
@font-face {
	font-family: "h5p";
	src: url('https://www.xiaozhangyu.vip/h5p/h5p-php-library/fonts/h5p-core-23.woff') format('woff');
	font-weight: bold;
}
@font-face {
	font-family: "h5p";
	src: url('https://www.xiaozhangyu.vip/h5p/h5p-php-library/fonts/h5p-core-23.woff') format('woff');
	font-style: italic;
}

.copyright {
	text-align:center;color:#CECECE;font-size:18px;margin-bottom: -20px;font-family:Jolly;
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body {
	font-family: Jolly,'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	background: linear-gradient(135deg, #1DB799, #26B88B, #2FB97C);
	color: #fff;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	padding: 15px;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	-webkit-touch-callout: none;
	-webkit-tap-highlight-color: transparent;
	touch-action: manipulation;
	overflow-x: hidden;
}

/* 修改顶部菜单样式 */
.top-navbar {
	background: rgba(255, 255, 255, 0.2);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	border-radius: 12px;
	margin-bottom: 20px;
	padding: 12px 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	overflow: visible;
	position: fixed;
	top: 15px;
	left: 15px;
	right: 15px;
	z-index: 1000;
	transition: all 0.3s ease;
}

/* 滚动时的竖排样式 */
.top-navbar.scrolled {
	flex-direction: column;
	width: auto;
	right: 15px;
	left: auto;
	padding: 10px;
	align-items: flex-end;
	gap: 5px;
}

.top-navbar.scrolled .nav-left, 
.top-navbar.scrolled .nav-right {
	flex-direction: column;
	gap: 5px;
	width: 100%;
}

.top-navbar.scrolled .nav-left a, 
.top-navbar.scrolled .nav-right a {
	justify-content: flex-end;
	padding: 8px 10px;
}

.top-navbar.scrolled .nav-left a span, 
.top-navbar.scrolled .nav-right a span {
	display: none;
}

.top-navbar.scrolled .nav-left {
	order: 2;
}

.top-navbar.scrolled .nav-right {
	order: 1;
}

.nav-left, .nav-right {
	display: flex;
	align-items: center;
	gap: 10px;
}

.nav-left a, .nav-right a {
	color: #f0f8ff;
	text-decoration: none;
	font-size: 16px;
	transition: all 0.3s;
	display: flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	padding: 8px 12px;
	border-radius: 8px;
	-webkit-tap-highlight-color: transparent;
}

.nav-left a:hover, .nav-right a:hover {
	color: #ffd700;
	background: rgba(255, 255, 255, 0.25);
	transform: translateY(-2px);
}

.nav-left a:active, .nav-right a:active {
	transform: translateY(0);
}

.nav-icon {
	font-size: 22px;
	width: 20px;
	text-align: center;
}

/* 过渡效果下拉菜单 */
.transition-dropdown {
	position: relative;
	display: inline-block;
}

.transition-dropdown-content {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	min-width: 180px;
	border-radius: 15px;
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
	z-index: 1001;
	margin-top: 8px;
	padding: 10px 0;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.3);
}

.transition-dropdown.active .transition-dropdown-content {
	display: block;
}

.transition-option {
	padding: 12px 20px;
	cursor: pointer;
	transition: all 0.3s;
	display: flex;
	align-items: center;
	gap: 10px;
	color: #333;
	-webkit-tap-highlight-color: transparent;
}

.transition-option:hover {
background-color: rgba(29, 183, 153, 0.3);
    color: #1DB799;
}

.transition-option.active {
background-color: rgba(29, 183, 153, 0.3);
    color: #1DB799;
    font-weight: bold;
}

.transition-option i {
	width: 20px;
	text-align: center;
}

/* 游戏容器样式调整 */
.game-container {
	background-color: hsl(147deg 30.77% 84.71%);
	border-radius: 12px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
	width: 100%;
	border: 1px solid rgba(255, 255, 255, 0.3);
	overflow: hidden;
	margin-top: 80px;
}

.h5p-task-description {
	font-family: 'Jolly Lodger', Arial, sans-serif;
	color: #1a73d9;
	font-size: 1.125em;
	line-height: 1.125em;
	padding: 1em;
	border-bottom: 1px solid rgba(221, 228, 234, 0.5);
	background: rgba(255, 255, 255, 0.7);
}

.images-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 20px;
	margin-bottom: 25px;
	min-height: 400px;
	padding: 20px;
	background-color: rgba(70, 180, 125, 0.2);
	border-bottom: 1px solid rgba(221, 228, 234, 0.1);
	position: relative;
}

/* 幻灯片播放器样式 */
.slideshow-container {
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

/* 优化移动设备横屏下的图片显示 */
.image-container {
	position: relative;
	width: 100%;
	min-height: 300px;
	max-height: 85vh;
	overflow: hidden;
	cursor: pointer;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 15px;
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
	background-color: #ecf0f1;
	touch-action: manipulation;
}

.slide img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	border-radius: 10px;
	transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 20px;
	border-radius: 15px;
	overflow: hidden;
	-webkit-transform: translateZ(0);
	transform: translateZ(0);
}

/* 不同的过渡效果 */
.transition-fade {
	transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.transition-slide {
	transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.5s ease;
	transform: translateX(100%);
}

.transition-zoom {
	transition: transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.8s ease;
	transform: scale(1.2);
}

.transition-flip {
	transition: transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.5s ease;
	transform: rotateY(90deg);
}

.slide.active {
	opacity: 1;
	position: relative;
	transform: translateX(0) scale(1) rotateY(0);
}

.slide img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	border-radius: 10px;
	transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* 立体播放按钮 */
.play-button {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: white;
	border: none;
	width: 95px;
	height: 95px;
	border-radius: 50%;
	font-size: 28px;
	cursor: pointer;
	transition: all 0.3s;
	z-index: 10;
	display: flex;
	justify-content: center;
	align-items: center;
	box-shadow: 
		0 10px 20px rgba(71, 180, 125, 0.1),
		inset 0 2px 0 rgba(255, 255, 255, 0.1),
		inset 0 -2px 5px rgba(0, 0, 0, 0.2);
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
	-webkit-appearance: none;
	touch-action: manipulation;
	 opacity: 0.8;
	background-image: url('https://www.xiaozhangyu.vip/demo/tpqh/css/play.png');
}

.play-button:hover {
	background: linear-gradient(145deg, #3a9c69, #47b47d);
	transform: translate(-50%, -50%) scale(1.05);
	box-shadow: 
		0 12px 25px rgba(71, 180, 125, 0.5),
		inset 0 2px 0 rgba(255, 255, 255, 0.3),
		inset 0 -2px 5px rgba(0, 0, 0, 0.2);
		background-image: url('https://www.xiaozhangyu.vip/demo/tpqh/css/play.png');
}

.play-button:active {
	transform: translate(-50%, -50%) scale(0.98);
	box-shadow: 
		0 5px 10px rgba(71, 180, 125, 0.3),
		inset 0 2px 0 rgba(255, 255, 255, 0.2),
		inset 0 -2px 5px rgba(0, 0, 0, 0.3);
		background-image: url('https://www.xiaozhangyu.vip/demo/tpqh/css/play.png');
}

/* 进度条样式 */
.progress-container {
	width: 95%;
	height: 8px;
	background-color: #ecf0f1;
	border-radius: 10px;
	position: relative;
	margin: 20px auto 10px;
	overflow: visible;
	box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.progress-bar {
	height: 100%;
	background: linear-gradient(to bottom, #47b47d, #3a9c69);
	border-radius: 10px;
	width: 0%;
	transition: width 0.1s linear;
	box-shadow: 0 2px 4px rgba(71, 180, 125, 0.3);
}

.markers {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.marker {
	width: 30px;
	height: 30px;
	cursor: pointer;
	position: absolute;
	z-index: 2;
	transition: all 0.2s;
	transform: translateX(-50%);
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	background-image: url('https://www.xiaozhangyu.vip/demo/tpqh/css/node.svg');
	touch-action: manipulation;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.marker:hover {
	width: 30px;
	height: 30px;
	transform: translateX(-50%) scale(1.2);
}

.marker.active {
	width: 30px;
	height: 30px;
	background-image: url('https://www.xiaozhangyu.vip/demo/tpqh/css/node_active.svg');
}

.controls {
	justify-content: center;
	gap: 15px;
	margin-top: 20px;
	padding: 0 1em 1em;
	flex-wrap: wrap;
}

button {
	padding: 14px 24px;
	border: none;
	border-radius: 50px;
	font-size: 18px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s;
	display: flex;
	align-items: center;
	gap: 8px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
	position: relative;
	overflow: hidden;
	font-family: 'Jolly Lodger', sans-serif;
}

button:before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
	transition: left 0.5s;
}

button:hover:before {
	left: 100%;
}

#checkBtn {
	background: linear-gradient(145deg, #47b47d, #3a9c69);
	color: white;
}

#checkBtn:hover:not(:disabled) {
	transform: translateY(-3px);
	box-shadow: 0 6px 12px rgba(26, 115, 217, 0.3);
}

#checkBtn:disabled {
	background: #95a5a6;
	cursor: not-allowed;
	transform: none;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#hintBtn {
	background: linear-gradient(145deg, #47b47d, #3a9c69);
	color: white;
}

#hintBtn:hover:not(:disabled) {
	transform: translateY(-3px);
	box-shadow: 0 6px 12px rgba(71, 180, 125, 0.3);
}

#hintBtn:disabled {
	background: #95a5a6;
	cursor: not-allowed;
	transform: none;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#resetBtn {
	background: linear-gradient(145deg, #47b47d, #3a9c69);
	color: white;
	display: none;
}

#resetBtn:hover {
	transform: translateY(-3px);
	box-shadow: 0 6px 12px rgba(230, 126, 34, 0.3);
}

#modifyBtn {
	background: linear-gradient(145deg, #47b47d, #3a9c69);
	color: white;
	display: none;
}

#modifyBtn:hover {
	transform: translateY(-3px);
	box-shadow: 0 6px 12px rgba(231, 76, 60, 0.3);
}

.message {
	text-align: center;
	margin: 15px 1em;
	padding: 12px;
	border-radius: 4px;
	font-weight: 600;
	display: none;
	font-size: 16px;
	font-family: 'Jolly Lodger', sans-serif;
}

.success {
	background-color: #d5f4e6;
	color: #27ae60;
	display: block;
	border-left: 4px solid #2ecc71;
}

.error {
	background-color: #fadbd8;
	color: #c0392b;
	display: block;
	border-left: 4px solid #e74c3c;
}

.info {
	background-color: #d6eaf8;
	color: #2874a6;
	display: block;
	border-left: 4px solid #3498db;
}

.attempts {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	font-size: 14px;
	color: #7f8c8d;
	margin-top: 10px;
	font-family: 'Jolly Lodger', sans-serif;
}

.attempts i {
	color: #1a73d9;
}

.sound-control {
	display: none;
}

/* 帮助弹窗样式 - 美化后 */
.modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.7);
	z-index: 2000;
	justify-content: center;
	align-items: center;
	backdrop-filter: blur(5px);
}

.modal-content {
	background: linear-gradient(135deg, #418577, #5ba897);
	padding: 30px;
	border-radius: 18px;
	width: 90%;
	max-width: 500px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
	position: relative;
	border: 1px solid rgba(255, 255, 255, 0.2);
	animation: modalFadeIn 0.3s ease-out;
	overflow: hidden;
	font-family: 'Jolly Lodger', sans-serif;
}

@keyframes modalFadeIn {
	from { opacity: 0; transform: scale(0.9); }
	to { opacity: 1; transform: scale(1); }
}

.modal-content h2 {
	color: #ffd700;
	margin-bottom: 15px;
	border-bottom: 2px solid rgba(255, 255, 255, 0.3);
	padding-bottom: 10px;
	text-align: center;
}

.modal-content p {
	margin-bottom: 15px;
	line-height: 1.6;
	color: #f0f8ff;
                font-size:18px;
}

.modal  img {
margin-top: 15px;
width:50%;
border-radius: 15px;
}

.modal-content ul {
	margin-left: 20px;
	margin-bottom: 20px;
	color: #f0f8ff;
}

.modal-content li {
	margin-bottom: 8px;
}

.close-help {
	position: absolute;
	top: -20px;
	right: 20px;
	font-size: 80px;
	cursor: pointer;
	color: #f0f8ff;
	transition: color 0.3s;
	font-family: "Jolly";
}

.close-help:hover {
	color: #ffd700;
}

/* 翻页按钮样式 */
.page-nav-buttons {
	position: fixed;
	bottom: 30px;
	left: 0;
	right: 0;
	display: flex;
	justify-content: space-between;
	padding: 0 30px;
	z-index: 999;
	pointer-events: none;
}

.page-nav-btn {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	color: #fff;
	cursor: pointer;
	opacity: 0.7;
	transition: all 0.3s ease;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
	pointer-events: auto;
	background: linear-gradient(145deg, #47b47d, #3a9c69);
}

.page-nav-btn:hover {
	opacity: 1;
	transform: scale(1.1);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-nav-btn a {
	color: white;
	text-decoration: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}

/* 移动端样式 */
@media (max-width: 768px) {
	.top-navbar {
		padding: 10px 15px;
	}
	
	.nav-left a span, .nav-right a span {
		display: none;
	}
	
	.nav-left a, .nav-right a {
		padding: 10px;
		width: 44px;
		height: 44px;
		justify-content: center;
	}
	
	.nav-left, .nav-right {
		gap: 10px;
	}
	
	.game-container {
		margin-top: 70px;
	}
	
	.images-container {
		gap: 15px;
		justify-content: flex-start;
		overflow-x: auto;
		padding-bottom: 10px;
	}
	
	.image-container {
		min-height: 250px;
		max-height: 80vh;
	}
	
	.play-button {
		width: 95px;
		height: 95px;
		font-size: 24px;
		opacity: 0.9;
	}
	
	.controls {
		flex-direction: row;
		align-items: center;
		flex-wrap: wrap;
	}
	
	button {
		width: auto;
		padding: 12px 16px;
		border-radius: 50px;
		font-size: 14px;
	}
	
	.page-nav-buttons {
		padding: 0 15px;
	}
	
	.page-nav-btn {
		width: 50px;
		height: 50px;
		font-size: 20px;
	}
	
	.marker {
		width: 26px;
		height: 26px;
	}

	.marker.active {
		width: 26px;
		height: 26px;
	}

	.marker:hover {
		width: 26px;
		height: 26px;
	}
}

@media (max-width: 480px) {
	a#transitionBtn, a#refreshBtn {
		display: none;	 
	}
	
	.transition-dropdown,#soundToggle {
		display: none;	 
	}
	
	.top-navbar {
		padding: 8px 10px;
	}
	
	.nav-left a, .nav-right a {
		padding: 8px;
		width: 40px;
		height: 40px;
	}
	
	.game-container {
		margin-top: 60px;
	}
	
	.image-container {
		min-height: 220px;
		max-height: 55vh;
	}
	
	.play-button {
		width: 90px;
		height: 90px;
		font-size: 20px;
		opacity: 0.9;
	}
	
	.controls {
		gap: 10px;
	}
	
	button {
		padding: 10px 12px;
		font-size: 13px;
	}
	
	.top-navbar.scrolled {
		flex-direction: column;
		width: 40px;
		right: 5px;
		left: auto;
		padding: 10px;
		align-items: flex-end;
		gap: 5px;
	}
	
	.page-nav-buttons {
		padding: 0 10px;
	}
	
	.page-nav-btn {
		width: 45px;
		height: 45px;
		font-size: 18px;
	}
	
	.marker {
		width: 22px;
		height: 22px;
	}
}

/* 游戏标题样式 */
.game-title {
	text-align: center;
	font-size: 2.5em;
	margin-bottom: 10px;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
	color: #ffd700;
}

.game-subtitle {
	text-align: center;
	font-size: 1.2em;
	margin-bottom: 20px;
	opacity: 0.9;
}

/* 音乐播放器状态指示 */
.music-playing {
	color: #ffd700 !important;
	text-shadow: 0 0 10px rgba(255, 215, 0, 0.7);
}

.music-playing i {
	animation: pulse 1.5s infinite;
}

@keyframes pulse {
	0% { transform: scale(1); }
	50% { transform: scale(1.1); }
	100% { transform: scale(1); }
}
.bianhao  {
text-align:left;color:#f0f8ff;font-size:16px;font-family:Jolly;
}
.copyright{
text-align:center;color:#3F786B;font-size:20px;margin-top: 20px;font-family:Jolly;
}

 /* 游戏容器样式 */
.game-container {
    position: relative;
    background-color: hsl(147deg 30.77% 84.71%);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    overflow: hidden;
    margin-top: 80px;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

/* 游戏区域装饰点 - 小尺寸 */
.game-container::before,
.game-container::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    border-radius: 5px 15px 5px 15px; /* 调整边框半径以适应小尺寸 */
    z-index: 1;
    opacity: 0.8;
    filter: blur(0.5px);
    animation: float 6s ease-in-out infinite;
}

/* 右上角金色装饰点 */
.game-container::before {
    top: -8px;
    right: -8px;
    background: #ffd700; /* 背景色金色 */
}

/* 左下角蓝色装饰点 */
.game-container::after {
    bottom: -8px;
    left: -8px;
    background: #ff6b6b; /* 使用主题色 */
    border-radius: 5px 15px 5px 15px; /* 与右上角对称 */
   
}

/* 浮动动画 - 调整幅度以适应小尺寸 */
@keyframes float {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-3px) scale(1.1);
    }
}

/* 移动端适配 */
@media (max-width: 768px) {
    .game-container::before,
    .game-container::after {
        width: 20px;
        height: 20px;
    }
    
    .game-container::before {
        top: -2px;
        right: -2px;
    }
    
    .game-container::after {
        bottom: -6px;
        left: -6px;
    }
}

@media (max-width: 480px) {
    .game-container::before,
    .game-container::after {
        width: 18px;
        height: 18px;
    }
    
    .game-container::before {
        top: -5px;
        right: -5px;
    }
    
    .game-container::after {
        bottom: -5px;
        left: -5px;
    }
}

/* 随机播放按钮激活状态 */
.nav-btn.active {
    background-color: rgba(255, 255, 255, 0);
    color: #3498db;
}

/* 确保速度下拉菜单正确显示 */
.transition-dropdown.active .transition-dropdown-content {
    display: block !important;
}

/* 速度下拉菜单样式 */
.speed-dropdown {
    position: relative;
    display: inline-block;
}

.speed-dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    min-width: 180px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    z-index: 1001;
    margin-top: 8px;
    padding: 10px 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.speed-dropdown.active .speed-dropdown-content {
    display: block;
}

/* 速度选项样式 */
.speed-option {
    padding: 12px 20px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #333;
    -webkit-tap-highlight-color: transparent;
}

.speed-option:hover {
    background-color: rgba(29, 183, 153, 0.3);
    color: #1DB799;
}

.speed-option.active {
    background-color: rgba(29, 183, 153, 0.3);
    color: #1DB799;
    font-weight: bold;
}

.speed-option i {
    width: 20px;
    text-align: center;
}
/* 在 style.css 中添加 */
.nav-btn {
    background: none;
    border: none;
    color: #f0f8ff;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
}

.nav-btn:hover {
    color: #ffd700;
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.nav-btn.active {
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.7);
}

/* 确保下拉菜单按钮样式一致 */
.dropdown .nav-btn {
    background: none;
    border: none;
    color: #f0f8ff;
    font-size: 16px;
}

       /* 加载动画样式 */
        .loading-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, #1DB799, #26B88B, #2FB97C);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 3000;
            flex-direction: column;
        }

        .loading-spinner {
            width: 50px;
            height: 50px;
            border: 5px solid rgba(255, 255, 255, 0.3);
            border-radius: 50%;
            border-top-color: #fff;
            animation: spin 1s ease-in-out infinite;
        }

        @keyframes spin {
            to { transform: rotate(360deg); }
        }

        .loading-text {
            color: white;
            margin-top: 20px;
            font-size: 18px;
            font-family: "Jolly";
        }

        .loading-progress {
            width: 200px;
            height: 10px;
            background: rgba(255, 255, 255, 0.3);
            border-radius: 5px;
            margin-top: 10px;
            overflow: hidden;
        }

        .loading-progress-bar {
            height: 100%;
            background: white;
            width: 0%;
            transition: width 0.5s;
            border-radius: 5px;
        }