@font-face {
	font-family: "simkai";
	/* 自定义字体名，便于调用 */
	/* 优先加载体积更小的woff2格式，不支持则 fallback 到ttf */
	src: url("simkai.woff2") format("woff2"),
		url("simkai.ttf") format("truetype");
	font-weight: normal;
	/* 常规字重，可根据需求添加bold等 */
	font-style: normal;
	/* 常规样式，可根据需求添加italic等 */
	font-display: swap;
	/* 核心优化：先显示默认字体，楷体加载完自动替换，避免空白 */
}

@font-face {
	font-family: "simsun";
	src: url("simsun.woff2") format("woff2"),
		url("simsun.ttf") format("truetype");
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "msyh";
	src: url("msyh.woff2") format("woff2"),
		url("msyh.ttf") format("truetype");
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

* {
	margin: 0;
	padding: 0;
}

html {
	width: 100%;
	height: 100%;
	max-width: 640px;
	max-height: 1236px;
	margin: 0 auto;
}

body {
	width: 100%;
	height: 100%;
}

.left {
	float: left;
}

.right {
	float: right;
}

.clear {
	clear: both;
}

.mainswiper {
	width: 100%;
	height: 100%;
}

.indexslide {
	width: 100%;
	height: 100%;
	position: relative;
	background: url(../img/bg.jpg) center no-repeat;
	background-size: cover;
	overflow-x: hidden;
	overflow-y: overlay;
}

.normalslide {
	width: 100%;
	height: 100%;
	position: relative;
	background: url(../img/bg2.jpg) center no-repeat;
	background-size: cover;
	overflow-x: hidden;
	overflow-y: overlay;
}

.loader-container {
	width: 100%;
	height: 100%;
	max-width: 640px;
	max-height: 1236px;
	background: url(../img/bg.jpg) no-repeat center;
	background-size: cover;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	/* position: fixed;
	top: 0;
	left: 0;
	z-index: 9999; */
}

/* Logo样式：居中显示，控制大小 */
.loader-logo {
	width: 200px;
	height: 100px;
	background: url(../img/logo.png) no-repeat center;
	background-size: contain;
	margin-bottom: 80px;
}

/* 进度条容器 */
.progress-container {
	width: 60%;
	height: 8px;
	background: rgba(255, 255, 255, 0.3);
	border-radius: 4px;
	overflow: hidden;
	margin-bottom: 20px;
}

/* 进度条填充 */
.progress-bar {
	width: 0%;
	height: 100%;
	background: #FFCC00;
	/* 品牌色示例 */
	border-radius: 4px;
	transition: width 0.3s ease;
}

/* 百分比文字 */
.progress-percent {
	font-size: 24px;
	color: #FFCC00;
	font-weight: 500;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* 重新加载按钮（默认隐藏） */
.reload-btn {
	position: absolute;
	bottom: 100px;
	padding: 12px 36px;
	background: #FF5722;
	color: #FFFFFF;
	border: none;
	border-radius: 30px;
	font-size: 20px;
	cursor: pointer;
	display: none;
}

.index-logo {
	display: block;
	width: 50%;
	height: auto;
	margin: 2% 0 0 2%;
}

.yxphoto {
	display: block;
	margin: 6% auto;
	width: 50%;
}

.btncontainer {
	position: relative;
	height: 50%;
}

.btncontainer img {
	display: block;
	position: absolute;
	height: 14%;
	width: auto;
}

.btn_zjsp {
	top: 7%;
	left: 13%;
}

.btn_yxgs {
	top: 12%;
	right: 7%;
}

.btn_xh {
	top: 28%;
	left: 31%;
}

.btn_ry {
	top: 46%;
	left: 7%;
}

.btn_lyb {
	top: 55%;
	right: 3%;
}

.pgtitle {
	display: block;
	height: 3.6%;
	width: auto;
	margin: 4% 0 0 4%;
}

.zjsp {
	width: 100%;
	height: auto;
	margin-top: 4%;
}

.zjc_container {
	margin-top: 4%;
	padding: 0 5%;
}

.zjc_title {
	text-align: center;
	font-size: 22px;
	font-weight: bold;
	margin-bottom: 10px;
}

.zjc_song {
	font-family: 'simsun';
}

.zjc_kai {
	font-family: 'simkai';
}

p.zjc_content {
	text-indent: 2em;
	line-height: 22px;
	font-family: 'simkai';
	font-size: 16px;
}

.btn_back {
	display: block;
	margin: 5% auto 0;
	height: 7%;
	width: auto;
}

.tx_container {
	box-sizing: border-box;
	width: 100%;
	max-height: 70%;
	padding: 0 5%;
	margin-top: 5%;
	overflow-x: unset;
	overflow-y: overlay;
}

h1.tx_title {
	text-align: center;
	font-size: 24px;
	font-family: 'msyh';
	font-weight: bold;
}

h2.tx_subtitle {
	text-align: center;
	font-size: 16px;
	font-family: 'msyh';
	margin-top: 3%;
	margin-bottom: 5%;
	font-weight: bold;
}

h4.tx_lttitle {
	text-align: center;
	font-size: 18px;
	font-family: 'msyh';
	margin: 5% 0;
	font-weight: bold
}

p.tx_content {
	text-indent: 2em;
	line-height: 24px;
	font-family: 'simkai';
	font-size: 18px;
}

.tx_tips {
	margin-top: 10px;
	text-align: center;
	font-size: 14px;
	color: #555;
}

.flower {
	display: block;
	width: 55%;
	height: auto;
	margin: 5% auto 0;
}

.yxphoto2 {
	display: block;
	margin: 6% auto;
	width: 50%;
}

.shrinkAndFade {
	/* 兼容各浏览器的动画声明 */
	-webkit-animation: shrinkAndFade 1s ease forwards;
	/* Chrome/Safari/Opera 旧版 */
	animation: shrinkAndFade 1s ease forwards;
}

@-webkit-keyframes shrinkAndFade {
	from {
		-webkit-transform: scale(1);
		/* 带前缀的transform */
		opacity: 1;
	}

	to {
		-webkit-transform: scale(0);
		opacity: 0;
	}
}

@keyframes shrinkAndFade {
	from {
		transform: scale(1);
		/* 原始大小 */
		opacity: 1;
		/* 完全不透明 */
	}

	to {
		transform: scale(0.5);
		/* 缩小到50% */
		opacity: 0;
		/* 完全透明 */
	}
}

.flywords_container {
	position: absolute;
	width: 150%;
	height: 33%;
	top: 6%;
	left: -25%;
	opacity: 0;
}

.FadeIn {
	-webkit-animation: FadeIn 1s ease forwards;
	animation: FadeIn 1s ease forwards;
}

@-webkit-keyframes FadeIn {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

@keyframes FadeIn {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

.FadeOut {
	-webkit-animation: FadeOut 1s ease forwards;
	animation: FadeOut 1s ease forwards;
}

@-webkit-keyframes FadeOut {
	from {
		opacity: 1;
	}

	to {
		opacity: 0;
	}
}

@keyframes FadeOut {
	from {
		opacity: 1;
	}

	to {
		opacity: 0;
	}
}

.FadeOutToNone {
	-webkit-animation: FadeOutToNone 1.5s ease-in forwards;
	animation: FadeOutToNone 1.5s ease-in forwards;
}

@-webkit-keyframes FadeOutToNone {
	0% {
		opacity: 1;
	}

	50% {
		opacity: 0;
	}

	100% {
		opacity: 0;
		width: 0;
		height: 0;
	}
}

@keyframes FadeOutToNone {
	0% {
		opacity: 1;
	}

	50% {
		opacity: 0;
	}

	100% {
		opacity: 0;
		width: 0;
		height: 0;
	}
}

:root {
	--init-x: 0;
	--init-y: 0;
	--dest-x: 0;
	--dest-y: 0;
	--dest-z: 0;
}

.lingo {
	position: absolute;
	color: #000;
	transform: translateZ(0);
	-webkit-animation: flythrough 5s forwards ease-in;
	transform-origin: center;
}

@-webkit-keyframes flythrough {
	0% {
		opacity: 0;
		transform: perspective(0px) translate3d(var(--init-x), var(--init-y), 0px);
	}

	50% {
		opacity: 0.7;
	}

	100% {
		opacity: 0;
		transform: perspective(500px) translate3d(var(--dest-x), var(--dest-y), var(--dest-z));
	}
}

.flower_people {
	text-align: center;
	font-family: 'simkai';
	margin: 5% 0;
	font-size: 18px;
	opacity: 0;
}

.btn_area {
	position: relative;
	margin: 10% auto 0;
	height: 7%;
	width: auto;
}

.btn_area img {
	position: absolute !important;
	/* 相对于 .btn_area 定位 */
	height: 100% !important;
	top: 50%;
	/* 垂直方向居中 */
	left: 50%;
	/* 水平方向居中 */
	transform: translate(-50%, -50%);
	/* 精准居中（抵消自身宽高的一半） */
	/* 可选：设置图片最大宽高，避免溢出容器 */
	margin: 0 !important;
}

.btn_back_fade {
	opacity: 0;
	animation-delay: 2s;
}

.btn_flower {
	z-index: 999;
}

.ry_container {
	width: 100%;
	height: 95%;
	margin-top: 5%;
}
.ry_video {
	display: block;
	width: 95%;
	margin: 0 auto;
}
.rotate_container{
	width: 95%;
	aspect-ratio: 9/16;
	margin: 0 auto;
	position: relative;
}
.rotate_container .ry_video{
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) rotate(90deg);
	transform-origin: center; /* 以中心旋转 */
	width: auto;
	object-fit: cover;
}
.ry_container .btn_back {
	height: 7vh;
}

@keyframes moveUp {
	from {
		transform: translateY(0);
	}

	to {
		transform: translateY(-8%);
	}
}

.moveUp {
	animation: moveUp 1s ease-out forwards;
}

/* 留言列表样式 */
.message-list {
	margin-top: 5%;
	height: 80%;
	overflow-y: overlay;
	box-sizing: border-box;
	padding: 0 3%;
}

.message-item {
	padding: 20px;
	border: 1px solid #8d0000;
	border-radius: 8px;
	margin-bottom: 15px;
}

.message-header {
	display: flex;
	justify-content: space-between;
	color: #666;
	margin-bottom: 10px;
}

.message-name {
	font-weight: bold;
	color: #333;
}

.message-content {
	line-height: 1.6;
	color: #333;
}

/* 加载更多提示 */
.load-tip {
	position: absolute;
	top: 40%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
	padding: 20px;
	color: #555;
	background-color: rgba(255, 255, 255, 0.8);
	border-radius: 10px;
	display: none;
}

/* 留言按钮（固定底部） */
.add-btn {
	position: absolute;
	bottom: 30px;
	right: 30px;
	padding: 12px 24px;
	background: #4285f4;
	color: white;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-size: 16px;
}

.add-btn:hover {
	background: #3367d6;
}

/* 遮罩层 */
.mask {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	z-index: 100;
	display: none;
}

/* 表单容器 */
.form-container {
	box-sizing: border-box;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: white;
	padding: 30px;
	border-radius: 8px;
	z-index: 101;
	width: 90%;
	max-width: 500px;
	display: none;
}

.form-title {
	text-align: center;
	margin-bottom: 25px;
	font-size: 20px;
	color: #333;
	font-weight: bold;
}

.form-group {
	margin-bottom: 20px;
}

.form-label {
	display: block;
	margin-bottom: 8px;
	color: #333;
}

.form-input,
.form-textarea {
	width: 100%;
	padding: 10px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 14px;
}

.form-textarea {
	height: 120px;
	resize: none;
}

.form-submit {
	width: 100%;
	padding: 12px;
	background: #8d0000;
	color: #ffdb1d;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-size: 16px;
}

.form-submit:hover {
	background: #7a0000;
}

.form-close {
	position: absolute;
	top: 15px;
	right: 15px;
	font-size: 20px;
	cursor: pointer;
	color: #666;
}
.city-picker-selector .selector-item{
	float: none;
	margin-left: 0;
}
/* 提示信息 */
.tip {
	text-align: center;
	padding: 10px;
	margin-top: 15px;
	display: none;
}

.tip.success {
	color: #28a745;
}

.tip.error {
	color: #dc3545;
}
.btn_ly {
	position: absolute;
	display: block;
	bottom: 5%;
	left: 10%;
	height: 7%;
	width: auto;
}
.lybslide .btn_back{
	position: absolute;
	bottom: 5%;
	right: 10%;
	margin: 0;
}
.bgm-btn {
	position: fixed;
	top: 10px;
	right: 30px;
	width: 30px;
	height: 30px;
	background-size: 100%;
	background-image: url("../img/audio.png");
	z-index: 10;
	-webkit-animation: myrotate 5s linear 0s infinite normal;
}

.bgm-btn.mut {
	background-position: 0px -30px;
	-webkit-animation: none;
}

@-webkit-keyframes myrotate
/*Safari and Chrome*/

{
	0% {
		-webkit-transform: rotate(0deg);
	}
	25% {
		-webkit-transform: rotate(-90deg);
	}
	50% {
		-webkit-transform: rotate(-180deg);
	}
	75% {
		-webkit-transform: rotate(-270deg);
	}
	100% {
		-webkit-transform: rotate(-360deg);
	}
}