.cr-page-index {
	padding: 0;
}

.cr-page-index img {
	pointer-events: none;
}

.cr-scene {
	position: relative;
	background-size: 100% auto;
	background-repeat: no-repeat;
	background-position: top center;
}

.cr-music-btn {
	display: none;
	position: fixed;
	top: 10px;
	right: calc(50vw - 310px);
	cursor: pointer;
	z-index: 999;
	width: 60px;
	height: 60px;
	background-image: url(../img/stop-music.svg);
	transform: rotate(90deg);
	background-size: 100%;
	opacity: .8;
}

.cr-icon-spin {
	background-image: url(../img/play-music.svg);
	animation: cr-spin 1.6s infinite linear;
}

#cr-tap-image-modal .cr-modal {
	animation: cr-e .3s forwards ease-in-out;
	transform: rotate(90deg);
}

#cr-tap-image-modal .cr-modal .cr-modal-content {
	max-height: 460px;
	overflow-y: auto;
	margin-bottom: 20px;
	padding-bottom: 0;
}

#cr-tap-image-modal .cr-modal,
#cr-tap-video-modal .cr-modal,
#cr-tap-audio-modal .cr-modal {
	width: 600px;
	animation: cr-e .3s forwards ease-in-out;
	transform: rotate(90deg);
}

#cr-tap-image-modal .cr-modal .cr-modal-content {
	max-height: 460px;
	overflow-y: auto;
	margin-bottom: 20px;
	padding-bottom: 0;
}

#cr-tap-video-modal .cr-modal video {
	width: 100%;
	height: 315px;
}

.cr-page-loading {
	background-image: url(../img/bg.jpg);
	background-size: 100% auto;
}

.cr-loading-rotate {
	position: absolute;
	left: -80px;
	top: calc(50% - 25px);
	display: inline-block;
	z-index: 20;
	width: 640px;
	height: 54px;
	padding: 2px;
	transform: rotate(90deg);
}

.cr-loading-box {
	opacity: .8;
	position: absolute;
	left: 120px;
	top: calc(50% - 25px);
	display: inline-block;
	z-index: 20;
	width: 400px;
	background: none;
}

.cr-loading-rate {
	float: right;
	position: relative;
	width: 100%;
	height: 50px;
	background: none;
}

.cr-loading-door {
	background-image: url("../img/door.png");
	position: absolute;
	left: 200px;
	top: calc(50% - 259px);
	width: 313px;
	height: 518px;
	z-index: 3;
}

.cr-loading-phone {
	background-image: url("../img/phone.png");
	position: absolute;
	left: 261px;
	bottom: 100px;
	width: 124px;
	height: 82px;
	animation: cr-phone 1.6s infinite linear alternate;
}

@keyframes cr-phone {
	0% {
		transform-origin: center;
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(-180deg);
	}
}

.cr-loading-number {
	position: absolute;
	width: 400px;
	top: 60px;
	background-image: linear-gradient(to right, #346d6d, #346d6d);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	text-align: center;
	font-size: 30px;
}

.cr-fixed-loading {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 9999;
}

.cr-fixed-loading::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 100px;
	height: 100px;
	margin: -50px 0 0 -50px;
	border: none;
	background-color: rgba(255, 255, 255, 0.1);
	border-radius: 50%;
	animation: light-loading 1s linear forwards;
}

@keyframes light-loading {
	0% {}

	100% {
		transform: scale(20);
		background-color: rgba(255, 255, 255, 1);
	}
}

.cr-ab-btn-start {
	display: none;
	background-image: url("../img/btn-start.png");
	left: 70px;
	bottom: calc(50% - 194px);
	width: 88px;
	height: 388px;
	animation: btnClick 1s infinite linear alternate;
}

@keyframes btnClick {
	0% {
		transform: scale(1);
		opacity: 1;
	}

	100% {
		transform: scale(0.95);
		opacity: .5;
	}
}

.cr-page-scene-1 {
	min-height: 26615px;
	background-image: url(../img/1/bg.jpg?v=13);
}

.cr-page-scene-2 {
	min-height: 16972px;
	background-image: url(../img/2/bg.jpg?v=13);
}

.cr-btn-el .cr-el-img {
	animation: btnClick 1s infinite linear alternate;
}

@keyframes cr-spin {
	0% {
		transform-origin: center;
		transform: rotate(0);
	}
	100% {
		transform: rotate(360deg);
	}
}
@keyframes cr-modal{
	0%{
		transform: scale(.8);
		opacity: 0;
	}
	100%{
		transform: scale(1);
		opacity: 1;
	}
}

.cr-fixed-dwon-hint {
	display: none;
	position: fixed;
	bottom: 100px;
	left: calc(50% - 24px + 275px);
	width: 41px;
	height: 388px;
	z-index: 9999;
	background-image: url(../img/down-hint.png);
	background-size: 100% 100%;
	animation: down-hint 1s infinite linear alternate;
}

@keyframes down-hint {
	0% {
		transform: translateY(-50px);
		opacity: 1;
	}

	100% {
		transform: translateY(50px);
		opacity: .7;
	}
}

/* 容器样式 */
.audio-player {
	width: 300px;
	margin: 50px auto;
	padding: 20px;
	background: #f5f5f5;
	border-radius: 10px;
	display: flex;
	align-items: center;
	gap: 15px;
}

/* 播放/暂停按钮 */
.play-btn {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background: #2196F3;
	border: none;
	cursor: pointer;
	position: relative;
	transition: all 0.3s ease;
}

/* 播放图标（三角形） */
.play-btn::before {
	content: '';
	position: absolute;
	top: 13px;
	left: 18px;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 13px 0 13px 20px;
	border-color: transparent transparent transparent #ffffff;
	transition: all 0.3s ease;
}

/* 暂停状态（两个竖线） */
.play-btn.paused::before {
	border: none;
	width: 8px;
	height: 26px;
	background: #fff;
	top: 12px;
	left: 16px;
	box-shadow: 10px 0 0 #fff;
}

/* 音频波形动画容器 */
.audio-wave {
	display: flex;
	align-items: center;
	gap: 3px;
	height: 30px;
}

/* 单个波形条样式 */
.wave-bar {
	width: 4px;
	height: 100%;
	background: #2196F3;
	border-radius: 2px;
	transform-origin: center center;
	/* 默认静止状态 */
	animation: wave 1.2s ease-in-out infinite;
	/* 初始隐藏动画（未播放时） */
	opacity: 0.2;
}

/* 播放时激活波形 */
.audio-player.playing .wave-bar {
	opacity: 1;
}

/* 给每个波形条设置不同的动画延迟，模拟随机跳动 */
.wave-bar:nth-child(1) {
	animation-delay: 0s;
	height: 15px;
}

.wave-bar:nth-child(2) {
	animation-delay: 0.1s;
	height: 25px;
}

.wave-bar:nth-child(3) {
	animation-delay: 0.2s;
	height: 10px;
}

.wave-bar:nth-child(4) {
	animation-delay: 0.3s;
	height: 20px;
}

.wave-bar:nth-child(5) {
	animation-delay: 0.4s;
	height: 8px;
}

.wave-bar:nth-child(6) {
	animation-delay: 0.5s;
	height: 28px;
}

.wave-bar:nth-child(7) {
	animation-delay: 0.6s;
	height: 12px;
}

.wave-bar:nth-child(8) {
	animation-delay: 0.7s;
	height: 22px;
}

.wave-bar:nth-child(9) {
	animation-delay: 0.8s;
	height: 18px;
}

.wave-bar:nth-child(10) {
	animation-delay: 0s;
	height: 15px;
}

.wave-bar:nth-child(11) {
	animation-delay: 0.1s;
	height: 25px;
}

.wave-bar:nth-child(12) {
	animation-delay: 0.2s;
	height: 10px;
}

.wave-bar:nth-child(13) {
	animation-delay: 0.3s;
	height: 20px;
}

.wave-bar:nth-child(14) {
	animation-delay: 0.4s;
	height: 8px;
}

.wave-bar:nth-child(15) {
	animation-delay: 0.5s;
	height: 28px;
}

.wave-bar:nth-child(16) {
	animation-delay: 0.6s;
	height: 12px;
}

.wave-bar:nth-child(17) {
	animation-delay: 0.7s;
	height: 22px;
}

.wave-bar:nth-child(18) {
	animation-delay: 0.8s;
	height: 18px;
}

.wave-bar:nth-child(19) {
	animation-delay: 0s;
	height: 15px;
}

.wave-bar:nth-child(20) {
	animation-delay: 0.1s;
	height: 25px;
}

.wave-bar:nth-child(21) {
	animation-delay: 0.2s;
	height: 10px;
}

.wave-bar:nth-child(22) {
	animation-delay: 0.3s;
	height: 20px;
}

.wave-bar:nth-child(23) {
	animation-delay: 0.4s;
	height: 8px;
}

.wave-bar:nth-child(24) {
	animation-delay: 0.5s;
	height: 28px;
}

.wave-bar:nth-child(25) {
	animation-delay: 0.6s;
	height: 12px;
}

.wave-bar:nth-child(26) {
	animation-delay: 0.7s;
	height: 22px;
}

.wave-bar:nth-child(27) {
	animation-delay: 0.8s;
	height: 18px;
}

.wave-bar:nth-child(28) {
	animation-delay: 0s;
	height: 15px;
}

.wave-bar:nth-child(29) {
	animation-delay: 0.1s;
	height: 25px;
}

.wave-bar:nth-child(30) {
	animation-delay: 0.2s;
	height: 10px;
}

.wave-bar:nth-child(31) {
	animation-delay: 0.3s;
	height: 20px;
}

.wave-bar:nth-child(32) {
	animation-delay: 0.4s;
	height: 8px;
}

.wave-bar:nth-child(33) {
	animation-delay: 0.5s;
	height: 28px;
}

.wave-bar:nth-child(34) {
	animation-delay: 0.6s;
	height: 12px;
}

.wave-bar:nth-child(35) {
	animation-delay: 0.7s;
	height: 22px;
}

.wave-bar:nth-child(36) {
	animation-delay: 0.8s;
	height: 18px;
}

.wave-bar:nth-child(37) {
	animation-delay: 0s;
	height: 15px;
}

.wave-bar:nth-child(38) {
	animation-delay: 0.1s;
	height: 25px;
}

.wave-bar:nth-child(39) {
	animation-delay: 0.2s;
	height: 10px;
}

.wave-bar:nth-child(40) {
	animation-delay: 0.3s;
	height: 20px;
}

.wave-bar:nth-child(41) {
	animation-delay: 0.4s;
	height: 8px;
}

.wave-bar:nth-child(42) {
	animation-delay: 0.5s;
	height: 28px;
}

.wave-bar:nth-child(43) {
	animation-delay: 0.6s;
	height: 12px;
}

.wave-bar:nth-child(44) {
	animation-delay: 0.7s;
	height: 22px;
}

.wave-bar:nth-child(45) {
	animation-delay: 0.8s;
	height: 18px;
}

/* 波形跳动动画关键帧 */
@keyframes wave {

	0%,
	100% {
		transform: scaleY(0.5);
	}

	50% {
		transform: scaleY(1);
	}
}

/* 隐藏原生音频控件 */
audio {
	display: none;
}