body {
	margin: 0;
	padding: 0;
	background: #FFFFEE;
	font-size: 15.6px;
	overflow: auto;
}

#mainDiv{
	width: 100%;
	height: 100%;
}

#loveHeart {
	float: left;
	width:871px;
	height:812.5px;
}

#garden {
	width: 100%;
	height: 100%;
}

#elapseClock {
	text-align: right;
	font-size: 23.4px;
	margin-top: 10px;
	margin-bottom: 10px;
}

#words {
	font-family: "sans-serif";
	width: 650px;
	font-size: 31.2px;
	color:#666;
}

#messages{
	display: none;
}

#elapseClock .digit{
	font-family: "digit";
	font-size: 46.8px;
}

#loveu{
	padding: 5px;
	font-size: 28.6px;
	margin-top: 80px;
	margin-right: 120px;
	text-align: right;
	display: none;
}

#loveu .signature{
	margin-top: 10px;
	font-size: 26px;
	font-style: italic;
}

#clickSound{
	display:none;
}

#code {
	float: left;
	width: 572px;
	height: 520px;
	color: #333;
	font-family: "Consolas", "Monaco", "Bitstream Vera Sans Mono", "Courier New", "sans-serif";
	font-size: 15.6px;
}

#code .string{
	color: #2a36ff;
}

#code .keyword{
	color: #7f0055;
	font-weight:bold;
}

#code .placeholder{
	margin-left:15px;
}

#code .space{
	margin-left:7px;
}

#code .comments{
	color: #3f7f5f;
}

#copyright{
	margin-top: 10px;
	text-align: center;
	width:100%;
	color:#666;
}

#errorMsg{
	width: 100%;
	text-align: center;
	font-size: 24px;
	position: absolute;
	top: 100px;
	left:0px;
}

#copyright a{
	color:#666;
}

/* 爱心气球样式和动画 */
#balloonContainer {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: 50;
}

.heart-balloon {
	pointer-events: auto;
}

/* 气球上升动画 */
@keyframes floatUp {
	0% {
		bottom: -50px;
		opacity: 0;
		transform: translateX(0) rotate(0deg);
	}
	10% {
		opacity: 1;
	}
	90% {
		opacity: 1;
	}
	100% {
		bottom: 100vh;
		opacity: 0;
		transform: translateX(100px) rotate(360deg);
	}
}

/* 小气球快速上升动画 */
@keyframes floatUpFast {
	0% {
		bottom: -30px;
		opacity: 0;
		transform: translateX(0) rotate(0deg) scale(0.8);
	}
	15% {
		opacity: 1;
		transform: translateX(10px) rotate(45deg) scale(1);
	}
	85% {
		opacity: 1;
	}
	100% {
		bottom: 100vh;
		opacity: 0;
		transform: translateX(80px) rotate(270deg) scale(0.5);
	}
}

/* 气球被戳破的动画 */
@keyframes popEffect {
	0% {
		transform: scale(1);
		opacity: 1;
	}
	50% {
		transform: scale(1.5);
		opacity: 0.7;
	}
	100% {
		transform: scale(0);
		opacity: 0;
	}
}

/* 爆炸小爱心散开动画 */
@keyframes popScatter0 {
	0% {
		transform: translate(0, 0) scale(1);
		opacity: 1;
	}
	100% {
		transform: translate(-30px, -30px) scale(0.5);
		opacity: 0;
	}
}

@keyframes popScatter1 {
	0% {
		transform: translate(0, 0) scale(1);
		opacity: 1;
	}
	100% {
		transform: translate(30px, -30px) scale(0.5);
		opacity: 0;
	}
}

@keyframes popScatter2 {
	0% {
		transform: translate(0, 0) scale(1);
		opacity: 1;
	}
	100% {
		transform: translate(-50px, 10px) scale(0.3);
		opacity: 0;
	}
}

@keyframes popScatter3 {
	0% {
		transform: translate(0, 0) scale(1);
		opacity: 1;
	}
	100% {
		transform: translate(50px, 10px) scale(0.3);
		opacity: 0;
	}
}

@keyframes popScatter4 {
	0% {
		transform: translate(0, 0) scale(1);
		opacity: 1;
	}
	100% {
		transform: translate(-20px, 40px) scale(0.2);
		opacity: 0;
	}
}

@keyframes popScatter5 {
	0% {
		transform: translate(0, 0) scale(1);
		opacity: 1;
	}
	100% {
		transform: translate(20px, 40px) scale(0.2);
		opacity: 0;
	}
}

/* 移动设备提示框样式 */
#mobilePrompt {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 9999;
	background: rgba(0, 0, 0, 0.8);
	display: flex;
	justify-content: center;
	align-items: center;
}

.prompt-overlay {
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 20px;
	box-sizing: border-box;
}

.prompt-content {
	background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 50%, #fecfef 100%);
	border-radius: 80px;
	padding: 120px;
	text-align: center;
	box-shadow: 0 40px 120px rgba(0, 0, 0, 0.3);
	max-width: 1400px;
	width: 95%;
	animation: promptFadeIn 0.5s ease-out;
}

.prompt-content h2 {
	color: #d63384;
	font-size: 96px;
	margin: 0 0 80px 0;
	font-weight: bold;
}

.prompt-content p {
	color: #495057;
	font-size: 64px;
	line-height: 1.5;
	margin: 40px 0;
}

.prompt-content strong {
	color: #d63384;
	font-weight: bold;
}

.prompt-buttons {
	margin: 100px 0 60px 0;
}

.btn-continue {
	background: linear-gradient(45deg, #ff6b6b, #ff8e8e);
	color: white;
	border: none;
	padding: 48px 100px;
	border-radius: 100px;
	font-size: 64px;
	font-weight: bold;
	cursor: pointer;
	box-shadow: 0 16px 60px rgba(255, 107, 107, 0.4);
	transition: all 0.3s ease;
}

.btn-continue:hover {
	transform: translateY(-8px);
	box-shadow: 0 24px 80px rgba(255, 107, 107, 0.6);
}

.prompt-footer {
	color: #d63384;
	font-size: 56px;
	font-style: italic;
	margin: 0;
}

@keyframes promptFadeIn {
	0% {
		opacity: 0;
		transform: scale(0.8) translateY(50px);
	}
	100% {
		opacity: 1;
		transform: scale(1) translateY(0);
	}
}

/* 音乐控制按钮样式 */
#musicController {
	position: fixed;
	top: 20px;
	right: 20px;
	z-index: 1000;
}

#musicBtn {
	background: linear-gradient(135deg, #ff6b6b 0%, #ff8e8e 50%, #ffa8a8 100%);
	border: none;
	border-radius: 25px;
	padding: 12px 20px;
	color: white;
	font-weight: bold;
	cursor: pointer;
	box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
	transition: all 0.3s ease;
	backdrop-filter: blur(10px);
	border: 2px solid rgba(255, 255, 255, 0.2);
	min-width: 200px;
}

.music-info {
	display: flex;
	align-items: center;
	gap: 12px;
}

.music-details {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 2px;
}

#musicBtn:hover {
	transform: translateY(-2px) scale(1.05);
	box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
	background: linear-gradient(135deg, #ff5252 0%, #ff7979 50%, #ff9ff3 100%);
}

#musicBtn:active {
	transform: translateY(0px) scale(0.98);
	box-shadow: 0 2px 10px rgba(255, 107, 107, 0.3);
}

#musicIcon {
	font-size: 20px;
	animation: musicPulse 2s ease-in-out infinite;
}

#songTitle {
	font-size: 14px;
	font-weight: bold;
	white-space: nowrap;
	color: rgba(255, 255, 255, 0.95);
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

#musicStatus {
	font-size: 12px;
	white-space: nowrap;
	color: rgba(255, 255, 255, 0.8);
	font-weight: normal;
}

/* 音乐图标脉动动画 */
@keyframes musicPulse {
	0%, 100% {
		transform: scale(1);
	}
	50% {
		transform: scale(1.2);
	}
}

/* 音乐暂停状态样式 */
#musicBtn.paused {
	background: linear-gradient(135deg, #3498db 0%, #5dade2 50%, #85c1e9 100%);
	color: white;
	animation: buttonPulse 2s ease-in-out infinite;
}

#musicBtn.paused:hover {
	background: linear-gradient(135deg, #2980b9 0%, #3498db 50%, #5dade2 100%);
	animation: none;
	transform: translateY(-2px) scale(1.05);
}

#musicBtn.paused #musicIcon {
	animation: none;
	transform: scale(1);
}

/* 按钮脉动提示动画 */
@keyframes buttonPulse {
	0%, 100% {
		box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
		transform: scale(1);
	}
	50% {
		box-shadow: 0 6px 25px rgba(52, 152, 219, 0.5);
		transform: scale(1.02);
	}
}