body{margin:0;padding:0;background:#ffe;font-size:14px;font-family:'微软雅黑','宋体',sans-serif;color:#231F20;overflow:auto}
a {color:#000;font-size:14px;}
#main{width:100%;}
#wrap, #wrap1 {position:relative;margin:0 auto;width:1100px;margin-top:10px;}
#text{
	width:272px;
	height:560px;
	left:188px;
	top:80px;position:absolute;
}
#code{display:none;font-size:16px;}
#clock-box {position:absolute;left:60px;top:550px;font-size:28px;display:none;}
#clock-box a {font-size:28px;text-decoration:none;}
#clock{
	height: 75px;
	font-size:32px;
	margin-left: 20px;
}
#clock .digit {font-size:70px;}
#canvas{margin:0 auto;width:1100px;height:680px;}
#error{margin:0 auto;text-align:center;margin-top:60px;display:none;}
.hand{cursor:pointer;}
.say{margin-left:5px;}
.space{margin-right:150px;}

#letter {
	font-family: 'Times New Roman', serif;
	background: url('../image/letter_bg.png');
	background-size: cover; 
	padding: 20px;
	margin: 20px auto;
	width: 80%;
	max-width: 820px;
    height: 1160px;
	border: 1px solid #ccc;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
	position: relative;
}
#letter:before {
	content: '';
	position: absolute;
	top: -10px;
	right: -10px;
	bottom: -10px;
	left: -10px;
	border: 1px solid #ccc;
	z-index: -1;
}
#letter p {
	line-height: 1.6;
	font-size: 18px;
	color: #555;
	text-align: justify;
}

#letter p:last-child {
  text-align: right;
  margin-right: 30px;
  margin-top: 150px;
}


/* 按钮样式 */
#toContinue {
	display: none; /* 默认不显示 */
	font-weight: bold; /* 粗体 */
	font-size:30px;
	color: #ffcccc; /* 浅粉色 */
	padding: 10px 20px; /* 内边距 */
	border: none; /* 无边框 */
	background: none; /* 无背景 */
	cursor: pointer; /* 鼠标手型 */
	align-items: center; /* 垂直居中 */
	gap: 10px; /* 图标与文字间距 */
	margin:40px auto;
	position: fixed; /* 固定定位 */
	left: 70%;
}

/* 输入框样式 */
#inputContainer {
	display: none; /* 默认不显示 */
	position: fixed; /* 固定定位 */
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	background: #ffcccc;
	padding: 20px;
	border: 1px solid #ccc;
	z-index: 100;
}

/* 输入框中的输入框和按钮样式 */
#inputContainer input[type="text"] {
	width: calc(100% - 22px); /* 减去内边距和边框 */
	padding: 5px;
	margin-bottom: 10px;
}

#inputContainer input[type="submit"] {
	padding: 5px 20px;
	cursor: pointer;
}
