﻿/* ============================================================
   鬼吹灯之寻龙诀 · 站点样式
   背景：鬼洞石像场景图 / 文字：高对比衬底 + 强阴影
   ============================================================ */

:root {
	--ink: #06080a;
	--gold: #c9a227;
	--gold-l: #f0d99a;
	--gold-d: #7a5f14;
	--jade: #6fc4a8;
	--paper: #f7f3e9;
	--paper-dim: #ded7c7;
	--muted: #8b9199;
	--line: rgba(201, 162, 39, .42);
	--panel: rgba(9, 13, 15, .8);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; overflow-x: hidden; }

body {
	min-height: 100%;
	background: #05070a;
	color: var(--paper);
	font-family: "Source Han Serif SC", "Noto Serif SC", "Songti SC", "STSong", "SimSun", Georgia, serif;
	font-size: 15px;
	line-height: 1.9;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

a { text-decoration: none; color: inherit; }

/* 背景照片层 ------------------------------------------------ */
body::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: 0;
	background: #05070a url("bg9999.jpg")/*tpa=http://huainian.880my.com/assets/bg9999.jpg*/ center 38% / cover no-repeat;
	transform: scale(1.02);
	filter: saturate(1) contrast(1.05) brightness(1.02);
}

/* 粒子层 ---------------------------------------------------- */
#bg {
	position: fixed;
	inset: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	display: block;
	opacity: .8;
	mix-blend-mode: screen;
	pointer-events: none;
}

/* 压暗遮罩：中心留出可读区，四周收暗 ------------------------ */
.veil {
	position: fixed;
	inset: 0;
	z-index: 2;
	pointer-events: none;
	background:
		radial-gradient(ellipse 74% 64% at 50% 46%, rgba(3, 6, 9, .10) 0%, rgba(3, 6, 9, .36) 46%, rgba(2, 4, 6, .74) 76%, rgba(2, 3, 5, .93) 100%),
		linear-gradient(180deg, rgba(2, 4, 6, .70) 0%, rgba(2, 4, 6, .10) 24%, rgba(2, 4, 6, .20) 62%, rgba(2, 3, 5, .9) 100%);
}

/* 子页面：整屏更暗，保证长文阅读 */
.veil.deep {
	background:
		linear-gradient(180deg, rgba(3, 5, 8, .88) 0%, rgba(3, 5, 8, .82) 40%, rgba(3, 5, 8, .9) 100%),
		radial-gradient(ellipse at 50% 30%, rgba(6, 10, 14, .5) 0%, rgba(2, 3, 5, .92) 78%);
}

/* 主页 ------------------------------------------------------ */
.stage {
	position: relative;
	z-index: 3;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 80px 20px 130px;
	text-align: center;
}

/* 文字衬底：一块柔和的暗斑，让字与图彻底分开 */
.stage::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	width: min(1020px, 96vw);
	height: min(600px, 78vh);
	background: radial-gradient(ellipse at center, rgba(3, 6, 9, .88) 0%, rgba(3, 6, 9, .72) 42%, rgba(3, 6, 9, .32) 68%, rgba(3, 6, 9, 0) 84%);
	filter: blur(14px);
	z-index: -1;
	pointer-events: none;
}

.eyebrow {
	position: relative;
	font-size: 12px;
	letter-spacing: .62em;
	text-indent: .62em;
	color: #f7e3ad;
	text-shadow: 0 0 2px #000, 0 1px 3px rgba(0, 0, 0, 1), 0 2px 10px rgba(0, 0, 0, 1), 0 4px 24px rgba(0, 0, 0, .95);
	margin-bottom: 26px;
	animation: rise 1.1s .1s both;
}

.title {
	position: relative;
	font-size: clamp(30px, 7.4vw, 76px);
	font-weight: 700;
	letter-spacing: .14em;
	text-indent: .14em;
	line-height: 1.28;
	color: #fffdf7;
	text-shadow:
		0 1px 0 rgba(0, 0, 0, .85),
		0 2px 10px rgba(0, 0, 0, .95),
		0 8px 30px rgba(0, 0, 0, .9),
		0 18px 60px rgba(0, 0, 0, .75),
		0 0 80px rgba(240, 217, 154, .18);
	animation: rise 1.2s .22s both;
}

.title em {
	font-style: normal;
	color: #f7dfa4;
	text-shadow:
		0 1px 0 rgba(0, 0, 0, .85),
		0 2px 10px rgba(0, 0, 0, .95),
		0 8px 30px rgba(0, 0, 0, .9),
		0 0 42px rgba(240, 217, 154, .3);
}

.rule {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	margin: 26px 0 22px;
	animation: rise 1.2s .34s both;
}

.rule i {
	display: block;
	width: clamp(46px, 12vw, 132px);
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(240, 217, 154, .55));
	box-shadow: 0 1px 6px rgba(0, 0, 0, .8);
}

.rule i:last-child {
	background: linear-gradient(270deg, transparent, rgba(240, 217, 154, .55));
}

.rule span {
	width: 7px;
	height: 7px;
	border: 1px solid #f0d99a;
	transform: rotate(45deg);
	opacity: .9;
}

.sub {
	position: relative;
	font-size: clamp(13px, 2.4vw, 17px);
	letter-spacing: .28em;
	text-indent: .28em;
	color: #f2ecdd;
	text-shadow: 0 1px 3px rgba(0, 0, 0, .95), 0 3px 16px rgba(0, 0, 0, .9);
	animation: rise 1.2s .46s both;
}

.sub b {
	color: #8fe0c3;
	font-weight: 400;
	text-shadow: 0 1px 3px rgba(0, 0, 0, .95), 0 0 18px rgba(111, 196, 168, .35);
}

.btns {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 14px 16px;
	max-width: 800px;
	margin-top: 52px;
	animation: rise 1.2s .6s both;
}

.btns a {
	display: inline-block;
	font-size: 14px;
	letter-spacing: .18em;
	text-indent: .18em;
	padding: 11px 34px;
	border-radius: 999px;
	color: #fff;
	background: rgba(6, 9, 12, .86);
	border: 1px solid rgba(201, 162, 39, .55);
	box-shadow: 0 3px 18px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .05);
	backdrop-filter: blur(8px);
	text-shadow: 0 1px 2px rgba(0, 0, 0, .75);
	transition: color .25s, background .35s, border-color .3s, transform .25s, box-shadow .35s;
}

.btns a:hover {
	color: #14100a;
	background: linear-gradient(120deg, #f3ddab, var(--gold) 58%, #a8842a);
	border-color: #f7e6bd;
	transform: translateY(-2px);
	box-shadow: 0 10px 30px rgba(201, 162, 39, .35);
	text-shadow: none;
}

.btns a.ghost {
	border-color: rgba(111, 196, 168, .5);
}

.btns a.ghost:hover {
	color: #05130f;
	background: linear-gradient(120deg, #a5e6d0, var(--jade));
	border-color: #a5e6d0;
	box-shadow: 0 10px 30px rgba(111, 196, 168, .32);
}

.creed {
	position: relative;
	margin-top: 46px;
	font-size: 12px;
	letter-spacing: .34em;
	text-indent: .34em;
	color: #e6cf95;
	text-shadow: 0 1px 3px rgba(0, 0, 0, .95), 0 3px 16px rgba(0, 0, 0, .85);
	animation: rise 1.2s .74s both;
}

/* 页脚 ------------------------------------------------------ */
.footer {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 4;
	padding: 30px 20px 16px;
	text-align: center;
	background: linear-gradient(180deg, rgba(2, 3, 5, 0) 0%, rgba(2, 3, 5, .82) 38%, rgba(2, 3, 5, .96) 100%);
	pointer-events: none;
}

.footer p {
	font-size: 12px;
	line-height: 1.7;
	color: #c2c9d1;
	letter-spacing: .04em;
	text-shadow: 0 1px 4px rgba(0, 0, 0, .9);
}

.footer .made {
	color: #98a0a8;
	font-size: 11px;
	margin-top: 3px;
}

/* 子页面页脚：长页面里不固定在视口上，避免遮挡正文 */
.page ~ .footer {
	position: static;
	padding: 44px 20px 26px;
	background: linear-gradient(180deg, rgba(2, 3, 5, 0) 0%, rgba(2, 3, 5, .55) 100%);
}

/* 子页面 ---------------------------------------------------- */
.page {
	position: relative;
	z-index: 3;
	max-width: 940px;
	margin: 0 auto;
	padding: 46px 22px 60px;
}

.topbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	padding-bottom: 18px;
	border-bottom: 1px solid rgba(255, 255, 255, .1);
	margin-bottom: 44px;
}

.brand {
	font-size: 13px;
	letter-spacing: .34em;
	text-indent: .34em;
	color: #f0d99a;
	text-shadow: 0 1px 4px rgba(0, 0, 0, .9);
}

.brand small {
	display: block;
	font-size: 10px;
	letter-spacing: .18em;
	color: var(--muted);
	text-indent: 0;
	margin-top: 2px;
}

.back {
	font-size: 12px;
	letter-spacing: .16em;
	padding: 7px 20px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, .18);
	color: #ece7db;
	background: rgba(8, 11, 14, .55);
	backdrop-filter: blur(6px);
	transition: all .25s;
}

.back:hover {
	color: #14100a;
	background: var(--gold);
	border-color: var(--gold);
}

/* 栏目页顶部：返回首页 + 玩家交流群 --------------------------- */
.topbar-links { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.back.qq {
	color: #8fe0c3;
	border-color: rgba(143, 224, 195, .45);
	background: rgba(8, 22, 19, .6);
}
.back.qq:hover {
	color: #0b1712;
	background: #8fe0c3;
	border-color: #b9f2dd;
}

/* 栏目页底部：加群提示条 ------------------------------------- */
.join-bar {
	margin-top: 42px;
	display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
	padding: 18px 22px;
	border: 1px solid rgba(143, 224, 195, .3);
	border-radius: 4px;
	background: linear-gradient(105deg, rgba(77, 157, 134, .12), rgba(8, 11, 14, .6));
}
.join-bar p { margin: 0; font-size: 13px; color: #c9d2d4; letter-spacing: .04em; line-height: 1.7; }
.join-bar a {
	flex: none;
	font-size: 12.5px; letter-spacing: .14em; padding: 9px 20px; border-radius: 999px;
	color: #0b1712; background: #8fe0c3; border: 1px solid #b9f2dd;
	transition: all .25s;
}
.join-bar a:hover { background: #b9f2dd; transform: translateY(-1px); }

.p-title {
	font-size: clamp(24px, 5vw, 40px);
	letter-spacing: .2em;
	text-indent: .2em;
	font-weight: 700;
	color: #fffdf7;
	text-shadow: 0 2px 8px rgba(0, 0, 0, .95), 0 6px 28px rgba(0, 0, 0, .85);
}

.p-sub {
	margin-top: 12px;
	font-size: 12px;
	letter-spacing: .3em;
	text-indent: .3em;
	color: #f0d99a;
	text-shadow: 0 1px 4px rgba(0, 0, 0, .9);
}

.p-lead {
	margin-top: 30px;
	padding: 22px 24px;
	border-left: 2px solid rgba(201, 162, 39, .55);
	background: linear-gradient(90deg, rgba(201, 162, 39, .1), rgba(6, 9, 12, .55) 60%, rgba(6, 9, 12, .3));
	color: #e3ddcf;
	font-size: 14px;
	text-shadow: 0 1px 3px rgba(0, 0, 0, .9);
	backdrop-filter: blur(4px);
}

.p-lead b { color: #f5dfa6; font-weight: 400; }

.sec { margin-top: 44px; }

.sec h2 {
	font-size: 16px;
	letter-spacing: .2em;
	text-indent: .2em;
	color: var(--gold-l);
	font-weight: 400;
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 18px;
	text-shadow: 0 1px 5px rgba(0, 0, 0, .9);
}

.sec h2::after {
	content: "";
	flex: 1;
	height: 1px;
	background: linear-gradient(90deg, var(--line), transparent);
}

.sec p {
	color: #d9d3c5;
	font-size: 14.5px;
	margin-bottom: 14px;
	letter-spacing: .04em;
	text-shadow: 0 1px 3px rgba(0, 0, 0, .9);
}

.sec p strong { color: #fffdf7; font-weight: 700; }

.cards {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
	margin-top: 8px;
}

@media (min-width: 700px) {
	.cards { grid-template-columns: repeat(2, 1fr); }
}

.card {
	padding: 22px 20px;
	background: rgba(10, 14, 17, .82);
	border: 1px solid rgba(255, 255, 255, .1);
	border-radius: 3px;
	backdrop-filter: blur(8px);
	transition: border-color .3s, transform .3s, background .3s;
}

.card:hover {
	border-color: rgba(201, 162, 39, .5);
	background: rgba(14, 19, 23, .9);
	transform: translateY(-3px);
}

.card h3 {
	font-size: 15px;
	letter-spacing: .16em;
	text-indent: .16em;
	color: #f5dfa6;
	font-weight: 400;
	margin-bottom: 8px;
	text-shadow: 0 1px 4px rgba(0, 0, 0, .9);
}

.card .en {
	display: block;
	font-size: 10px;
	letter-spacing: .22em;
	color: var(--muted);
	margin-bottom: 12px;
	text-transform: uppercase;
}

.card p {
	font-size: 13.5px;
	color: #d5cfc1;
	line-height: 1.85;
	margin: 0;
	text-shadow: 0 1px 2px rgba(0, 0, 0, .8);
}

.list { border-top: 1px solid rgba(255, 255, 255, .1); }

.list li {
	list-style: none;
	display: flex;
	gap: 16px;
	align-items: baseline;
	padding: 15px 2px;
	border-bottom: 1px solid rgba(255, 255, 255, .1);
	font-size: 14px;
	color: #d9d3c5;
	text-shadow: 0 1px 3px rgba(0, 0, 0, .9);
}

.list li span.n {
	flex: 0 0 auto;
	font-size: 11px;
	letter-spacing: .1em;
	color: #e6cf95;
	opacity: .85;
	min-width: 34px;
}

.list li b {
	color: #fffdf7;
	font-weight: 400;
	letter-spacing: .08em;
}

/* 动画 ------------------------------------------------------ */
@keyframes rise {
	from { opacity: 0; transform: translateY(18px); }
	to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
	* { animation: none !important; transition: none !important; }
}

/* 背景音乐开关 ---------------------------------------------- */
.bgm-btn {
	position: fixed;
	right: 22px;
	bottom: 34px;
	z-index: 20;
	width: 42px;
	height: 42px;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #f0d99a;
	background: rgba(6, 9, 12, .84);
	border: 1px solid rgba(201, 162, 39, .5);
	border-radius: 50%;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	box-shadow: 0 3px 16px rgba(0, 0, 0, .55);
	transition: background .25s, border-color .25s, color .25s, transform .2s, box-shadow .3s;
}

.bgm-btn:hover {
	color: #14100a;
	background: linear-gradient(140deg, #f3ddab, var(--gold));
	border-color: #f7e6bd;
	transform: scale(1.06);
	box-shadow: 0 6px 22px rgba(201, 162, 39, .38);
}

.bgm-btn:active { transform: scale(.96); }

/* 播放中：轻微呼吸光晕 */
.bgm-btn.is-playing {
	box-shadow: 0 0 0 0 rgba(201, 162, 39, .5), 0 3px 16px rgba(0, 0, 0, .55);
	animation: bgmPulse 3s ease-out infinite;
}

@keyframes bgmPulse {
	0% { box-shadow: 0 0 0 0 rgba(201, 162, 39, .45), 0 3px 16px rgba(0, 0, 0, .55); }
	70% { box-shadow: 0 0 0 10px rgba(201, 162, 39, 0), 0 3px 16px rgba(0, 0, 0, .55); }
	100% { box-shadow: 0 0 0 0 rgba(201, 162, 39, 0), 0 3px 16px rgba(0, 0, 0, .55); }
}

/* 暂停：整体压暗 + 一道斜杠 */
.bgm-btn.is-off {
	color: #9aa1a9;
	opacity: .82;
}

.bgm-btn.is-off::after {
	content: "";
	position: absolute;
	width: 22px;
	height: 1.5px;
	background: currentColor;
	transform: rotate(-45deg);
	border-radius: 1px;
}

.bgm-btn.bgm-missing {
	color: #7d848c;
	opacity: .5;
	cursor: not-allowed;
}

/* 自动播放被拦截时的提示气泡 */
.bgm-tip {
	position: fixed;
	right: 74px;
	bottom: 43px;
	z-index: 20;
	padding: 7px 15px;
	font-size: 12px;
	letter-spacing: .12em;
	white-space: nowrap;
	color: #f5dfa6;
	background: rgba(6, 9, 12, .9);
	border: 1px solid rgba(201, 162, 39, .42);
	border-radius: 999px;
	box-shadow: 0 3px 16px rgba(0, 0, 0, .55);
	opacity: 0;
	transform: translateX(10px);
	pointer-events: none;
	transition: opacity .55s ease, transform .55s ease;
}

.bgm-tip.is-show {
	opacity: 1;
	transform: translateX(0);
}

@media (max-width: 768px) {
	.bgm-btn {
		right: 14px;
		bottom: 104px;
		width: 38px;
		height: 38px;
		backdrop-filter: none;
	}

	.bgm-tip {
		right: 62px;
		bottom: 110px;
		font-size: 11px;
		padding: 6px 12px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bgm-btn.is-playing { animation: none; }
}

/* 移动端 ---------------------------------------------------- */
@media (max-width: 768px) {
	body { font-size: 14px; line-height: 1.85; }

	body::before { background-position: center top; }

	/* 竖屏下改用均匀垂直渐变，避免椭圆暗斑在按钮区留下边界 */
	.veil {
		background:
			linear-gradient(180deg, rgba(2, 4, 6, .46) 0%, rgba(2, 4, 6, .55) 24%, rgba(2, 4, 6, .76) 46%, rgba(2, 4, 6, .91) 76%, rgba(2, 3, 5, .96) 100%);
	}

	.stage { padding: 64px 20px 132px; }

	.stage::before {
		width: 130vw;
		height: 100vh;
		filter: blur(16px);
		background: radial-gradient(ellipse at 50% 56%, rgba(3, 6, 9, .7) 0%, rgba(3, 6, 9, .48) 44%, rgba(3, 6, 9, 0) 76%);
	}

	/* 移动端按钮底色更实、关掉背景模糊：避免文字被独立合成层重采样后发灰 */
	.btns a { background: rgba(4, 7, 9, .93); backdrop-filter: none; }

	.eyebrow { font-size: 10px; letter-spacing: .44em; text-indent: .44em; margin-bottom: 20px; }

	.rule { margin: 20px 0 18px; }

	/* 6 个按钮竖排时收紧间距，避免挤压底部忠告与固定页脚 */
	.btns { margin-top: 26px; gap: 8px; width: 100%; max-width: 340px; }

	.btns a { display: block; width: 100%; padding: 9.5px 0; font-size: 14px; letter-spacing: .22em; }

	.creed { margin-top: 30px; font-size: 11px; letter-spacing: .2em; text-indent: .2em; }

	.footer { padding: 26px 22px 12px; }
	.footer p { font-size: 11px; line-height: 1.6; }

	.topbar { margin-bottom: 32px; }
	.topbar-links { gap: 8px; }
	.back, .back.qq { padding: 6px 14px; font-size: 11px; letter-spacing: .1em; }
	.join-bar { flex-direction: column; align-items: stretch; gap: 12px; padding: 16px; text-align: center; }
	.join-bar a { text-align: center; }
	.p-lead { padding: 18px; font-size: 13.5px; }
	.sec { margin-top: 34px; }
	.card { padding: 18px 16px; }
}

/* ============================================================
   攻略页专用组件 ------------------------------------------------
   ============================================================ */

/* 顶部目录 */
.toc { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.toc a {
	font-size: 13px; letter-spacing: .12em; padding: 8px 18px; border-radius: 999px;
	color: #f0d99a; background: rgba(8, 11, 14, .7);
	border: 1px solid rgba(201, 162, 39, .35); transition: all .25s;
}
.toc a:hover { color: #14100a; background: var(--gold); border-color: #f7e6bd; }

/* 版本速览 */
.facts { margin-top: 22px; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.fact {
	padding: 14px 16px; background: rgba(10, 14, 17, .8);
	border: 1px solid rgba(255, 255, 255, .09); border-left: 2px solid var(--gold); border-radius: 3px;
}
.fact .k { display: block; font-size: 11px; letter-spacing: .16em; color: var(--muted); margin-bottom: 6px; }
.fact .v { font-size: 15px; color: #fffdf7; letter-spacing: .06em; text-shadow: 0 1px 3px rgba(0, 0, 0, .9); }
.fact .v em { font-style: normal; color: var(--jade); }

/* 大陆大章节 */
.chapter { margin-top: 62px; scroll-margin-top: 20px; }
.chapter-head {
	display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap;
	padding: 16px 0 14px; border-bottom: 1px solid rgba(201, 162, 39, .4); margin-bottom: 8px;
}
.chapter-head .idx { font-size: 13px; letter-spacing: .2em; color: var(--gold); white-space: nowrap; }
.chapter-head h2 {
	font-size: clamp(22px, 4.6vw, 32px); letter-spacing: .18em; color: #fffdf7; font-weight: 700;
	text-shadow: 0 2px 10px rgba(0, 0, 0, .95);
}
.chapter-head .cond { margin-left: auto; font-size: 12px; color: var(--jade); letter-spacing: .06em; text-align: right; }

/* 小节 */
.block { margin-top: 34px; }
.block > h3 {
	display: flex; align-items: center; gap: 10px; font-size: 15px; letter-spacing: .14em;
	color: var(--gold-l); font-weight: 400; margin-bottom: 16px; text-shadow: 0 1px 5px rgba(0, 0, 0, .9);
}
.block > h3::before { content: ""; width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); flex: 0 0 auto; }

/* 玩法正文 */
.prose {
	color: #e2ddd0; font-size: 14.5px; line-height: 2; letter-spacing: .02em;
	text-shadow: 0 1px 3px rgba(0, 0, 0, .9); background: rgba(8, 11, 14, .45);
	border: 1px solid rgba(255, 255, 255, .07); border-radius: 3px; padding: 18px 20px;
}
.prose + .prose { margin-top: 12px; }

/* 关键字 / 数值 */
.kw { color: #f5dfa6; }
.num { color: #8fe0c3; }
.hot { color: #ffd27a; }
.mini { font-size: 12px; color: var(--muted); }

/* 表格 */
.tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-top: 6px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 3px; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 520px; background: rgba(8, 11, 14, .55); }
table.tbl th, table.tbl td {
	padding: 11px 14px; text-align: left; vertical-align: top; line-height: 1.75;
	border-bottom: 1px solid rgba(255, 255, 255, .08); color: #ded8ca; text-shadow: 0 1px 2px rgba(0, 0, 0, .8);
}
table.tbl th {
	color: #f0d99a; font-weight: 400; letter-spacing: .08em; background: rgba(201, 162, 39, .1);
	border-bottom: 1px solid rgba(201, 162, 39, .35); white-space: nowrap;
}
table.tbl tbody tr:nth-child(even) { background: rgba(255, 255, 255, .02); }
table.tbl tr:last-child td { border-bottom: none; }
table.tbl td:first-child { color: #fffdf7; white-space: nowrap; }
table.tbl .c { color: #8fe0c3; }

/* 编号列表 */
.steps { counter-reset: st; border-top: 1px solid rgba(255, 255, 255, .1); }
.steps li {
	list-style: none; position: relative; padding: 13px 14px 13px 52px;
	border-bottom: 1px solid rgba(255, 255, 255, .08); color: #ddd7c9; font-size: 14px; line-height: 1.85;
	text-shadow: 0 1px 3px rgba(0, 0, 0, .9);
}
.steps li::before {
	counter-increment: st; content: counter(st, decimal-leading-zero); position: absolute;
	left: 8px; top: 15px; font-size: 12px; letter-spacing: .04em; color: #14100a;
	background: var(--gold); border-radius: 3px; padding: 2px 6px;
}
.steps li b { color: #f5dfa6; font-weight: 400; }

/* 材料卡网格 */
.mat { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.mat .m { padding: 14px 16px; background: rgba(10, 14, 17, .8); border: 1px solid rgba(255, 255, 255, .09); border-radius: 3px; }
.mat .m h4 { font-size: 14px; color: #f5dfa6; font-weight: 400; letter-spacing: .08em; margin-bottom: 7px; text-shadow: 0 1px 3px rgba(0, 0, 0, .9); }
.mat .m p { font-size: 12.8px; color: #cfc9bb; line-height: 1.75; margin: 0; text-shadow: 0 1px 2px rgba(0, 0, 0, .8); }

/* 提示框 */
.note {
	margin-top: 16px; padding: 14px 18px; font-size: 13.5px; line-height: 1.85; color: #e3ddcf;
	background: linear-gradient(90deg, rgba(111, 196, 168, .12), rgba(6, 9, 12, .5));
	border-left: 2px solid var(--jade); border-radius: 3px; text-shadow: 0 1px 3px rgba(0, 0, 0, .9);
}
.note.warn { background: linear-gradient(90deg, rgba(201, 162, 39, .14), rgba(6, 9, 12, .5)); border-left-color: var(--gold); }
.note b { color: #fff; font-weight: 400; }

/* 结尾口号 */
.slogan {
	margin-top: 44px; padding: 26px; text-align: center; font-size: clamp(15px, 2.6vw, 19px);
	letter-spacing: .1em; color: #f5dfa6; line-height: 2;
	background: radial-gradient(ellipse at center, rgba(201, 162, 39, .12), rgba(6, 9, 12, .3));
	border-top: 1px solid rgba(201, 162, 39, .3); border-bottom: 1px solid rgba(201, 162, 39, .3);
	text-shadow: 0 1px 4px rgba(0, 0, 0, .95);
}

.to-top { display: inline-block; margin-top: 26px; font-size: 12px; letter-spacing: .14em; color: var(--muted); border-bottom: 1px solid rgba(255, 255, 255, .2); padding-bottom: 2px; }
.to-top:hover { color: var(--gold-l); }

@media (max-width: 768px) {
	.chapter-head .cond { margin-left: 0; width: 100%; text-align: left; }
	.toc a { font-size: 12px; padding: 7px 14px; }
	.prose { padding: 14px 15px; font-size: 13.5px; }
	.steps li { padding-left: 46px; font-size: 13px; }
	.facts { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   下载选择弹层 ------------------------------------------------
   ============================================================ */
.dl-mask {
	position: fixed; inset: 0; z-index: 30;
	display: flex; align-items: center; justify-content: center;
	padding: 20px;
	background: rgba(2, 4, 6, .8);
	backdrop-filter: blur(6px);
	opacity: 0; visibility: hidden; pointer-events: none;
	transition: opacity .3s ease, visibility .3s ease;
}
.dl-mask.is-open { opacity: 1; visibility: visible; pointer-events: auto; }

.dl-panel {
	position: relative;
	width: min(520px, 94vw);
	max-height: 90vh; overflow-y: auto;
	padding: 36px 34px 28px;
	text-align: center;
	background: linear-gradient(160deg, rgba(16, 21, 25, .98), rgba(7, 10, 13, .98));
	border: 1px solid rgba(201, 162, 39, .5);
	border-radius: 4px;
	box-shadow: 0 24px 70px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .05);
	transform: translateY(16px) scale(.985);
	transition: transform .35s cubic-bezier(.2, .8, .2, 1);
}
.dl-mask.is-open .dl-panel { transform: translateY(0) scale(1); }

.dl-close {
	position: absolute; right: 12px; top: 12px;
	width: 30px; height: 30px; line-height: 26px;
	font-size: 20px; color: #c9c2b2;
	background: rgba(255, 255, 255, .05);
	border: 1px solid rgba(255, 255, 255, .14); border-radius: 50%;
	cursor: pointer; transition: all .25s;
}
.dl-close:hover { color: #14100a; background: var(--gold); border-color: var(--gold); }

.dl-kicker { font-size: 11px; letter-spacing: .5em; text-indent: .5em; color: #e6cf95; }
.dl-panel h2 {
	margin-top: 10px; font-size: clamp(22px, 4.6vw, 30px); letter-spacing: .2em; text-indent: .2em;
	font-weight: 700; color: #fffdf7; text-shadow: 0 2px 12px rgba(0, 0, 0, .9);
}
.dl-note { margin-top: 12px; font-size: 12.5px; color: #aeb4bb; letter-spacing: .04em; line-height: 1.8; }

.dl-opts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 26px; }
.dl-opt {
	display: flex; flex-direction: column; align-items: center; gap: 7px;
	padding: 24px 14px 20px;
	background: rgba(9, 13, 16, .8);
	border: 1px solid rgba(255, 255, 255, .12); border-radius: 3px;
	transition: border-color .28s, background .28s, transform .28s, box-shadow .28s;
}
.dl-opt:hover {
	border-color: rgba(201, 162, 39, .75);
	background: rgba(20, 26, 30, .92);
	transform: translateY(-3px);
	box-shadow: 0 12px 30px rgba(0, 0, 0, .5);
}

/* 宽 / 窄 示意图形：统一占位高度，保证两卡内容对齐 */
.dl-ico {
	display: flex; align-items: center; justify-content: center;
	width: 100%; height: 46px; margin-bottom: 8px;
}
.dl-ico::before {
	content: "";
	display: block; width: 50px; height: 30px;
	border: 1.5px solid #e6cf95; border-radius: 2px;
	background: linear-gradient(135deg, rgba(201, 162, 39, .22), rgba(201, 162, 39, .04));
	box-shadow: inset 0 0 12px rgba(201, 162, 39, .18);
}
.dl-ico.tall::before { width: 24px; height: 44px; }

.dl-name { font-size: 16px; letter-spacing: .22em; text-indent: .22em; color: #f5dfa6; text-shadow: 0 1px 4px rgba(0, 0, 0, .9); }
.dl-desc { font-size: 12px; color: #aeb4bb; line-height: 1.7; letter-spacing: .03em; }
.dl-go { margin-top: 6px; font-size: 12px; letter-spacing: .16em; color: #8fe0c3; }
.dl-opt:hover .dl-go { color: #b9f2dd; }

.dl-foot { margin-top: 22px; font-size: 11.5px; color: #8b9199; line-height: 1.7; letter-spacing: .03em; }

.dl-qq {
	display: inline-block; margin-top: 12px;
	font-size: 12px; letter-spacing: .05em; color: #8fe0c3;
	text-decoration: none; border-bottom: 1px solid rgba(143, 224, 195, .35); padding-bottom: 2px;
	transition: color .25s, border-color .25s;
}
.dl-qq:hover { color: #b9f2dd; border-bottom-color: #b9f2dd; }

@media (max-width: 520px) {
	.dl-panel { padding: 30px 20px 22px; }
	.dl-opts { gap: 10px; }
	.dl-opt { padding: 18px 8px 16px; }
	.dl-name { font-size: 14px; letter-spacing: .14em; text-indent: .14em; }
	.dl-desc { font-size: 11px; }
}

/* 游戏赞助：金色强调，与普通入口区分 ------------------------ */
.btns a.sponsor {
	color: #f7e3ad;
	border-color: rgba(240, 217, 154, .8);
	box-shadow: 0 3px 18px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .06), 0 0 18px rgba(201, 162, 39, .22);
}
.btns a.sponsor:hover {
	color: #14100a;
	background: linear-gradient(120deg, #f3ddab, var(--gold) 58%, #a8842a);
	border-color: #f7e6bd;
	text-shadow: none;
}

/* 会员介绍页 ------------------------------------------------ */
.vip-card h3 { margin-bottom: 2px; }
.vip-price {
	display: block; font-size: 26px; color: #f7dfa4; letter-spacing: .04em;
	text-shadow: 0 1px 6px rgba(0, 0, 0, .9); margin: 2px 0 4px;
}
.vip-list { list-style: none; margin-top: 12px; border-top: 1px solid rgba(255, 255, 255, .1); }
.vip-list li {
	position: relative; padding: 8px 0 8px 18px; font-size: 13.5px; color: #ddd7c9;
	line-height: 1.7; border-bottom: 1px solid rgba(255, 255, 255, .07);
	text-shadow: 0 1px 2px rgba(0, 0, 0, .8);
}
.vip-list li::before { content: "◆"; position: absolute; left: 1px; top: 12px; font-size: 8px; color: var(--gold); }
.vip-list li:last-child { border-bottom: none; }
.vip-card p.vip-tip {
	margin-top: 12px; font-size: 12px; color: #8fe0c3; letter-spacing: .04em;
	text-shadow: 0 1px 3px rgba(0, 0, 0, .9);
}

