#content.hidden {
	display: none;
}

.primary-btn {
	padding: 15px 30px;
	font-size: 18px;
	color: white;
	background-color: #007bff;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.primary-btn:hover {
	background-color: #0056b3;
}

.fullscreen-container {
	display: none;                 /* ✅ 默认隐藏 */
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1000;

	/* 背景设置 */
	background-color: black;       /* 加载前或空白时的底色 */
	background-size: cover;        /* 按比例放大铺满 */
	background-position: center;   /* 居中 */
	background-repeat: no-repeat;  /* 不重复 */

	/* 内容居中（当显示时） */
	justify-content: center;
	align-items: center;
	flex-direction: column;
}

#textContainer {
	/*display: flex;*/
	/*flex-direction: column;*/
	/*gap: 10px; !* 段落之间的间距 *!*/
	position: fixed;
	top: 8vh;
	margin-bottom: 20px;
	font-size: 72px; /* 默认字体大小为48px */
	text-align: center;
	max-width: 80%;
	overflow: auto;
	transition: opacity 0.22s ease, transform 0.22s ease;
}

#textContainer p {
	line-height: 1.6; /* 默认行距为1.6 */
	margin: 0; /* 去掉默认的段落外边距 */
	color: #ffffff;
	/* 多层阴影：从大到小模糊，形成柔和的白色外晕 + 深色投影 */
	text-shadow:
			0 1px 0 rgba(0,0,0,0.6),        /* 细微黑色投影，增强可读性 */
			0 2px 8px rgba(0,0,0,0.6),
			0 8px 24px rgba(0,0,0,0.45),
			0 0 30px rgba(255,255,255,0.02); /* 轻微白光提升质感（可去掉） */
	font-weight: 700;
}

#textContainer.is-transitioning {
	opacity: 0;
	transform: translateY(10px);
}

.controls {
	position: fixed;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 15px;
	background: rgba(0, 0, 0, 0.6);
	padding: 12px 35px;
	border-radius: 30px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.control-btn {
	width: 50px;
	height: 50px;
	font-size: 18px;
	color: white;
	border-radius: 50%;
	background: transparent;
	border: 3px solid rgba(255, 255, 255, 0.8);
	cursor: pointer;
	transition: all 0.3s ease;
}

.control-btn:hover {
	background: rgba(255, 255, 255, 0.15);
	border-color: white;
}

.exit-btn {
	background-color: #FD6E00;
}

.control-btn:disabled {
	opacity: 0.45;
	cursor: not-allowed;
	border-color: rgba(255, 255, 255, 0.5);
}

#autoPageControl {
	position: fixed;
	right: 30px;
	bottom: 30px;
	display: flex;
	align-items: center;
	gap: 12px;
	background: rgba(0, 0, 0, 0.55);
	color: #ffffff;
	padding: 10px 16px;
	border-radius: 24px;
	font-size: 16px;
	z-index: 1001;
}

#fullscreenContainer .playback-time {
	position: fixed;
	left: 30px;
	bottom: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.55);
	color: #ffffff;
	padding: 10px 16px;
	border-radius: 24px;
	font-size: 15px;
	min-height: 20px;
	min-width: 90px;
	text-align: center;
	z-index: 1001;
	gap: 4px;
}

#fullscreenContainer .playback-time .fs-track-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 0;
	border: none;
	background: transparent !important;
	color: #ffffff;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	box-shadow: none;
}

#fullscreenContainer .playback-time .fs-track-btn:hover {
	background: rgba(255, 255, 255, 0.15);
	border-color: #ffffff;
}

#fullscreenContainer .playback-time .fs-track-btn .iconfont {
	font-size: 18px;
	line-height: 1;
}

#fullscreenContainer .playback-time .playback-time-text {
	display: inline-block;
	min-width: 90px;
	text-align: center;
	margin: 0 4px;
	font-variant-numeric: tabular-nums;
}

.auto-page-label {
	white-space: nowrap;
}

.switch {
	position: relative;
	display: inline-block;
	width: 40px;
	height: 20px;
}

.switch input {
	opacity: 0;
	width: 0;
	height: 0;
}

.slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(255, 255, 255, 0.25);
	transition: 0.2s;
	border-radius: 20px;
	border: 2px solid transparent;
}

.slider:before {
	position: absolute;
	content: "";
	height: 15px;
	width: 15px;
	left: 2px;
	bottom: 1px;
	background-color: #ffffff;
	transition: 0.2s;
	border-radius: 50%;
}

.switch input:checked + .slider {
	background-color: #FD6E00;
	border-color: #FD6E00;
}

.switch input:checked + .slider:before {
	transform: translateX(19px);
}
#pageInfo {
	position: fixed;
	bottom: 33px; /* 调整位置，避免与按钮重叠 */
	left: 50%;
	transform: translateX(-50%);
	font-size: 16px;
	color: #ffffff;
	padding: 10px 20px;
	/*box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);*/
	white-space: nowrap; /* 防止文本换行 */
	z-index: 1000;
}
