/* ==========================================================================
   《至尊骨之劫》阅读主题  story.css
   适用：书籍首页 introduce.html / 阅读页 chapter*.html / 序章 prologue.html
   风格：墨夜 + 古金，纸感阅读区，支持日间/夜间双主题与字号调节
   ========================================================================== */

:root {
	/* 墨色与纸色 */
	--ink: #1d2126;
	--ink-soft: #3a4048;
	--ink-mute: #7b8290;
	--paper: #fbf9f4;
	--paper-card: #ffffff;
	--line: #e8e3d8;
	/* 古金与青绿（与站点主色呼应） */
	--gold: #b08442;
	--gold-light: #d8b878;
	--gold-deep: #8a6430;
	--jade: #1f7a4c;
	--jade-light: #eef7f1;
	/* 夜色调 */
	--night-bg: #14181d;
	--night-card: #1b2128;
	--night-line: #2b333c;
	--night-text: #c9cfd6;
	--night-text-soft: #98a2ad;
	/* 排版 */
	--serif: "Noto Serif SC", "Songti SC", "Source Han Serif SC", "SimSun", "STSong", serif;
	--sans: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system, sans-serif;
	--read-size: 19px;
	--read-lh: 2.05;
	--shadow: 0 10px 30px rgba(28, 24, 16, .08);
	--radius: 14px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	font-family: var(--sans);
	background: var(--paper);
	color: var(--ink);
	-webkit-font-smoothing: antialiased;
	line-height: 1.7;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ==========================================================================
   一、书籍首页（书籍详情页）
   ========================================================================== */

.book-hero {
	position: relative;
	overflow: hidden;
	background: radial-gradient(120% 140% at 15% 0%, #233b3a 0%, #16202a 45%, #0e1419 100%);
	color: #f4efe6;
	padding: 42px 20px 76px;
}

/* 顶部光线与骨纹背景 */
.book-hero::before,
.book-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.book-hero::before {
	background:
		radial-gradient(46% 60% at 82% 8%, rgba(216, 184, 120, .22), transparent 70%),
		radial-gradient(40% 50% at 6% 92%, rgba(31, 122, 76, .25), transparent 70%);
}

.book-hero::after {
	opacity: .16;
	background-image:
		linear-gradient(115deg, transparent 47%, rgba(216, 184, 120, .55) 50%, transparent 53%),
		linear-gradient(65deg, transparent 47%, rgba(216, 184, 120, .35) 50%, transparent 53%);
	background-size: 180px 180px, 260px 260px;
	background-position: 0 0, 60px 90px;
	mask-image: linear-gradient(180deg, rgba(0, 0, 0, .9), transparent 85%);
	-webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .9), transparent 85%);
}

.book-top {
	position: relative;
	z-index: 2;
	max-width: 1080px;
	margin: 0 auto 34px;
	display: flex;
	align-items: center;
	gap: 14px;
	font-size: 14px;
}

.book-top .logo {
	display: flex;
	align-items: center;
	gap: 9px;
	font-weight: 700;
	letter-spacing: .5px;
	color: #f4efe6;
}

.book-top .logo img {
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: #fff;
}

.book-top .links {
	margin-left: auto;
	display: flex;
	gap: 18px;
	color: rgba(244, 239, 230, .72);
}

.book-top .links a:hover { color: var(--gold-light); }

.book-head {
	position: relative;
	z-index: 2;
	max-width: 1080px;
	margin: 0 auto;
	display: flex;
	gap: 46px;
	align-items: center;
}

/* ---------- 封面（纯 CSS 绘制） ---------- */
.book-cover {
	flex: 0 0 236px;
	width: 236px;
	aspect-ratio: 3 / 4.35;
	border-radius: 10px;
	position: relative;
	background: linear-gradient(160deg, #2a2f36 0%, #171c22 55%, #0f1318 100%);
	box-shadow: 0 26px 60px rgba(0, 0, 0, .55), 0 0 0 1px rgba(216, 184, 120, .35) inset;
	overflow: hidden;
	transform: perspective(900px) rotateY(-6deg);
	transition: transform .5s ease;
}

.book-cover:hover { transform: perspective(900px) rotateY(0deg) translateY(-6px); }

.book-cover::before {
	content: "";
	position: absolute;
	inset: 14px;
	border: 1px solid rgba(216, 184, 120, .5);
	border-radius: 6px;
}

.book-cover::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(60% 40% at 50% 12%, rgba(216, 184, 120, .3), transparent 70%),
		repeating-linear-gradient(45deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 8px);
}

.book-cover .cv-inner {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 30px 24px;
	text-align: center;
}

.book-cover .cv-seal {
	font-family: var(--serif);
	font-size: 13px;
	letter-spacing: 6px;
	color: var(--gold-light);
	opacity: .85;
	writing-mode: vertical-rl;
	position: absolute;
	top: 22px;
	right: 26px;
}

.book-cover .cv-title {
	font-family: var(--serif);
	font-size: 40px;
	font-weight: 700;
	letter-spacing: 8px;
	line-height: 1.25;
	color: #f6efdf;
	text-shadow: 0 2px 18px rgba(216, 184, 120, .45);
	writing-mode: vertical-rl;
}

.book-cover .cv-sub {
	font-size: 11px;
	letter-spacing: 3px;
	color: rgba(216, 184, 120, .8);
	border-top: 1px solid rgba(216, 184, 120, .35);
	border-bottom: 1px solid rgba(216, 184, 120, .35);
	padding: 5px 0;
	writing-mode: vertical-rl;
	position: absolute;
	bottom: 30px;
	left: 50%;
	transform: translateX(-50%);
}

/* ---------- 书籍信息 ---------- */
.book-info { flex: 1; min-width: 0; }

.book-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12.5px;
	letter-spacing: 1px;
	color: var(--gold-light);
	border: 1px solid rgba(216, 184, 120, .45);
	background: rgba(216, 184, 120, .1);
	border-radius: 999px;
	padding: 4px 14px;
}

.book-info h1 {
	font-family: var(--serif);
	font-size: 42px;
	font-weight: 700;
	letter-spacing: 4px;
	margin: 16px 0 8px;
	color: #f7f2e8;
}

.book-info .book-sub {
	font-size: 15px;
	color: rgba(244, 239, 230, .72);
	letter-spacing: 1px;
	margin-bottom: 18px;
}

.book-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 22px;
}

.book-tags span {
	font-size: 12.5px;
	padding: 4px 12px;
	border-radius: 6px;
	background: rgba(255, 255, 255, .08);
	border: 1px solid rgba(255, 255, 255, .12);
	color: #e9e3d7;
}

.book-stats {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 40px;
	padding: 18px 0;
	border-top: 1px solid rgba(255, 255, 255, .12);
	border-bottom: 1px solid rgba(255, 255, 255, .12);
	margin-bottom: 24px;
}

.book-stats .bs b {
	display: block;
	font-family: var(--serif);
	font-size: 24px;
	color: var(--gold-light);
	letter-spacing: 1px;
}

.book-stats .bs span {
	font-size: 12px;
	color: rgba(244, 239, 230, .6);
}

.book-cta { display: flex; flex-wrap: wrap; gap: 14px; }

.btn-gold,
.btn-ghost {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 13px 32px;
	border-radius: 10px;
	font-size: 15px;
	font-weight: 600;
	transition: .25s;
	cursor: pointer;
	border: 1px solid transparent;
}

.btn-gold {
	background: linear-gradient(135deg, #c9a45e, #9c7434);
	color: #1b1408;
	box-shadow: 0 8px 22px rgba(176, 132, 66, .35);
}

.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(176, 132, 66, .5); }

.btn-ghost {
	background: rgba(255, 255, 255, .06);
	border-color: rgba(216, 184, 120, .45);
	color: var(--gold-light);
}

.btn-ghost:hover { background: rgba(216, 184, 120, .14); }

/* ==========================================================================
   二、书籍正文区（简介 / 人物 / 世界观 / 目录）
   ========================================================================== */

.book-main {
	max-width: 1080px;
	margin: -46px auto 0;
	padding: 0 20px 70px;
	position: relative;
	z-index: 3;
}

.card {
	background: var(--paper-card);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 32px 34px;
	margin-bottom: 24px;
}

.card-title {
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: var(--serif);
	font-size: 20px;
	font-weight: 700;
	color: var(--ink);
	letter-spacing: 1px;
	margin-bottom: 20px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--line);
	position: relative;
}

.card-title::before {
	content: "";
	width: 4px;
	height: 20px;
	border-radius: 2px;
	background: linear-gradient(180deg, var(--gold), var(--gold-deep));
}

.card-title small {
	margin-left: auto;
	font-family: var(--sans);
	font-size: 12.5px;
	font-weight: 400;
	color: var(--ink-mute);
	letter-spacing: 0;
}

.prose p {
	font-size: 15.5px;
	line-height: 1.95;
	color: var(--ink-soft);
	text-indent: 2em;
	margin-bottom: 12px;
}

.prose p.no-indent { text-indent: 0; }

.quote-box {
	background: linear-gradient(180deg, #fdfaf3, #faf6ec);
	border: 1px solid #efe6d2;
	border-left: 4px solid var(--gold);
	border-radius: 10px;
	padding: 16px 20px;
	font-family: var(--serif);
	font-size: 15px;
	color: var(--gold-deep);
	line-height: 1.9;
	margin: 18px 0;
}

/* 人物卡 */
.chars {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(238px, 1fr));
	gap: 16px;
}

.char {
	background: linear-gradient(180deg, #fdfcf9, #f7f4ed);
	border: 1px solid var(--line);
	border-radius: 12px;
	padding: 18px 20px;
	transition: .25s;
}

.char:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(28, 24, 16, .1); border-color: #e0d4b8; }

.char .c-name {
	font-family: var(--serif);
	font-size: 17px;
	font-weight: 700;
	color: var(--ink);
	display: flex;
	align-items: center;
	gap: 8px;
}

.char .c-name em {
	font-style: normal;
	font-size: 11.5px;
	font-family: var(--sans);
	color: var(--jade);
	background: var(--jade-light);
	border: 1px solid #cfe8da;
	border-radius: 4px;
	padding: 1px 7px;
}

.char .c-role {
	font-size: 12.5px;
	color: var(--gold-deep);
	margin: 6px 0 9px;
	letter-spacing: .5px;
}

.char .c-desc { font-size: 13.5px; color: var(--ink-mute); line-height: 1.8; }

/* 境界阶梯 */
.realm-list { display: flex; flex-wrap: wrap; gap: 8px; }

.realm-list span {
	font-size: 13px;
	padding: 6px 14px;
	border-radius: 999px;
	background: #f4f1e8;
	border: 1px solid var(--line);
	color: var(--ink-soft);
}

.realm-list span.hi {
	background: linear-gradient(135deg, #fbf3e0, #f5e6c7);
	border-color: #e3cf9f;
	color: var(--gold-deep);
	font-weight: 600;
}

/* ==========================================================================
   三、分卷目录
   ========================================================================== */

.vol { border-bottom: 1px dashed var(--line); }
.vol:last-child { border-bottom: none; }

.vol-head {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px 4px;
	cursor: pointer;
	user-select: none;
}

.vol-head .v-no {
	font-family: var(--serif);
	font-size: 13px;
	letter-spacing: 1px;
	color: var(--gold-deep);
	background: #faf4e6;
	border: 1px solid #ecdcb8;
	border-radius: 6px;
	padding: 3px 10px;
	white-space: nowrap;
}

.vol-head .v-name {
	font-family: var(--serif);
	font-size: 17px;
	font-weight: 700;
	color: var(--ink);
}

.vol-head .v-desc {
	font-size: 12.5px;
	color: var(--ink-mute);
}

.vol-head .v-count {
	margin-left: auto;
	font-size: 12.5px;
	color: var(--ink-mute);
}

.vol-head .v-arrow { color: var(--ink-mute); transition: transform .25s; font-size: 12px; }
.vol.open .vol-head .v-arrow { transform: rotate(180deg); }

.vol-body { display: none; padding: 4px 0 18px; }
.vol.open .vol-body { display: block; }

.chap-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(186px, 1fr));
	gap: 9px;
}

.chap-grid a {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 13px;
	border: 1px solid var(--line);
	border-radius: 9px;
	font-size: 13.5px;
	color: var(--ink-soft);
	background: #fdfcf9;
	transition: .2s;
	overflow: hidden;
}

.chap-grid a:hover {
	border-color: var(--gold-light);
	background: #fdf8ee;
	color: var(--gold-deep);
	transform: translateY(-2px);
}

.chap-grid a .n {
	font-family: var(--serif);
	font-size: 12px;
	color: var(--gold);
	flex: 0 0 auto;
}

.chap-grid a .t { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.chap-grid a.soon {
	color: #b9b3a6;
	background: #faf9f6;
	border-style: dashed;
	cursor: not-allowed;
}

.chap-grid a.soon .n { color: #cfc9bb; }

.vol-note {
	font-size: 12.5px;
	color: var(--ink-mute);
	padding: 10px 4px 0;
}

.book-foot {
	text-align: center;
	padding: 30px 20px 44px;
	font-size: 13px;
	color: var(--ink-mute);
	border-top: 1px solid var(--line);
	background: #fdfcf9;
}

.book-foot a { color: var(--jade); }

/* ==========================================================================
   四、阅读页
   ========================================================================== */

body.reader { background: var(--paper); }

.read-progress {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: transparent;
	z-index: 60;
}

.read-progress i {
	display: block;
	height: 100%;
	width: 0;
	background: linear-gradient(90deg, var(--jade), var(--gold));
	transition: width .1s linear;
}

.reader-bar {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(251, 249, 244, .88);
	backdrop-filter: saturate(1.4) blur(12px);
	-webkit-backdrop-filter: saturate(1.4) blur(12px);
	border-bottom: 1px solid var(--line);
}

.reader-bar .rb-inner {
	max-width: 1080px;
	margin: 0 auto;
	padding: 10px 20px;
	display: flex;
	align-items: center;
	gap: 14px;
}

.rb-brand {
	display: flex;
	align-items: center;
	gap: 9px;
	font-family: var(--serif);
	font-weight: 700;
	letter-spacing: 1px;
	color: var(--ink);
	font-size: 15.5px;
}

.rb-brand .seal {
	width: 26px;
	height: 26px;
	border-radius: 7px;
	background: linear-gradient(135deg, var(--gold), var(--gold-deep));
	color: #fff;
	font-size: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--serif);
}

.rb-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }

.rb-actions button,
.rb-actions a.rb-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	min-width: 34px;
	height: 32px;
	padding: 0 11px;
	font-size: 13px;
	font-family: var(--sans);
	color: var(--ink-soft);
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 8px;
	cursor: pointer;
	transition: .2s;
}

.rb-actions button:hover,
.rb-actions a.rb-link:hover { border-color: var(--gold-light); color: var(--gold-deep); }

.reader-wrap {
	max-width: 780px;
	margin: 0 auto;
	padding: 30px 22px 60px;
}

.rb-crumb {
	font-size: 12.5px;
	color: var(--ink-mute);
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 22px;
	flex-wrap: wrap;
}

.rb-crumb a { color: var(--jade); }
.rb-crumb span.sep { color: #d6d0c4; }

.chapter .chap-head {
	text-align: center;
	margin-bottom: 34px;
	padding-bottom: 22px;
	border-bottom: 1px double var(--line);
}

.chapter .chap-head h1 {
	font-family: var(--serif);
	font-size: 29px;
	font-weight: 700;
	letter-spacing: 3px;
	color: var(--ink);
	line-height: 1.5;
}

.chapter .chap-head .vol-line {
	font-size: 12.5px;
	letter-spacing: 3px;
	color: var(--gold-deep);
	margin-top: 12px;
}

.chapter .chap-head .chap-meta {
	font-size: 12.5px;
	color: var(--ink-mute);
	margin-top: 10px;
	display: flex;
	justify-content: center;
	gap: 14px;
	flex-wrap: wrap;
}

.chap-body {
	font-family: var(--serif);
	font-size: var(--read-size);
	line-height: var(--read-lh);
	color: #26292e;
	letter-spacing: .2px;
}

.chap-body p { text-indent: 2em; margin-bottom: 1.05em; }

.chap-body p.dialogue { text-indent: 2em; }

.chap-body p.center { text-indent: 0; text-align: center; color: var(--ink-mute); letter-spacing: 4px; }

.chap-body p.scene {
	text-indent: 0;
	text-align: center;
	font-size: calc(var(--read-size) - 3px);
	letter-spacing: 6px;
	color: var(--gold-deep);
	margin: 2em 0;
}

.chap-body p.scene::before,
.chap-body p.scene::after { content: "◆"; color: #dfd3b6; margin: 0 12px; font-size: 11px; }

.chap-body em { font-style: normal; color: var(--gold-deep); font-weight: 600; }

.chap-body strong { font-weight: 700; color: #171a1e; }

.chap-body .sys {
	display: block;
	margin: 1.1em 0;
	padding: 12px 16px;
	background: #fdfaf3;
	border: 1px dashed #e6d9bb;
	border-radius: 8px;
	font-size: calc(var(--read-size) - 2px);
	color: var(--gold-deep);
	text-indent: 0;
	line-height: 1.9;
}

/* 信件 / 文书 抄本样式 */
.chap-body .letter {
	margin: 1.6em 0;
	padding: 18px 20px;
	background: #fbf7ee;
	border: 1px solid #eadfc4;
	border-left: 4px solid var(--gold-deep);
	border-radius: 6px;
	font-size: calc(var(--read-size) - 2px);
	line-height: 1.95;
	color: #4a4a44;
}
.chap-body .letter p { text-indent: 0; margin: 0 0 0.9em; }
.chap-body .letter p:last-child { margin-bottom: 0; }
html[data-theme="dark"] .chap-body .letter {
	background: #1a2028;
	border-color: #33404d;
	border-left-color: var(--gold-light);
	color: #bdc6cf;
}

.chap-end {
	margin: 46px 0 28px;
	text-align: center;
	font-size: 12.5px;
	letter-spacing: 3px;
	color: #b6afa0;
}

.pager {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	gap: 12px;
	align-items: stretch;
	padding-top: 26px;
	border-top: 1px solid var(--line);
}

.pager a {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	padding: 14px 16px;
	border: 1px solid var(--line);
	border-radius: 10px;
	font-size: 14px;
	background: #fff;
	color: var(--ink-soft);
	transition: .2s;
	text-align: center;
}

.pager a:hover { border-color: var(--gold-light); background: #fdf8ee; color: var(--gold-deep); transform: translateY(-2px); }

.pager a.toc { font-weight: 600; color: var(--gold-deep); }

.pager a.disabled {
	opacity: .45;
	pointer-events: none;
	background: #faf9f6;
}

.pager a .lbl { font-size: 11.5px; color: var(--ink-mute); display: block; }

.pager a .nm { display: block; font-size: 13.5px; max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.reader-foot {
	text-align: center;
	padding: 26px 20px 40px;
	font-size: 12.5px;
	color: var(--ink-mute);
	border-top: 1px solid var(--line);
}

.reader-foot a { color: var(--jade); }

.to-top {
	position: fixed;
	right: 22px;
	bottom: 26px;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: #fff;
	border: 1px solid var(--line);
	box-shadow: 0 8px 22px rgba(28, 24, 16, .14);
	color: var(--gold-deep);
	font-size: 16px;
	display: none;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 40;
}

.to-top.show { display: flex; }

/* ==========================================================================
   五、夜间主题
   ========================================================================== */

html[data-theme="dark"] body.reader,
html[data-theme="dark"] body.book {
	background: var(--night-bg);
	color: var(--night-text);
}

html[data-theme="dark"] .reader-bar {
	background: rgba(20, 24, 29, .9);
	border-bottom-color: var(--night-line);
}

html[data-theme="dark"] .rb-brand { color: #e6ecef; }

html[data-theme="dark"] .rb-actions button,
html[data-theme="dark"] .rb-actions a.rb-link {
	background: #202730;
	border-color: var(--night-line);
	color: var(--night-text-soft);
}

html[data-theme="dark"] .chapter .chap-head { border-bottom-color: var(--night-line); }
html[data-theme="dark"] .chapter .chap-head h1 { color: #eaefef; }
html[data-theme="dark"] .chap-body { color: #c3cad1; }
html[data-theme="dark"] .chap-body strong { color: #f0f4f4; }
html[data-theme="dark"] .chap-body em { color: var(--gold-light); }
html[data-theme="dark"] .chap-body .sys {
	background: #1a2028;
	border-color: #33404d;
	color: var(--gold-light);
}

html[data-theme="dark"] .pager a {
	background: #1b2128;
	border-color: var(--night-line);
	color: var(--night-text-soft);
}

html[data-theme="dark"] .pager a:hover { background: #222b33; color: var(--gold-light); border-color: #3d4a55; }
html[data-theme="dark"] .pager a.disabled { background: #161b21; }
html[data-theme="dark"] .chap-end { color: #5e6a76; }
html[data-theme="dark"] .reader-foot { border-top-color: var(--night-line); color: #6b7784; }
html[data-theme="dark"] .to-top { background: #1e252d; border-color: var(--night-line); color: var(--gold-light); }

html[data-theme="dark"] .card {
	background: var(--night-card);
	border-color: var(--night-line);
	box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}

html[data-theme="dark"] .card-title { color: #e6ecef; border-bottom-color: var(--night-line); }
html[data-theme="dark"] .prose p { color: #a9b3bd; }
html[data-theme="dark"] .quote-box { background: #1a2028; border-color: #33404d; color: var(--gold-light); }
html[data-theme="dark"] .char { background: #1a2028; border-color: var(--night-line); }
html[data-theme="dark"] .char .c-name { color: #e6ecef; }
html[data-theme="dark"] .char .c-desc { color: #94a0ab; }
html[data-theme="dark"] .realm-list span { background: #1a2028; border-color: var(--night-line); color: #a9b3bd; }
html[data-theme="dark"] .realm-list span.hi { background: #2a2418; border-color: #4a3d24; color: var(--gold-light); }
html[data-theme="dark"] .vol { border-bottom-color: var(--night-line); }
html[data-theme="dark"] .vol-head .v-name { color: #e6ecef; }
html[data-theme="dark"] .vol-head .v-no { background: #2a2418; border-color: #4a3d24; color: var(--gold-light); }
html[data-theme="dark"] .chap-grid a { background: #1a2028; border-color: var(--night-line); color: #a9b3bd; }
html[data-theme="dark"] .chap-grid a:hover { background: #222b33; color: var(--gold-light); }
html[data-theme="dark"] .chap-grid a.soon { background: #171c22; color: #5a6570; }
html[data-theme="dark"] .book-main { }
html[data-theme="dark"] .book-foot { background: #12171b; border-top-color: var(--night-line); color: #6b7784; }

/* ==========================================================================
   六、响应式
   ========================================================================== */

@media (max-width: 900px) {
	.book-head { flex-direction: column; gap: 28px; text-align: center; }
	.book-cover { flex: none; width: 200px; transform: none; }
	.book-info h1 { font-size: 32px; }
	.book-info .book-sub, .book-tags, .book-stats, .book-cta { justify-content: center; }
	.book-stats { justify-content: center; gap: 12px 26px; }
	.book-cta { justify-content: center; }
	.book-hero { padding-bottom: 60px; }
	.book-main { margin-top: -30px; }
}

@media (max-width: 600px) {
	.card { padding: 22px 18px; }
	.book-info h1 { font-size: 26px; letter-spacing: 2px; }
	.book-cover .cv-title { font-size: 32px; }
	.reader-wrap { padding: 22px 16px 48px; }
	.chapter .chap-head h1 { font-size: 22px; letter-spacing: 1.5px; }
	:root { --read-size: 17px; --read-lh: 1.95; }
	.pager { grid-template-columns: 1fr; }
	.pager a .nm { max-width: none; }
	.rb-brand span.name { display: none; }
	.chap-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
}
