body.yw-literary-reader-page {
	background: #ddd0b6;
	overflow-x: hidden;
}

body.yw-literary-reader-page .elementor-location-header,
body.yw-literary-reader-page .elementor-location-footer,
body.yw-literary-reader-page header#site-header,
body.yw-literary-reader-page footer#site-footer,
body.yw-literary-reader-page .site-header,
body.yw-literary-reader-page .site-footer,
body.yw-literary-reader-page .elementor-widget-theme-post-title,
body.yw-literary-reader-page .elementor-widget-post-info,
body.yw-literary-reader-page .comments-area {
	display: none !important;
}

body.yw-literary-reader-page .elementor-location-single,
body.yw-literary-reader-page .elementor-widget-theme-post-content > .elementor-widget-container {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
}

body.yw-literary-reader-page .elementor-location-single > .elementor-section:not(:has(.yw-lit-reader)),
body.yw-literary-reader-page .elementor-location-single .elementor-column:not(:has(.yw-lit-reader)),
body.yw-literary-reader-page .elementor-location-single .elementor-widget:not(:has(.yw-lit-reader)):not(.elementor-widget-theme-post-content) {
	display: none !important;
}

body.yw-literary-reader-page .elementor-location-single .elementor-section:has(.yw-lit-reader),
body.yw-literary-reader-page .elementor-location-single .elementor-container:has(.yw-lit-reader),
body.yw-literary-reader-page .elementor-location-single .elementor-column:has(.yw-lit-reader),
body.yw-literary-reader-page .elementor-location-single .elementor-widget-wrap:has(.yw-lit-reader),
body.yw-literary-reader-page .elementor-location-single .elementor-widget-theme-post-content {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.yw-lit-reader,
.yw-lit-reader * {
	box-sizing: border-box;
}

.yw-lit-reader {
	--reader-bg: #ddd0b6;
	--reader-paper: #eee7d6;
	--reader-paper-bright: #f5efdf;
	--reader-paper-edge: #d7c7a7;
	--reader-ink: #14110d;
	--reader-muted: #8a6b58;
	--reader-line: rgba(154, 135, 103, 0.34);
	--reader-red: #a25a49;
	--reader-red-deep: #804235;
	--reader-font-size: 24px;
	--reader-leading: 2.15;
	position: relative;
	min-height: 100vh;
	margin: 0;
	padding: 0;
	color: var(--reader-ink);
	background:
		linear-gradient(90deg, var(--reader-bg) 0, var(--reader-bg) calc(50% - 520px), var(--reader-paper) calc(50% - 520px), var(--reader-paper) calc(50% + 520px), var(--reader-bg) calc(50% + 520px), var(--reader-bg) 100%),
		var(--reader-bg);
	font-family: "Noto Serif SC", "Songti SC", "SimSun", serif;
}

.yw-lit-reader::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background:
		radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.16), transparent 34%),
		linear-gradient(rgba(94, 75, 48, 0.028) 1px, transparent 1px),
		linear-gradient(90deg, rgba(94, 75, 48, 0.018) 1px, transparent 1px);
	background-size: auto, 34px 34px, 34px 34px;
	mix-blend-mode: multiply;
}

.yw-lit-reader__progress {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 1002;
	width: 100%;
	height: 3px;
	background: transparent;
}

.yw-lit-reader__progress span {
	display: block;
	width: 0;
	height: 100%;
	background: linear-gradient(90deg, var(--reader-red), #c8994d);
	transform-origin: left center;
	transition: width 120ms linear;
}

.yw-lit-reader__sheet {
	position: relative;
	z-index: 1;
	width: min(100%, 1040px);
	min-height: 100vh;
	margin: 0 auto;
	padding: 34px 54px 82px;
	background:
		linear-gradient(90deg, rgba(125, 101, 67, 0.08), transparent 34px, transparent calc(100% - 34px), rgba(125, 101, 67, 0.06)),
		var(--reader-paper);
	box-shadow:
		-1px 0 0 rgba(124, 103, 70, 0.18),
		1px 0 0 rgba(124, 103, 70, 0.18);
}

.yw-lit-reader.is-bright .yw-lit-reader__sheet,
.yw-lit-reader.is-bright {
	--reader-paper: var(--reader-paper-bright);
}

.yw-lit-reader.is-large-text {
	--reader-font-size: 27px;
}

.yw-lit-reader.is-loose-line {
	--reader-leading: 2.38;
}

.yw-lit-reader__cover {
	margin: 0 auto;
	padding: 0;
	background: transparent;
	animation: ywLitReaderFade 420ms ease both;
}

.yw-lit-reader__bookline {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	min-height: 52px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--reader-line);
	color: var(--reader-red);
	font-family: "Noto Serif SC", "Songti SC", "SimSun", serif;
	font-size: 20px;
	font-weight: 700;
}

.yw-lit-reader__crumb {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
	white-space: nowrap;
}

.yw-lit-reader__crumb a {
	color: var(--reader-red);
	text-decoration: none;
}

.yw-lit-reader__crumb a:hover {
	color: var(--reader-red-deep);
}

.yw-lit-reader__meta {
	color: rgba(88, 72, 50, 0.62);
	font-family: "Noto Sans SC", "PingFang SC", sans-serif;
	font-size: 14px;
	font-weight: 600;
	white-space: nowrap;
}

.yw-lit-reader__title {
	padding: 116px 0 72px;
	text-align: center;
}

.yw-lit-reader__kicker {
	margin: 0 0 18px;
	color: var(--reader-muted);
	font-family: "Noto Sans SC", "PingFang SC", sans-serif;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0;
}

.yw-lit-reader__title h1 {
	margin: 0 auto;
	color: #11100d;
	font-family: "Noto Serif SC", "Songti SC", "SimSun", serif;
	font-size: 40px;
	font-weight: 800;
	line-height: 1.35;
	letter-spacing: 0;
}

.yw-lit-reader__book {
	margin: 0 auto;
	padding: 0 38px 18px;
	animation: ywLitReaderFade 520ms 80ms ease both;
}

.yw-lit-reader__page {
	position: relative;
	max-width: 860px;
	margin: 0 auto;
	color: var(--reader-ink);
	font-family: "Noto Serif SC", "Songti SC", "SimSun", serif;
	font-size: var(--reader-font-size);
	line-height: var(--reader-leading);
	letter-spacing: 0;
}

.yw-lit-reader__page,
.yw-lit-reader__page p,
.yw-lit-reader__page span,
.yw-lit-reader__page section,
.yw-lit-reader__page article {
	font-family: "Noto Serif SC", "Songti SC", "SimSun", serif !important;
	letter-spacing: 0 !important;
}

.yw-lit-reader__page article,
.yw-lit-reader__page article > section,
.yw-lit-reader__page section,
.yw-lit-reader__page section > section {
	width: auto !important;
	max-width: 100% !important;
	margin-right: auto !important;
	margin-left: auto !important;
	border-color: transparent !important;
	background: transparent !important;
	box-shadow: none !important;
}

.yw-lit-reader__page article[data-author="Wxeditor"] section,
.yw-lit-reader__page section[data-author="Wxeditor"] {
	border-width: 0 !important;
	border-style: none !important;
	-webkit-border-image: none !important;
	border-image: none !important;
}

.yw-lit-reader__page p,
.yw-lit-reader__page section {
	max-width: 100% !important;
}

.yw-lit-reader__page p {
	margin: 0 0 1.85em !important;
	color: var(--reader-ink) !important;
	font-size: inherit !important;
	line-height: var(--reader-leading) !important;
	text-align: left;
	text-indent: 2em;
}

.yw-lit-reader__page p[style*="text-align: center"],
.yw-lit-reader__page p:has(img) {
	text-indent: 0;
}

.yw-lit-reader__page p:first-of-type:has(img) {
	margin-bottom: 52px !important;
}

.yw-lit-reader__page span {
	color: inherit !important;
	background: transparent !important;
	font-size: inherit !important;
	line-height: inherit !important;
}

.yw-lit-reader__page strong,
.yw-lit-reader__page b {
	color: #11100d !important;
	font-weight: 800 !important;
	background: transparent !important;
}

.yw-lit-reader__page h2,
.yw-lit-reader__page h3,
.yw-lit-reader__page h4 {
	margin: 2.4em 0 1.1em;
	color: #11100d;
	font-family: "Noto Serif SC", "Songti SC", "SimSun", serif !important;
	font-weight: 800;
	line-height: 1.42;
	letter-spacing: 0 !important;
	text-align: center;
}

.yw-lit-reader__page a {
	color: var(--reader-red-deep) !important;
	text-decoration: underline;
	text-decoration-color: rgba(128, 66, 53, 0.36);
	text-underline-offset: 0.2em;
}

.yw-lit-reader__page img {
	display: block;
	max-width: min(100%, 720px) !important;
	height: auto !important;
	margin: 34px auto 46px !important;
	border-radius: 2px;
	box-shadow:
		0 18px 46px rgba(70, 51, 27, 0.16),
		0 0 0 1px rgba(120, 98, 64, 0.14);
}

.yw-lit-reader__page blockquote {
	margin: 42px 0 !important;
	padding: 22px 30px !important;
	border-left: 4px solid rgba(162, 90, 73, 0.48) !important;
	border-radius: 0;
	background: rgba(255, 255, 255, 0.2);
	color: #6d5a42 !important;
	font-family: "Noto Serif SC", "Songti SC", "SimSun", serif !important;
	font-size: 18px !important;
	line-height: 1.9 !important;
}

.yw-lit-reader__toolbar {
	position: fixed;
	top: 24vh;
	right: max(22px, calc((100vw - 1260px) / 2));
	z-index: 1001;
	display: grid;
	gap: 22px;
}

.yw-lit-reader__tool,
.yw-lit-reader__tool:visited {
	display: grid;
	place-items: center;
	width: 58px;
	height: 58px;
	border: 0;
	border-radius: 6px;
	background: rgba(246, 239, 222, 0.72);
	color: rgba(89, 81, 68, 0.62);
	box-shadow: 0 8px 22px rgba(74, 58, 35, 0.06);
	cursor: pointer;
	text-decoration: none !important;
	transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.yw-lit-reader__tool:hover,
.yw-lit-reader__tool:focus-visible {
	color: var(--reader-red-deep);
	background: rgba(255, 250, 236, 0.9);
	outline: 2px solid rgba(162, 90, 73, 0.28);
	outline-offset: 3px;
	transform: translateY(-1px);
}

.yw-lit-reader__tool-stack {
	display: grid;
	gap: 1px;
	overflow: hidden;
	border-radius: 6px;
	background: rgba(202, 188, 158, 0.45);
}

.yw-lit-reader__tool-stack .yw-lit-reader__tool {
	border-radius: 0;
	box-shadow: none;
	font-family: "Noto Sans SC", "PingFang SC", sans-serif;
	font-size: 32px;
	line-height: 1;
}

.yw-lit-reader__icon {
	position: relative;
	display: block;
	width: 28px;
	height: 28px;
}

.yw-lit-reader__icon--font {
	width: auto;
	height: auto;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 34px;
	line-height: 1;
}

.yw-lit-reader__icon--list::before,
.yw-lit-reader__icon--list::after,
.yw-lit-reader__icon--line::before,
.yw-lit-reader__icon--line::after {
	content: "";
	position: absolute;
	left: 2px;
	right: 2px;
	height: 3px;
	border-radius: 999px;
	background: currentColor;
	box-shadow: 0 9px 0 currentColor, 0 18px 0 currentColor;
}

.yw-lit-reader__icon--list::before {
	top: 3px;
	left: 9px;
}

.yw-lit-reader__icon--list::after {
	top: 3px;
	left: 2px;
	right: auto;
	width: 3px;
	box-shadow: 0 9px 0 currentColor, 0 18px 0 currentColor;
}

.yw-lit-reader__icon--line::before {
	top: 2px;
}

.yw-lit-reader__icon--line::after {
	top: 0;
	left: -3px;
	right: auto;
	width: 2px;
	height: 28px;
	background: currentColor;
	opacity: 0.45;
	box-shadow: 8px 0 0 currentColor;
	transform: none;
}

.yw-lit-reader__icon--sun {
	width: 24px;
	height: 24px;
	border: 3px solid currentColor;
	border-radius: 50%;
}

.yw-lit-reader__icon--sun::before {
	content: "";
	position: absolute;
	inset: -9px;
	border-radius: 50%;
	background:
		linear-gradient(currentColor, currentColor) center 0 / 2px 6px no-repeat,
		linear-gradient(currentColor, currentColor) center 100% / 2px 6px no-repeat,
		linear-gradient(90deg, currentColor, currentColor) 0 center / 6px 2px no-repeat,
		linear-gradient(90deg, currentColor, currentColor) 100% center / 6px 2px no-repeat;
	opacity: 0.75;
}

.yw-lit-reader__foot {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin: 84px auto 0;
	padding: 36px 38px 0;
	border-top: 1px solid var(--reader-line);
	font-family: "Noto Sans SC", "PingFang SC", sans-serif;
}

.yw-lit-reader__nav-card {
	min-height: 88px;
	padding: 18px 20px;
	border: 1px solid rgba(133, 112, 78, 0.28);
	border-radius: 4px;
	background: rgba(246, 239, 222, 0.62);
	color: #211b13;
	text-decoration: none !important;
	transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.yw-lit-reader__nav-card:hover {
	border-color: rgba(162, 90, 73, 0.45);
	background: rgba(255, 250, 236, 0.86);
	color: #211b13;
	transform: translateY(-2px);
}

.yw-lit-reader__nav-card span {
	display: block;
	margin-bottom: 7px;
	color: var(--reader-red);
	font-size: 13px;
	font-weight: 800;
}

.yw-lit-reader__nav-card strong {
	display: block;
	font-size: 17px;
	line-height: 1.45;
}

.yw-lit-reader__nav-card--library {
	background: rgba(255, 250, 236, 0.76);
}

@keyframes ywLitReaderFade {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (max-width: 1180px) {
	.yw-lit-reader {
		background: var(--reader-paper);
	}

	.yw-lit-reader__toolbar {
		right: 16px;
	}

	.yw-lit-reader__sheet {
		width: calc(100% - 120px);
	}
}

@media (max-width: 900px) {
	.yw-lit-reader__sheet {
		width: 100%;
		padding: 28px 28px 92px;
	}

	.yw-lit-reader__bookline {
		align-items: flex-start;
		flex-direction: column;
		gap: 8px;
		font-size: 18px;
	}

	.yw-lit-reader__title {
		padding: 70px 0 48px;
	}

	.yw-lit-reader__title h1 {
		font-size: 32px;
	}

	.yw-lit-reader__book {
		padding: 0 6px 12px;
	}

	.yw-lit-reader__page {
		font-size: 20px;
		line-height: 2.05;
	}

	.yw-lit-reader__foot {
		grid-template-columns: 1fr;
		padding: 30px 6px 0;
	}
}

@media (max-width: 640px) {
	.yw-lit-reader {
		--reader-font-size: 19px;
		--reader-leading: 2.02;
	}

	.yw-lit-reader.is-large-text {
		--reader-font-size: 21px;
	}

	.yw-lit-reader__sheet {
		padding: 22px 18px 88px;
	}

	.yw-lit-reader__crumb {
		white-space: normal;
	}

	.yw-lit-reader__meta {
		font-size: 13px;
		white-space: normal;
	}

	.yw-lit-reader__title {
		padding: 48px 0 34px;
	}

	.yw-lit-reader__title h1 {
		font-size: 27px;
	}

	.yw-lit-reader__page p {
		margin-bottom: 1.35em !important;
		text-indent: 2em;
	}

	.yw-lit-reader__toolbar {
		display: none;
	}
}

@supports not selector(:has(*)) {
	body.yw-literary-reader-page .elementor-location-single > .elementor-section {
		background: transparent !important;
	}
}
