#article p {
	margin: 0 0 1em;
	line-height: 1.95;
}
#article p:last-child {
	margin-bottom: 0;
}
#article.novel-content p {
	text-indent: 2.6em;
	white-space: normal;
	letter-spacing: .02em;
}
body.novel-reading {
	--novel-article-width: 760px;
	--novel-container-width: 900px;
	--novel-font-family: inherit;
	--novel-outline-width: 320px;
	--novel-side-gap: 12px;
	--novel-progress-width: 14px;
	--novel-progress-bg: rgba(255,255,255,.55);
	--novel-sticky-bg: #f8f1df;
	--novel-progress-gradient: linear-gradient(90deg,#16b777,#1e66f5);
	--novel-progress-gradient-vertical: linear-gradient(180deg,#16b777,#1e66f5);
	--reader-image-gap: 0px;
}
body.novel-reading main.container {
	max-width: var(--novel-container-width) !important;
}
body.novel-reading .section_style {
	border-radius: 14px;
	box-shadow: 0 10px 30px rgba(0,0,0,.06);
}
#article.novel-content {
	padding: 18px 22px;
	border-radius: 10px;
	background: #f7f1e3;
	color: #3f3328;
	max-width: var(--novel-article-width) !important;
	margin: 0 auto;
	font-family: var(--novel-font-family);
}
body.reader-image-chapter #article.novel-content {
	max-width: none !important;
	width: 100% !important;
}
#article.novel-content p,
#article.novel-content li,
#article.novel-content div {
	font-family: var(--novel-font-family);
}
#article.novel-content #dplayer,
#article.novel-content #dplayer * {
	font-family: "Microsoft YaHei", Arial, sans-serif !important;
}
#dplayer .dplayer-notice,
#dplayer .dplayer-notice-list,
#dplayer .dplayer-bar-wrap,
#dplayer .dplayer-bar,
#dplayer .dplayer-played,
#dplayer .dplayer-thumb,
#dplayer .dplayer-highlight,
#dplayer .dplayer-highlight-text {
	writing-mode: horizontal-tb;
	text-orientation: mixed;
}
#dplayer .dplayer-notice,
#dplayer .dplayer-highlight-text {
	display: inline-block;
	width: auto;
	white-space: nowrap;
	word-break: keep-all;
	line-height: 1.4;
}
#article.novel-content p:first-child {
	margin-top: 0;
}
#article .chapterpic,
#article .image-placeholder,
#article .image-load-error {
	margin: 0 0 var(--reader-image-gap) 0 !important;
}
#article .chapterpic:last-child,
#article .image-placeholder:last-child,
#article .image-load-error:last-child {
	margin-bottom: 0 !important;
}
body.novel-reading #footer a {
	color: #1a1a1a;
}
#novelThemeTools {
	margin-top: 14px;
}
#novelThemeTools .theme-title,
#novelProgressColorTools .theme-title,
#imageGapTools .theme-title,
#novelSpacingTools .theme-title,
#novelWidthTools .theme-title,
#novelFontTools .theme-title,
#novelLineHeightTools .theme-title,
#novelTitleSizeTools .theme-title,
#novelIndentTools .theme-title,
#novelAlignTools .theme-title {
	font-size: 12px;
	margin: 0 0 8px 24px;
	color: #888;
}
#text_control .reader-settings-group {
	margin-top: 12px;
	padding-top: 10px;
	border-top: 1px dashed rgba(0,0,0,.08);
}
#text_control .reader-settings-group:first-of-type {
	margin-top: 0;
	padding-top: 0;
	border-top: 0;
}
#text_control .reader-settings-group-title {
	font-size: 12px;
	font-weight: 700;
	color: #64748b;
	margin: 0 0 8px 24px;
}
#text_control .reader-settings-group-note {
	font-size: 12px;
	color: #94a3b8;
	margin: -2px 0 8px 24px;
}
#text_control .reader-settings-group-general {
	opacity: 1;
}
#text_control .reader-settings-group-text-only {
	opacity: .72;
}
body.reader-non-novel #text_control .text-only-setting {
	opacity: .88;
}
#novelThemeTools .theme-swatches {
	display: flex;
	gap: 8px;
	justify-content: center;
	flex-wrap: wrap;
}
#novelThemeTools .theme-swatch {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	border: 2px solid rgba(255,255,255,.7);
	box-shadow: 0 1px 4px rgba(0,0,0,.18);
	cursor: pointer;
}
#novelThemeTools .theme-swatch.active {
	outline: 2px solid #16b777;
	outline-offset: 2px;
}
#novelThemeTools .theme-swatch.theme-swatch-warm {
	background: #f7f1e3;
}
#novelThemeTools .theme-swatch.theme-swatch-parchment {
	background: #f1e5cf;
}
#novelThemeTools .theme-swatch.theme-swatch-green {
	background: #edf6ed;
}
#novelThemeTools .theme-swatch.theme-swatch-pink {
	background: #f9eef3;
}
#novelThemeTools .theme-swatch.theme-swatch-darkgreen {
	background: #314437;
}
#novelThemeTools .theme-swatch.theme-swatch-dark {
	background: #1f2327;
}
#novelProgressColorTools {
	margin-top: 14px;
}
#novelProgressColorTools .progress-swatches {
	display: flex;
	gap: 8px;
	justify-content: center;
	flex-wrap: wrap;
}
#readerProgressPreview {
	width: 180px;
	height: 8px;
	margin: 10px auto 0;
	border-radius: 999px;
	background: var(--novel-progress-gradient);
	box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 4px 12px rgba(0,0,0,.08);
}
#novelProgressColorTools .progress-swatch {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	border: 2px solid rgba(255,255,255,.7);
	box-shadow: 0 1px 4px rgba(0,0,0,.18);
	cursor: pointer;
}
#novelProgressColorTools .progress-swatch.active {
	outline: 2px solid #16b777;
	outline-offset: 2px;
}
#novelProgressColorTools .progress-swatch.progress-swatch-bluegreen {
	background: linear-gradient(135deg,#16b777,#1e66f5);
}
#novelProgressColorTools .progress-swatch.progress-swatch-orangepink {
	background: linear-gradient(135deg,#ff8a00,#e52e71);
}
#novelProgressColorTools .progress-swatch.progress-swatch-purplegreen {
	background: linear-gradient(135deg,#7f5af0,#2cb67d);
}
#novelProgressColorTools .progress-swatch.progress-swatch-pinkpurple {
	background: linear-gradient(135deg,#ff5f9e,#b44cff);
}
#novelProgressColorTools .progress-swatch.progress-swatch-goldgreen {
	background: linear-gradient(135deg,#13b26b,#d4a017);
}
#novelProgressColorTools .progress-swatch.progress-swatch-redorange {
	background: linear-gradient(135deg,#ef4444,#f59e0b);
}
#novelSpacingTools {
	margin-top: 14px;
}
#novelSpacingTools .spacing-row {
	display: flex;
	justify-content: center;
	gap: 10px;
	align-items: center;
}
#novelSpacingTools button {
	padding: 6px 12px;
	border: 1px solid #d0d7de;
	border-radius: 8px;
	background: #fff;
	cursor: pointer;
}
#novelWidthTools {
	margin-top: 14px;
}
#novelWidthTools .width-row {
	display: flex;
	justify-content: center;
	gap: 8px;
	flex-wrap: wrap;
}
#novelWidthTools button {
	padding: 6px 12px;
	border: 1px solid #d0d7de;
	border-radius: 8px;
	background: #fff;
	cursor: pointer;
}
#novelWidthTools button.active {
	background: #16b777;
	border-color: #16b777;
	color: #fff;
}
#novelFontTools {
	margin-top: 14px;
}
#novelFontTools .font-row {
	display: flex;
	justify-content: center;
	gap: 8px;
	flex-wrap: wrap;
}
#novelFontTools button {
	padding: 6px 12px;
	border: 1px solid #d0d7de;
	border-radius: 8px;
	background: #fff;
	cursor: pointer;
}
#novelFontTools button.active {
	background: #16b777;
	border-color: #16b777;
	color: #fff;
}
#novelLineHeightTools,
#novelTitleSizeTools,
#novelIndentTools,
#novelResetTools {
	margin-top: 14px;
}
#novelLineHeightTools .line-row,
#novelIndentTools .indent-row,
#novelTitleSizeTools .title-row,
#novelResetTools .reset-row {
	display: flex;
	justify-content: center;
	gap: 10px;
	align-items: center;
	flex-wrap: wrap;
}
#novelLineHeightTools button,
#novelIndentTools button,
#novelTitleSizeTools button,
#novelResetTools button {
	padding: 6px 12px;
	border: 1px solid #d0d7de;
	border-radius: 8px;
	background: #fff;
	cursor: pointer;
}
#novelLineHeightTools .line-label,
#novelTitleSizeTools .title-label,
#novelIndentTools .indent-label {
	font-size: 12px;
	color: #666;
	min-width: 110px;
	text-align: center;
}
.reader-paid-badge {
	display: inline-block;
	margin-left: 8px;
	padding: 1px 6px;
	border-radius: 10px;
	background: #fff7e6;
	color: #d46b08;
	border: 1px solid #ffd591;
	font-size: 12px;
	line-height: 18px;
	vertical-align: middle;
}
.reader-paid-badge-free {
	background: #f5f5f5;
	color: #333;
	border-color: #e5e5e5;
}
.reader-paid-badge-subscribed {
	background: #f6ffed;
	color: #389e0d;
	border-color: #b7eb8f;
}
.reader-paid-badge-crumb {
	margin-left: 6px;
	padding: 0 6px;
	font-size: 11px;
	line-height: 16px;
}
#novelAlignTools {
	margin-top: 14px;
}
#novelAlignTools .align-row {
	display: flex;
	justify-content: center;
	gap: 8px;
	flex-wrap: wrap;
}
#novelAlignTools button {
	padding: 6px 12px;
	border: 1px solid #d0d7de;
	border-radius: 8px;
	background: #fff;
	cursor: pointer;
}
#novelAlignTools button.active {
	background: #16b777;
	border-color: #16b777;
	color: #fff;
}
.read-progress {
	max-width: var(--novel-article-width) !important;
	margin: 0 auto 14px;
	padding: 10px 14px;
	border-radius: 10px;
	background: var(--novel-progress-bg);
	transition: transform .28s ease, opacity .28s ease, box-shadow .28s ease, padding .28s ease, border-radius .28s ease;
}
.read-progress-placeholder {
	height: 0;
}
.read-progress.is-sticky {
	position: sticky;
	top: 0;
	left: auto;
	transform: none;
	width: calc(var(--novel-article-width) + 28px);
	max-width: calc(var(--novel-article-width) + 28px) !important;
	z-index: 997;
	margin: 0 auto;
	padding: 6px 10px;
	border-radius: 0 0 10px 10px;
	background: var(--novel-sticky-bg) !important;
}
.read-progress.is-sticky .crumbs {
	font-size: 12px;
	margin-bottom: 5px;
}
.read-progress.is-sticky .bar {
	height: 6px;
}
.read-progress.is-sticky .meta {
	margin-top: 6px;
	font-size: 11px;
	gap: 10px;
}
.read-progress.is-sticky .resume-btn {
	padding: 3px 8px;
	font-size: 11px;
}
.read-progress.is-compact .crumbs {
	display: none;
}
.read-progress.is-compact .meta {
	margin-top: 2;
	flex-wrap: nowrap;
	justify-content: space-between;
}
.read-progress.is-compact .progress-actions {
	gap: 6px;
}
.read-progress.is-compact #novelLastReadText,
.read-progress.is-compact #resumeNovelProgress {
	display: none !important;
}
.read-progress.is-compact .compact-next {
	display: inline-block;
	font-size: 11px;
	color: inherit;
}
.read-progress.is-hidden {
	opacity: 0;
	transform: translateY(-135%);
	pointer-events: none;
}
.read-progress .crumbs {
	font-size: 13px;
	color: #888;
	margin-bottom: 8px;
}
.read-progress .crumbs a {
	color: inherit;
}
.read-progress .bar {
	height: 7px;
	border-radius: 999px;
	background: rgba(0,0,0,.08);
	overflow: hidden;
}
.read-progress .bar span {
	display: block;
	height: 100%;
	width: 0%;
	background: var(--novel-progress-gradient);
}
.read-progress .meta {
	margin-top: 8px;
	font-size: 12px;
	color: #888;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}
.read-progress .meta .progress-actions {
	display: flex;
	align-items: center;
	gap: 10px;
}
.read-progress .resume-btn {
	padding: 4px 10px;
	border: 1px solid rgba(0,0,0,.12);
	border-radius: 999px;
	background: rgba(255,255,255,.55);
	font-size: 12px;
	cursor: pointer;
}
.read-progress .resume-btn.hidden {
	display: none;
}
#novelFloatingProgressWrap {
	position: fixed;
	right: calc((99vw - var(--novel-container-width)) / 2 - var(--novel-progress-width) - var(--novel-side-gap));
	top: 38%;
	z-index: 999;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	width: var(--novel-progress-width);
}
#novelFloatingProgress {
	position: relative;
	width: var(--novel-progress-width);
	height: 180px;
	border-radius: 999px;
	background: rgba(0,0,0,.12);
	box-shadow: 0 2px 12px rgba(0,0,0,.12);
	overflow: visible;
}
#novelFloatingProgress .floating-tip {
	position: absolute;
	right: 22px;
	top: 50%;
	transform: translateY(-50%);
	padding: 6px 10px;
	border-radius: 8px;
	background: rgba(0,0,0,.75);
	color: #fff;
	font-size: 12px;
	white-space: nowrap;
	opacity: 0;
	pointer-events: none;
	transition: opacity .18s ease;
}
#novelTrackStatusDot {
	position: relative;
	width: 12px;
	height: 12px;
	padding: 0;
	border: 2px solid rgba(255,255,255,.92);
	border-radius: 50%;
	box-shadow: 0 2px 8px rgba(0,0,0,.18);
	background: #94a3b8;
	cursor: pointer;
	z-index: 1;
	transform-origin: center;
}
#novelTrackStatusDot.track-status-dot--idle {
	background: #94a3b8;
	animation: none;
}
#novelTrackStatusDot.track-status-dot--pending {
	background: #cbd5e1;
	animation: novelTrackPulse 1.1s ease-in-out infinite;
}
#novelTrackStatusDot.track-status-dot--success {
	background: #16a34a;
	animation: novelTrackPop .34s cubic-bezier(.22,1.2,.36,1) 1;
}
#novelTrackStatusDot.track-status-dot--error {
	background: #dc2626;
	animation: novelTrackShake .36s ease-out 1;
}
@keyframes novelTrackPulse {
	0% {
		transform: scale(1);
		box-shadow: 0 2px 8px rgba(0,0,0,.18), 0 0 0 0 rgba(203,213,225,.55);
	}
	50% {
		transform: scale(1.08);
		box-shadow: 0 2px 8px rgba(0,0,0,.18), 0 0 0 6px rgba(203,213,225,0);
	}
	100% {
		transform: scale(1);
		box-shadow: 0 2px 8px rgba(0,0,0,.18), 0 0 0 0 rgba(203,213,225,0);
	}
}
@keyframes novelTrackShake {
	0% {
		transform: translateX(0);
	}
	25% {
		transform: translateX(-1.5px);
	}
	50% {
		transform: translateX(1.5px);
	}
	75% {
		transform: translateX(-1px);
	}
	100% {
		transform: translateX(0);
	}
}
@keyframes novelTrackPop {
	0% {
		transform: scale(.86);
	}
	55% {
		transform: scale(1.18);
	}
	100% {
		transform: scale(1);
	}
}
#novelFloatingProgress .floating-tip::after {
	content: '';
	position: absolute;
	right: -6px;
	top: 50%;
	transform: translateY(-50%);
	border-width: 6px 0 6px 6px;
	border-style: solid;
	border-color: transparent transparent transparent rgba(0,0,0,.75);
}
#novelFloatingProgress:hover .floating-tip {
	opacity: 1;
}
#novelFloatingProgressBar {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 0;
	background: var(--novel-progress-gradient-vertical);
	border-radius: 999px;
}
#novelFloatingProgressFeedback {
	position: absolute;
	right: 22px;
	top: 90px;
	transform: translateY(-50%) translateX(-8px);
	padding: 6px 10px;
	border-radius: 8px;
	background: rgba(0,0,0,.75);
	color: #fff;
	font-size: 12px;
	opacity: 0;
	pointer-events: none;
	white-space: nowrap;
	max-width: 220px;
	transition: opacity .18s ease, transform .18s ease;
}
/* Only used for logged-in read-tracking feedback anchors. */
#novelFloatingProgressWrap.feedback-anchor-dot #novelFloatingProgressFeedback {
	top: calc(180px + 10px + 6px);
}
#novelFloatingProgressWrap.feedback-anchor-bar #novelFloatingProgressFeedback {
	top: 90px;
}
#novelFloatingProgressFeedback::after {
	content: '';
	position: absolute;
	right: -6px;
	top: 50%;
	transform: translateY(-50%);
	border-width: 6px 0 6px 6px;
	border-style: solid;
	border-color: transparent transparent transparent rgba(0,0,0,.75);
}
#novelFloatingProgressFeedback.show {
	opacity: 1;
	transform: translateY(-50%) translateX(0);
}
#novelFinishToast {
	position: fixed;
	left: 50%;
	bottom: 26px;
	transform: translateX(-50%);
	z-index: 999;
	padding: 12px 16px;
	border-radius: 12px;
	background: rgba(0,0,0,.78);
	color: #fff;
	display: none;
	box-shadow: 0 8px 24px rgba(0,0,0,.24);
}
#novelFinishToast a {
	color: #8fe3be;
	margin-left: 8px;
}
#novelFinishToast .cancel-link {
	color: #ffd27d;
}
#novelFinishToast .autojump-switch {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-left: 10px;
	font-size: 12px;
}
#novelOutline {
	position: fixed;
	left: calc((100vw - var(--novel-container-width)) / 2 - var(--novel-outline-width) - var(--novel-side-gap));
	top: 34%;
	z-index: 998;
	width: var(--novel-outline-width);
	max-height: 240px;
	overflow: auto;
	padding: 10px;
	border-radius: 12px;
	background: rgba(255,255,255,.86);
	box-shadow: 0 8px 24px rgba(0,0,0,.12);
	display: none;
}
#novelOutline .outline-title {
	font-size: 13px;
	font-weight: 700;
	margin-bottom: 8px;
}
#novelOutline a {
	display: block;
	font-size: 12px;
	padding: 6px 4px;
	border-radius: 6px;
	color: #555;
}
#novelOutline a:hover {
	background: rgba(0,0,0,.05);
}
#novelOutline a.active {
	background: rgba(22,183,119,.14);
	color: #16b777;
	font-weight: 700;
}
#toggleNovelOutline {
	position: fixed;
	left: calc((100vw - var(--novel-container-width)) / 2 - 100px);
	top: calc(34% - 42px);
	z-index: 999;
	padding: 6px 12px;
	border-radius: 999px;
	border: 1px solid rgba(0,0,0,.12);
	background: rgba(255,255,255,.86);
	font-size: 12px;
	cursor: pointer;
	transition: left .2s ease, opacity .2s ease;
}
@media (max-width: 980px) {
	.read-progress.is-compact .crumbs {
		display: none;
	}
	.read-progress.is-compact:not(.is-sticky) .crumbs {
		display: block;
	}
	.read-progress.is-sticky {
		position: fixed;
		top: auto;
		bottom: 0;
		left: 0;
		transform: none;
		width: 100%;
		max-width: 100% !important;
		border-radius: 12px 12px 0 0;
		padding: 6px 10px;
		background: var(--novel-sticky-bg) !important;
		backdrop-filter: none !important;
		-webkit-backdrop-filter: none !important;
	}
	.read-progress.is-hidden {
		opacity: 0;
		transform: translateY(120%);
	}
	.read-progress .crumbs {
		font-size: 12px;
		margin-bottom: 6px;
	}
	.read-progress .meta {
		font-size: 11px;
		gap: 8px;
	}
	#novelFloatingProgressWrap {
		right: 8px;
	}
	#novelFloatingProgress {
		height: 150px;
		width: 15px;
	}
	/* Only used for logged-in read-tracking feedback anchors. */
	#novelFloatingProgressWrap.feedback-anchor-dot #novelFloatingProgressFeedback {
		top: calc(150px + 10px + 6px);
	}
	#novelFloatingProgressWrap.feedback-anchor-bar #novelFloatingProgressFeedback {
		top: 75px;
	}
	#toggleNovelOutline {
		left: -62px;
		top: auto;
		bottom: 88px;
		border-radius: 0 999px 999px 0;
		opacity: .92;
	}
	#toggleNovelOutline.expanded {
		left: 10px;
	}
	#novelOutline {
		left: 10px;
		right: 10px;
		top: auto;
		bottom: 130px;
		width: auto;
		max-height: 40vh;
	}
}
#novelSpacingTools .spacing-label {
	font-size: 12px;
	color: #666;
	min-width: 96px;
	text-align: center;
}
#imageGapTools {
	margin-top: 14px;
}
#imageGapTools .image-gap-row {
	display: flex;
	justify-content: center;
	gap: 10px;
	align-items: center;
}
#imageGapTools button {
	padding: 6px 12px;
	border: 1px solid #d0d7de;
	border-radius: 8px;
	background: #fff;
	cursor: pointer;
}
#imageGapTools .image-gap-label {
	font-size: 12px;
	color: #666;
	min-width: 110px;
	text-align: center;
}
#text_control .reader-icon-row,
#text_control .reader-fontsize-row,
#text_control .reader-label-row {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	justify-items: center;
	align-items: center;
	gap: 0;
}
#text_control .reader-icon-row {
	margin: 0 18px 0 27px;
}
#text_control .reader-fontsize-row {
	margin: 8px 8px 0px 35px;
	align-items: end;
}
#text_control .reader-fontsize-row button {
	justify-self: center;
	margin-left: 0;
}
#text_control .reader-label-row {
	margin: 0 5px 5px 35px;
}
#text_control .reader-label-row span {
	width: 100%;
	text-align: center;
}
.reader-hidden {
	display: none !important;
}
.reader-settings-hint-wrap {
	position: relative;
	z-index: 998;
	text-align: right;
	margin-right: 40px;
}
.reader-settings-hint {
	font-size: 12px;
	display: inline-block;
	background-color: transparent;
}
.text_set.reader-settings-panel {
	z-index: 999;
}
.reader-settings-panel #text_control {
	width: 240px;
	max-width: calc(100vw - 80px);
}
.reader-general-meta {
	text-align: left;
	margin: 10px 0;
}
.reader-general-meta-line {
	font-size: 12px;
	display: inline-block;
	background-color: transparent;
	margin-left: 24px;
}
.reader-privacy-tools {
	margin: 10px 10px 10px 10px;
	padding: 10px 12px;
	border: 1px solid rgba(22, 183, 119, .16);
	border-radius: 10px;
	background: rgba(22, 183, 119, .06);
	font-size: 12px;
	line-height: 1.7;
	text-align: left;
}
.reader-privacy-title {
	font-weight: 700;
	color: #2f6f4b;
	margin-bottom: 4px;
}
.reader-privacy-tools label {
	display: block;
	color: #475569;
	cursor: pointer;
}
.reader-privacy-tools input {
	vertical-align: middle;
	margin-right: 5px;
}
.reader-privacy-note {
	margin-top: 4px;
	color: #64748b;
	white-space: normal;
	overflow-wrap: break-word;
	word-break: break-word;
}
.reader-bookmark-active {
	color: #16b777;
}
.reader-report-wrap {
	text-align: center;
	margin: 10px 0 10px;
	padding: 10px;
}
.reader-report-link {
	color: red;
	font-size: 16px;
	font-weight: 700;
}
#picload.reader-load-status {
	text-align: center;
}
