/*
Theme Name: Remarkable Journal
Theme URI: https://www.remarkable.studio/
Author: Remarkable Studio
Author URI: https://www.remarkable.studio/
Description: 日式手帐 · 报纸风格的独立主题：米白纸、手绘铅笔线、手写体、旅行手帐与文具线描、朱红印章；以留白和手绘感代替装饰；含手绘悬浮播放器、无刷新翻页、评论反垃圾与夜间纸色。
Version: 2.6.3
Requires at least: 6.0
Tested up to: 7.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: remarkable-journal
Tags: blog, journal, minimal, editorial, custom-menu, custom-logo, featured-images, threaded-comments, translation-ready, responsive
*/

/* =========================================================================
 * 2.1 设计系统：报纸 / 旅行手帐（手绘）
 * 纸 #f7f4ea  墨 #17150f  灰 #6d685c  线 #d5cfbe  朱 #b03a2b
 * 标题衬线（报刊感），标签无衬线大写 + 字距，正文衬线
 * 只用细线、留白、字级对比；不用胶带、不用旋转、不用厚阴影
 * ========================================================================= */

:root {
	--paper: #f7f4ea;
	--paper-2: #f1ecdf;
	--paper-3: #f0eadb;
	--ink: #17150f;
	--ink-2: #38352b;
	--ink-3: #6d685c;
	--ink-4: #98927f;
	--rule: #d5cfbe;
	--rule-strong: #17150f;
	--seal: #b03a2b;

	--serif: "Songti SC", "Noto Serif SC", "Source Han Serif SC", "Songti TC", Georgia, "Times New Roman", serif;
	--sans: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
	--kai: "Kaiti SC", "STKaiti", "KaiTi", "Songti SC", "Noto Serif SC", serif;

	--page: 1120px;
	--sidebar: 250px;
	--gap: 52px;
	--header-h: 52px;
	--ease: cubic-bezier(.22, .61, .36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	background-color: var(--paper-3);
	color: var(--ink-2);
	font-family: var(--serif);
	font-size: 16.5px;
	line-height: 1.9;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	background-image:
		radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, .5), rgba(255, 255, 255, 0) 58%),
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='n' opacity='.10'/%3E%3C/svg%3E");
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--seal); }
a:focus-visible,
button:focus-visible { outline: 1px solid var(--seal); outline-offset: 3px; }

p { margin: 0 0 1.1em; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 600; color: var(--ink); }
ul, ol { margin: 0; padding: 0; }
li { list-style: none; }
figure { margin: 0; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.site { position: relative; padding: 0 40px; }

/* ---------- 顶栏 ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(240, 234, 219, .93);
	backdrop-filter: saturate(120%) blur(8px);
	border-bottom: 1px solid var(--rule);
}
.header-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	max-width: var(--page);
	min-height: var(--header-h);
	margin: 0 auto;
}
.site-brand-inline { display: flex; align-items: center; gap: 10px; min-width: 0; }
.nib-mark {
	display: grid;
	place-items: center;
	width: 26px; height: 26px;
	color: var(--ink);
	border: 1px solid var(--rule-strong);
	border-radius: 50%;
	transition: color .2s var(--ease);
}
.nib-mark svg { width: 15px; height: 15px; }
.nib-mark:hover { color: var(--seal); border-color: var(--seal); }
.site-name {
	font-family: var(--sans);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--ink);
	white-space: nowrap;
}
.site-name:hover { color: var(--seal); }

.main-navigation ul { display: flex; align-items: center; gap: 0; flex-wrap: wrap; }
.main-navigation a {
	display: block;
	padding: 6px 13px;
	font-family: var(--sans);
	font-size: 12.5px;
	letter-spacing: .12em;
	color: var(--ink-2);
	border-left: 1px solid var(--rule);
	transition: color .2s var(--ease);
}
.main-navigation ul > li:first-child a { border-left: 0; }
.main-navigation a:hover { color: var(--seal); }
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a { color: var(--seal); font-weight: 600; }
.menu-toggle { display: none; }

/* ---------- 首页刊头 ---------- */
.rj-front { max-width: var(--page); margin: 0 auto; padding: 30px 0 0; }
.rj-masthead { text-align: center; }
.rj-rule-double {
	height: 5px;
	border-top: 2px solid var(--rule-strong);
	border-bottom: 1px solid var(--rule-strong);
	margin-bottom: 22px;
}
.rj-name {
	font-family: var(--serif);
	font-weight: 600;
	font-size: clamp(34px, 5.6vw, 60px);
	line-height: 1.04;
	letter-spacing: .015em;
	color: var(--ink);
}
.rj-name a { color: inherit; }
.rj-name a:hover { color: var(--ink); }
.rj-tagline {
	margin: 14px 0 0;
	font-family: var(--serif);
	font-size: 15px;
	font-style: italic;
	letter-spacing: .08em;
	color: var(--ink-3);
}
.rj-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	margin: 20px 0 0;
	font-family: var(--sans);
	font-size: 10.5px;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--ink-3);
}
.rj-meta span { padding: 0 12px; border-left: 1px solid var(--rule); }
.rj-meta span:first-child { border-left: 0; }
.rj-head-rule { height: 1px; background: var(--rule-strong); margin: 22px 0 0; }

.rj-lead {
	display: grid;
	grid-template-columns: 300px minmax(0, 1fr) 150px;
	align-items: center;
	gap: 46px;
	padding: 40px 0 44px;
	border-bottom: 1px solid var(--ink);
}
.rj-lead-art { position: relative; display: grid; place-items: center; padding: 0 10px; }
.rj-lead-art img { width: 100%; max-width: 320px; opacity: .9; }
.rj-lead-kicker {
	margin: 0 0 14px;
	font-family: var(--sans);
	font-size: 10.5px;
	letter-spacing: .26em;
	text-transform: uppercase;
	color: var(--seal);
}
.rj-lead-title {
	margin: 0 0 16px;
	font-family: var(--serif);
	font-size: clamp(26px, 3.4vw, 40px);
	line-height: 1.32;
	letter-spacing: .04em;
	color: var(--ink);
}
.rj-lead-deck {
	margin: 0;
	max-width: 30em;
	font-family: var(--serif);
	font-size: 15.5px;
	line-height: 2;
	color: var(--ink-3);
}
.rj-lead-foot {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 24px;
	font-family: var(--sans);
	font-size: 10px;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--ink-4);
}
.rj-lead-foot::before { content: ""; width: 34px; height: 1px; background: var(--ink-4); }

.rj-lead-side { display: grid; justify-items: center; gap: 18px; }
.rj-seal {
	width: 64px; height: 64px;
	display: grid;
	place-items: center;
	background: var(--seal);
	color: var(--paper);
	font-family: var(--serif);
	font-size: 22px;
	line-height: 1;
	border-radius: 3px;
	transform: rotate(-3deg);
	box-shadow: 0 0 0 1px rgba(176, 58, 43, .35);
}
.rj-seal span { transform: rotate(3deg); }
.rj-side-art { width: 108px; opacity: .55; }
.rj-side-note {
	font-family: var(--sans);
	font-size: 9.5px;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--ink-4);
	writing-mode: vertical-rl;
}

/* ---------- 内容区 ---------- */
.site-content {
	display: grid;
	grid-template-columns: minmax(0, 1fr) var(--sidebar);
	gap: var(--gap);
	max-width: var(--page);
	margin: 0 auto;
	padding: 26px 0 72px;
}
.has-no-sidebar .site-content { grid-template-columns: minmax(0, 1fr); }
.site-main { min-width: 0; }

/* ---------- 文章列表 ---------- */
.post-list { counter-reset: idx; }
.post-card {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 132px;
	align-items: start;
	gap: 30px;
	padding: 30px 0 26px;
	border-top: 1px solid var(--rule);
}
.post-card:first-child { border-top: 2px solid var(--ink); }
.post-card::before {
	counter-increment: idx;
	content: counter(idx, decimal-leading-zero);
	position: absolute;
	left: -34px;
	top: 33px;
	font-family: var(--sans);
	font-size: 10px;
	letter-spacing: .14em;
	color: var(--ink-4);
}
.card-body { min-width: 0; }
.card-meta {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 10px;
	font-family: var(--sans);
	font-size: 10px;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--ink-3);
}
.card-meta a { color: var(--seal); }
.card-meta a:hover { text-decoration: underline; text-underline-offset: 3px; }
.card-title {
	font-size: clamp(20px, 2.2vw, 26px);
	line-height: 1.45;
	letter-spacing: .02em;
	margin-bottom: 10px;
}
.card-title a { color: var(--ink); }
.card-title a:hover { color: var(--seal); }
.card-excerpt {
	margin: 0;
	font-size: 14.5px;
	line-height: 1.95;
	color: var(--ink-3);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.card-thumb {
	position: relative;
	display: block;
	width: 132px; height: 132px;
	border: 1px solid var(--rule);
	background: var(--paper-2);
	overflow: hidden;
}
.card-thumb img {
	width: 100%; height: 100%;
	object-fit: cover;
	filter: saturate(.92) contrast(.96);
	transition: filter .35s var(--ease), transform .5s var(--ease);
}
.post-card:hover .card-thumb img { filter: saturate(1) contrast(1); transform: scale(1.02); }

.navigation, .posts-navigation { margin-top: 34px; }
.posts-navigation {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	padding-top: 18px;
	border-top: 1px solid var(--rule);
	font-family: var(--sans);
	font-size: 11px;
	letter-spacing: .16em;
	text-transform: uppercase;
}
.nav-previous a, .nav-next a { color: var(--ink-2); }
.nav-previous a:hover, .nav-next a:hover { color: var(--seal); }

.archive-header { margin-bottom: 10px; padding-bottom: 22px; border-bottom: 2px solid var(--ink); }
.archive-kicker {
	font-family: var(--sans);
	font-size: 10px;
	letter-spacing: .28em;
	text-transform: uppercase;
	color: var(--seal);
	margin-bottom: 12px;
}
.archive-title { font-size: clamp(30px, 4.2vw, 46px); line-height: 1.25; letter-spacing: .04em; }
.archive-description { margin-top: 12px; font-size: 14px; line-height: 1.9; color: var(--ink-3); }

/* ---------- 单篇 ---------- */
.post-article { max-width: 760px; }
.entry-header { padding-bottom: 22px; border-bottom: 1px solid var(--rule); }
.entry-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin-bottom: 14px;
	font-family: var(--sans);
	font-size: 10px;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--ink-3);
}
.entry-meta a { color: var(--seal); }
.entry-meta .comment-count { color: var(--ink-4); }
.entry-title { font-size: clamp(28px, 3.6vw, 42px); line-height: 1.34; letter-spacing: .03em; }

.entry-content { padding: 30px 0 6px; font-size: 17px; line-height: 2.05; color: var(--ink-2); }
.entry-content > p:first-of-type::first-letter {
	float: left;
	font-family: var(--serif);
	font-size: 3.05em;
	line-height: .9;
	padding: .08em .16em 0 0;
	color: var(--ink);
}
.entry-content p { margin: 0 0 1.35em; }
.entry-content a { color: var(--ink); border-bottom: 1px solid var(--ink-4); }
.entry-content a:hover { color: var(--seal); border-color: var(--seal); }
.entry-content h2 { font-size: 1.32em; margin: 2em 0 .8em; padding-bottom: .3em; border-bottom: 1px solid var(--rule); }
.entry-content h3 { font-size: 1.12em; margin: 1.9em 0 .7em; }
.entry-content blockquote {
	margin: 1.9em 0;
	padding: 4px 0 4px 22px;
	border-left: 2px solid var(--seal);
	font-style: italic;
	color: var(--ink-3);
}
.entry-content figure { margin: 1.8em 0; }
.entry-content img { border: 1px solid var(--rule); }
.entry-content figcaption {
	margin-top: 10px;
	font-family: var(--sans);
	font-size: 10.5px;
	letter-spacing: .12em;
	color: var(--ink-4);
}
.entry-content code,
.entry-content pre { font-family: "SFMono-Regular", Menlo, monospace; font-size: 13px; background: var(--paper-2); }
.entry-content pre { padding: 18px; overflow-x: auto; border: 1px solid var(--rule); }
.entry-footer {
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid var(--rule);
	font-family: var(--sans);
	font-size: 10.5px;
	letter-spacing: .12em;
	color: var(--ink-4);
}
.entry-footer .tags a { color: var(--ink-3); }

.post-nav {
	display: flex;
	justify-content: space-between;
	gap: 28px;
	max-width: 760px;
	margin-top: 40px;
	padding-top: 18px;
	border-top: 1px solid var(--rule);
	font-family: var(--sans);
	font-size: 11.5px;
	letter-spacing: .06em;
}
.post-nav div { max-width: 48%; }
.post-nav .next { text-align: right; }
.post-nav a { color: var(--ink-2); }
.post-nav a:hover { color: var(--seal); }

/* ---------- 评论 ---------- */
.comments-area { max-width: 760px; margin-top: 48px; padding-top: 24px; border-top: 2px solid var(--ink); }
.comments-title { font-size: 20px; letter-spacing: .06em; margin-bottom: 6px; }
.comment-list { margin-top: 8px; }
.comment-inner { display: flex; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.comment-avatar { flex: 0 0 auto; }
.comment-avatar img {
	width: 40px; height: 40px;
	border-radius: 50%;
	filter: grayscale(1) contrast(.95);
	border: 1px solid var(--rule);
}
.comment-body { flex: 1; min-width: 0; }
.comment-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 10px;
	margin-bottom: 8px;
	font-family: var(--sans);
	font-size: 10.5px;
	letter-spacing: .12em;
	color: var(--ink-4);
}
.comment-meta .comment-author {
	font-family: var(--serif);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .04em;
	color: var(--ink);
}
.comment-meta .comment-author a { color: var(--ink); }
.comment-content { font-size: 15.5px; line-height: 1.95; color: var(--ink-2); }
.comment-content p { margin: 0 0 .7em; }
.comment-content p:last-child { margin-bottom: 0; }
.comment-awaiting { margin: 0 0 8px; font-family: var(--sans); font-size: 11px; letter-spacing: .08em; color: var(--seal); }
.comment-reply {
	margin-top: 6px;
	font-family: var(--sans);
	font-size: 10.5px;
	letter-spacing: .14em;
	text-transform: uppercase;
}
.comment-reply a { color: var(--ink-4); }
.comment-reply a:hover { color: var(--seal); }
.children { margin-left: 28px; padding-left: 22px; border-left: 1px solid var(--rule); }

.comment-notes { font-size: 11px; letter-spacing: .08em; color: var(--ink-4); margin: 22px 0 12px; }
.comment-form label {
	display: block;
	margin-bottom: 6px;
	font-family: var(--sans);
	font-size: 10px;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--ink-3);
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 11px 12px;
	font-family: var(--serif);
	font-size: 15px;
	color: var(--ink);
	background: var(--paper);
	border: 1px solid var(--rule);
	border-radius: 0;
	transition: border-color .2s var(--ease);
}
.comment-form input:focus,
.comment-form textarea:focus { border-color: var(--ink); outline: none; }
.comment-form textarea { min-height: 130px; resize: vertical; }
.comment-form .submit-btn {
	padding: 10px 26px;
	font-family: var(--sans);
	font-size: 11px;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--paper);
	background: var(--ink);
	border: 0;
	cursor: pointer;
	transition: background .2s var(--ease);
}
.comment-form .submit-btn:hover { background: var(--seal); }
.comments-closed { font-family: var(--sans); font-size: 11px; letter-spacing: .14em; color: var(--ink-4); }

/* ---------- 侧栏 ---------- */
.sidebar { position: sticky; top: calc(var(--header-h) + 26px); align-self: start; font-size: 14px; }
.widget { padding: 0 0 22px; margin-bottom: 30px; border-top: 2px solid var(--ink); }
.widget-title {
	padding: 10px 0 8px;
	font-family: var(--sans);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: .26em;
	text-transform: uppercase;
	color: var(--ink);
	border-bottom: 1px solid var(--rule);
	margin-bottom: 12px;
}
.widget ul li { padding: 9px 0; border-bottom: 1px solid var(--rule); font-size: 13.5px; line-height: 1.7; }
.widget ul li a { color: var(--ink-2); }
.widget ul li a:hover { color: var(--seal); }
.widget .about-text { font-size: 13.5px; line-height: 1.9; color: var(--ink-3); padding-top: 12px; }
.account-links {
	display: flex;
	gap: 14px;
	margin-top: 12px;
	font-family: var(--sans);
	font-size: 10px;
	letter-spacing: .16em;
	text-transform: uppercase;
}
.account-links a { color: var(--ink-4); }
.account-links a:hover { color: var(--seal); }

/* ---------- 页脚 ---------- */
.site-footer {
	max-width: var(--page);
	margin: 0 auto;
	padding: 26px 0 46px;
	border-top: 2px solid var(--ink);
	font-family: var(--sans);
	font-size: 10.5px;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--ink-4);
}
.footer-nav { margin-bottom: 14px; }
.footer-nav ul { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-nav a { color: var(--ink-3); }
.footer-nav a:hover { color: var(--seal); }
.site-info { line-height: 1.9; }
.footer-widgets { margin-bottom: 18px; }

/* ---------- 搜索 / 404 ---------- */
.search-form { display: flex; gap: 10px; margin-top: 18px; }
.search-form input[type="search"] {
	flex: 1;
	padding: 10px 12px;
	font-family: var(--serif);
	font-size: 15px;
	background: var(--paper);
	border: 1px solid var(--rule);
	border-radius: 0;
}
.search-form input[type="submit"] {
	padding: 10px 20px;
	font-family: var(--sans);
	font-size: 10.5px;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--paper);
	background: var(--ink);
	border: 0;
	cursor: pointer;
}
.error-404 { padding: 46px 0 80px; }

/* ---------- 悬浮播放器 ---------- */
.rs-player {
	position: fixed;
	right: 24px;
	bottom: 22px;
	z-index: 120;
	width: min(400px, calc(100vw - 32px));
	font-family: var(--sans);
}
.rs-player[hidden] { display: none; }
.rs-player-sheet { display: grid; gap: 8px; }
.rs-player-list {
	display: none;
	max-height: 0;
	overflow: hidden;
	background: var(--paper);
	border: 1px solid var(--ink);
}
.rs-player.is-open .rs-player-list { display: block; max-height: 240px; overflow-y: auto; }

.rs-track {
	display: grid;
	grid-template-columns: 24px minmax(0, 1fr) auto;
	align-items: center;
	gap: 10px;
	width: 100%;
	padding: 9px 12px;
	background: transparent;
	border: 0;
	border-bottom: 1px solid var(--rule);
	font-family: var(--sans);
	font-size: 12px;
	text-align: left;
	color: var(--ink-2);
	cursor: pointer;
}
.rs-track:last-child { border-bottom: 0; }
.rs-track:hover { background: var(--paper-2); }
.rs-track.is-active { color: var(--seal); }
.rs-track-no { font-size: 9.5px; letter-spacing: .1em; color: var(--ink-4); }
.rs-track-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rs-track-artist {
	max-width: none;
	font-size: 10.5px;
	color: var(--ink-4);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.rs-player-dock {
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr) auto;
	align-items: center;
	gap: 12px;
	padding: 10px 12px;
	background: var(--paper);
	border: 1px solid var(--ink);
	box-shadow: 0 1px 0 rgba(23, 21, 15, .12);
}

.rs-art {
	position: relative;
	display: grid;
	place-items: center;
	width: 44px; height: 44px;
	background: var(--paper-2);
	border: 1px solid var(--ink);
}
.rs-art::after {
	content: "";
	width: 16px; height: 16px;
	border-radius: 50%;
	background: var(--seal);
	box-shadow: 0 0 0 1px rgba(23, 21, 15, .28);
	opacity: .9;
}
.rs-art-glyph { display: none; }

.rs-meta { min-width: 0; }
.rs-meta-text { display: flex; flex-direction: column; gap: 2px; }
.rs-title {
	font-family: var(--serif);
	font-size: 13.5px;
	font-weight: 600;
	letter-spacing: .02em;
	color: var(--ink);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.rs-artist {
	font-size: 10px;
	letter-spacing: .08em;
	color: var(--ink-4);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.rs-progress { position: relative; height: 2px; margin: 7px 0 5px; background: var(--rule); cursor: pointer; }
.rs-progress-bar { height: 2px; width: 0; background: var(--seal); transition: width .2s linear; }
.rs-time { display: flex; gap: 5px; font-size: 9px; letter-spacing: .08em; color: var(--ink-4); }

.rs-controls { display: flex; align-items: center; gap: 2px; }
.rs-btn {
	display: grid;
	place-items: center;
	width: 28px; height: 28px;
	padding: 0;
	color: var(--ink-2);
	background: transparent;
	border: 0;
	cursor: pointer;
	transition: color .2s var(--ease);
}
.rs-btn svg { width: 15px; height: 15px; fill: currentColor; }
.rs-btn:hover { color: var(--seal); }
.rs-play { width: 32px; height: 32px; border: 1px solid var(--ink); border-radius: 50%; }
.rs-play svg { width: 13px; height: 13px; }
.rs-player.is-playing .ic-play { display: none; }
.rs-player:not(.is-playing) .ic-pause { display: none; }

.back-to-top {
	position: fixed;
	right: 26px;
	bottom: 106px;
	z-index: 110;
	width: 36px; height: 36px;
	display: grid;
	place-items: center;
	color: var(--ink-2);
	background: var(--paper);
	border: 1px solid var(--ink);
	border-radius: 50%;
	font-family: var(--sans);
	font-size: 10px;
	letter-spacing: .1em;
	cursor: pointer;
	opacity: 0;
	transform: translateY(6px);
	transition: opacity .25s var(--ease), transform .25s var(--ease), color .2s var(--ease);
	pointer-events: none;
}
.back-to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.back-to-top:hover { color: var(--seal); border-color: var(--seal); }

html.rs-navigating::after {
	content: "";
	position: fixed;
	top: 0; left: 0;
	width: 100%; height: 2px;
	background: var(--seal);
	transform-origin: 0 50%;
	animation: rs-navbar .9s ease-out forwards;
	z-index: 200;
}
@keyframes rs-navbar { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- 夜间 ---------- */
@media (prefers-color-scheme: dark) {
	:root {
		--paper: #17150f;
		--paper-2: #201d16;
		--paper-3: #0f0e0a;
		--ink: #ece5d4;
		--ink-2: #d3cbb8;
		--ink-3: #a39c88;
		--ink-4: #7d7666;
		--rule: #3a362b;
		--rule-strong: #ece5d4;
		--seal: #c4513d;
	}
	body { background-image:
		radial-gradient(ellipse at 50% 0%, rgba(236, 229, 212, .05), transparent 55%),
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='n' opacity='.08'/%3E%3C/svg%3E"); }
	.site-header { background: rgba(23, 21, 15, .93); }
	.rj-lead-art img, .rj-side-art { filter: invert(1) brightness(.95); opacity: .8; }
	.card-thumb img { filter: saturate(.9) contrast(.9) brightness(.92); }
	.comment-avatar img { filter: grayscale(1) brightness(.9); }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1000px) {
	:root { --sidebar: 220px; --gap: 34px; }
	.rj-lead { grid-template-columns: 240px minmax(0, 1fr); gap: 30px; }
	.rj-lead-side { display: none; }
	.post-card { grid-template-columns: minmax(0, 1fr) 108px; gap: 22px; }
	.card-thumb { width: 108px; height: 108px; }
}

@media (max-width: 820px) {
	.site { padding: 0 22px; }
	.site-content { grid-template-columns: minmax(0, 1fr); padding-top: 34px; }
	.sidebar { position: static; }
	.post-card::before { display: none; }
	.rj-lead { grid-template-columns: 1fr; gap: 22px; padding: 30px 0 34px; }
	.rj-lead-art { max-width: 240px; margin: 0 auto; }
	.rj-lead-title { font-size: 26px; }
	.post-card { grid-template-columns: minmax(0, 1fr) 96px; }
	.card-thumb { width: 96px; height: 96px; }
	.main-navigation { min-width: 0; }
	.main-navigation ul {
		flex-wrap: nowrap;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}
	.main-navigation ul::-webkit-scrollbar { display: none; }
	.main-navigation li { flex: 0 0 auto; }
	.main-navigation a { white-space: nowrap; padding: 5px 9px; font-size: 11.5px; letter-spacing: .06em; }
}

@media (max-width: 640px) {
	.site { padding: 0 16px; }
	.site-name { display: block; font-size: 10px; letter-spacing: .18em; }
	.header-bar {
		flex-wrap: wrap;
		gap: 0;
		padding: 8px 0 0;
		min-height: 0;
	}
	.main-navigation {
		width: 100%;
		margin-top: 4px;
		border-top: 1px solid var(--rule);
		overflow: visible;
	}
	.main-navigation ul { justify-content: space-between; overflow: visible; }
	.main-navigation a { white-space: nowrap; padding: 4px 3px; font-size: 10.2px; letter-spacing: .02em; border-left: 0; }
	.rj-front { padding-top: 22px; }
	.rj-rule-double { margin-bottom: 16px; }
	.rj-tagline { font-size: 13.5px; margin-top: 10px; }
	.rj-meta { font-size: 9.5px; letter-spacing: .12em; margin-top: 14px; }
	.rj-meta span { padding: 0 8px; }
	.rj-head-rule { margin-top: 16px; }
	.rj-lead { padding: 24px 0 28px; }
	.rj-lead-art img { max-width: 200px; }
	.rj-lead-kicker { font-size: 9.5px; letter-spacing: .2em; margin-bottom: 10px; }
	.rj-lead-title { font-size: 23px; line-height: 1.4; }
	.rj-lead-deck { font-size: 14px; }
	.rj-lead-foot { margin-top: 18px; font-size: 9px; }
	.post-card { padding: 24px 0 22px; gap: 16px; }
	.card-title { font-size: 19px; }
	.card-excerpt { font-size: 13.5px; }
	.card-meta { font-size: 9.5px; letter-spacing: .14em; }
	.card-thumb { width: 84px; height: 84px; }
	.entry-title { font-size: 25px; }
	.entry-content { font-size: 16px; line-height: 1.95; padding-top: 22px; }
	.comment-inner { gap: 12px; }
	.comment-avatar img { width: 34px; height: 34px; }
	.children { margin-left: 0; padding-left: 14px; }
	.rs-player { right: 12px; left: 12px; bottom: 12px; width: auto; }
	.rs-player-dock { padding: 9px 10px; gap: 9px; grid-template-columns: 38px minmax(0, 1fr) auto; }
	.rs-art { width: 38px; height: 38px; }
	.rs-btn { width: 26px; height: 26px; }
	.back-to-top { right: 14px; bottom: 92px; }
}

/* ============================================================
   手绘手帐层（2.1.0）
   字：手写体；线：抖动的铅笔线；首屏：本子 + 钢笔 + 文具。
   ============================================================ */

:root {
--hand: "Long Cang", "Hannotate SC", "Kaiti SC", "STKaiti", "KaiTi", "Bradley Hand", cursive;
	--hand-latin: "Long Cang", "Bradley Hand", "Chalkboard SE", "Noteworthy", cursive;
	--sk-line: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 14' preserveAspectRatio='none'><path d='M0 8.2 C 28 5.1 58 10.9 98 7.3 S 152 4.1 200 8.7 S 258 6.2 306 9.5 S 362 5.2 412 8.3 S 468 10.6 516 6.8 S 562 4.7 600 8.4' stroke='%2317150f' stroke-width='1.15' fill='none' stroke-linecap='round' opacity='.6'/></svg>");
	--sk-strong: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 18' preserveAspectRatio='none'><path d='M0 10.4 C 32 5.8 64 13.6 108 8.9 S 166 4.6 216 10.8 S 278 7 330 12.1 S 390 6.2 442 10.4 S 500 13.2 550 7.6 S 578 6.1 600 10.1' stroke='%2317150f' stroke-width='1.85' fill='none' stroke-linecap='round' opacity='.82'/></svg>");
	--sk-frame: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 90' preserveAspectRatio='none'><path d='M4 6 C 90 3.5 210 7.5 306 4.5 C 372 2.8 395 5 396 14 C 398 32 394 58 396 74 C 398 85 380 87 360 86 C 250 84 120 88 30 85 C 10 84 3 82 4 70 C 5 50 3 24 4 6 Z' stroke='%2317150f' stroke-width='1' fill='none' opacity='.75'/></svg>");
	--sk-frame-red: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 70' preserveAspectRatio='none'><path d='M4 5 C 100 3 220 6 300 4 C 370 2.5 395 4 396 12 C 397 28 394 48 396 60 C 397 68 380 69 360 68 C 240 66 110 70 28 67 C 9 66 3 64 4 55 C 5 40 3 18 4 5 Z' stroke='%23b03a2b' stroke-width='1' fill='none' opacity='.55'/></svg>");
}

@media (prefers-color-scheme: dark) {
	:root {
		--sk-line: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 14' preserveAspectRatio='none'><path d='M0 8.2 C 28 5.1 58 10.9 98 7.3 S 152 4.1 200 8.7 S 258 6.2 306 9.5 S 362 5.2 412 8.3 S 468 10.6 516 6.8 S 562 4.7 600 8.4' stroke='%23ece5d4' stroke-width='1.15' fill='none' stroke-linecap='round' opacity='.45'/></svg>");
		--sk-strong: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 18' preserveAspectRatio='none'><path d='M0 10.4 C 32 5.8 64 13.6 108 8.9 S 166 4.6 216 10.8 S 278 7 330 12.1 S 390 6.2 442 10.4 S 500 13.2 550 7.6 S 578 6.1 600 10.1' stroke='%23ece5d4' stroke-width='1.85' fill='none' stroke-linecap='round' opacity='.6'/></svg>");
		--sk-frame: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 90' preserveAspectRatio='none'><path d='M4 6 C 90 3.5 210 7.5 306 4.5 C 372 2.8 395 5 396 14 C 398 32 394 58 396 74 C 398 85 380 87 360 86 C 250 84 120 88 30 85 C 10 84 3 82 4 70 C 5 50 3 24 4 6 Z' stroke='%23ece5d4' stroke-width='1' fill='none' opacity='.5'/></svg>");
		--sk-frame-red: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 70' preserveAspectRatio='none'><path d='M4 5 C 100 3 220 6 300 4 C 370 2.5 395 4 396 12 C 397 28 394 48 396 60 C 397 68 380 69 360 68 C 240 66 110 70 28 67 C 9 66 3 64 4 55 C 5 40 3 18 4 5 Z' stroke='%23c9705f' stroke-width='1' fill='none' opacity='.5'/></svg>");
	}
}

body { font-size: 16.8px; line-height: 1.95; }
body,
.entry-content,
.card-excerpt,
.rj-lead-deck,
.comment-content,
.comment-notes,
.about-text { font-family: var(--kai); }

/* 评论区头像、代码块保持原样，别被手写体带偏 */
.entry-content pre, .entry-content code { font-family: "SFMono-Regular", Menlo, monospace; }

/* ---------- 手绘线条替换 ---------- */
.post-card {
	border-top: 0;
	background-image: var(--sk-line);
	background-repeat: no-repeat;
	background-size: 100% 14px;
	background-position: 0 0;
}
.post-card:first-child {
	border-top: 0;
	background-image: var(--sk-strong);
	background-size: 100% 18px;
}
.widget {
	border-top: 0;
	background-image: var(--sk-strong);
	background-repeat: no-repeat;
	background-size: 100% 16px;
	background-position: 0 0;
	padding-top: 16px;
}
.rj-rule-double {
	height: 10px;
	border: 0;
	background: none;
	background-image: var(--sk-strong);
	background-repeat: no-repeat;
	background-size: 100% 18px;
}
.rj-head-rule {
	height: 14px;
	background: none;
	background-image: var(--sk-line);
	background-repeat: no-repeat;
	background-size: 100% 14px;
}
.entry-header {
	border-bottom: 0;
	background-image: var(--sk-line);
	background-repeat: no-repeat;
	background-size: 100% 14px;
	background-position: 0 100%;
	padding-bottom: 26px;
}
.comments-area {
	border-top: 0;
	background-image: var(--sk-strong);
	background-repeat: no-repeat;
	background-size: 100% 16px;
	background-position: 0 0;
	padding-top: 28px;
}
.entry-content h2 {
	border-bottom: 0;
	background-image: var(--sk-line);
	background-repeat: no-repeat;
	background-size: 100% 14px;
	background-position: 0 100%;
	padding-bottom: .45em;
}
.comment-inner { border-bottom: 0; background-image: var(--sk-line); background-repeat: no-repeat; background-size: 100% 14px; background-position: 0 100%; }
.rs-track { border-bottom: 0; background-image: var(--sk-line); background-repeat: no-repeat; background-size: 100% 14px; background-position: 0 100%; }
.rs-track:last-child { background-image: none; }

/* ---------- 首页：点格纸底 + 手帐拼贴 ---------- */
.rj-front {
	background-image: radial-gradient(circle at 1px 1px, rgba(23, 21, 15, .07) 1px, transparent 1.6px);
	background-size: 20px 20px;
	background-position: 40px 8px;
}
@media (prefers-color-scheme: dark) {
	.rj-front { background-image: radial-gradient(circle at 1px 1px, rgba(236, 229, 212, .07) 1px, transparent 1.6px); }
}

.rj-lead {
	grid-template-columns: 432px minmax(0, 1fr) 156px;
	align-items: center;
	gap: 42px;
	padding: 44px 0 48px;
	border-bottom: 0;
}

.rj-collage {
	position: relative;
	min-height: 468px;
	padding: 4px 0 0;
}
.cj-passport {
	position: absolute;
	z-index: 1;
	left: -8px;
	top: 0;
	width: 120px;
	transform: rotate(-13deg);
	opacity: .78;
	filter: drop-shadow(3px 6px 7px rgba(23, 21, 15, .13));
}
.cj-notebook {
	position: relative;
	z-index: 2;
	display: block;
	width: 100%;
	max-width: 344px;
	margin: 28px 0 0 36px;
	transform: rotate(-4.4deg);
	filter: drop-shadow(8px 13px 12px rgba(23, 21, 15, .2)) contrast(1.03);
}
.cj-pen {
	position: absolute;
	z-index: 4;
	left: -6px;
	bottom: 4px;
	width: 248px;
	transform: rotate(-19deg);
	filter: saturate(1.05) drop-shadow(6px 12px 11px rgba(23, 21, 15, .3));
}
.cj-stationery {
	position: absolute;
	z-index: 3;
	right: -26px;
	bottom: -20px;
	width: 200px;
	transform: rotate(5deg);
	filter: drop-shadow(6px 11px 10px rgba(23, 21, 15, .17));
}
.cj-tag {
	position: absolute;
	z-index: 5;
	top: -6px;
	right: 0;
	padding: 3px 9px 4px;
	transform: rotate(3.6deg);
	font-family: var(--hand-latin);
	font-size: 9.5px;
	letter-spacing: .1em;
	color: var(--ink-2);
	background: var(--paper-2);
	border: 1px dashed var(--ink-3);
}
.cj-no {
	position: absolute;
	z-index: 5;
	top: 0;
	left: 118px;
	transform: rotate(-9deg);
	font-family: var(--hand-latin);
	font-size: 12px;
	color: var(--seal);
	letter-spacing: .04em;
}
.cj-note {
	position: absolute;
	z-index: 5;
	left: 2px;
	bottom: -46px;
	width: 150px;
	margin: 0;
	transform: rotate(-2.2deg);
	font-family: var(--kai);
	font-size: 11.5px;
	line-height: 1.6;
	color: var(--ink-3);
	border-bottom: 1px dotted var(--rule);
	padding-bottom: 3px;
}

@media (prefers-color-scheme: dark) {
	.cj-notebook { filter: invert(1) brightness(.95) drop-shadow(0 8px 12px rgba(0, 0, 0, .5)); opacity: .8; }
	.cj-pen { filter: brightness(1.5) saturate(1.15) contrast(.96) drop-shadow(0 8px 12px rgba(0, 0, 0, .55)); opacity: .92; }
	.cj-passport, .cj-stationery { filter: invert(1) brightness(.95); opacity: .55; }
}

.rj-lead-kicker {
	margin: 0 0 16px;
	font-family: var(--sans);
	font-size: 10px;
	letter-spacing: .24em;
	text-transform: uppercase;
	color: var(--ink-4);
}
.rj-lead-title {
	font-family: var(--serif);
	font-weight: 600;
	font-size: clamp(26px, 2.4vw, 31px);
	line-height: 1.65;
	letter-spacing: .04em;
	color: var(--ink);
}
.rj-lead-deck { margin-top: 18px; font-size: 15px; line-height: 2; color: var(--ink-2); }

.rj-lead-index {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px 30px;
	margin-top: 28px;
	max-width: 460px;
	font-family: var(--sans);
	font-size: 11.5px;
	letter-spacing: .08em;
	color: var(--ink-3);
}
.rj-lead-index a {
	display: flex;
	align-items: baseline;
	gap: 9px;
	text-decoration: none;
	color: inherit;
	padding-bottom: 3px;
	background-image: var(--sk-line);
	background-repeat: no-repeat;
	background-size: 100% 14px;
	background-position: 0 100%;
	transition: color .25s ease;
}
.rj-lead-index a:hover { color: var(--ink); }
.rj-lead-index .idx-no {
	font-family: var(--hand-latin);
	font-size: 11px;
	letter-spacing: .1em;
	color: var(--seal);
	opacity: .85;
}
.rj-lead-index .idx-name { letter-spacing: .12em; }
.rj-lead-index .idx-wide { grid-column: 1 / -1; max-width: 60%; }
.rj-lead-foot { margin-top: 22px; font-size: 10.5px; letter-spacing: .18em; color: var(--ink-3); }

.rj-side-note { font-family: var(--hand-latin); letter-spacing: .14em; color: var(--ink-3); }

.rj-lead-side {
	display: grid;
	justify-items: center;
	align-content: center;
	gap: 16px;
}
.rj-side-art {
	width: 92px;
	opacity: .45;
	transform: rotate(-7deg);
}
.rj-side-book {
	width: 132px;
	margin-top: -4px;
	transform: rotate(7deg);
	opacity: .72;
	filter: drop-shadow(4px 8px 9px rgba(23, 21, 15, .14));
}
@media (prefers-color-scheme: dark) {
	.rj-side-book { filter: invert(1) brightness(.95); opacity: .5; }
	.rj-side-art { filter: invert(1) brightness(.95); opacity: .4; }
}

/* 刊头：手写站名 + 中文副题 */
.rj-name { font-family: var(--hand-latin); letter-spacing: .01em; }
.rj-name a { color: inherit; }

/* ---------- 播放器：手绘框 ---------- */
.rs-player-dock {
	border: 0;
	background: var(--paper);
	background-image: var(--sk-frame);
	background-size: 100% 100%;
	background-repeat: no-repeat;
	box-shadow: none;
}
.rs-player-list {
	border: 0;
	padding: 12px 10px 9px;
	background: var(--paper);
	background-image: var(--sk-frame);
	background-size: 100% 100%;
	background-repeat: no-repeat;
	box-shadow: 2px 3px 0 rgba(23, 21, 15, .05);
}
@media (prefers-color-scheme: dark) {
	.rs-player-list { box-shadow: 2px 3px 0 rgba(0, 0, 0, .3); }
}
.rs-player-list:not([hidden]) { display: block; }
.rs-player.is-open .rs-player-list {
	max-height: 240px;
	overflow-y: auto;
	transform: rotate(-.45deg);
	transform-origin: 100% 100%;
}

.rs-art {
	border: 0;
	background: transparent;
	background-image: var(--sk-frame-red);
	background-size: 100% 100%;
	background-repeat: no-repeat;
}
.rs-art::after {
	width: 14px; height: 14px;
	background: transparent;
	border: 1.5px solid var(--seal);
	border-radius: 46% 54% 52% 48% / 52% 47% 53% 48%;
	box-shadow: none;
	opacity: .9;
}
.rs-title { font-family: var(--hand); font-size: 14px; }
.rs-artist, .rs-time, .rs-track-artist { font-family: var(--hand-latin); }
.rs-track { font-family: var(--hand); font-size: 12.5px; }
.rs-track-no { font-family: var(--hand-latin); }
.rs-play {
	border: 0;
	background-image: var(--sk-frame-red);
	background-size: 100% 100%;
	background-repeat: no-repeat;
	background-position: center;
}
.rs-progress { height: 1px; background: var(--rule); }
.rs-progress-bar { height: 1px; }

/* ---------- 移动端 ---------- */
@media (max-width: 1000px) {
	.rj-lead { grid-template-columns: 360px minmax(0, 1fr); gap: 34px; }
	.cj-notebook { max-width: 340px; }
	.cj-pen { left: 120px; width: 180px; bottom: -14px; }
}
@media (max-width: 820px) {
	.rj-lead { grid-template-columns: 1fr; gap: 26px; padding: 30px 0 34px; }
	.rj-collage { max-width: 340px; margin: 0 auto; min-height: 340px; }
	.rj-lead-index { max-width: none; }
}
@media (max-width: 640px) {
	.cj-notebook { max-width: 300px; }
	.cj-pen { left: 106px; width: 156px; bottom: -8px; }
	.rj-lead-index { grid-template-columns: 1fr; }
}

@font-face {
	font-family: "Long Cang";
	src: url("assets/fonts/long-cang.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

/* 小字元信息用楷体，保证可读 */
.card-meta, .entry-meta, .comment-meta, .comment-notes, .post-nav, .footer-nav, .site-info,
.card-excerpt, .account-links, .widget-title, .archive-description {
	font-family: "Kaiti SC", "STKaiti", "KaiTi", "Songti SC", serif;
}
.card-meta { letter-spacing: .12em; }

/* ============================================================
   2.2 克制的日式手帐：字体归位 · 手绘抖动线 · 错落排版 · 摊开的 TN
   ============================================================ */

/* ---------- 字体层级：宋体标题 / 楷体正文 / 无衬线标签 ---------- */
.rj-name {
	font-family: var(--hand-latin);
	font-size: clamp(40px, 6vw, 64px);
	letter-spacing: .02em;
	font-weight: 400;
}
h1, h2, h3, h4, .card-title, .archive-title, .entry-title,
.rj-lead-title, .widget-title, .entry-content h2, .entry-content h3 {
	font-family: var(--serif);
	font-weight: 600;
}
.card-title { font-size: clamp(19px, 2vw, 23px); line-height: 1.55; letter-spacing: .05em; }
.entry-title { font-size: clamp(26px, 3.1vw, 36px); line-height: 1.5; letter-spacing: .06em; }
.archive-title { letter-spacing: .07em; }
.rj-tagline { font-family: var(--kai); font-size: 14px; font-style: normal; letter-spacing: .16em; }
.rj-meta {
	font-family: var(--sans);
	font-size: 9.5px;
	letter-spacing: .26em;
}
.main-navigation a {
	font-family: var(--sans);
	font-size: 11px;
	letter-spacing: .2em;
	padding: 6px 15px;
	color: var(--ink-3);
}
.main-navigation a:hover { color: var(--seal); }
.widget-title { font-size: 13px; letter-spacing: .12em; }
.card-meta { font-family: var(--sans); font-size: 9.5px; letter-spacing: .22em; }
.entry-meta { font-family: var(--sans); font-size: 9.5px; letter-spacing: .22em; }
.entry-content p { font-family: var(--kai); }
.entry-content h2 { letter-spacing: .08em; }
.entry-content blockquote { font-family: var(--kai); font-style: normal; }
.entry-content figcaption, .entry-footer, .site-info, .footer-nav { font-family: var(--sans); }

/* 手写体只留给英文装饰字 */
.rj-name, .cj-tag, .cj-no, .rj-side-note, .rs-track-no { }

/* ---------- 手绘撕纸感的文章列表 ---------- */
.post-card { background-size: 100% 14px; }
.post-card:nth-child(even) {
	transform: rotate(-.35deg);
	margin-left: 22px;
}
.post-card:nth-child(odd) { transform: rotate(.22deg); }
.post-card:nth-child(3n) { margin-right: 10px; }
.card-thumb {
	border: 0;
	background: var(--paper-2);
	padding: 7px 7px 16px;
	box-shadow: 0 2px 0 rgba(23, 21, 15, .06), 0 10px 16px -12px rgba(23, 21, 15, .35);
	transform: rotate(1.6deg);
}
.card-thumb::after {
	content: "";
	position: absolute;
	top: -6px;
	left: 50%;
	width: 46px;
	height: 13px;
	transform: translateX(-50%) rotate(-2deg);
	background: rgba(214, 199, 160, .55);
	border-left: 1px dashed rgba(255, 255, 255, .6);
	border-right: 1px dashed rgba(255, 255, 255, .6);
}
.post-card:nth-child(even) .card-thumb { transform: rotate(-2.2deg); }
.card-thumb img { border: 1px solid rgba(23, 21, 15, .12); }
@media (prefers-color-scheme: dark) {
	.card-thumb { box-shadow: 0 2px 0 rgba(0, 0, 0, .2), 0 10px 16px -12px rgba(0, 0, 0, .6); }
	.card-thumb::after { background: rgba(236, 229, 212, .22); }
}

/* 侧栏错落 */
.widget:nth-child(odd) { transform: rotate(-.3deg); }
.widget:nth-child(even) { transform: rotate(.4deg); margin-left: 8px; }

/* ---------- 播放器：显示专辑封面（保留手绘框） ---------- */
.rs-art { position: relative; overflow: hidden; }
.rs-art-img {
	position: absolute;
	inset: 5px;
	width: calc(100% - 10px);
	height: calc(100% - 10px);
	object-fit: cover;
	border-radius: 2px;
	opacity: 0;
	transition: opacity .28s var(--ease);
	filter: saturate(.95) contrast(.98);
}
.rs-art.has-cover .rs-art-img { opacity: 1; }
.rs-art.has-cover .rs-art-glyph,
.rs-art.has-cover::after { display: none; }
.rs-art-glyph {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	font-size: 15px;
	color: var(--seal);
	opacity: .75;
}
.rs-title { font-family: var(--serif); font-size: 13px; letter-spacing: .04em; }
.rs-artist { font-family: var(--sans); font-size: 9px; letter-spacing: .14em; color: var(--ink-4); }
.rs-time { font-family: var(--sans); font-size: 9px; letter-spacing: .08em; }
.rs-track { font-family: var(--serif); font-size: 12px; letter-spacing: .04em; }
.rs-track-artist { font-family: var(--sans); font-size: 9px; letter-spacing: .12em; color: var(--ink-4); }

/* ---------- 站点左右侧的旅行手帐线描 ---------- */
.rj-edge {
	position: fixed;
	z-index: 1;
	pointer-events: none;
	opacity: .5;
}
.rj-edge img { display: block; width: 100%; height: auto; }
.rj-edge-left {
	left: 10px;
	top: 26%;
	width: 96px;
	transform: rotate(-6deg);
	filter: grayscale(1) contrast(1.05);
}
.rj-edge-right {
	right: 8px;
	top: 56%;
	width: 80px;
	transform: rotate(8deg);
	filter: grayscale(1) contrast(1.05);
	opacity: .42;
}
@media (max-width: 1220px) { .rj-edge { display: none; } }
@media (prefers-color-scheme: dark) {
	.rj-edge img { filter: invert(1) grayscale(1) brightness(1.1); opacity: .7; }
}

/* ---------- 单篇：摊开的 Traveler's Notebook 标准版 ---------- */
.single .post-article {
	max-width: none;
	position: relative;
	padding: 46px 46px 44px 42px;
	background: var(--paper);
	background-image: var(--sk-frame);
	background-size: 100% 100%;
	background-repeat: no-repeat;
	box-shadow: 0 2px 0 rgba(23, 21, 15, .05), 0 18px 30px -22px rgba(23, 21, 15, .45);
}
@media (min-width: 900px) {
	.single .post-article {
		display: grid;
		grid-template-columns: minmax(0, 244px) minmax(0, 1fr);
		column-gap: 46px;
		padding: 52px 58px 48px 50px;
	}
	.single .entry-header {
		grid-column: 1;
		position: relative;
		padding: 6px 0 190px;
		background-position: 0 100%;
	}
	.single .entry-header::after {
		content: "";
		position: absolute;
		left: 2px;
		bottom: 24px;
		width: 128px;
		height: 138px;
		background: url("assets/images/tn-passport-leather.webp?v=2.6.3") left bottom / contain no-repeat;
		opacity: .5;
	}
	.single .entry-header::before {
		content: "";
		position: absolute;
		left: 0;
		right: 6px;
		top: 118px;
		bottom: 186px;
		background-image:
			repeating-linear-gradient(to bottom, rgba(23, 21, 15, 0) 0 29px, rgba(23, 21, 15, .12) 29px 30px);
		border-left: 1px solid rgba(176, 58, 43, .22);
		padding-left: 0;
		margin-left: 16px;
		pointer-events: none;
	}
	.single .entry-content {
		grid-column: 2;
		padding: 4px 0 6px 38px;
		border-left: 1px dashed rgba(23, 21, 15, .16);
		box-shadow: inset 12px 0 18px -16px rgba(23, 21, 15, .4);
		font-size: 16px;
		line-height: 2;
	}
	.single .entry-footer { grid-column: 1 / -1; }
	.single .post-article .entry-title { font-size: clamp(25px, 2.4vw, 31px); line-height: 1.6; }
	.entry-content > p:first-of-type::first-letter { font-size: 2.7em; }
}
@media (prefers-color-scheme: dark) {
	.single .post-article {
		box-shadow: 0 2px 0 rgba(0, 0, 0, .2), 0 18px 30px -22px rgba(0, 0, 0, .7);
	}
	.single .entry-content { border-left-color: rgba(236, 229, 212, .18); box-shadow: inset 12px 0 18px -16px rgba(0, 0, 0, .55); }
	.single .entry-header::after { filter: invert(1) brightness(.95); opacity: .32; }
	.single .entry-header::before { background-image: repeating-linear-gradient(to bottom, rgba(236, 229, 212, 0) 0 29px, rgba(236, 229, 212, .14) 29px 30px); border-left-color: rgba(201, 112, 95, .3); }
}

/* 单篇页脚的翻页也走手绘线 */
.post-nav { border-top: 0; background-image: var(--sk-line); background-repeat: no-repeat; background-size: 100% 14px; }

/* ---------- 移动端适配（覆盖 2.1 的拼贴尺寸） ---------- */
@media (max-width: 1000px) {
	.rj-lead { grid-template-columns: 360px minmax(0, 1fr); gap: 32px; }
	.cj-notebook { max-width: 300px; margin-left: 12px; }
	.cj-pen { left: 44px; bottom: 44px; width: 196px; }
	.cj-stationery { width: 178px; right: -6px; bottom: -4px; }
	.cj-passport { width: 98px; }
	.rj-collage { min-height: 400px; }
}
@media (max-width: 820px) {
	.rj-lead { grid-template-columns: 1fr; gap: 30px; padding: 34px 0 38px; }
	.rj-collage { max-width: 340px; margin: 0 auto; min-height: 400px; }
	.cj-notebook { margin-left: 10px; }
	.cj-pen { left: 46px; width: 200px; bottom: 52px; }
	.cj-stationery { width: 170px; }
	.card-thumb { padding: 5px 5px 12px; }
}
@media (max-width: 640px) {
	.cj-notebook { max-width: 268px; }
	.cj-pen { left: 36px; width: 172px; bottom: 56px; }
	.cj-stationery { width: 146px; }
	.cj-passport { width: 84px; }
	.rj-lead-index { grid-template-columns: 1fr; }
	.rj-lead-index span:nth-child(2),
	.rj-lead-index span:nth-child(3),
	.rj-lead-index span:nth-child(4) { margin-left: 0; }
	.post-card:nth-child(even),
	.post-card:nth-child(odd) { margin: 0; transform: none; }
}

/* =========================================================================
 * 2.3 侘寂：素纸 / 克制的赭 / 结构的留白
 * 灰白更冷一点，去掉土黄；顶栏不再是一个方块；拼贴收进网格；
 * 皮革本换成写实旧皮照片；播放器改为玻璃纸，不再是实心框。
 * ========================================================================= */

:root {
	--paper: #f7f5f0;
	--paper-2: #efebe3;
	--paper-3: #f2f0eb;
	--ink: #23211c;
	--ink-2: #3c3830;
	--ink-3: #736d62;
	--ink-4: #9e978b;
	--rule: #dcd7ca;
	--seal: #9b5844;
	--page: 1080px;
	--gap: 60px;
}

@media (prefers-color-scheme: dark) {
	:root {
		--paper: #1e1d19;
		--paper-2: #26241f;
		--paper-3: #1a1916;
		--ink: #e7e2d5;
		--ink-2: #cdc7b9;
		--ink-3: #9c9589;
		--ink-4: #726c61;
		--rule: #37342d;
		--seal: #b9785f;
	}
}

/* 纸：只留极淡的纤维噪点，去掉暖色光晕 */
body {
	background-color: var(--paper-3);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='n' opacity='.05'/%3E%3C/svg%3E");
}
@media (prefers-color-scheme: dark) {
	body {
		background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='n' opacity='.07'/%3E%3C/svg%3E");
	}
}

/* ---------- 顶栏：不要方块，让它化进纸里 ---------- */
.site-header {
	background: linear-gradient(
		180deg,
		rgba(242, 240, 235, .95) 0%,
		rgba(242, 240, 235, .82) 62%,
		rgba(242, 240, 235, .34) 88%,
		rgba(242, 240, 235, 0) 100%
	);
	backdrop-filter: blur(9px) saturate(115%);
	border-bottom: 0;
	box-shadow: none;
}
.header-bar { min-height: 66px; }
.nib-mark {
	width: 22px; height: 22px;
	border: 0;
	color: var(--ink-3);
}
.nib-mark svg { width: 13px; height: 13px; }
.nib-mark:hover { color: var(--seal); }
.site-name { font-size: 10.5px; letter-spacing: .24em; }
.main-navigation a { color: var(--ink-3); }
.main-navigation a:hover { color: var(--ink); }
@media (prefers-color-scheme: dark) {
	.site-header {
		background: linear-gradient(
			180deg,
			rgba(26, 25, 22, .96) 0%,
			rgba(26, 25, 22, .82) 62%,
			rgba(26, 25, 22, .3) 88%,
			rgba(26, 25, 22, 0) 100%
		);
	}
}

/* ---------- 刊头：更多留白，标题轻一点 ---------- */
.rj-masthead { padding: 26px 0 6px; }
.rj-name { letter-spacing: .015em; }
.rj-tagline { font-size: 13px; letter-spacing: .22em; color: var(--ink-3); }
.rj-meta { font-size: 10px; letter-spacing: .2em; color: var(--ink-4); }

/* 首页不用点格纸，素面更静 */
.rj-front { background-image: none; }
@media (prefers-color-scheme: dark) { .rj-front { background-image: none; } }

/* ---------- 拼贴：收进网格，角度收住 ---------- */
.rj-lead {
	grid-template-columns: 404px minmax(0, 1fr) 150px;
	gap: 56px;
	padding: 56px 0 60px;
}
.rj-collage { min-height: 424px; }

.cj-passport {
	left: 10px;
	top: -12px;
	width: 128px;
	transform: rotate(-5deg);
	opacity: 1;
	filter: drop-shadow(4px 9px 10px rgba(48, 38, 26, .18));
}
.cj-notebook {
	width: 312px;
	max-width: 312px;
	margin: 34px 0 0 76px;
	transform: rotate(-2.6deg);
	filter: drop-shadow(7px 13px 13px rgba(48, 38, 26, .13)) contrast(1.02);
}
.cj-pen {
	left: -24px;
	bottom: 40px;
	width: 228px;
	transform: rotate(-15deg);
	filter: saturate(1.04) drop-shadow(6px 12px 12px rgba(48, 38, 26, .24));
}
.cj-stationery {
	right: -12px;
	bottom: -2px;
	width: 168px;
	transform: rotate(2.4deg);
	filter: drop-shadow(5px 10px 10px rgba(48, 38, 26, .13));
}
.cj-tag {
	top: -18px;
	right: 4px;
	background: transparent;
	border: 0;
	border-bottom: 1px solid var(--rule);
	padding: 0 0 2px;
	color: var(--ink-4);
	font-size: 9px;
	letter-spacing: .18em;
}
.cj-no { left: 146px; top: 4px; font-size: 10.5px; color: var(--seal); }
.cj-note { bottom: -42px; left: 8px; width: 148px; font-size: 11px; color: var(--ink-4); border-bottom: 0; }

/* ---------- 首页索引：对齐，不再各自漂移 ---------- */
.rj-lead-index {
	grid-template-columns: 1fr 1fr;
	gap: 10px 30px;
	max-width: 400px;
	margin-top: 28px;
	padding-top: 16px;
	border-top: 1px solid var(--rule);
	font-size: 10.5px;
	letter-spacing: .1em;
	color: var(--ink-3);
}
.rj-lead-index span { background-image: none; padding-bottom: 0; }
.rj-lead-index span:nth-child(2),
.rj-lead-index span:nth-child(3),
.rj-lead-index span:nth-child(4) { margin-left: 0; }
.rj-lead-index .idx-1,
.rj-lead-index .idx-3 { color: var(--ink-2); }
.rj-lead-foot { margin-top: 26px; color: var(--ink-4); }

/* ---------- 右栏本子：写实皮革，不再反相 ---------- */
.rj-side-book {
	width: 152px;
	transform: rotate(3deg);
	opacity: 1;
	filter: drop-shadow(6px 12px 14px rgba(48, 38, 26, .2));
}
@media (prefers-color-scheme: dark) {
	.rj-side-book { filter: brightness(.92) drop-shadow(0 10px 16px rgba(0, 0, 0, .55)); opacity: .92; }
}

/* ---------- 两侧装饰：皮革照片 ---------- */
.rj-edge { opacity: .62; }
.rj-edge-left { width: 104px; top: 24%; transform: rotate(-4deg); filter: none; }
.rj-edge-right { width: 92px; top: 58%; transform: rotate(5deg); filter: none; opacity: .5; }
@media (prefers-color-scheme: dark) {
	.rj-edge img { filter: brightness(.9); opacity: .8; }
	.rj-edge-left img, .rj-edge-right img { filter: brightness(.9) drop-shadow(0 8px 14px rgba(0, 0, 0, .5)); }
}

/* ---------- 文章卡片：错落收小，节奏更稳 ---------- */
.post-card { padding: 34px 0 30px; gap: 34px; }
.post-card:nth-child(even) { margin-left: 10px; transform: rotate(-.18deg); }
.post-card:nth-child(odd) { margin-left: 0; transform: rotate(.12deg); }
.post-card:nth-child(3n) { margin-right: 0; }
.card-title { letter-spacing: .02em; }
.card-excerpt { color: var(--ink-3); }
.card-thumb { padding: 6px 6px 14px; transform: rotate(1.2deg); }
.post-card:nth-child(even) .card-thumb { transform: rotate(-1.5deg); }

/* ---------- 播放器：玻璃纸，不再是一个实心方框 ---------- */
.rs-player-dock {
	background: rgba(247, 245, 240, .72);
	backdrop-filter: blur(12px) saturate(115%);
	background-image: var(--sk-frame);
	background-size: 100% 100%;
	background-repeat: no-repeat;
	box-shadow: 0 14px 30px -16px rgba(35, 32, 25, .32);
}
.rs-player-list {
	background: rgba(247, 245, 240, .86);
	backdrop-filter: blur(12px) saturate(115%);
	background-image: var(--sk-frame);
	background-size: 100% 100%;
	background-repeat: no-repeat;
	box-shadow: 0 16px 32px -18px rgba(35, 32, 25, .3);
}
.rs-art {
	background-image: none;
	border: 0;
}
.rs-art::after { background: var(--seal); }
.rs-player-dock .rs-art { box-shadow: 0 0 0 1px var(--rule); }
@media (prefers-color-scheme: dark) {
	.rs-player-dock { background: rgba(26, 25, 22, .78); box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .6); }
	.rs-player-list { background: rgba(26, 25, 22, .9); box-shadow: 0 16px 32px -16px rgba(0, 0, 0, .6); }
}

/* ---------- 单篇：纸色跟着 2.3 的素纸 ---------- */
.single .post-article {
	background: var(--paper);
	box-shadow: 0 1px 0 rgba(35, 32, 25, .04), 0 22px 36px -28px rgba(35, 32, 25, .4);
}

/* 皮革照片在深色下不反相 */
@media (prefers-color-scheme: dark) {
	.cj-passport { filter: brightness(.94) drop-shadow(0 8px 12px rgba(0, 0, 0, .55)); opacity: .95; }
}

/* 小屏：拼贴重新摆位 */
@media (max-width: 1000px) {
	.rj-collage { min-height: 392px; }
	.cj-passport { width: 108px; left: 4px; }
	.cj-notebook { width: 276px; max-width: 276px; margin-left: 44px; }
	.cj-pen { left: 92px; bottom: 6px; width: 172px; }
	.cj-stationery { width: 148px; }
}
@media (max-width: 640px) {
	.rj-collage { min-height: 350px; }
	.cj-passport { width: 92px; left: 0; top: -8px; }
	.cj-notebook { width: 244px; max-width: 244px; margin: 34px 0 0 40px; }
	.cj-pen { left: 62px; bottom: 2px; width: 148px; }
	.cj-stationery { width: 126px; right: -6px; }
	.cj-note { display: none; }
}

/* ---------- 2.3 微调：顶栏更淡、边缘更实、播放器更轻 ---------- */
.site-header {
	background: linear-gradient(
		180deg,
		rgba(242, 240, 235, .92) 0%,
		rgba(242, 240, 235, .6) 52%,
		rgba(242, 240, 235, .16) 82%,
		rgba(242, 240, 235, 0) 100%
	);
}
@media (prefers-color-scheme: dark) {
	.site-header {
		background: linear-gradient(
			180deg,
			rgba(26, 25, 22, .94) 0%,
			rgba(26, 25, 22, .6) 52%,
			rgba(26, 25, 22, .14) 82%,
			rgba(26, 25, 22, 0) 100%
		);
	}
}

.cj-tag { left: 132px; right: auto; top: -20px; }

.rj-edge { opacity: .84; }
.rj-edge-left { width: 96px; top: 31%; filter: saturate(1.06); opacity: .84; }
.rj-edge-right { width: 84px; top: 60%; filter: saturate(1.06); opacity: .62; }

.rs-player-dock {
	background: rgba(247, 245, 240, .5);
	backdrop-filter: blur(15px) saturate(122%);
	box-shadow: 0 18px 40px -24px rgba(35, 32, 25, .26);
}
.rs-player-list {
	background: rgba(247, 245, 240, .74);
	backdrop-filter: blur(16px) saturate(120%);
	background-image: none;
	box-shadow: 0 18px 40px -26px rgba(35, 32, 25, .22);
}
@media (prefers-color-scheme: dark) {
	.rs-player-dock { background: rgba(30, 29, 25, .58); box-shadow: 0 18px 40px -22px rgba(0, 0, 0, .6); }
	.rs-player-list { background: rgba(30, 29, 25, .8); box-shadow: 0 18px 40px -24px rgba(0, 0, 0, .6); }
}

/* 左侧装饰避开刊头横线 */
.rj-edge-left { top: 35%; width: 88px; opacity: .8; }

@media (prefers-color-scheme: dark) {
	.rs-player-dock { background: rgba(32, 31, 27, .8); }
	.rs-art { box-shadow: 0 0 0 1px rgba(231, 226, 213, .18); }
}

/* ============================================================
   2.3.1 微调：播放器不再是"线条外多出来的方框"
   纸面改成中心实、边缘羽化的渐变，边界只由手绘线决定；
   歌单面板同法，深色下换夜纸色。
   ============================================================ */
.rs-player-dock {
	position: relative;
	isolation: isolate;
	background-color: transparent;
	background-image: radial-gradient(102% 98% at 50% 50%, rgba(245, 242, 235, .995) 0%, rgba(245, 242, 235, .99) 62%, rgba(245, 242, 235, .86) 84%, rgba(245, 242, 235, 0) 100%);
	background-size: 100% 100%;
	background-repeat: no-repeat;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
	box-shadow: none;
}
.rs-player-dock > * { position: relative; z-index: 2; }
.rs-player-dock::after {
	content: "";
	position: absolute;
	inset: 0;
	background-image: var(--sk-frame);
	background-size: 100% 100%;
	background-repeat: no-repeat;
	pointer-events: none;
	z-index: 1;
}
.rs-player-list {
	background-color: transparent;
	background-image: radial-gradient(100% 100% at 50% 50%, rgba(245, 242, 235, .985) 0%, rgba(245, 242, 235, .985) 74%, rgba(245, 242, 235, .92) 90%, rgba(245, 242, 235, 0) 100%);
	background-size: 100% 100%;
	background-repeat: no-repeat;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
	box-shadow: none;
}

@media (prefers-color-scheme: dark) {
	.rs-player-dock {
		background-image: radial-gradient(102% 98% at 50% 50%, rgba(31, 30, 26, .995) 0%, rgba(31, 30, 26, .99) 62%, rgba(31, 30, 26, .86) 84%, rgba(31, 30, 26, 0) 100%);
	}
	.rs-player-list {
		background-image: radial-gradient(100% 100% at 50% 50%, rgba(29, 28, 24, .99) 0%, rgba(29, 28, 24, .985) 74%, rgba(29, 28, 24, .93) 90%, rgba(29, 28, 24, 0) 100%);
	}
}

/* 边缘的 Traveler's Notebook 再退一点，别压到正文 */
.rj-edge-left { left: 0; top: 35%; width: 66px; opacity: .68; }
.rj-edge-right { right: 2px; top: 60%; width: 62px; opacity: .52; }


/* 正文里老文章自带的音频：手绘播放条 */
.entry-audio {
	display: grid;
	grid-template-columns: 32px auto 1fr;
	align-items: center;
	gap: 14px;
	margin: 22px 0 26px;
	padding: 10px 2px 12px;
	border-top: 1px solid var(--rule);
	border-bottom: 1px solid var(--rule);
}
.entry-audio-btn {
	width: 32px; height: 32px;
	display: grid; place-items: center;
	background: transparent;
	border: 1px solid var(--ink-3);
	border-radius: 50%;
	color: var(--ink);
	font-family: var(--sans);
	font-size: 11px;
	line-height: 1;
	cursor: pointer;
	transition: color .2s, border-color .2s;
}
.entry-audio-btn:hover { color: var(--seal); border-color: var(--seal); }
.entry-audio-meta {
	font-size: 11px;
	letter-spacing: .14em;
	color: var(--ink-3);
}
.entry-audio-track {
	position: relative;
	display: block;
	height: 1px;
	background: var(--rule);
	cursor: pointer;
}
.entry-audio-fill {
	position: absolute;
	left: 0; top: -1px;
	display: block;
	width: 0;
	height: 3px;
	background: var(--seal);
	opacity: .65;
}
.entry-audio-native { display: none !important; }

/* ============================================================
   2.4 单篇：真正摊开的 Traveler's Notebook（皮革封面 + 两张内页）
   ============================================================ */
.single .post-article {
	display: block;
	max-width: none;
	padding: 24px 22px 26px;
	background-color: #3f2718;
	background-image: url("assets/images/leather-cover.webp?v=2.6.3");
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	border-radius: 9px;
	box-shadow: 0 40px 54px -38px rgba(28, 18, 10, .62), inset 0 1px 0 rgba(255, 228, 200, .10), inset 0 0 0 1px rgba(255, 226, 196, .05);
	position: relative;
}

.single .tn-pages {
	position: relative;
	display: grid;
	grid-template-columns: 1fr;
	box-shadow: 0 0 0 3px #efe7d5, 0 0 0 5px #e6dac2, 0 0 0 6px #d6c5a8, 0 8px 18px -10px rgba(20, 12, 6, .5);
}

.single .tn-page { background: #f7f0e1; }
.single .tn-page-left  { padding: 26px 24px 22px; display: flex; flex-direction: column; }
.single .tn-page-right { padding: 26px 24px 26px; }

.single .tn-kicker {
	margin: 0 0 10px;
	font-family: var(--hand-latin);
	font-size: 11.5px;
	letter-spacing: .16em;
	color: var(--ink-4);
}
.single .entry-header { padding: 0; background: none; border: 0; }
.single .entry-header::before,
.single .entry-header::after { display: none; }
.single .entry-title {
	margin: 0;
	font-size: clamp(23px, 2.1vw, 29px);
	line-height: 1.55;
}
.single .entry-meta { margin-top: 12px; }
.single .tn-ruled {
	flex: 1 1 auto;
	min-height: 150px;
	height: auto;
	margin: 20px 0 0;
	padding-left: 14px;
	border-left: 1px solid rgba(176, 58, 43, .22);
	background-image: repeating-linear-gradient(to bottom, rgba(23, 21, 15, 0) 0 27px, rgba(23, 21, 15, .085) 27px 28px);
}
.single .tn-facts {
	margin: 12px 0 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4px 12px;
	font-family: var(--sans);
	font-size: 10px;
	letter-spacing: .06em;
	color: var(--ink-3);
}
.single .tn-facts span { display: inline-flex; gap: 6px; align-items: baseline; }
.single .tn-facts em {
	font-style: normal;
	font-family: var(--hand-latin);
	font-size: 11px;
	letter-spacing: .2em;
	color: var(--ink-4);
	opacity: .85;
	text-transform: uppercase;
}
.single .tn-leaf {
	width: 74px;
	height: 74px;
	margin: 2px 0 0 auto;
	background: url("assets/images/botanical-line.webp?v=2.6.3") center / contain no-repeat;
	opacity: .34;
}
.single .tn-stamp {
	margin: 16px 0 0;
	font-family: var(--sans);
	font-size: 9px;
	letter-spacing: .22em;
	color: var(--ink-4);
	opacity: .8;
}
/* 皮革封面的暗角与光泽 */
.single .post-article::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	border-radius: 9px;
	background: radial-gradient(115% 82% at 50% 34%, rgba(255, 222, 180, .07) 0%, rgba(20, 12, 6, .30) 76%, rgba(12, 7, 3, .44) 100%);
	pointer-events: none;
}

.single .entry-content {
	padding: 0;
	border: 0;
	box-shadow: none;
	font-size: 16px;
	line-height: 2;
	position: relative;
}

.single .tn-gutter {
	position: absolute;
	left: 300px;
	top: 0;
	bottom: 0;
	width: 0;
	z-index: 4;
	pointer-events: none;
}
.single .tn-gutter::before {
	content: "";
	position: absolute;
	top: -3px;
	bottom: -3px;
	left: -28px;
	width: 56px;
	background: linear-gradient(90deg, rgba(94, 68, 42, 0) 0%, rgba(94, 68, 42, .09) 32%, rgba(72, 50, 30, .26) 50%, rgba(94, 68, 42, .09) 68%, rgba(94, 68, 42, 0) 100%);
}
.single .tn-gutter::after {
	content: "";
	position: absolute;
	top: 8px;
	bottom: 8px;
	left: -1px;
	width: 2px;
	background: repeating-linear-gradient(to bottom, rgba(140, 112, 74, .5) 0 7px, rgba(140, 112, 74, 0) 7px 14px);
}

/* 封面右侧的弹力绑带与铜铃 */
.single .post-article::after {
	content: "";
	z-index: 3;
	position: absolute;
	top: 24px;
	bottom: 24px;
	right: 20px;
	width: 9px;
	border-radius: 6px;
	background:
		radial-gradient(circle at 50% 38%, #c99a5f 0 5px, #8a5f34 5px 6px, rgba(0, 0, 0, 0) 6px),
		linear-gradient(90deg, #33200f, #5e3f29 45%, #2e1c0e);
	box-shadow: 0 1px 4px rgba(0, 0, 0, .55), 0 0 0 1px rgba(0, 0, 0, .18);
	pointer-events: none;
}

/* 页码与垂下的丝带书签 */
.single .tn-pages::after {
	content: "";
	position: absolute;
	left: 47%;
	bottom: -30px;
	width: 9px;
	height: 46px;
	z-index: 6;
	background: linear-gradient(180deg, #a8352a, #8f2a22 60%, #7b231d);
	border-radius: 0 0 3px 3px;
	box-shadow: 0 3px 6px rgba(30, 16, 8, .35);
	transform: rotate(1.2deg);
	opacity: .9;
}

@media (min-width: 900px) {
	.single .post-article { padding: 44px 52px 46px; }
	.single .tn-pages { grid-template-columns: 1fr 1fr; }
	.single .tn-page-left  { padding: 30px 26px 32px; }
	.single .tn-page-right { padding: 30px 26px 32px; position: relative; }
	.single .tn-leaf { width: 86px; height: 86px; }
	.single .tn-stamp { margin-top: 22px; }
	.single .tn-gutter { left: 50%; }
	.single .entry-content { font-size: 16px; line-height: 2.05; }
	.single .tn-page-right::before {
		content: "";
		position: absolute;
		top: 14px;
		right: 26px;
		width: 92px;
		height: 20px;
		background: linear-gradient(105deg, rgba(206, 186, 148, .55), rgba(220, 203, 170, .35));
		border-left: 1px dashed rgba(255, 255, 255, .35);
		border-right: 1px dashed rgba(255, 255, 255, .35);
		transform: rotate(-5deg);
		opacity: .85;
		pointer-events: none;
	}
}

@media (max-width: 899px) {
	.post-article.tn-book { --tn-page-h: 470px; }
	.post-article.is-passport { max-width: none; padding: 18px 16px 18px; --tn-page-h: 380px; }
	.post-article.is-passport .tn-pages { grid-template-columns: 1fr; }
	.post-article.is-passport .tn-page-left { padding: 16px 16px 14px; }
	.post-article.is-passport .tn-page-right { padding: 16px 16px 14px; }
	.post-article.is-passport .entry-title { font-size: 21px; }
	.tn-book.is-compact .tn-page-left { display: none; }
	.tn-book.is-compact .tn-pages { grid-template-columns: 1fr; }
	.tn-flip { max-width: none; font-size: 11.5px; margin-top: 14px; }
	.single .tn-gutter { display: none; }
	.single .post-article::after { display: none; }
	.single .tn-page-left { padding-bottom: 30px; }
	.single .tn-page-left::after { display: none; }
	.single .tn-page-right::before { display: none; }
	.single .tn-pages::after { display: none; }
	.single .tn-page-left::after,
	.single .tn-page-right::after { display: none; }
	.single .tn-pages { box-shadow: 0 0 0 2px #efe7d5, 0 0 0 4px #e0d3b8; }
}

.single .tn-page-left { position: relative; }
.single .tn-pages { z-index: 2; }

/* ============================================================
   2.5 单篇翻页：短文护照款 / 长文标准款分页
   ============================================================ */
.post-article.tn-book { --tn-page-h: 600px; }
.tn-page-left, .tn-page-right { position: relative; }

.tn-pageno {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 12px;
	text-align: center;
	font-family: var(--hand-latin);
	font-size: 10px;
	letter-spacing: .18em;
	color: var(--ink-4);
	opacity: .75;
	pointer-events: none;
}

.tn-measure {
	position: absolute !important;
	left: 0;
	right: 0;
	top: 0;
	height: auto !important;
	overflow: visible !important;
	visibility: hidden;
	pointer-events: none;
	z-index: -1;
}

.tn-flow[hidden] { display: none; }

/* 短文单页：正文紧接标题，右页留白 */
.tn-book.is-single .tn-flow { height: auto; overflow: visible; }
.tn-book.is-single .tn-page-left { position: relative; }
.tn-book.is-single .tn-stamp {
	position: absolute;
	left: 26px;
	bottom: 34px;
	margin: 0;
}

/* 图片统一按当前版式的高度比例缩放，测量与渲染保持一致 */
.tn-book .entry-content img,
.tn-book .tn-flow img,
.tn-measure img {
	max-height: calc(var(--tn-page-h) * var(--tn-img-ratio, .62));
	width: auto;
	max-width: 100%;
	height: auto;
}

.tn-book.is-paginated .entry-content,
.tn-book.is-paginated .tn-flow {
	height: var(--tn-page-h);
	overflow: hidden;
}
.tn-book.is-paginated .tn-orn,
.tn-book.is-paginated .tn-stamp { display: none; }
.tn-book.is-paginated .tn-ruled { min-height: 0; flex: 0 0 auto; height: 108px; }
.tn-book.is-paginated .tn-flow { padding-bottom: 4px; }
.tn-book.is-paginated.is-first .tn-flow {
	height: calc(var(--tn-page-h) - var(--tn-head-h, 0px) - 12px);
	overflow: hidden;
}
.tn-book.is-paginated.is-first .tn-page-left { overflow: hidden; }

.post-article.is-paginated { --tn-img-ratio: .40; }
.post-article.is-passport { --tn-img-ratio: .55; }

/* 翻页动效：以左边缘为轴，翻到 90° 时换页（视觉上是翻过去一张纸） */
.tn-book { perspective: 1900px; }
.tn-book .tn-page-right { transform-style: preserve-3d; backface-visibility: hidden; }
.tn-page-right.turn-next { animation: tn-turn-next .42s ease-in-out both; }
.tn-page-right.turn-prev { animation: tn-turn-prev .42s ease-in-out both; }
@keyframes tn-turn-next {
	0%   { transform: rotateY(0deg); }
	48%  { transform: rotateY(-88deg); }
	52%  { transform: rotateY(-88deg); }
	100% { transform: rotateY(0deg); }
}
@keyframes tn-turn-prev {
	0%   { transform: rotateY(0deg); }
	48%  { transform: rotateY(88deg); }
	52%  { transform: rotateY(88deg); }
	100% { transform: rotateY(0deg); }
}

/* 翻页控件：像印在封底皮革上的一行小字 */
.tn-flip {
	position: relative;
	z-index: 5;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin: 18px auto 0;
	max-width: 420px;
	font-family: var(--sans);
	font-size: 11px;
	letter-spacing: .14em;
	color: #f7ecd9;
	font-size: 12px;
	text-shadow: 0 1px 3px rgba(20, 10, 4, .5);
}
.tn-flip[hidden] { display: none; }
.tn-flip-btn {
	appearance: none;
	background: none;
	border: 0;
	padding: 4px 2px;
	color: inherit;
	font: inherit;
	letter-spacing: inherit;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	opacity: .95;
	transition: opacity .2s ease, transform .2s ease;
}
.tn-flip-btn .arw { font-size: 12px; opacity: .8; }
.tn-flip-btn:hover { opacity: 1; transform: translateY(-1px); }
.tn-flip-btn:disabled { opacity: .32; cursor: default; transform: none; }
.tn-flip-count {
	font-family: var(--hand-latin);
	font-size: 11.5px;
	letter-spacing: .2em;
	opacity: .8;
}

/* 护照款：整本更小、页更矮，只放一页 */
.post-article.is-passport {
	--tn-page-h: 420px;
	max-width: 680px;
	margin: 0 auto;
	padding: 26px 30px 24px;
}
.post-article.is-passport .tn-pages { grid-template-columns: 1fr 1fr; }
.post-article.is-passport .tn-gutter { left: 50%; }
.post-article.is-passport .comment-count { display: none; }
.post-article.is-passport .tn-page-left { padding: 20px 18px 18px; }
.post-article.is-passport .tn-page-right { padding: 22px 22px 20px; }
.post-article.is-passport .entry-title { font-size: 19px; line-height: 1.5; }
.post-article.is-passport .entry-meta { margin-top: 9px; font-size: 10.5px; }
.post-article.is-passport .tn-ruled,
.post-article.is-passport .tn-leaf,
.post-article.is-passport .tn-facts,
.post-article.is-passport .tn-page-right::before { display: none; }
.post-article.is-passport .tn-stamp { margin-top: 14px; font-size: 8px; letter-spacing: .18em; }
.post-article.is-passport .entry-content { font-size: 13.6px; line-height: 1.95; }
.post-article.is-passport .entry-content p { margin-bottom: 12px; }
.post-article.is-passport .post-article::after,
.post-article.is-passport .tn-pages::after { opacity: .8; }
