/*
Theme Name: Yododo
Theme URI: https://yododo.linguatest.cn/
Author: Yododo
Description: 游多多主题线路站。事实卡优先，不写散文。
Version: 1.0
Text Domain: yododo
*/

:root {
	--bg: #faf9f6;
	--panel: #ffffff;
	--ink: #1f2328;
	--ink-soft: #5b6167;
	--ink-mute: #8b9198;
	--line: #e5e3dd;
	--accent: #8c5a3c;
	--accent-soft: #f3ece6;
	/* 风险提示两级：禁止(强赭) / 留意(浅赭)。颜色只在这里定义，样式类引用变量。 */
	--warn-ban-line: #b5582f;
	--warn-ban-bg: #fbf1ea;
	--warn-ban-ink: #8a3b1e;
	--warn-ban-text: #6b3a26;
	--warn-notice-line: #c9a227;
	--warn-notice-bg: #faf6e6;
	--warn-notice-ink: #7a6410;
	--warn-notice-text: #6b5a20;
	/* 手机/桌面分界：JS 折叠逻辑从这里读，CSS 媒体查询写法受标准限制只能用字面量
	   （下方 max-width:767px 与 min-width:768px），改断点时三处一起改。 */
	--bp-mobile: 767px;
	/* 右下角工具停靠位：宽屏落在正文列(860px 居中)右缘外侧的空白区，不压正文；
	   按目录列表(152px)宽度定位，保证展开时列表也在正文之外；窄屏退回贴视口边 */
	--dock-right: max(16px, calc((100vw - 860px) / 2 - 168px));
}

* {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
		"Microsoft YaHei", "Source Han Sans SC", sans-serif;
	font-size: 16px;
	line-height: 1.75;
}

a {
	color: var(--accent);
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

img {
	max-width: 100%;
	height: auto;
}

.wrap {
	max-width: 860px;
	margin: 0 auto;
	padding: 0 20px;
}

/* 顶栏 */

.site-head {
	border-bottom: 1px solid var(--line);
	background: var(--panel);
}

.site-head .wrap {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 64px;
	gap: 24px;
}

.site-brand {
	font-size: 19px;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: var(--ink);
}

.site-brand span {
	color: var(--accent);
	font-weight: 400;
	margin-left: 6px;
	font-size: 14px;
}

.site-nav {
	display: flex;
	gap: 20px;
	font-size: 14px;
}

.site-nav a {
	color: var(--ink-soft);
}

/* 主体 */

main {
	padding: 40px 0 72px;
}

.crumb {
	font-size: 13px;
	color: var(--ink-mute);
	margin-bottom: 20px;
}

.crumb a {
	color: var(--ink-mute);
}

h1 {
	font-size: 32px;
	line-height: 1.3;
	margin: 0 0 6px;
	letter-spacing: -0.01em;
}

.alias {
	font-size: 14px;
	color: var(--ink-mute);
	margin-bottom: 18px;
}

.lede {
	font-size: 17px;
	line-height: 1.85;
	color: var(--ink-soft);
	border-left: 3px solid var(--accent);
	padding-left: 16px;
	margin: 0 0 32px;
}

h2 {
	font-size: 19px;
	margin: 40px 0 14px;
	padding-bottom: 8px;
	border-bottom: 1px solid var(--line);
}

h3 {
	font-size: 16px;
	margin: 24px 0 10px;
}

/* 事实卡 */

.facts {
	background: var(--panel);
	border: 1px solid var(--line);
	border-radius: 10px;
	overflow: hidden;
}

.facts dl,
dl.facts {
	margin: 0;
	display: grid;
	grid-template-columns: 108px 1fr;
	align-content: start;
}

.facts dt {
	padding: 13px 16px;
	background: var(--accent-soft);
	color: var(--ink-soft);
	font-size: 14px;
	border-bottom: 1px solid var(--line);
}

.facts dd {
	margin: 0;
	padding: 13px 16px;
	border-bottom: 1px solid var(--line);
	font-size: 15px;
}

.facts dl > dt:last-of-type,
.facts dl > dd:last-of-type {
	border-bottom: 0;
}

.note {
	display: block;
	color: var(--ink-mute);
	font-size: 13px;
	margin-top: 3px;
}

/* 列表 */

.plain {
	list-style: disc;
	margin: 0;
	padding: 0 0 0 22px;
}

.plain li {
	padding: 6px 0;
	font-size: 15px;
	line-height: 1.8;
}

.plain b {
	color: var(--ink);
	font-weight: 600;
	margin-right: 10px;
}

/* 站点卡 */

.stop {
	background: var(--panel);
	border: 1px solid var(--line);
	border-radius: 10px;
	padding: 20px;
	margin-bottom: 16px;
}

.stop-head {
	display: flex;
	align-items: baseline;
	gap: 10px;
	margin-bottom: 8px;
}

.stop-name {
	font-size: 17px;
	font-weight: 600;
}

.stop-year {
	font-size: 13px;
	color: var(--ink-mute);
}

.stop-angle {
	color: var(--ink-soft);
	font-size: 15px;
	margin: 0 0 14px;
}

.mini {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
	font-size: 13px;
	color: var(--ink-soft);
	border-top: 1px solid var(--line);
	padding-top: 13px;
}

.mini span b {
	color: var(--ink);
	font-weight: 600;
}

.stop-link {
	display: inline-block;
	margin-top: 12px;
	font-size: 14px;
}

/* 诗句 */

.verse {
	background: var(--accent-soft);
	border-radius: 10px;
	padding: 20px 22px;
	margin: 0 0 10px;
}

.verse p {
	margin: 0;
	font-size: 17px;
	line-height: 2;
	letter-spacing: 0.03em;
}

.verse cite {
	display: block;
	margin-top: 10px;
	font-size: 13px;
	color: var(--ink-mute);
	font-style: normal;
}

/* 标签 */

.tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 10px;
}

.tags a {
	display: inline-block;
	padding: 5px 12px;
	border: 1px solid var(--line);
	border-radius: 999px;
	font-size: 13px;
	color: var(--ink-soft);
	background: var(--panel);
}

/* 页脚 */

.site-foot {
	border-top: 1px solid var(--line);
	padding: 28px 0 40px;
	font-size: 13px;
	color: var(--ink-mute);
}

.site-foot .wrap {
	display: flex;
	flex-wrap: wrap;
	gap: 14px 24px;
	justify-content: space-between;
}

.site-foot a {
	color: var(--ink-soft);
}

.site-foot .foot-legal {
	flex: 0 0 100%;
	padding-top: 14px;
	border-top: 1px solid var(--line);
	font-size: 12px;
	color: var(--ink-mute);
}

/* 数据说明 */

.meta-line {
	margin-top: 36px;
	padding-top: 14px;
	border-top: 1px solid var(--line);
	font-size: 13px;
	color: var(--ink-mute);
}

@media (max-width: 640px) {
	h1 {
		font-size: 26px;
	}

	.facts dl {
		grid-template-columns: 92px 1fr;
	}

	.facts dt,
	.facts dd {
		padding: 11px 12px;
		font-size: 14px;
	}

	.site-head .wrap {
		height: auto;
		padding-top: 14px;
		padding-bottom: 14px;
		flex-wrap: wrap;
	}
}

/* ---------- v2：目的地点位 / 支柱主题 / 城市 / 工具专题 ---------- */

.wrap > article,
article.dest,
article.trail,
article.pillar,
article.city,
article.faq-page {
	display: block;
	max-width: 860px;
	margin: 0 auto;
	padding: 8px 20px 64px;
}

.h1-tail {
	display: block;
	font-size: 15px;
	font-weight: 400;
	color: var(--ink-mute);
	letter-spacing: 0;
	margin-top: 6px;
}

.body {
	margin: 28px 0 8px;
}

.body h2 {
	margin-top: 36px;
}

.body p {
	margin: 0 0 16px;
}

/* 中文长段落交给浏览器权衡折行，避免尾行只剩一两个字
   （Chrome 117+ / Safari 17.5+ 支持，旧浏览器忽略这一行，退化成普通折行） */
.body p,
article p,
.faq-q p,
.brief-lede {
	text-wrap: pretty;
}

h2 {
	font-size: 19px;
	margin: 40px 0 14px;
	padding-bottom: 8px;
	border-bottom: 1px solid var(--line);
}

h3 {
	font-size: 17px;
	margin: 0 0 6px;
}

.lede {
	font-size: 17px;
	color: var(--ink-soft);
	margin: 20px 0 0;
}

/* 抵达方案 */

.ways {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ways-h {
	margin: 30px 0 2px;
	padding-left: 10px;
	border-left: 3px solid var(--line);
	font-size: 14px;
	font-weight: 600;
	color: var(--ink-soft);
	letter-spacing: 0.04em;
}

.ways li {
	padding: 12px 0;
	border-bottom: 1px solid var(--line);
	display: grid;
	grid-template-columns: 132px 1fr;
	gap: 14px;
	font-size: 15px;
}

.ways li b {
	color: var(--ink);
	font-weight: 600;
}

.ways li span {
	color: var(--ink-soft);
}

/* 路线时间轴 */

.route {
	list-style: none;
	margin: 0;
	padding: 0;
	counter-reset: step;
}

.route li {
	position: relative;
	display: grid;
	grid-template-columns: 88px 1fr;
	gap: 12px;
	align-items: baseline;
	padding: 0 0 15px 24px;
	border-left: 2px solid var(--accent-soft);
	margin-left: 4px;
	font-size: 15px;
}

.route li:last-child {
	border-left-color: transparent;
	padding-bottom: 0;
}

.route li::before {
	content: "";
	position: absolute;
	left: -6px;
	top: 8px;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--accent);
}

.route .t {
	display: block;
	font-weight: 600;
	color: var(--accent);
	font-size: 13.5px;
	line-height: 1.55;
	font-variant-numeric: tabular-nums;
}

.route .d {
	color: var(--ink-soft);
	line-height: 1.7;
}

/* 普通列表（样式统一在第一处 .plain 定义，这里只保留缩进一致） */

.plain {
	padding-left: 22px;
}

/* 提示面板 */

.panel {
	background: var(--panel);
	border: 1px solid var(--line);
	border-radius: 10px;
	padding: 4px 22px 18px;
	margin: 32px 0;
}

.panel h2 {
	border-bottom: none;
	margin-bottom: 6px;
}

.risk {
	background: var(--warn-ban-bg);
	border: 1px solid #ecd9cd;
	border-radius: 10px;
	padding: 4px 22px 18px;
	margin: 32px 0;
}

.risk h2 {
	border-bottom: none;
	margin-bottom: 8px;
	color: var(--warn-ban-ink);
}

.risk ul {
	margin: 0;
	padding-left: 20px;
	font-size: 15px;
	color: var(--warn-ban-text);
}

.risk p {
	margin: 0;
	font-size: 15px;
	line-height: 1.85;
	color: var(--warn-ban-text);
}

.risk p + p {
	margin-top: 12px;
}

/* 章节自动编号：二级用中文数字（一、二…），三级用 6.1 的形式 */

.dest {
	counter-reset: sec;
}

.dest h2 {
	counter-increment: sec;
	counter-reset: sub;
}

.dest h2::before {
	content: counter(sec, cjk-ideographic) "、";
}

.dest h3.ways-h {
	counter-increment: sub;
}

.dest h3.ways-h::before {
	content: counter(sec) "." counter(sub) "　";
}

/* 通行与风险：整节用细边框圈起来，标题暖色，正文不着色 */

.risk-block {
	background: #fffdfb;
	border: 1px solid #ecd9cd;
	border-radius: 10px;
	padding: 4px 22px 16px;
	margin: 36px 0;
}

.risk-block h2 {
	border-bottom: none;
	color: var(--warn-ban-ink);
	margin-bottom: 12px;
}

.risk-block h3.ways-h {
	margin: 20px 0 10px;
	border-left-color: #e0b9a3;
}

.risk-block ul.plain {
	list-style: disc;
	padding-left: 22px;
}

.risk-block ul.plain li {
	border-bottom: 0;
	padding: 5px 0;
}

p.lines {
	line-height: 2;
	font-size: 15px;
}

/* 建议留意级：正文内的劝告（天气、装备、水位、旺季），语气提醒不吓人 */
.warn-inline {
	font-size: 14px;
	color: var(--warn-notice-text);
	background: var(--warn-notice-bg);
	border-left: 3px solid var(--warn-notice-line);
	padding: 10px 14px;
	margin: 14px 0 0;
}

.src {
	margin-top: 44px;
	padding-top: 14px;
	border-top: 1px solid var(--line);
	font-size: 13px;
	color: var(--ink-mute);
}

/* FAQ */

.faq details {
	border-bottom: 1px solid var(--line);
	padding: 14px 0;
}

.faq summary {
	cursor: pointer;
	font-weight: 600;
	font-size: 16px;
	list-style: none;
}

.faq summary::-webkit-details-marker {
	display: none;
}

.faq summary::before {
	content: "＋ ";
	color: var(--accent);
}

.faq details[open] summary::before {
	content: "－ ";
}

.faq p {
	margin: 10px 0 0;
	font-size: 15px;
	color: var(--ink-soft);
}

/* 诗句 */

.poems {
	margin: 32px 0;
}

.verse {
	margin: 0 0 22px;
	padding: 18px 22px;
	background: var(--panel);
	border: 1px solid var(--line);
	border-radius: 10px;
}

.verse p {
	margin: 0 0 10px;
	font-size: 17px;
	line-height: 2;
}

.verse cite {
	display: block;
	font-style: normal;
	font-size: 13px;
	color: var(--ink-mute);
}

.verse .note {
	font-size: 13px;
	color: var(--ink-soft);
	margin: 8px 0 0;
}

/* 支柱页点位清单 */

.stops {
	list-style: none;
	margin: 0;
	padding: 0;
}

.stop-item {
	display: grid;
	grid-template-columns: 44px 1fr;
	gap: 6px;
	padding: 20px 0;
	border-bottom: 1px solid var(--line);
}

.stop-no {
	font-size: 15px;
	font-weight: 700;
	color: var(--accent);
	font-variant-numeric: tabular-nums;
	padding-top: 3px;
}

.stop-main a,
.stop-name {
	color: var(--ink);
	font-weight: 600;
	text-decoration: none;
}

.stop-main a:hover {
	color: var(--accent);
	text-decoration: underline;
}

.stop-main p {
	margin: 6px 0 0;
	font-size: 15px;
	color: var(--ink-soft);
}

.stop-type {
	display: inline-block;
	font-size: 12px;
	font-weight: 400;
	color: var(--accent);
	background: var(--accent-soft);
	border-radius: 4px;
	padding: 1px 7px;
	margin-left: 8px;
	vertical-align: 2px;
}

.stop-link {
	margin-top: 8px;
	font-size: 14px;
}

/* 首页 */

.home {
	max-width: 860px;
	margin: 0 auto;
	padding: 8px 20px 64px;
}

.hero {
	padding: 16px 0 8px;
}

.hero h1 {
	font-size: 32px;
	margin: 0 0 14px;
}

.hero p {
	font-size: 16px;
	color: var(--ink-soft);
	margin: 0 0 10px;
}

.type-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 12px;
}

.type-grid a {
	display: block;
	background: var(--panel);
	border: 1px solid var(--line);
	border-radius: 10px;
	padding: 16px 18px;
	color: var(--ink);
}

.type-grid a:hover {
	border-color: var(--accent);
	text-decoration: none;
}

.type-grid b {
	display: block;
	font-size: 16px;
	margin-bottom: 4px;
}

.type-grid span {
	font-size: 13px;
	color: var(--ink-mute);
}

.hub {
	max-width: 860px;
	margin: 0 auto;
	padding: 8px 20px 64px;
}

.mute {
	color: var(--ink-mute);
	font-size: 14px;
}

@media (max-width: 640px) {
	.ways li {
		grid-template-columns: 1fr;
		gap: 2px;
	}

	.stop-item {
		grid-template-columns: 34px 1fr;
	}

	.hero h1 {
		font-size: 25px;
	}
}

/* 支柱页：出行通用提示 */

.tips {
	margin: 0;
	padding-left: 22px;
}

.tips li {
	margin: 9px 0;
	font-size: 15px;
	color: var(--ink-soft);
	line-height: 1.75;
}

.tips li a {
	color: var(--accent);
	border-bottom: 1px solid var(--accent-soft);
}

.tips li a:hover {
	border-bottom-color: var(--accent);
	text-decoration: none;
}

/* 支柱页：清单条目里的跳转 */

.stop-main h3 {
	font-size: 17px;
	line-height: 1.5;
}

.stop-link a {
	font-size: 14px;
	color: var(--accent);
}

/* =========================================================
   支柱主题页 v3：选型枢纽
   ========================================================= */

:root {
	--lv-easy: #2f7a55;
	--lv-easy-bg: #e9f2ec;
	--lv-mid: #8a5f18;
	--lv-mid-bg: #f8f0de;
	--lv-high: #9c4a1d;
	--lv-high-bg: #fbeee4;
	--lv-hard: #8a2f21;
	--lv-hard-bg: #fbeae7;
	--ink-deep: #1b2420;
}

.pillar {
	padding-bottom: 24px;
}

/* 页头 */

.p-hero {
	padding-bottom: 4px;
}

.pillar h1 {
	font-size: 33px;
	line-height: 1.32;
	letter-spacing: -0.015em;
	margin-bottom: 14px;
}

.pillar .lede {
	font-size: 16.5px;
	line-height: 1.85;
	color: var(--ink-soft);
	border-left: 3px solid var(--accent);
	padding-left: 16px;
	margin: 0 0 18px;
}

.p-meta {
	font-size: 13px;
	color: var(--ink-mute);
	letter-spacing: 0.01em;
	margin: 0 0 8px;
}

/* 章节标题统一：短横线代替通栏下划线 */

.pillar h2 {
	font-size: 21px;
	line-height: 1.45;
	border-bottom: 0;
	padding-bottom: 0;
	margin: 52px 0 16px;
	position: relative;
}

.pillar h2::after {
	content: "";
	display: block;
	width: 42px;
	height: 3px;
	background: var(--accent);
	border-radius: 2px;
	margin-top: 10px;
}

.section-note {
	font-size: 14px;
	color: var(--ink-mute);
	margin: -4px 0 18px;
}

/* 自评检查表 */

.check {
	margin-top: 44px;
}

.chk {
	width: 100%;
	border-collapse: collapse;
	font-size: 14.5px;
}

.chk th {
	text-align: left;
	vertical-align: top;
	width: 116px;
	font-size: 14px;
	font-weight: 600;
	color: var(--ink);
	padding: 13px 18px 13px 0;
	border-top: 1px solid var(--line);
	white-space: nowrap;
}

.chk td {
	padding: 13px 0;
	border-top: 1px solid var(--line);
	color: var(--ink-soft);
	line-height: 1.8;
}

.chk tr:first-child th,
.chk tr:first-child td {
	border-top: 1.5px solid var(--ink);
	padding-top: 14px;
}

.chk tbody tr:hover th,
.chk tbody tr:hover td {
	background: #fffdfa;
}

.chk th::before {
	content: "";
	display: inline-block;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--accent);
	opacity: 0.55;
	margin-right: 8px;
	vertical-align: 2px;
}

.chk-note {
	margin: 16px 0 0;
	font-size: 13.5px;
	line-height: 1.7;
	color: #8a3520;
	background: #fbf4f0;
	border-radius: 8px;
	padding: 10px 15px;
}

/* 一句重话 */

.pull {
	margin: 40px 0 0;
	padding: 4px 0 4px 22px;
	border-left: 3px solid var(--accent);
}

.pull p {
	margin: 0;
	font-size: 16.5px;
	line-height: 1.85;
	color: var(--ink);
}

.pull b,
.pull strong {
	font-weight: 600;
}

/* 线路 / 目的地 分工 */

.split {
	margin-top: 44px;
}

.split-grid {
	display: grid;
	grid-template-columns: 1fr 40px 1fr;
	align-items: stretch;
	gap: 0;
}

.split-col {
	background: var(--panel);
	border: 1px solid var(--line);
	border-radius: 12px;
	padding: 18px 20px 16px;
}

.split-col-alt {
	background: var(--accent-soft);
	border-color: #e6d8cc;
}

.split-col h3 {
	font-size: 15px;
	margin: 0 0 10px;
	color: var(--ink);
}

.split-col ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.split-col li {
	font-size: 13.5px;
	line-height: 1.7;
	color: var(--ink-soft);
	padding: 5px 0 5px 14px;
	position: relative;
}

.split-col li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 14px;
	width: 5px;
	height: 1px;
	background: var(--accent);
}

.split-arrow {
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--accent);
	font-size: 18px;
}

.split-note {
	font-size: 13.5px;
	color: var(--ink-mute);
	margin: 14px 0 0;
}

/* 风险 */

.pillar .risk {
	background: #fbf4f0;
	border: 1px solid #edd9cc;
	border-left: 4px solid #a4472a;
	border-radius: 10px;
	padding: 20px 22px;
	margin: 36px 0 0;
}

.pillar .risk h2 {
	margin: 0 0 8px;
	font-size: 17px;
	color: #8a3520;
}

.pillar .risk h2::after {
	display: none;
}

.pillar .risk p {
	margin: 0;
	font-size: 14.5px;
	line-height: 1.8;
	color: #6b3f2c;
}

/* 按假期挑 */

.quick-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
}

.quick-card {
	background: var(--panel);
	border: 1px solid var(--line);
	border-radius: 12px;
	padding: 16px 18px 14px;
}

.quick-card h3 {
	font-size: 15.5px;
	margin: 0 0 4px;
}

.quick-note {
	font-size: 12.5px;
	color: var(--ink-mute);
	margin: 0 0 10px;
	line-height: 1.6;
}

.quick-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.quick-list li {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 8px;
	padding: 7px 0;
	border-top: 1px dashed var(--line);
	font-size: 13.5px;
}

.quick-list li:first-child {
	border-top: 0;
	padding-top: 0;
}

.quick-list a {
	color: var(--ink);
}

.quick-list a:hover {
	color: var(--accent);
	text-decoration: none;
}

.quick-list span {
	font-size: 12px;
	color: var(--ink-mute);
	white-space: nowrap;
}

.quick-list .q-closed {
	margin-left: 6px;
	font-style: normal;
	font-size: 11px;
	color: #a4472a;
	white-space: nowrap;
}

/* 筛选 */

.chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 16px;
}

.chip {
	font: inherit;
	font-size: 13.5px;
	padding: 6px 15px;
	border: 1px solid var(--line);
	background: var(--panel);
	color: var(--ink-soft);
	border-radius: 999px;
	cursor: pointer;
	transition: border-color 0.15s, background 0.15s;
}

.chip i {
	font-style: normal;
	font-size: 12px;
	color: var(--ink-mute);
	margin-left: 3px;
}

.chip:hover {
	border-color: var(--accent);
	color: var(--accent);
}

.chip.is-on {
	background: var(--ink-deep);
	border-color: var(--ink-deep);
	color: #fff;
}

.chip.is-on i {
	color: rgba(255, 255, 255, 0.55);
}

/* 对比表 */

.table-wrap {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	padding-bottom: 6px;
}

/* 只在可横向滚动的对比表上加边缘提示 */
.picker .table-wrap {
	background:
		linear-gradient(to right, #faf9f6 40%, rgba(250, 249, 246, 0)) left center no-repeat,
		linear-gradient(to left, #faf9f6 40%, rgba(250, 249, 246, 0)) right center no-repeat,
		radial-gradient(farthest-side at 0 50%, rgba(31, 35, 40, 0.1), rgba(31, 35, 40, 0)) left center no-repeat,
		radial-gradient(farthest-side at 100% 50%, rgba(31, 35, 40, 0.1), rgba(31, 35, 40, 0)) right center no-repeat;
	background-size: 44px 100%, 44px 100%, 16px 100%, 16px 100%;
	background-attachment: local, local, scroll, scroll;
}

.picker .table-wrap::-webkit-scrollbar {
	height: 8px;
}

.picker .table-wrap::-webkit-scrollbar-track {
	background: #f1efe9;
	border-radius: 4px;
}

.picker .table-wrap::-webkit-scrollbar-thumb {
	background: #d5d0c4;
	border-radius: 4px;
}

.picker .table-wrap::-webkit-scrollbar-thumb:hover {
	background: #b8b2a4;
}

/* 分段路线表（徒步怎么走） */

.segs {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
	min-width: 560px;
}

.segs th {
	text-align: left;
	font-size: 12.5px;
	font-weight: 600;
	color: var(--ink-mute);
	letter-spacing: 0.03em;
	padding: 0 12px 10px;
	border-bottom: 1.5px solid var(--ink);
	white-space: nowrap;
}

.segs td {
	padding: 13px 12px;
	border-bottom: 1px solid var(--line);
	vertical-align: top;
	color: var(--ink-soft);
	line-height: 1.7;
}

.segs td:first-child {
	color: var(--ink);
	font-weight: 600;
}

.segs td:nth-child(2) {
	white-space: nowrap;
}

.segs td:nth-child(4) {
	font-size: 13px;
}

.segs tr:last-child td {
	border-bottom: 0;
}

/* 行程表：「第几天」这列别折行，5 列才排得开 */
.itin td:first-child,
.itin th:first-child {
	white-space: nowrap;
}

.cmp {
	width: 100%;
	border-collapse: collapse;
	table-layout: fixed;
	font-size: 14px;
	min-width: 720px;
}

/* 固定列宽：自动分配会随文字长短伸缩，改短一个字整列就变窄，孤字换个地方再出现 */
.cmp th:nth-child(1) { width: 20%; }
.cmp th:nth-child(2) { width: 11%; }
.cmp th:nth-child(3) { width: 8%; }
.cmp th:nth-child(4) { width: 9%; }
.cmp th:nth-child(5) { width: 11%; }
.cmp th:nth-child(6) { width: 41%; }

/* 「适合假期」并进天数格，小字跟在后面，省一列 */
.cmp .c-when {
	display: block;
	font-size: 12px;
	color: var(--ink-mute);
	font-weight: 400;
	margin-top: 2px;
	white-space: nowrap;
}

.cmp th {
	text-align: left;
	font-size: 12.5px;
	font-weight: 600;
	color: var(--ink-mute);
	letter-spacing: 0.03em;
	padding: 0 10px 10px;
	border-bottom: 1.5px solid var(--ink);
	white-space: nowrap;
}

.cmp td {
	padding: 13px 10px;
	border-bottom: 1px solid var(--line);
	vertical-align: top;
	color: var(--ink-soft);
	line-height: 1.65;
}

.cmp td:nth-child(1),
.cmp td:nth-child(2),
.cmp td:nth-child(3),
.cmp td:nth-child(4),
.cmp td:nth-child(5) {
	white-space: nowrap;
}

.cmp th:nth-child(1) {
	min-width: 118px;
}

.cmp th:nth-child(6) {
	min-width: 200px;
}

/* 劝退与下撤改成列表：手机上一条一块，比塞进宽表好读 */
.cmp-drop-h {
	font-size: 15px;
	margin: 22px 0 10px;
}

.cmp-drop {
	list-style: none;
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--line);
}

.cmp-drop li {
	display: grid;
	grid-template-columns: 132px 1fr 168px;
	gap: 14px;
	padding: 10px 0;
	border-bottom: 1px solid var(--line);
	font-size: 13.5px;
	line-height: 1.62;
	color: var(--ink-soft);
}

.cmp-drop .drop-name {
	color: var(--ink);
	font-weight: 600;
}

.cmp-drop .drop-quit {
	color: #7a4a34;
}

.cmp-drop .drop-exit {
	color: var(--ink-mute);
	font-size: 13px;
}

.cmp tbody tr:hover td {
	background: #fffdfa;
}

.cmp .c-name a {
	color: var(--ink);
	font-weight: 600;
}

.cmp .c-name a:hover {
	color: var(--accent);
	text-decoration: none;
}

.cmp .c-feature,
.cmp .c-quit,
.cmp .c-exit {
	font-size: 13px;
	color: var(--ink-soft);
	line-height: 1.62;
}

.cmp .c-feature {
	min-width: 0;
}

/* 第六列兼做逐条说明：一句视角在上，线路页链接在下 */
.cmp .c-view {
	margin: 0;
	font-size: 13px;
	line-height: 1.72;
	color: var(--ink-soft);
}

.cmp .c-go {
	display: inline-block;
	margin-top: 6px;
	font-size: 12.5px;
	font-weight: 500;
	white-space: nowrap;
}

.cmp .c-go span {
	display: inline-block;
	transition: transform 0.15s;
}

.cmp .c-go:hover span {
	transform: translateX(3px);
}

.cmp .c-quit {
	color: #7a4a34;
	min-width: 208px;
}

.cmp .c-exit {
	color: var(--ink-mute);
	min-width: 168px;
}

.table-note {
	font-size: 12.5px;
	color: var(--ink-mute);
	margin: 10px 0 0;
}

/* 难度徽标 */

.lv {
	display: inline-block;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.6;
	padding: 1px 8px;
	border-radius: 4px;
	white-space: nowrap;
}

.lv.lv-easy {
	color: var(--lv-easy);
	background: var(--lv-easy-bg);
}

.lv.lv-mid {
	color: var(--lv-mid);
	background: var(--lv-mid-bg);
}

.lv.lv-high {
	color: var(--lv-high);
	background: var(--lv-high-bg);
}

.lv.lv-hard {
	color: var(--lv-hard);
	background: var(--lv-hard-bg);
}

/* 难度阶梯 */

.ladder {
	list-style: none;
	margin: 0;
	padding: 0;
}

.lv-row {
	display: grid;
	grid-template-columns: 30px 46px 130px 1fr;
	align-items: center;
	gap: 12px;
	padding: 11px 0;
	border-bottom: 1px dashed var(--line);
}

.lv-row:last-child {
	border-bottom: 0;
}

.lv-no {
	font-size: 12px;
	font-weight: 700;
	color: var(--ink-mute);
	font-variant-numeric: tabular-nums;
}

.lv-name {
	font-size: 14.5px;
	font-weight: 600;
}

.lv-bar {
	display: block;
	height: 6px;
	background: #eeece6;
	border-radius: 3px;
	overflow: hidden;
}

.lv-bar i {
	display: block;
	height: 100%;
	border-radius: 3px;
	background: var(--ink-mute);
}

.lv-easy .lv-bar i {
	background: var(--lv-easy);
}

.lv-mid .lv-bar i {
	background: var(--lv-mid);
}

.lv-high .lv-bar i {
	background: var(--lv-high);
}

.lv-hard .lv-bar i {
	background: var(--lv-hard);
}

.lv-desc {
	font-size: 13.5px;
	color: var(--ink-soft);
	line-height: 1.65;
}

/* 线路详情卡 */

.route-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.rc {
	background: var(--panel);
	border: 1px solid var(--line);
	border-left: 3px solid var(--ink-mute);
	border-radius: 2px 12px 12px 2px;
	padding: 18px 20px 16px;
	margin-bottom: 14px;
	scroll-margin-top: 24px;
}

.rc.lv.lv-easy {
	border-left-color: var(--lv-easy);
}

.rc.lv.lv-mid {
	border-left-color: var(--lv-mid);
}

.rc.lv.lv-high {
	border-left-color: var(--lv-high);
}

.rc.lv.lv-hard {
	border-left-color: var(--lv-hard);
}

.rc-head {
	display: flex;
	align-items: baseline;
	gap: 10px;
}

.rc-no {
	font-size: 13px;
	font-weight: 700;
	color: var(--ink-mute);
	letter-spacing: 0.08em;
	font-variant-numeric: tabular-nums;
}

.rc-head h3 {
	font-size: 18px;
	margin: 0;
	line-height: 1.4;
}

.rc-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 10px 0 12px;
}

.rc-tag {
	font-size: 12px;
	color: var(--ink-soft);
	background: #f4f2ec;
	border-radius: 4px;
	padding: 1px 8px;
	line-height: 1.6;
}

.rc-flag {
	background: var(--lv-hard-bg);
	color: var(--lv-hard);
}

.rc-desc {
	margin: 0 0 10px;
	font-size: 15px;
	line-height: 1.8;
	color: var(--ink-soft);
}

.rc-lines {
	display: grid;
	gap: 7px;
}

.rc-line {
	margin: 0;
	font-size: 14px;
	line-height: 1.72;
	color: var(--ink-soft);
	background: #f8f6f1;
	border-radius: 8px;
	padding: 9px 13px;
}

.rc-line b {
	font-weight: 600;
	margin-right: 10px;
	color: var(--ink-mute);
}

.rc-line-tip {
	color: #6b4a33;
	background: #fbf7f0;
}

.rc-line-tip b {
	color: var(--lv-high);
}

.rc-line-quit {
	color: #7a3a2a;
	background: #fbf1ed;
}

.rc-line-quit b {
	color: #a4472a;
}

/* 线路现状提示：封禁、停运这类会改变决策的事实，要在清单里就看见 */
.rc-closed {
	margin: 0 0 10px;
	font-size: 14px;
	line-height: 1.7;
	color: #8a2f1d;
	background: #fbede7;
	border-left: 3px solid #c0563a;
	border-radius: 0 8px 8px 0;
	padding: 9px 13px;
}

.c-name .c-closed {
	display: block;
	margin-top: 5px;
	max-width: 15em;
	font-style: normal;
	font-size: 12px;
	line-height: 1.5;
	color: #a4472a;
}

.rc-line-exit {
	color: #3c5a4c;
	background: #f0f5f2;
}

.rc-line-exit b {
	color: #2f7a55;
}

.rc-foot {
	margin: 13px 0 0;
}

.rc-foot a {
	font-size: 14px;
	font-weight: 500;
}

.rc-foot a span {
	display: inline-block;
	transition: transform 0.15s;
}

.rc-foot a:hover span {
	transform: translateX(3px);
}

/* 通用指南 */

.guide-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
}

.guide-card {
	background: var(--panel);
	border: 1px solid var(--line);
	border-radius: 12px;
	padding: 18px 20px 16px;
}

.guide-card h3 {
	font-size: 15px;
	margin: 0 0 8px;
	padding-bottom: 8px;
	border-bottom: 1px solid var(--line);
}

.guide-card ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.guide-card li {
	font-size: 13.5px;
	line-height: 1.75;
	color: var(--ink-soft);
	padding: 5px 0 5px 14px;
	position: relative;
}

.guide-card li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 14px;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--accent);
	opacity: 0.5;
}

.guide-card li a {
	border-bottom: 1px solid var(--accent-soft);
}

/* 进阶路径 */

.step-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
}

.step {
	position: relative;
	background: var(--panel);
	border: 1px solid var(--line);
	border-radius: 12px;
	padding: 15px 16px 14px;
}

.step:not(:last-child)::after {
	content: "→";
	position: absolute;
	right: -13px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--accent);
	font-size: 13px;
}

.step-no {
	display: block;
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.1em;
	color: var(--accent);
}

.step-stage {
	display: block;
	font-size: 14.5px;
	font-weight: 600;
	margin: 5px 0 8px;
	line-height: 1.45;
}

.step-names b {
	display: block;
	font-size: 13px;
	font-weight: 400;
	color: var(--ink-soft);
	padding: 4px 0;
	border-top: 1px dashed var(--line);
}

.step-note {
	display: block;
	margin-top: 9px;
	font-size: 12.5px;
	line-height: 1.65;
	color: var(--ink-mute);
}

/* FAQ / 结尾 */

.pillar .faq summary {
	font-size: 15.5px;
}

.p-tail {
	margin: 44px 0 0;
	padding-top: 16px;
	border-top: 1px solid var(--line);
	font-size: 12.5px;
	line-height: 1.8;
	color: var(--ink-mute);
}

/* 响应式 */

@media (max-width: 760px) {
	.pillar h1 {
		font-size: 26px;
	}

	.pillar h2 {
		font-size: 19px;
		margin-top: 42px;
	}

	.chk th {
		width: 84px;
		white-space: normal;
		padding-right: 12px;
	}

	.chk {
		font-size: 14px;
	}

	.pull {
		padding-left: 16px;
	}

	.pull p {
		font-size: 15.5px;
	}

	.split-grid {
		grid-template-columns: 1fr;
	}

	.split-arrow {
		padding: 8px 0;
		transform: rotate(90deg);
	}

	.quick-grid {
		grid-template-columns: 1fr;
	}

	.guide-grid {
		grid-template-columns: 1fr;
	}

	.step-list {
		grid-template-columns: 1fr 1fr;
	}

	.step::after {
		display: none !important;
	}

	.lv-row {
		grid-template-columns: 26px 42px 80px 1fr;
		gap: 8px;
	}

	.lv-desc {
		grid-column: 1 / -1;
		padding-left: 34px;
		margin-top: -2px;
	}
}

@media (max-width: 640px) {
	.table-wrap {
		overflow-x: visible;
	}

	.cmp {
		min-width: 0;
	}

	.cmp thead {
		display: none;
	}

	.cmp,
	.cmp tbody,
	.cmp tr,
	.cmp td {
		display: block;
		width: 100%;
	}

	.cmp tbody tr {
		background: var(--panel);
		border: 1px solid var(--line);
		border-radius: 10px;
		padding: 8px 14px 10px;
		margin-bottom: 10px;
	}

	.cmp tbody tr:hover td {
		background: transparent;
	}

	.cmp td {
		display: grid;
		grid-template-columns: 76px 1fr;
		gap: 10px;
		padding: 4px 0;
		border-bottom: 0;
		font-size: 13.5px;
	}

	.cmp td::before {
		content: attr(data-label);
		font-size: 12.5px;
		color: var(--ink-mute);
	}

	.cmp td:nth-child(-n+5) {
		white-space: normal;
	}

	.cmp td.c-name {
		grid-template-columns: 1fr;
		padding: 2px 0 9px;
		margin-bottom: 5px;
		border-bottom: 1px dashed var(--line);
	}

	.cmp td .lv {
		justify-self: start;
	}

	.cmp td .st {
		justify-self: start;
	}

	.cmp td.c-name::before {
		display: none;
	}

	/* 第六列是一句视角 + 线路页链接，标签独占一行，正文吃满宽度 */
	.cmp td.c-feature {
		grid-template-columns: 1fr;
		padding-top: 9px;
	}

	.cmp td.c-feature::before {
		margin-bottom: 1px;
	}

	.cmp .c-view {
		font-size: 13.5px;
	}

	.cmp .c-go {
		white-space: normal;
	}

	.cmp td.c-name a {
		font-size: 16px;
	}

	.cmp .c-quit,
	.cmp .c-exit {
		min-width: 0;
	}

	/* 劝退列表在手机上一条一行，名称、劝退、下撤上下排 */
	.cmp-drop li {
		display: block;
		padding: 12px 0;
	}

	.cmp-drop .drop-name {
		display: block;
		font-size: 15px;
		margin-bottom: 4px;
	}

	.cmp-drop .drop-quit {
		display: block;
	}

	.cmp-drop .drop-exit {
		display: block;
		margin-top: 3px;
	}

	.cmp td.c-quit,
	.cmp td.c-exit {
		align-items: start;
	}

	.cmp td.c-quit {
		color: #7a3a2a;
	}

	.cmp td.c-exit {
		color: var(--ink-soft);
	}

	.rc {
		padding: 16px 16px 14px;
	}

	.rc-head h3 {
		font-size: 16.5px;
	}

	.step-list {
		grid-template-columns: 1fr;
	}
}

/* 窄屏页头：一行放不下就把副标题收起来，别让它把整页撑宽 */

@media (max-width: 640px) {
	.site-head .wrap {
		height: auto;
		padding-top: 12px;
		padding-bottom: 12px;
		gap: 6px 12px;
		flex-wrap: wrap;
	}

	.site-brand {
		font-size: 17px;
	}

	.site-brand span {
		display: none;
	}

	.site-nav {
		gap: 14px;
		font-size: 13px;
	}
}

@media (max-width: 480px) {
	.pillar h1 {
		font-size: 23px;
	}

	.pillar .lede {
		font-size: 15px;
	}
}

/* 兜底：长串英文/链接不把容器撑破 */

.pillar {
	overflow-wrap: break-word;
}

/* 宽屏下对比表不再破格：表格与正文同宽，列数减到六列后本来就排得开 */



/* =========================================================
   dest 页 v5b：按定稿截图还原 —— 档案卡 / 阿拉伯补零编号 / 分组交通 / 编号FAQ
   正文与章节顺序不动；大地色系、无图；正文宽度沿用全局 860px。
   ========================================================= */

.dest {
	counter-reset: sec;
}

/* 锚点跳转不被顶栏盖住 */
.dest h2[id],
.dest h3[id] {
	scroll-margin-top: 20px;
}

/* --- H1 右侧赭色小方框标签 --- */
.dest .h1-tail {
	display: inline-block;
	vertical-align: 0.28em;
	margin: 0 0 0 14px;
	padding: 3px 9px;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0.04em;
	color: #8a3b1e;
	border: 1px solid #cfab97;
	border-radius: 2px;
	background: #fbf4ef;
}

/* --- 适合 / 不适合 前置判断条 --- */
.fit-strip {
	margin: 14px 0;
	border: 1px solid var(--line);
	border-left: 3px solid var(--accent);
	background: var(--accent-soft);
}
.fit-row {
	display: flex;
	gap: 10px;
	align-items: baseline;
	padding: 7px 14px;
	font-size: 14px;
	line-height: 1.6;
}
.fit-row + .fit-row { border-top: 1px solid var(--line); }
.fit-k {
	flex: 0 0 auto;
	font-weight: 600;
	letter-spacing: .04em;
	color: var(--accent);
}
.fit-no .fit-k { color: #a33; }
.fit-v { color: var(--ink-soft); }

@media (max-width: 767px) {
	.fit-row { font-size: 13px; padding: 6px 12px; gap: 8px; }
}

/* --- 顶部档案卡 --- */
.dest-brief {
	background: #fffdfb;
	border: 1px solid #e8e3dc;
	border-top: 2px solid var(--accent);
	padding: 20px 24px 18px;
	margin: 4px 0 22px;
}

.brief-lede {
	font-size: 18px;
	line-height: 1.75;
	color: #4a5057;
	margin: 0 0 10px;
}

.brief-geo {
	font-size: 12.5px;
	line-height: 1.7;
	color: #6b7178;
	margin: 0 0 16px;
	letter-spacing: 0.02em;
}

.brief-badge {
	display: inline-block;
	background: #8a3b1e;
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.06em;
	padding: 3px 9px;
	border-radius: 2px;
	margin-right: 10px;
}

.brief-type,
.brief-sep,
.brief-loc {
	color: #6b7178;
}

/* 能不能进：赭石左边框 + 浅赭底（明令禁止级，颜色走 --warn-ban-*） */
.short-out {
	border-left: 4px solid var(--warn-ban-line);
	background: var(--warn-ban-bg);
	padding: 12px 16px;
	margin: 0 0 18px;
}

.short-k {
	display: block;
	font-size: 13px;
	font-weight: 700;
	color: var(--warn-ban-ink);
	letter-spacing: 0.08em;
	margin-bottom: 5px;
}

.short-v {
	display: block;
	font-size: 15px;
	line-height: 1.7;
	color: var(--warn-ban-text);
	text-wrap: balance;
}

/* 风险提示两级样式：AI/模板按内容性质选一类，颜色不写死、只引变量。
   .rk-ban = 明令禁止（封禁、禁止进入、强制向导、违规后果）——强赭，与 .short-out 同级；
   .rk-notice = 建议留意（天气、装备、水位、旺季拥挤）——浅黄赭，语气劝告不吓人。 */
.rk-ban,
.rk-notice {
	border-left-width: 4px;
	border-left-style: solid;
	padding: 12px 16px;
	margin: 0 0 18px;
}

.rk-ban {
	border-left-color: var(--warn-ban-line);
	background: var(--warn-ban-bg);
	color: var(--warn-ban-text);
}

.rk-ban .rk-k {
	color: var(--warn-ban-ink);
}

.rk-notice {
	border-left-color: var(--warn-notice-line);
	background: var(--warn-notice-bg);
	color: var(--warn-notice-text);
}

.rk-notice .rk-k {
	color: var(--warn-notice-ink);
}

.rk-k {
	display: block;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	margin-bottom: 5px;
}

/* 数字网格：首行 门票(1/3) + 开放时间(2/3)，次行三等分 */
.num-grid {
	display: flex;
	flex-wrap: wrap;
	margin: 0;
	padding: 14px 0 2px;
	border-top: 1px solid #e5e3dd;
	border-bottom: 1px solid #e5e3dd;
}

.num-item {
	box-sizing: border-box;
	width: 33.3333%;
	padding: 0 14px 12px;
	border-left: 1px solid #e5e3dd;
	min-width: 0;
}

.num-item:first-child {
	border-left: 0;
	padding-left: 0;
}

.num-open {
	width: 66.6667%;
}

.num-item:nth-child(3) {
	border-left: 0;
	padding-left: 0;
}

.num-grid dt {
	background: none;
	border: 0;
	padding: 0;
	font-size: 12.5px;
	line-height: 1.5;
	color: #6b7178;
	margin: 0 0 4px;
}

.num-grid dd {
	border: 0;
	padding: 0;
	margin: 0;
	/* 与内部大数字同号：让孤字检测把数值与单位合并为一行，视觉由内部 span 定 */
	font-size: 28px;
	line-height: 1.15;
	color: #1f2328;
	text-wrap: balance;
}

/* 档案卡口径说明：票价/开放时间/优惠都可能变，紧跟卡后、比正文小一号 */
.num-note {
	margin: 10px 0 0;
	font-size: 12.5px;
	line-height: 1.6;
	color: #6b7178;
}

.v-num {
	font-size: 28px;
	font-weight: 700;
	line-height: 1.15;
	font-variant-numeric: tabular-nums;
	letter-spacing: -0.01em;
}

.v-unit {
	font-size: 15px;
	font-weight: 600;
	color: #4a5057;
	margin-left: 2px;
}

.v-long {
	font-size: 13.5px;
	line-height: 1.6;
	color: #1f2328;
	text-wrap: balance;
}

/* --- 右下角目录：淡按钮，点开一张文字列表，可点击跳转 --- */
.toc-mini {
	position: fixed;
	right: var(--dock-right);
	bottom: 18px;
	z-index: 55;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 8px;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s;
}

.toc-mini.show {
	opacity: 1;
	pointer-events: auto;
}

.toc-mini-btn {
	order: 2;
	font: 600 12px/1 -apple-system, BlinkMacSystemFont, "Microsoft YaHei", sans-serif;
	letter-spacing: 0.06em;
	color: #fff;
	background: var(--accent);
	border: 1px solid var(--accent);
	border-radius: 3px;
	padding: 9px 13px;
	cursor: pointer;
}

.toc-mini-btn:hover {
	background: #77492f;
}

.toc-mini-list {
	order: 1;
	display: none;
	flex-direction: column;
	min-width: 152px;
	max-height: 62vh;
	overflow: auto;
	background: var(--panel);
	border: 1px solid var(--line);
	padding: 6px 0;
}

.toc-mini.open .toc-mini-list {
	display: flex;
}

/* 目录展开遮罩：仅窄屏启用，把压正文的列表变成明确的浮层，点遮罩关闭 */
.toc-mask {
	display: none;
}

@media (max-width: 1200px) {
	.toc-mask.show {
		display: block;
		position: fixed;
		inset: 0;
		z-index: 50;
		background: rgba(20, 18, 16, 0.36);
	}
}

.toc-mini-list a {
	display: block;
	padding: 6px 15px;
	font-size: 13px;
	line-height: 1.5;
	color: var(--ink-soft);
	white-space: nowrap;
}

.toc-mini-list a:hover {
	color: var(--accent);
	background: var(--accent-soft);
}

/* --- 章节标题：阿拉伯补零编号 + 25px + 底部细线 + 赭色短线 --- */
.dest section {
	margin: 0 0 18px;
}

.dest > h2,
.dest section h2 {
	font-size: 25px;
	font-weight: 700;
	line-height: 1.4;
	margin: 48px 0 18px;
	padding-bottom: 10px;
	border-bottom: 1px solid #e5e3dd;
	position: relative;
}

.dest h2::before {
	content: counter(sec, decimal-leading-zero) "  ";
	font-size: 0.88em;
	font-weight: 600;
	color: #4a5057;
	letter-spacing: 0.02em;
}

.dest > h2::after,
.dest section h2::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -1px;
	width: 26px;
	height: 2px;
	background: var(--accent);
}

.dest h3 {
	font-size: 18px;
}

/* 分组子标题：6.1 / 6.2 */
.dest h3.ways-h::before {
	content: counter(sec) "." counter(sub) "  ";
	color: #a07a68;
}

/* 分组列表：标签列 + 详情列，行间细线 */
.dest section .ways {
	margin-top: 4px;
}

.dest .ways li b {
	color: #2b3036;
}

/* 正文行高略放 */
.dest .body p {
	line-height: 1.9;
}

/* 辅助灰达标：标签、来源、说明 */
.dest .brief-geo,
.dest .seg-cap,
.dest .num-grid dt,
.dest .src {
	color: #6b7178;
}

/* --- 分段里程对照表：浅灰表头 + 赭色粗下边框 --- */
.seg-cap {
	font-size: 13px;
	font-weight: 600;
	color: #6b7178;
	margin: 16px 0 8px;
}

.segs th {
	background: #f7f5f1;
	border-bottom: 2px solid #8a3b1e;
	padding: 11px 12px;
	color: #4a5057;
}

/* --- 行程时间表折叠 --- */
.yd-fold {
	border-top: 1px solid #e5e3dd;
	border-bottom: 1px solid #e5e3dd;
	padding: 0;
	margin: 18px 0 4px;
}

.yd-fold > summary {
	cursor: pointer;
	list-style: none;
	font-size: 14px;
	font-weight: 600;
	color: var(--accent);
	padding: 12px 0;
}

.yd-fold > summary::-webkit-details-marker {
	display: none;
}

.yd-fold > summary::before {
	content: "＋ ";
}

.yd-fold[open] > summary::before {
	content: "－ ";
}

.yd-fold > .route,
.yd-fold > h3.ways-h {
	margin-left: 18px;
	margin-right: 18px;
}

/* PC 宽屏：行程表默认展开，折叠开关条多余，隐藏；手机端保留供点击展开 */
@media (min-width: 768px) {
	.yd-fold {
		border-top: 0;
		border-bottom: 0;
	}

	.yd-fold > summary {
		display: none;
	}
}

/* --- FAQ：01/02/03 赭编号 + 右侧减号 + 展开态 --- */
.faq {
	counter-reset: faq;
}

.faq-q {
	counter-increment: faq;
}

.faq-q summary {
	position: relative;
	padding-left: 30px;
	padding-right: 16px;
	font-weight: 700;
	font-size: 16px;
	text-wrap: balance;
}

.faq details.faq-q summary::before,
.faq details.faq-q[open] summary::before {
	content: counter(faq, decimal-leading-zero);
	position: absolute;
	left: 0;
	top: 0;
	color: #b5582f;
	font-size: 14px;
	font-weight: 700;
}

.faq-q summary::after {
	content: "－";
	position: absolute;
	right: 0;
	top: 0;
	color: #b5582f;
	font-size: 16px;
}

.faq-q:not([open]) summary::after {
	content: "＋";
}

.faq-q p {
	margin: 10px 0 0 30px;
	font-size: 15px;
	line-height: 1.9;
	color: #4a5057;
	text-wrap: balance;
}

/* --- 回到顶部：浅文字，hover 才加深 --- */
.to-top {
	position: fixed;
	right: var(--dock-right);
	bottom: 60px;
	z-index: 54;
	font-size: 12px;
	color: #6b7178;
	background: none;
	border: 0;
	padding: 4px 2px;
	opacity: 0;
	pointer-events: none;
	transition: color 0.15s, opacity 0.2s;
}

.to-top.show {
	opacity: 0.6;
	pointer-events: auto;
}

.to-top:hover {
	color: var(--accent);
	opacity: 1;
	text-decoration: none;
}

/* --- 响应式：窄屏数字网格两列，分段表转键值卡片 --- */
@media (max-width: 640px) {
	.dest-brief {
		padding: 16px 16px 14px;
	}

	.num-item,
	.num-open {
		width: 50%;
	}

	.num-item:nth-child(odd) {
		border-left: 0;
		padding-left: 0;
	}

	.idx-links a {
		margin-right: 10px;
	}

	.segs {
		min-width: 0;
	}

	.segs thead {
		display: none;
	}

	.segs,
	.segs tbody,
	.segs tr,
	.segs td {
		display: block;
		width: 100%;
	}

	.segs tbody tr {
		border: 1px solid #e5e3dd;
		padding: 8px 14px 10px;
		margin-bottom: 8px;
	}

	.segs td {
		display: grid;
		grid-template-columns: 84px 1fr;
		gap: 10px;
		padding: 5px 0;
		border-bottom: 0;
		font-size: 14px;
	}

	.segs td::before {
		content: attr(data-label);
		font-size: 12.5px;
		color: #6b7178;
	}
}

/* --- 手机端紧凑化：只收间距与行高，不动文字/顺序/组件 --- */
@media (max-width: 640px) {
	.body {
		margin: 18px 0 4px;
	}

	.dest section h2 {
		font-size: 22px;
		margin: 30px 0 12px;
		padding-bottom: 7px;
	}

	.dest h2::before {
		font-size: 0.82em;
	}

	.dest .body p {
		line-height: 1.72;
	}

	.body p {
		margin-bottom: 12px;
	}

	.risk-block {
		margin: 24px 0;
		padding: 4px 16px 12px;
	}

	.ways-h {
		margin-top: 20px;
	}

	.dest-brief {
		margin-bottom: 16px;
	}

	.brief-lede {
		font-size: 16px;
		line-height: 1.6;
		margin-bottom: 8px;
	}

	.brief-geo {
		margin-bottom: 12px;
	}

	.short-out {
		padding: 10px 14px;
		margin-bottom: 14px;
	}

	.num-grid {
		padding-top: 10px;
	}

	.faq-q p {
		line-height: 1.72;
		margin-top: 8px;
	}

	.seg-cap {
		margin: 12px 0 6px;
	}

	/* 正文段落/FAQ 答案纯自然折行，覆盖桌面的 balance，不拉成方块 */
	.body p,
	article p,
	.faq-q p,
	.brief-lede,
	.short-v {
		text-wrap: normal;
	}

	/* 数字网格手机端改单列参数行：左标签右数值，避免长短不一撑出大片留白 */
	.num-grid {
		display: block;
	}

	.num-item,
	.num-item.num-open {
		width: 100%;
		display: flex;
		align-items: baseline;
		gap: 10px;
		padding: 10px 0;
		border-left: 0;
		border-bottom: 1px solid #e5e3dd;
	}

	.num-item:first-child {
		padding-top: 2px;
	}

	.num-item:last-child {
		border-bottom: 0;
	}

	.num-grid dt {
		flex: 0 0 80px;
		margin: 0;
		line-height: 1.6;
	}

	.num-grid dd {
		flex: 1;
		min-width: 0;
	}
}

/* =========================================================
   徒步线路页（route / .trail）：三层集群的中间层
   —— 与 dest 点位页刻意分开：点位页是浅赭「档案卡 + 补零编号」，
   线路页是墨绿「深色抬头带 + 里程大数字 + 节点轨道」，一眼能分。
   注意：不要复用 .route 类名，那个是旧的时间轴列表样式。
   ========================================================= */

.trail {
	--trail-deep: #1f2f27;
	--trail-mid: #3f6b4f;
	--trail-soft: #edf2ed;
	--trail-edge: #c6d6ca;
	--trail-quiet: #6d7a71;
}

/* --- 深色抬头带 --- */
.trail-head {
	background: var(--trail-deep);
	color: #f3f7f3;
	padding: 26px 28px 22px;
	margin: 6px 0 26px;
	border-radius: 2px;
}

.trail-kicker {
	margin: 0 0 8px;
	font-size: 12px;
	letter-spacing: 0.18em;
	color: #9db8a5;
}

.trail-head h1 {
	margin: 0 0 12px;
	font-size: 29px;
	line-height: 1.35;
	font-weight: 700;
	color: #ffffff;
	letter-spacing: 0.01em;
	text-wrap: balance;
}

.trail-head .brief-lede {
	margin: 0 0 16px;
	font-size: 15.5px;
	line-height: 1.8;
	color: #cfdcd3;
}

/* 能不能走：一行状态，不做成标签页的样子（不做填充块、不做整条底色） */
.trail-gate {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 2px 12px;
	align-items: start;
	margin: 0 0 18px;
	padding: 2px 0 2px 12px;
	border-left: 2px solid #d08b5f;
	font-size: 14px;
	line-height: 1.75;
}

.trail-gate .gate-k {
	display: inline-block;
	padding-top: 1px;
	color: #d9a179;
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: 0.08em;
	white-space: nowrap;
}

.trail-gate .gate-v {
	min-width: 0;
	color: #e6eee7;
}

/* 四格数字：里程最大，另三格同宽 */
.trail-stats {
	display: grid;
	grid-template-columns: 1.25fr 1fr 1fr 1fr;
	margin: 0;
	padding: 14px 0 0;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.trail-stats .stat {
	padding: 0 14px;
	border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.trail-stats .stat:first-child {
	padding-left: 0;
	border-left: 0;
}

.trail-stats dt {
	margin: 0 0 2px;
	font-size: 11.5px;
	letter-spacing: 0.08em;
	color: #94ac9c;
}

.trail-stats dd {
	margin: 0;
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 0 4px;
	min-width: 0;
}

.trail-stats dd b {
	font-size: 25px;
	font-weight: 700;
	line-height: 1.2;
	color: #ffffff;
	font-variant-numeric: tabular-nums;
	min-width: 0;
}

.trail-stats dd b.stat-none {
	color: #7c9184;
	font-weight: 400;
}

.trail-stats dd b.stat-txt {
	font-size: 15px;
	font-weight: 600;
	line-height: 1.5;
}

.trail-stats dd i {
	font-style: normal;
	font-size: 12px;
	color: #9db8a5;
}

/* 「约 / 近 / 超过」这类语气前缀，别被数字盖过去 */
.trail-stats dd i.stat-pre {
	margin-right: 1px;
	font-size: 13px;
}

/* 四格都要能压住长数字，别把邻居挤歪 */
.trail-stats .stat,
.trail-stats dt,
.trail-stats dd i {
	min-width: 0;
}

.trail-diff {
	margin: 14px 0 0;
	font-size: 12.5px;
	color: #9db8a5;
	letter-spacing: 0.04em;
}

/* --- 章节标题：左侧竖条，不用补零编号 --- */
.trail-sec {
	margin: 30px 0 0;
}

.trail-sec h2 {
	position: relative;
	margin: 0 0 14px;
	padding-left: 13px;
	font-size: 19px;
	font-weight: 700;
	line-height: 1.5;
	color: var(--ink);
}

.trail-sec h2::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.42em;
	width: 4px;
	height: 1.02em;
	background: var(--trail-mid);
}

.trail-sec h3 {
	margin: 22px 0 10px;
	font-size: 15px;
	font-weight: 600;
	color: var(--trail-mid);
	letter-spacing: 0.02em;
}

.trail-sec h2[id],
.trail-sec h3[id] {
	scroll-margin-top: 20px;
}

.trail-sec .sec-intro {
	margin: -4px 0 14px;
	font-size: 13.5px;
	color: var(--trail-quiet);
}

/* --- 沿线点位：竖向节点轨道 --- */
.trail-track {
	list-style: none;
	margin: 0;
	padding: 0 0 0 4px;
	position: relative;
}

.trail-track .track-node {
	position: relative;
	display: grid;
	grid-template-columns: 28px 1fr;
	gap: 14px;
	padding: 0 0 20px;
}

/* 连线：从圆点往下贯穿到下个节点 */
.trail-track .track-node::before {
	content: "";
	position: absolute;
	left: 13px;
	top: 26px;
	bottom: 0;
	width: 2px;
	background: var(--trail-edge);
}

.trail-track .track-node:last-child {
	padding-bottom: 4px;
}

.trail-track .track-node:last-child::before {
	display: none;
}

.trail-track .node-dot {
	position: relative;
	z-index: 1;
	width: 28px;
	height: 28px;
	line-height: 26px;
	text-align: center;
	border-radius: 50%;
	border: 2px solid var(--trail-mid);
	background: #fff;
	color: var(--trail-mid);
	font-size: 13px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

.trail-track .node-body {
	display: block;
	padding-top: 1px;
	min-width: 0;
}

/* 首末节点实心：一眼看出这条线的起点和终点在哪 */
.trail-track .track-node:first-child .node-dot,
.trail-track .track-node:last-child .node-dot {
	background: var(--trail-mid);
	border-color: var(--trail-mid);
	color: #ffffff;
}

.trail-track .node-name {
	display: block;
	font-size: 16px;
	font-weight: 600;
	color: var(--ink);
	line-height: 1.6;
}

/* 点位名两态统一：一律深色同字号，只有「能不能点」用箭头和下划线区分，
   不让「有档案」的点看起来是另一个层级的标题 */
.trail-track .node-name a,
.trail-track .node-name .node-plain {
	display: inline-block;
	color: var(--ink);
	font-size: inherit;
	font-weight: inherit;
	text-decoration: none;
	line-height: inherit;
}

.trail-track .node-name a {
	border-bottom: 1px dashed #a9c3b3;
}

.trail-track .node-name a:hover,
.trail-track .node-name a:focus {
	color: var(--trail-mid);
	border-bottom-color: var(--trail-mid);
	text-decoration: none;
}

.trail-track .node-go {
	display: inline-block;
	margin-left: 5px;
	color: var(--trail-mid);
	font-size: 17px;
	font-weight: 700;
	line-height: 1;
	transform: translateY(-1px);
}

.trail-track .node-role {
	display: block;
	margin-top: 2px;
	font-size: 13.5px;
	line-height: 1.7;
	color: var(--trail-quiet);
}

/* --- 城下挂遗迹：一座城是一座城，城里几处遗迹算它的内层节点 --- */
.trail-track .node-subs {
	list-style: none;
	margin: 8px 0 0;
	padding: 0 0 0 12px;
	border-left: 2px solid #e4ebe7;
}

.trail-track .node-subs li {
	position: relative;
	padding: 3px 0;
	font-size: 14px;
	line-height: 1.7;
}

.trail-track .node-subs li::before {
	content: "";
	position: absolute;
	left: -14px;
	top: 13px;
	width: 8px;
	height: 2px;
	background: #cfdcd5;
}

.trail-track .sub-link {
	color: var(--ink);
	text-decoration: none;
	border-bottom: 1px dashed #a9c3b3;
}

.trail-track .sub-link:hover,
.trail-track .sub-link:focus {
	color: var(--trail-mid);
	border-bottom-color: var(--trail-mid);
	text-decoration: none;
}

.trail-track .sub-what {
	color: var(--trail-quiet);
}

.trail-track .sub-what::before {
	content: " · ";
	color: #b6c5bd;
}

/* --- 赶路段：不是点位，用虚线与灰底区分，读者一眼看出这段不游 --- */
.trail-track .track-leg {
	position: relative;
	margin: 0 0 18px 42px;
	padding: 8px 12px;
	border-left: 2px dashed #cbd6d0;
	background: #f5f8f6;
	border-radius: 0 6px 6px 0;
	font-size: 13.5px;
	line-height: 1.7;
	color: var(--trail-quiet);
}

.trail-track .leg-k {
	display: inline-block;
	margin-right: 8px;
	padding: 1px 7px;
	border-radius: 3px;
	background: #e0e8e3;
	color: #4b6a5b;
	font-size: 12px;
	letter-spacing: 0.04em;
	vertical-align: 1px;
}

.trail-track .leg-v {
	color: var(--ink);
	font-weight: 600;
}

.trail-track .leg-d {
	margin-left: 8px;
	font-variant-numeric: tabular-nums;
}

.trail-track .leg-n {
	display: block;
	margin-top: 2px;
	color: var(--trail-quiet);
}

/* --- 九首诗：一屏一首，左细线压边，字用宋体才对得起诗 --- */
.poem-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	margin-top: 16px;
}

.poem-card {
	min-width: 0;
	padding: 18px 20px 16px;
	background: #ffffff;
	border: 1px solid var(--line);
	border-left: 3px solid var(--trail-mid);
	border-radius: 2px;
}

.poem-head {
	display: flex;
	align-items: baseline;
	gap: 7px;
	margin: 0 0 9px;
	flex-wrap: wrap;
}

.poem-idx {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	font-variant-numeric: tabular-nums;
	color: var(--trail-mid);
}

.poem-place {
	font-size: 12.5px;
	line-height: 1.6;
	color: var(--trail-quiet);
}

/* 卡片里的 h3 要压掉 .trail-sec h3 的上边距和绿色 */
.poem-sec .poem-title {
	display: flex;
	align-items: baseline;
	gap: 8px;
	margin: 0 0 12px;
	font-size: 17px;
	font-weight: 700;
	color: var(--ink);
	letter-spacing: 0.02em;
}

.poem-from {
	padding-left: 9px;
	border-left: 1px solid var(--line);
	font-size: 11.5px;
	font-weight: 400;
	color: var(--ink-mute);
	letter-spacing: 0.04em;
}

/* 一句一行，行高放大到 2，才有一行一行读下去的呼吸 */
.poem-body {
	margin: 0;
	font-family: "Songti SC", "STSong", "SimSun", "Noto Serif SC", serif;
	font-size: 17px;
	line-height: 2;
	letter-spacing: 0.08em;
	color: var(--ink);
}

.poem-body span {
	display: block;
}

/* 长短句混排时（七言与五言同卡）按字距对齐，不用等宽硬撑 */
.poem-note {
	margin: 12px 0 0;
	padding-top: 11px;
	border-top: 1px dashed var(--line);
	font-size: 13.5px;
	line-height: 1.8;
	color: var(--trail-quiet);
}

@media (max-width: 767px) {
	.poem-grid {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.poem-card {
		padding: 15px 16px 14px;
	}

	.poem-body {
		font-size: 16px;
		letter-spacing: 0.05em;
	}
}

/* --- 表格：绿调表头，现状列收窄 --- */
.trail .segs th {
	color: var(--trail-mid);
	border-bottom-color: var(--trail-mid);
}

/* 时序表是 5 列，里程落在第 3 列；不分行会把「公里」的「里」挤到下一行 */
.trail .itin td:nth-child(3),
.trail .itin th:nth-child(3) {
	white-space: nowrap;
}

.trail .segs th:first-child,
.trail .segs td:first-child {
	padding-left: 10px;
}

.trail .segs td:last-child {
	font-size: 13px;
	color: var(--trail-quiet);
}

/* --- 下撤 / 补给：并排两栏，窄屏堆叠 --- */
.trail-pair {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 22px;
	margin-top: 8px;
}

.trail-pair .pair-box {
	background: #fbfcfa;
	border: 1px solid var(--trail-edge);
	border-left: 3px solid var(--trail-mid);
	padding: 14px 16px;
}

.trail-pair .pair-box h3 {
	margin-top: 0;
}

.trail-pair .plain {
	margin: 0;
}

/* --- 风险：赭色边，跟线路绿分开，视觉上知道这段是警告 --- */
.trail-risk {
	border-top: 1px solid var(--trail-edge);
	padding-top: 22px;
}

.trail-risk h2::before {
	background: var(--warn-ban-line);
}

.trail-risk > .plain {
	margin: 0;
}

/* --- 常见问题 --- */
.trail-faq .faq {
	margin-top: 4px;
}

/* --- 回链合集：整块可点 --- */
.trail-up {
	margin: 34px 0 0;
}

.trail-up h2 {
	position: relative;
	margin: 0 0 12px;
	padding-left: 13px;
	font-size: 17px;
	font-weight: 700;
}

.trail-up h2::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.42em;
	width: 4px;
	height: 1em;
	background: var(--trail-mid);
}

.up-card {
	display: block;
	padding: 14px 18px;
	background: var(--trail-soft);
	border: 1px solid var(--trail-edge);
	border-left: 3px solid var(--trail-mid);
	text-decoration: none;
}

.up-card:hover {
	text-decoration: none;
	background: #e4ece5;
}

.up-card .up-k {
	display: block;
	font-size: 11.5px;
	letter-spacing: 0.12em;
	color: var(--trail-mid);
	margin-bottom: 3px;
}

.up-card .up-v {
	display: block;
	font-size: 15.5px;
	font-weight: 600;
	color: var(--ink);
	line-height: 1.6;
}

/* --- 窄屏 --- */
@media (max-width: 767px) {
	.trail-head {
		padding: 20px 18px 18px;
		margin: 4px 0 20px;
	}

	.trail-head h1 {
		font-size: 22px;
	}

	.trail-head .brief-lede {
		font-size: 14.5px;
		line-height: 1.75;
	}

	.trail-stats {
		grid-template-columns: 1fr 1fr;
		row-gap: 12px;
	}

	.trail-stats .stat:nth-child(3) {
		padding-left: 0;
		border-left: 0;
	}

	.trail-stats dd b {
		font-size: 21px;
	}

	.trail-sec h2 {
		font-size: 17.5px;
		margin-bottom: 12px;
	}

	.trail-track {
		padding-left: 0;
	}

	.trail-track .track-node {
		grid-template-columns: 26px 1fr;
		gap: 12px;
		padding-bottom: 18px;
	}

	.trail-track .track-node::before {
		left: 12px;
	}

	.trail-track .node-dot {
		width: 26px;
		height: 26px;
		line-height: 24px;
		font-size: 12px;
	}

	.trail-track .track-leg {
		margin-left: 38px;
		padding: 7px 10px;
	}

	.trail-track .node-subs li {
		font-size: 13.5px;
	}

	.trail-pair {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	/* 窄屏折成卡片后，字段名跟线路主题走绿字，别用全局灰 */
	.trail .segs tbody tr {
		border-color: var(--trail-edge);
	}

	.trail .segs td::before {
		color: var(--trail-mid);
		font-weight: 600;
	}
}

/* ============================================================
   2026-11-24 支柱页精简版
   一张主表 + 四级台阶 + 紧凑清单，走法细节不外溢到这一页
   ============================================================ */

/* 难度图例：并进主表上方一行，不再单开阶梯模块 */
.p-legend {
	margin: -2px 0 14px;
	font-size: 12.5px;
	line-height: 1.9;
	color: var(--ink-mute);
}

.p-legend span {
	display: inline-block;
	margin-right: 18px;
}

.p-legend b {
	color: var(--ink-soft);
	font-weight: 600;
	margin-right: 4px;
}

/* 通行状态：四种，只在表里和清单头出现 */
.st {
	display: inline-block;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.6;
	padding: 1px 8px;
	border-radius: 4px;
	white-space: nowrap;
}

.st-ok {
	color: #2f7a55;
	background: #f0f5f2;
}

.st-part {
	color: #a4472a;
	background: #fbede7;
}

.st-need {
	color: #7a5b1f;
	background: #f8f2e2;
}

.st-guide {
	color: #7a4a34;
	background: #f5ece7;
}

/* 紧凑清单：名称 + 一句视角 + 链接，一行一条 */
.rc-item {
	padding: 16px 0;
	border-bottom: 1px solid var(--line);
	scroll-margin-top: 24px;
}

.rc-item:first-child {
	border-top: 1px solid var(--line);
}

.rc-h {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 8px;
}

.rc-item .rc-no {
	font-size: 12.5px;
	font-weight: 700;
	color: var(--ink-mute);
	letter-spacing: 0.08em;
	font-variant-numeric: tabular-nums;
}

.rc-h h3 {
	font-size: 17px;
	margin: 0 4px 0 0;
	line-height: 1.45;
}

.rc-view {
	margin: 8px 0 0;
	font-size: 14.5px;
	line-height: 1.85;
	color: var(--ink-soft);
	max-width: 62em;
}

.rc-item .rc-closed {
	margin: 9px 0 0;
}

.rc-go {
	margin: 9px 0 0;
}

.rc-go a {
	font-size: 13.5px;
	font-weight: 500;
}

.rc-go a span {
	display: inline-block;
	transition: transform 0.15s;
}

.rc-go a:hover span {
	transform: translateX(3px);
}

/* 台阶门槛：自评表压进来的那一句 */
.step-gate {
	display: block;
	margin: 0 0 8px;
	font-size: 12.5px;
	line-height: 1.7;
	color: #7a5b1f;
	background: #f8f2e2;
	border-radius: 5px;
	padding: 6px 9px;
}

@media (max-width: 760px) {
	.rc-h h3 {
		font-size: 16px;
	}

	.rc-view {
		font-size: 14px;
	}

	.step-gate {
		font-size: 12px;
	}

	/* 天数与假期并到同一排：td 是 grid，两个子元素各占一列 */
	.cmp td.c-days {
		grid-template-columns: 76px auto 1fr;
	}

	.cmp .c-when {
		margin: 0;
		align-self: center;
	}

	/* 清单里难度徽标与表格重复，手机上省掉一行 */
	.rc-item .rc-h .lv {
		display: none;
	}

	.p-legend span {
		display: block;
		margin: 0 0 2px;
	}

	.step {
		padding: 12px 14px 11px;
	}

	.step-stage {
		font-size: 14px;
		margin: 3px 0 7px;
	}

	.step-note {
		margin-top: 6px;
	}
}

