/*
Theme Name: Mayn
Theme URI: https://mayn.me/
Author: Mayn
Author URI: https://mayn.me/
Description: 一款专注阅读体验的中文极简博客主题。以纸张、留白与衬线文字为视觉核心，适配首页、文章、分类与归档页面。
Version: 0.0.143
Update URI: https://mayn.me/themes/mayn
Requires at least: 6.4
Tested up to: 6.9
Requires PHP: 7.4
Text Domain: corner
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, one-column, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

:root {
	--one-bg: #f2f2f2;
	--one-paper: #f7f8f6;
	--one-ink: #252321;
	--one-muted: #858c8c;
	--one-line: #dce5e5;
	--one-accent: #b8493f;
	--one-accent-soft: #f5e8e3;
	--one-site-width: 900px;
	--one-nav-gap: 60px;
	--one-nav-width: 230px;
	--one-nav-font-size: 16px;
	--one-back-to-top-gap: 60px;
	--one-landing-title-font-size: 48px;
	--one-landing-title-box-height: max(82px, calc(var(--one-landing-title-font-size) * 1.35));
	--one-landing-subtitle-font-size: 18px;
	--one-landing-title-divider-gap: 42px;
	--one-landing-divider-width: 190px;
	--one-landing-divider-gap: 34px;
	--one-landing-hint-font-size: 13px;
	--one-landing-hint-line-width: 40px;
	--one-landing-hint-right: 60px;
	--one-landing-hint-bottom: 32px;
	--one-landing-note-font-size: 12px;
	--one-landing-note-left: 52px;
	--one-landing-note-bottom: 36px;
	--one-footer-message-font-size: 24px;
	--one-footer-message-font-size-mobile: 16px;
	--one-footer-message-color: var(--one-ink);
	--one-nav-fixed-top: 28px;
	--one-nav-fixed-left: 0px;
	--one-bubble-shadow: 0 18px 42px rgba(20, 17, 14, .2);
	--one-serif: "Songti SC", "STSong", "Noto Serif CJK SC", "Source Han Serif SC", Georgia, serif;
	--one-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
	--one-shadow:
		0 0 0 1px rgba(58, 52, 44, .025),
		0 2px 5px rgba(58, 52, 44, .075),
		0 16px 38px rgba(58, 52, 44, .07);
}

/* Responsive navigation contract: desktop keeps the left rail, while Pad
 * and phone widths (including 1196px responsive previews) use only the
 * floating bubble navigation.  Keep this final so legacy media rules cannot
 * re-enable the horizontal desktop navigation or its page-action rail. */
@media (max-width: 1280px) {
	html body nav.main-navigation,
	html body.one-nav-external nav.main-navigation {
		display: none !important;
		visibility: hidden !important;
}

	html body nav.mobile-dock-navigation,
	html body.one-nav-external nav.mobile-dock-navigation {
		display: block !important;
		visibility: visible !important;
		opacity: 1 !important;
}

	html body .floating-tools .page-actions,
	html body.one-nav-external .floating-tools .page-actions {
		display: none !important;
}

	html body .floating-tools .mobile-tools-toggle,
	html body.one-nav-external .floating-tools .mobile-tools-toggle {
		display: grid !important;
}
}

@media (min-width: 1281px) {
	html body nav.mobile-dock-navigation,
	html body.one-nav-external nav.mobile-dock-navigation {
		display: none !important;
		visibility: hidden !important;
}
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	background-color: var(--one-bg);
}

body {
	margin: 0;
	display: flex;
	min-height: 100vh;
	flex-direction: column;
	color: var(--one-ink);
	background-color: var(--one-bg);
	font-family: var(--one-serif);
	font-size: 16px;
	line-height: 1.9;
	-webkit-font-smoothing: antialiased;
}

/*
 * 前台预览不显示 WordPress 管理工具栏。
 * 登录管理员查看站点时，WP 会给 html/body 注入顶部偏移；这会让封面、
 * 返回按钮和侧边导航整体下移，并在页面顶端留下黑色横条。管理后台本身
 * 不会加载主题样式，因此这里仅影响前台页面。
 */
html.admin-bar {
	margin-top: 0 !important;
}

body.admin-bar {
	margin-top: 0 !important;
}

body.logged-in #wpadminbar {
	display: none !important;
}

/* 页面滚动进度线，与顶部加载条保持同一视觉语言。 */
body::after {
	position: fixed;
	z-index: 10000;
	bottom: 0;
	left: 0;
	width: var(--one-scroll-progress, 0%);
	height: 2px;
	background: var(--one-accent);
	box-shadow: 0 0 10px color-mix(in srgb, var(--one-accent), transparent 35%);
	content: "";
	pointer-events: none;
	transition: width .12s linear;
}

body::before {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 10000;
	width: 100%;
	height: 2px;
	background: var(--one-accent);
	box-shadow: 0 0 10px color-mix(in srgb, var(--one-accent), transparent 35%);
	content: "";
	opacity: 0;
	pointer-events: none;
	transform: scaleX(0);
	transform-origin: left center;
}

body.one-page-loading::before {
	opacity: .92;
	animation: one-page-loading 1.8s cubic-bezier(.22, .7, .25, 1) forwards;
}

body.one-page-loading-done::before {
	opacity: .92;
	animation: one-page-loading-complete .34s cubic-bezier(.22, .7, .25, 1) forwards;
}

@keyframes one-page-loading {
	0% { transform: scaleX(0); }
	60% { transform: scaleX(.68); }
	100% { transform: scaleX(.96); }
}

@keyframes one-page-loading-complete {
	0% { transform: scaleX(.96); }
	100% { transform: scaleX(1); }
}

/* A phone browser can expose a tablet-sized CSS viewport (for example when
 * opened from an installed shortcut or an embedded preview). Keep the phone
 * featured area single-slide in that case as well; Pad and desktop remain
 * multi-card layouts. */
html.one-phone-layout .featured-grid.featured-has-carousel {
	display: block;
	margin-bottom: 24px;
}

html.one-phone-layout .featured-grid.featured-has-carousel .featured-carousel {
	display: block;
	width: 100%;
	height: auto;
	min-height: 0;
	aspect-ratio: 2.15 / 1;
	grid-row: auto;
	border-radius: 0;
	box-shadow: inset 0 -1px 0 rgba(255,255,255,.16);
}

html.one-phone-layout .featured-grid.featured-has-carousel .featured-side-card,
html.one-phone-layout .featured-grid.featured-has-carousel .featured-carousel-button {
	display: none;
}

html.one-phone-layout .featured-grid.featured-has-carousel .featured-carousel .featured-title {
	right: 16px;
	bottom: 40px;
	left: 16px;
	font-size: 22px;
	line-height: 1.3;
}

html.one-phone-layout .featured-grid.featured-has-carousel .featured-carousel-dots {
	bottom: 15px;
}

@media (prefers-reduced-motion: reduce) {
	body.one-page-loading::before {
		animation: none;
	}
	body.one-page-loading-done::before {
		animation: none;
		transform: scaleX(1);
	}
}

a {
	color: inherit;
	text-decoration: none;
	transition: color .2s ease, opacity .2s ease, background-color .2s ease;
}

a:hover {
	color: var(--one-accent);
}

img {
	max-width: 100%;
	height: auto;
}

button,
input,
textarea {
	font: inherit;
}

button {
	color: inherit;
}

.screen-reader-text,
.skip-link {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link:focus {
	z-index: 10000;
	top: 16px;
	left: 16px;
	width: auto;
	height: auto;
	padding: 9px 14px;
	clip: auto;
	color: #fff;
	background: var(--one-accent);
	border-radius: 3px;
}

:focus-visible {
	outline: 2px solid var(--one-accent);
	outline-offset: 3px;
}

.site {
	position: relative;
	flex: 1 0 auto;
	z-index: 1;
	width: min(var(--one-site-width), calc(100% - 40px));
	margin: 28px auto 0;
	background: var(--one-paper);
	border-radius: var(--one-content-radius, 16px);
	overflow: hidden;
	box-shadow: var(--one-bubble-shadow);
}

.site-header {
	position: relative;
	padding: 52px 64px 28px;
}

.brand-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding-bottom: 24px;
	border-bottom: 1px solid var(--one-line);
}

.site-branding {
	display: inline-flex;
	align-items: center;
	min-width: 0;
}

.site-branding .custom-logo-link {
	display: block;
	line-height: 0;
}

.site-branding .custom-logo {
	width: auto;
	max-width: 240px;
	max-height: 52px;
}

.text-logo {
	display: inline-flex;
	align-items: center;
	gap: 12px;
}

.seal {
	display: grid;
	width: 42px;
	height: 42px;
	padding: 3px;
	place-items: center;
	color: #fff;
	background: var(--one-accent);
	border: 1px solid var(--one-accent);
	font-size: 25px;
	line-height: 1;
	letter-spacing: 0;
}

.seal-text {
	display: block;
	max-width: 100%;
	text-align: center;
}

.seal.seal-multi {
	font-size: 16px;
}

.seal.seal-stacked {
	font-size: 14px;
	line-height: 1.05;
}

.seal.seal-stacked .seal-text {
	width: 2.1em;
	white-space: normal;
	word-break: break-all;
}

.seal.seal-small {
	font-size: 11px;
}

.seal.seal-small .seal-text {
	width: 3.1em;
}

.brand-copy {
	display: flex;
	flex-direction: column;
	line-height: 1.3;
}

.site-title {
	font-size: 25px;
	font-weight: 700;
	letter-spacing: .08em;
}

.site-description {
	margin: 18px 0 0;
	color: var(--one-muted);
	font-family: var(--one-sans);
	font-size: 11px;
	letter-spacing: .2em;
	line-height: 1.7;
	text-align: left;
	text-transform: uppercase;
}

.header-current-date {
	flex: 0 0 auto;
	display: inline-flex;
	height: 42px;
	padding: 0 13px;
	align-items: center;
	color: var(--one-ink);
	background: var(--one-bg);
	border: 1px solid var(--one-accent);
	font-family: var(--one-serif);
	font-size: 25px;
	font-feature-settings: "tnum";
	font-variant-numeric: tabular-nums;
	font-weight: 600;
	letter-spacing: .025em;
	line-height: 1;
	white-space: nowrap;
}

.header-date-separator {
	display: inline-block;
	margin: 0 .12em;
	color: var(--one-accent);
	font-size: .82em;
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1;
	transform: translateY(-.02em);
}

.floating-theme-toggle {
	position: relative;
	display: grid;
	width: 56px;
	height: 56px;
	padding: 0;
	place-items: center;
	color: var(--one-accent);
	background: var(--one-paper);
	border: 0;
	border-radius: 50%;
	box-shadow: 0 10px 28px rgba(42, 37, 32, .16), inset 0 1px 0 rgba(255,255,255,.72);
	cursor: pointer;
	transition: color .2s ease, background-color .2s ease, transform .2s ease;
}

.floating-theme-toggle:hover {
	color: color-mix(in srgb, var(--one-accent), var(--one-ink) 22%);
	background: color-mix(in srgb, var(--one-accent-soft), transparent 38%);
	transform: translateY(-2px);
}

.theme-icon {
	position: absolute;
	display: block;
	width: 22px;
	height: 22px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.65;
	transition: opacity .2s ease, transform .25s ease;
}

.theme-icon-moon {
	opacity: 1;
	transform: rotate(0) scale(1);
}

.theme-icon-sun {
	opacity: 0;
	transform: rotate(-35deg) scale(.72);
}

body.one-dark .floating-theme-toggle {
	background: var(--one-bg);
}

body.one-dark .floating-theme-toggle:hover {
	background: color-mix(in srgb, var(--one-accent-soft), transparent 38%);
}

body.one-dark .theme-icon-moon {
	opacity: 0;
	transform: rotate(25deg) scale(.72);
}

body.one-dark .theme-icon-sun {
	opacity: 1;
	transform: rotate(0) scale(1);
}

.main-navigation {
	display: grid;
	grid-template-rows: 1fr;
}

.mobile-dock-navigation {
	display: none;
}

.mobile-dock-theme {
	display: none;
}

.mobile-dock-toggle {
	display: none;
}

.mobile-tools-toggle {
	display: none;
}

.one-ambient-effect {
	position: fixed;
	z-index: 130;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	pointer-events: none;
}

body.one-landing-active {
	overflow: hidden;
}

.one-landing-screen {
	position: fixed;
	z-index: 120;
	inset: 0;
	overflow: hidden;
	color: var(--one-ink);
	background: var(--one-bg);
	transition: transform .9s cubic-bezier(.65, 0, .18, 1), opacity .7s ease;
	touch-action: none;
}

.one-landing-content {
	position: relative;
	height: 100%;
	padding: 0;
}

.one-landing-copy {
	position: absolute;
	inset: 0;
}

.one-landing-title {
	position: absolute;
	top: 31%;
	left: 50%;
	display: grid;
	width: clamp(270px, 36vw, 720px);
	min-height: var(--one-landing-title-box-height);
	margin: 0;
	place-items: center;
	color: #484642;
	font-size: var(--one-landing-title-font-size);
	font-weight: 520;
	letter-spacing: .16em;
	line-height: 1.35;
	text-align: center;
	white-space: nowrap !important;
	text-wrap: nowrap;
	overflow: visible;
	transform: translateX(-50%);
}

.one-landing-subtitle {
	position: absolute;
	top: calc(
		31% +
		var(--one-landing-title-box-height) +
		var(--one-landing-title-divider-gap) +
		1px +
		var(--one-landing-divider-gap)
	);
	left: 50%;
	display: grid;
	width: min(52vw, 880px);
	min-height: clamp(82px, 9vh, 108px);
	margin: 0;
	place-items: center;
	color: #92908a;
	font-family: var(--one-sans);
	font-size: var(--one-landing-subtitle-font-size);
	letter-spacing: .12em;
	line-height: 1.65;
	text-align: center;
	white-space: nowrap !important;
	text-wrap: nowrap;
	overflow: visible;
	transform: translateX(-50%);
}

.one-landing-subtitle::before {
	position: absolute;
	bottom: calc(100% + var(--one-landing-divider-gap));
	left: 50%;
	width: var(--one-landing-divider-width);
	height: 1px;
	background: var(--one-accent);
	opacity: .72;
	transform: translateX(-50%);
	content: "";
}

.one-landing-note {
	position: absolute;
	left: var(--one-landing-note-left);
	bottom: max(var(--one-landing-note-bottom), var(--one-landing-hint-bottom), env(safe-area-inset-bottom));
	max-width: min(48vw, 520px);
	margin: 0;
	padding-left: 15px;
	color: #88857f;
	font-family: var(--one-sans);
	height: 40px;
	display: flex;
	align-items: center;
	font-size: var(--one-landing-hint-font-size);
	letter-spacing: .14em;
	line-height: 1.7;
}

.one-landing-note::before {
	position: absolute;
	top: .15em;
	bottom: .15em;
	left: 0;
	width: 1px;
	background: color-mix(in srgb, var(--one-accent), transparent 58%);
	content: "";
}

.one-landing-enter {
	position: absolute;
	right: var(--one-landing-hint-right);
	bottom: max(var(--one-landing-note-bottom), var(--one-landing-hint-bottom), env(safe-area-inset-bottom));
	display: inline-flex;
	height: 40px;
	padding: 0;
	gap: 18px;
	align-items: center;
	color: #77746e;
	background: var(--one-bg);
	border: 0;
	font-family: var(--one-sans);
	font-size: var(--one-landing-hint-font-size);
	letter-spacing: .16em;
	cursor: pointer;
	transition: color .2s ease, transform .2s ease;
}

.one-landing-enter:hover,
.one-landing-enter:focus-visible {
	color: var(--one-accent);
}

.one-landing-enter:active {
	transform: scale(.96);
}

.one-landing-enter-line {
	display: block;
	width: var(--one-landing-hint-line-width);
	height: 1px;
	background: currentColor;
	opacity: .72;
	transform-origin: left center;
	transition: width .25s ease, opacity .25s ease;
}

.one-landing-enter:hover .one-landing-enter-line,
.one-landing-enter:focus-visible .one-landing-enter-line {
	width: calc(var(--one-landing-hint-line-width) * 1.2);
	opacity: 1;
}

.one-landing-screen.is-leaving {
	opacity: .3;
	transform: translateY(-102%);
}

@media (max-width: 600px) {
	.one-landing-title {
		top: 26%;
		right: 24px;
		left: 24px;
		width: auto;
		min-height: 72px;
		font-size: clamp(24px, 8vw, 34px);
		letter-spacing: .08em;
		white-space: nowrap !important;
		text-wrap: nowrap;
		overflow: visible;
		transform: none;
	}

	.one-landing-subtitle {
		top: calc(
			26% +
			72px +
			var(--one-landing-title-divider-gap) +
			1px +
			var(--one-landing-divider-gap)
		);
		right: 24px;
		left: 24px;
		width: auto;
		min-height: 72px;
		font-size: clamp(14px, 4.2vw, 18px);
		white-space: nowrap !important;
		text-wrap: nowrap;
		overflow: visible;
		transform: none;
	}

	.one-landing-subtitle::before {
		bottom: calc(100% + min(var(--one-landing-divider-gap), 8vh));
		left: 50%;
		width: min(var(--one-landing-divider-width), calc(100vw - 48px));
		transform: translateX(-50%);
	}

	.one-landing-enter {
		right: min(var(--one-landing-hint-right), 18vw);
		bottom: max(min(var(--one-landing-note-bottom), 18vh), min(var(--one-landing-hint-bottom), 18vh), env(safe-area-inset-bottom));
		gap: 12px;
		font-size: clamp(10px, 3.2vw, var(--one-landing-hint-font-size));
	}

	.one-landing-note {
		left: min(var(--one-landing-note-left), 8vw);
		bottom: max(min(var(--one-landing-note-bottom), 18vh), min(var(--one-landing-hint-bottom), 18vh), env(safe-area-inset-bottom));
		max-width: 52vw;
		font-size: clamp(10px, 3vw, var(--one-landing-note-font-size));
		transform: none;
	}
}

.menu-wrap {
	overflow-x: auto;
	overflow-y: hidden;
	scrollbar-width: none;
}

.menu-wrap::-webkit-scrollbar {
	display: none;
}

.main-navigation ul {
	position: relative;
	display: flex;
	flex-wrap: nowrap;
	gap: 14px 28px;
	justify-content: center;
	margin: 7px 0 0;
	padding: 7px 8px 10px;
	list-style: none;
}

.main-navigation > .menu-wrap > ul::after {
	position: absolute;
	right: 8px;
	bottom: 0;
	left: 8px;
	height: 1px;
	background: color-mix(in srgb, var(--one-muted), transparent 66%);
	content: "";
}

.main-navigation li {
	position: relative;
	flex: 0 0 auto;
}

.main-navigation a {
	position: relative;
	display: flex;
	min-width: 64px;
	padding: 4px 8px 10px;
	flex-direction: column;
	gap: 5px;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	letter-spacing: .08em;
	line-height: 1.2;
	text-align: center;
	transition: color .2s ease;
}

/* The primary menu shares the mobile menu markup. Keep its inline SVG icons
 * compact instead of allowing them to fall back to their intrinsic size. */
.main-navigation .mobile-nav-icon {
	display: grid;
	flex: 0 0 28px;
	width: 28px;
	height: 28px;
	place-items: center;
	color: currentColor;
}

.main-navigation .mobile-nav-icon svg {
	display: block;
	width: 26px;
	height: 26px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.7;
}

.main-navigation .mobile-nav-label {
	display: block;
	max-width: 10em;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.main-navigation > .menu-wrap > ul > li > a::after {
	position: absolute;
	z-index: 1;
	bottom: -10px;
	left: 50%;
	width: 30px;
	height: 2px;
	background: var(--one-accent);
	border-radius: 999px;
	box-shadow: 0 1px 5px color-mix(in srgb, var(--one-accent), transparent 78%);
	content: "";
	opacity: 0;
	transform: translateX(-50%);
}

.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a,
.main-navigation .current-menu-ancestor > a,
.main-navigation .current-menu-parent > a,
.main-navigation .current-post-parent > a,
.main-navigation .current-post-ancestor > a {
	color: var(--one-accent);
}

.main-navigation > .menu-wrap > ul > .current-menu-item > a::after,
.main-navigation > .menu-wrap > ul > .current_page_item > a::after,
.main-navigation > .menu-wrap > ul > .current-menu-ancestor > a::after,
.main-navigation > .menu-wrap > ul > .current-menu-parent > a::after,
.main-navigation > .menu-wrap > ul > .current-post-parent > a::after,
.main-navigation > .menu-wrap > ul > .current-post-ancestor > a::after {
	opacity: 1;
}

body.one-nav-external .site {
	position: relative;
	margin-right: auto;
	margin-left: var(--one-site-fixed-left);
}

body.one-nav-external .site-header {
	position: static;
}

body.one-nav-external .main-navigation {
	position: fixed;
	z-index: 20;
	top: var(--one-nav-fixed-top);
	right: auto;
	left: var(--one-nav-fixed-left);
	display: block;
	width: var(--one-nav-width);
	padding: 12px;
	background: var(--one-paper);
	border: 1px solid color-mix(in srgb, var(--one-line), transparent 28%);
	border-radius: 28px;
	box-shadow: var(--one-bubble-shadow);
}

body.one-nav-external .menu-wrap {
	overflow: visible;
}

body.one-nav-external .main-navigation ul {
	position: relative;
	display: flex;
	margin: 0;
	padding: 0;
	flex-direction: column;
	gap: 2px;
	align-items: stretch;
}

body.one-nav-external .main-navigation > .menu-wrap > ul::after {
	display: none;
}

body.one-nav-external .main-navigation li {
	position: relative;
}

body.one-nav-external .main-navigation a {
	position: relative;
	display: flex;
	min-height: 52px;
	padding: 8px 10px;
	flex-direction: row;
	gap: 14px;
	align-items: center;
	justify-content: flex-start;
	color: color-mix(in srgb, var(--one-ink), transparent 24%);
	font-family: var(--one-sans);
	font-size: var(--one-nav-font-size);
	font-weight: 560;
	letter-spacing: .04em;
	line-height: 1.15;
	text-align: left;
	border-radius: 18px;
	transition: color .2s ease, background-color .22s ease, transform .2s ease;
}

body.one-nav-external .main-navigation > .menu-wrap > ul > li > a::after {
	display: none;
}

body.one-nav-external .main-navigation .current-menu-item > a,
body.one-nav-external .main-navigation .current_page_item > a,
body.one-nav-external .main-navigation .current-menu-ancestor > a,
body.one-nav-external .main-navigation .current-menu-parent > a,
body.one-nav-external .main-navigation .current-post-parent > a,
body.one-nav-external .main-navigation .current-post-ancestor > a {
	color: var(--one-accent);
}

body.one-nav-external .main-navigation .mobile-nav-icon {
	display: grid;
	flex: 0 0 34px;
	width: 34px;
	height: 34px;
	place-items: center;
	color: currentColor;
	background: color-mix(in srgb, var(--one-line), transparent 70%);
	border-radius: 50%;
}

body.one-nav-external .main-navigation .mobile-nav-icon svg {
	display: block;
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.65;
}

body.one-nav-external .main-navigation .mobile-nav-label {
	display: block;
	overflow: hidden;
	max-width: 100%;
	max-height: 28px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

body.one-nav-external .main-navigation a:hover {
	background: color-mix(in srgb, var(--one-accent), transparent 92%);
	transform: translateX(2px);
}

body.one-nav-external .main-navigation .current-menu-item > a,
body.one-nav-external .main-navigation .current_page_item > a,
body.one-nav-external .main-navigation .current-menu-ancestor > a,
body.one-nav-external .main-navigation .current-menu-parent > a,
body.one-nav-external .main-navigation .current-post-parent > a,
body.one-nav-external .main-navigation .current-post-ancestor > a {
	background: color-mix(in srgb, var(--one-accent), transparent 88%);
	font-weight: 600;
}

body.one-nav-external .main-navigation .current-menu-item .mobile-nav-icon,
body.one-nav-external .main-navigation .current_page_item .mobile-nav-icon,
body.one-nav-external .main-navigation .current-menu-ancestor .mobile-nav-icon,
body.one-nav-external .main-navigation .current-menu-parent .mobile-nav-icon,
body.one-nav-external .main-navigation .current-post-parent .mobile-nav-icon,
body.one-nav-external .main-navigation .current-post-ancestor .mobile-nav-icon {
	color: var(--one-accent);
	background: color-mix(in srgb, var(--one-accent), transparent 84%);
}

body.one-nav-external .main-navigation > .menu-wrap > ul > .current-menu-item > a::after,
body.one-nav-external .main-navigation > .menu-wrap > ul > .current_page_item > a::after,
body.one-nav-external .main-navigation > .menu-wrap > ul > .current-menu-ancestor > a::after,
body.one-nav-external .main-navigation > .menu-wrap > ul > .current-menu-parent > a::after,
body.one-nav-external .main-navigation > .menu-wrap > ul > .current-post-parent > a::after,
body.one-nav-external .main-navigation > .menu-wrap > ul > .current-post-ancestor > a::after {
	opacity: 1;
}

@keyframes one-nav-marker-travel {
	from {
		opacity: .24;
		transform: translateY(calc(-50% + var(--one-nav-marker-offset, 0px)));
	}
	to {
		opacity: 1;
		transform: translateY(-50%);
	}
}

body.one-nav-external.one-nav-marker-moving .main-navigation > .menu-wrap > ul > li.current-menu-item > a::after,
body.one-nav-external.one-nav-marker-moving .main-navigation > .menu-wrap > ul > li.current_page_item > a::after,
body.one-nav-external.one-nav-marker-moving .main-navigation > .menu-wrap > ul > li.current-menu-ancestor > a::after,
body.one-nav-external.one-nav-marker-moving .main-navigation > .menu-wrap > ul > li.current-menu-parent > a::after,
body.one-nav-external.one-nav-marker-moving .main-navigation > .menu-wrap > ul > li.current-post-parent > a::after,
body.one-nav-external.one-nav-marker-moving .main-navigation > .menu-wrap > ul > li.current-post-ancestor > a::after {
	animation: one-nav-marker-travel .62s cubic-bezier(.22, .8, .24, 1) both;
}

body.one-nav-external .main-navigation .sub-menu {
	padding: 4px 0 0 48px;
}

.site-main {
	min-height: 420px;
}

.home-main,
.archive-main {
	padding: 12px 64px 44px;
}

.featured-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: 155px 155px;
	gap: 10px;
	margin: 0 0 52px;
}

.featured-grid.featured-count-1 {
	grid-template-columns: 1fr;
	grid-template-rows: 320px;
}

.featured-grid.featured-count-2 {
	grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
	grid-template-rows: 320px;
}

.featured-grid.featured-count-3,
.featured-grid.featured-has-carousel {
	grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
}

.featured-card {
	position: relative;
	display: block;
	overflow: hidden;
	min-height: 0;
	color: #fff;
	background: #6d7472;
	border-radius: 4px;
}

.featured-grid > .featured-card:first-child {
	grid-row: 1 / 3;
}

.featured-count-1 > .featured-card:first-child,
.featured-count-2 > .featured-card:first-child {
	grid-row: auto;
}

.featured-card:hover {
	color: #fff;
}

.featured-card img,
.featured-card .one-fallback-art {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s ease;
}

.featured-card:hover img,
.featured-card:hover .one-fallback-art {
	transform: scale(1.035);
}

.featured-card::after {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(12, 11, 10, .62), transparent 62%);
	content: "";
}

.featured-title {
	position: absolute;
	z-index: 1;
	right: 24px;
	bottom: 18px;
	left: 24px;
	margin: 0;
	color: #fff;
	font-size: 22px;
	font-weight: 500;
	letter-spacing: .04em;
	line-height: 1.35;
}

.featured-card:not(:first-child) .featured-title {
	font-size: 18px;
}

.featured-carousel {
	position: relative;
	grid-row: 1 / 3;
	overflow: hidden;
	min-width: 0;
	background: #6d7472;
	border-radius: 4px;
	touch-action: pan-y;
}

.featured-carousel-track {
	display: flex;
	width: 100%;
	height: 100%;
	transition: transform .52s cubic-bezier(.22, .7, .26, 1);
	will-change: transform;
}

.featured-carousel .featured-slide {
	flex: 0 0 100%;
	width: 100%;
	height: 100%;
	border-radius: 0;
}

.featured-carousel .featured-title {
	right: 56px;
	bottom: 42px;
	left: 56px;
	font-size: 22px;
}

.featured-carousel-button {
	position: absolute;
	z-index: 160;
	top: 50%;
	display: grid;
	width: 34px;
	height: 44px;
	padding: 0;
	place-items: center;
	color: #fff;
	background: rgba(20, 18, 16, .32);
	border: 0;
	cursor: pointer;
	opacity: .82;
	transform: translateY(-50%);
	transition: background-color .2s ease, opacity .2s ease;
}

.featured-carousel-button:hover,
.featured-carousel-button:focus-visible {
	color: #fff;
	background: rgba(20, 18, 16, .62);
	opacity: 1;
}

.featured-carousel-prev {
	left: 10px;
}

.featured-carousel-next {
	right: 10px;
}

.featured-carousel-button svg {
	width: 21px;
	height: 21px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
}

.featured-carousel-dots {
	position: absolute;
	z-index: 4;
	bottom: 17px;
	left: 50%;
	display: flex;
	gap: 8px;
	align-items: center;
	justify-content: center;
	transform: translateX(-50%);
}

.featured-carousel-dot {
	width: 7px;
	height: 7px;
	padding: 0;
	background: rgba(255,255,255,.46);
	border: 0;
	border-radius: 50%;
	box-shadow: none;
	cursor: pointer;
	transition: background-color .2s ease, transform .2s ease;
}

.featured-carousel-dot:hover {
	background: rgba(255,255,255,.78);
}

.featured-carousel-dot.is-current {
	background: #fff;
	transform: scale(1.18);
}

.featured-carousel-dot:focus-visible {
	outline: 1px solid rgba(255,255,255,.9);
	outline-offset: 1px;
}

@media (prefers-reduced-motion: reduce) {
	.featured-carousel-track {
		transition: none;
	}
}

.one-fallback-art {
	position: relative;
	display: block;
	background-color: #8c979a;
	background-image:
		linear-gradient(145deg, rgba(255,255,255,.3), transparent 48%),
		radial-gradient(circle at 68% 32%, rgba(246,217,166,.75), transparent 24%),
		linear-gradient(to top, #414846 0 26%, transparent 27%);
}

.one-fallback-art.art-2 {
	background-color: #c58350;
	background-image:
		radial-gradient(circle at 76% 22%, #f8d59c 0 4%, transparent 5%),
		linear-gradient(to bottom, #d06c42 0 48%, #76554c 49% 64%, #343c3b 65%);
}

.one-fallback-art.art-3 {
	background-color: #31404c;
	background-image:
		linear-gradient(90deg, transparent 0 12%, rgba(238,172,90,.85) 13% 18%, transparent 19% 31%, rgba(214,97,67,.8) 32% 38%, transparent 39%),
		linear-gradient(to top, #171c21 0 32%, transparent 33%),
		linear-gradient(145deg, #182d3a, #7f5252);
}

.post-list {
	border-top: 1px solid transparent;
}

.post-card {
	padding: 0 0 34px;
	margin: 0 0 34px;
	border-bottom: 1px solid var(--one-line);
}

.post-card-link {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 150px;
	gap: 34px;
	align-items: stretch;
}

.post-card-link.has-no-thumbnail {
	grid-template-columns: minmax(0, 1fr);
}

.post-card-link:hover {
	color: inherit;
}

.post-card-title {
	margin: 0 0 8px;
	font-size: 23px;
	font-weight: 650;
	letter-spacing: .04em;
	line-height: 1.45;
}

.post-card-type-badge,
.entry-type-badge {
	display: inline-block;
	margin-left: 6px;
	padding: 2px 8px;
	border: 1px solid var(--one-accent);
	border-radius: 999px;
	background: rgba(255, 255, 255, .9);
	color: var(--one-accent);
	font-family: var(--one-sans);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .08em;
	line-height: 1.35;
	vertical-align: .18em;
	white-space: nowrap;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
}

.post-card-type-poetry,
.entry-type-poetry {
	color: var(--one-ink);
	border-color: var(--one-line);
}

.entry-type-badge {
	margin-left: 6px;
	padding: 5px 11px;
	border-color: rgba(255, 255, 255, .72);
	border-radius: 5px;
	background: rgba(24, 25, 23, .52);
	color: #fff;
	font-size: 12px;
	letter-spacing: .12em;
	vertical-align: .28em;
	box-shadow: 0 3px 12px rgba(0, 0, 0, .14);
}

/* 置顶卡片的标题落在封面上，同样使用深色小标，避免白色胶囊跳出画面。 */
.featured-title .post-card-type-badge {
	padding: 4px 10px;
	border-color: rgba(255, 255, 255, .72);
	border-radius: 5px;
	background: rgba(24, 25, 23, .52);
	color: #fff;
	letter-spacing: .12em;
	box-shadow: 0 3px 12px rgba(0, 0, 0, .14);
}

.post-card-link:hover .post-card-title {
	color: var(--one-accent);
}

.post-card-excerpt {
	display: -webkit-box;
	overflow: hidden;
	margin: 0;
	color: #56514c;
	line-height: 1.9;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.post-card-excerpt p {
	margin: 0;
}

.entry-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
	margin-top: 14px;
	color: var(--one-muted);
	font-family: var(--one-sans);
	font-size: 12px;
	line-height: 1.5;
}

.post-card-meta-row {
	display: flex;
	margin-top: 14px;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px 18px;
}

.post-card-meta-row .entry-meta {
	margin-top: 0;
}

.post-card-categories {
	display: flex;
	min-width: 0;
	margin-left: auto;
	flex-wrap: wrap;
	gap: 8px 20px;
	justify-content: flex-end;
}

.post-card-category {
	padding: 0;
	color: var(--one-muted);
	background: transparent;
	font-family: var(--one-sans);
	font-size: 12px;
	line-height: 1.5;
	white-space: nowrap;
}

.post-card-media {
	overflow: hidden;
	width: 150px;
	height: auto;
	background: #e8e6e2;
	border-radius: 5px;
}

.post-card-media img,
.post-card-media .one-fallback-art {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.load-more-controls {
	position: relative;
	display: flex;
	margin-top: 34px;
	flex-direction: column;
	align-items: center;
}

.load-more-button {
	min-width: 132px;
	padding: 10px 24px;
	color: var(--one-accent);
	background: transparent;
	border: 1px solid var(--one-accent);
	border-radius: 0;
	cursor: pointer;
	font-family: var(--one-sans);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .14em;
	transition: color .2s ease, background-color .2s ease, opacity .2s ease;
}

.load-more-button:hover,
.load-more-button.is-loading {
	color: #fff;
	background: var(--one-accent);
}

.load-more-button:disabled {
	cursor: wait;
	opacity: .72;
}

.load-more-status {
	min-height: 22px;
	margin: 8px 0 0;
	color: var(--one-muted);
	font-family: var(--one-sans);
	font-size: 11px;
	letter-spacing: .08em;
}

.load-more-status.is-end {
	margin-top: 0;
}

.load-more-sentinel {
	position: absolute;
	right: 0;
	bottom: -1px;
	left: 0;
	height: 1px;
	pointer-events: none;
}

.archive-header {
	margin: 4px 0 42px;
	padding: 26px 0 24px;
	border-bottom: 1px solid var(--one-line);
}

.archive-kicker {
	margin: 0 0 4px;
	color: var(--one-accent);
	font-family: var(--one-sans);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .24em;
	text-transform: uppercase;
}

.archive-title {
	margin: 0;
	font-size: 30px;
	line-height: 1.45;
}

/* 分类页与归档页使用统一的标题层级。 */
.archive-main .archive-title {
	font-size: clamp(36px, 5vw, 44px);
	font-weight: 600;
	letter-spacing: .06em;
}

.category .post-card-title {
	font-size: 26px;
	font-weight: 650;
}

.category .post-card-excerpt {
	font-size: 17px;
}

.archive-description {
	max-width: 620px;
	margin: 10px 0 0;
	color: var(--one-muted);
	font-size: 14px;
}

.archive-type-badge {
	display: inline-block;
	margin-left: 6px;
	padding: 4px 10px;
	background: rgba(255, 255, 255, .9);
	color: var(--one-accent);
	font-family: var(--one-sans);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .08em;
	line-height: 1.35;
	vertical-align: .22em;
	white-space: nowrap;
	border: 1px solid var(--one-accent);
	border-radius: 999px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
}

.archive-type-poetry {
	color: var(--one-ink);
	border-color: var(--one-line);
}

/* 小说目录：沿用归档页的纸张、细线和留白，同时让封面成为页面的视觉锚点。 */
.novel-directory-main {
	padding-top: 28px;
}

.novel-directory {
	max-width: 100%;
	display: flex;
	flex-direction: column;
}

.novel-hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(180px, 220px);
	gap: 28px;
	align-items: start;
	padding: 8px 0 24px;
	border-bottom: 1px solid var(--one-line);
	order: 1;
}

.novel-hero-copy {
	min-width: 0;
}

.novel-title {
	max-width: 18ch;
	margin: 0;
	font-size: clamp(40px, 6vw, 76px);
	font-weight: 500;
	letter-spacing: .04em;
	line-height: 1.2;
}

.novel-category-link {
	display: inline-flex;
	margin-top: 24px;
	padding: 5px 12px;
	color: var(--one-muted);
	font-family: var(--one-sans);
	font-size: 12px;
	letter-spacing: .08em;
	border: 1px solid var(--one-line);
	border-radius: 999px;
}

.novel-category-link:hover {
	color: var(--one-accent);
	border-color: var(--one-accent);
}

.novel-cover {
	aspect-ratio: 4 / 5;
	max-height: 260px;
	overflow: hidden;
	background: var(--one-accent-soft);
	border-radius: var(--one-content-radius, 16px);
	box-shadow: var(--one-shadow);
}

.novel-cover-image,
.novel-cover-placeholder {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.novel-cover-placeholder {
	display: grid;
	place-items: center;
	color: color-mix(in srgb, var(--one-accent), var(--one-ink) 28%);
	font-size: clamp(80px, 12vw, 150px);
	background:
		linear-gradient(145deg, color-mix(in srgb, var(--one-accent), var(--one-paper) 80%), transparent 58%),
		var(--one-paper);
}

.novel-cover-placeholder span {
	transform: translateY(-3%);
}

.novel-meta-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 34px;
	margin-top: 30px;
	order: 2;
}

.novel-intro,
.novel-characters {
	margin-top: 0;
}

.novel-chapters {
	margin-top: 34px;
	order: 3;
}

.novel-intro-copy {
	max-width: 760px;
	margin-top: 10px;
	color: var(--one-muted);
	font-size: 16px;
}

.novel-intro-copy p {
	margin: 0 0 12px;
}

.novel-intro-copy p:last-child {
	margin-bottom: 0;
}

.novel-section-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 20px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--one-line);
}

.novel-section-title {
	margin: 0;
	font-size: clamp(28px, 4vw, 42px);
	font-weight: 550;
	letter-spacing: .05em;
	line-height: 1.25;
}

.novel-order-toggle {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 38px;
	padding: 7px 13px;
	color: var(--one-accent);
	font-family: var(--one-sans);
	font-size: 13px;
	letter-spacing: .08em;
	background: transparent;
	border: 1px solid var(--one-line);
	border-radius: 999px;
	cursor: pointer;
	transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}

.novel-order-toggle:hover,
.novel-order-toggle[aria-pressed="true"] {
	color: #fff;
	background: var(--one-accent);
	border-color: var(--one-accent);
}

.novel-order-icon {
	font-size: 18px;
	line-height: 1;
}

.novel-character-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
}

.novel-character {
	display: grid;
	gap: 4px;
	min-height: 0;
	padding: 11px 10px;
	border: 1px solid var(--one-line);
	border-radius: 12px;
}

.novel-character-name {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.35;
}

.novel-character-note {
	color: var(--one-muted);
	font-size: 13px;
	line-height: 1.4;
}

.novel-chapter-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.novel-chapter-item {
	border-bottom: 1px solid var(--one-line);
}

.novel-chapter-item:last-child {
	border-bottom: 0;
}

.novel-chapter-item a {
	display: grid;
	grid-template-columns: 54px minmax(0, 1fr) auto;
	align-items: center;
	gap: 18px;
	padding: 22px 4px;
	color: inherit;
	transition: color .2s ease, padding .2s ease;
}

.novel-chapter-item a:hover {
	padding-right: 10px;
	padding-left: 10px;
	color: var(--one-accent);
}

.novel-chapter-index {
	color: var(--one-accent);
	font-family: var(--one-sans);
	font-size: 12px;
	letter-spacing: .08em;
}

.novel-chapter-copy {
	display: grid;
	gap: 2px;
	min-width: 0;
}

.novel-chapter-title {
	overflow: hidden;
	font-size: 20px;
	font-weight: 500;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.novel-chapter-date {
	color: var(--one-muted);
	font-family: var(--one-sans);
	font-size: 12px;
	letter-spacing: .05em;
}

.novel-chapter-arrow {
	color: var(--one-accent);
	font-family: var(--one-sans);
	font-size: 22px;
	line-height: 1;
}

.novel-empty {
	margin: 20px 0 0;
	padding: 24px;
	color: var(--one-muted);
	background: color-mix(in srgb, var(--one-paper), var(--one-bg) 38%);
	border-radius: 12px;
}

/* 小说目录页的右侧定位轨道：始终在内容纸张外侧，移动端收窄为一条轻量导轨。 */
.novel-section-rail {
	position: fixed;
	top: 50%;
	left: calc((100vw + min(var(--one-site-width), calc(100vw - 40px))) / 2 + var(--one-novel-rail-offset, 200px));
	right: auto;
	z-index: 40;
	display: flex;
	gap: 18px;
	align-items: stretch;
	transform: translateY(-50%);
	font-family: var(--one-sans);
	pointer-events: auto;
}

.novel-section-rail[hidden] {
	display: none !important;
}

.novel-section-rail-track {
	position: relative;
	width: 1px;
	min-height: 132px;
	background: var(--one-line);
}

.novel-section-rail-marker {
	position: absolute;
	top: 0;
	left: 50%;
	display: block;
	width: 7px;
	height: 7px;
	background: var(--one-accent);
	border-radius: 50%;
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--one-accent-soft), transparent 12%);
	transform: translate(-50%, -50%);
	transition: top .3s ease;
}

.novel-section-rail-nav {
	display: grid;
	grid-auto-rows: 1fr;
	gap: 4px;
	min-height: 132px;
}

.novel-section-rail-nav a {
	position: relative;
	display: flex;
	align-items: center;
	padding: 2px 4px;
	color: var(--one-muted);
	font-size: 11px;
	letter-spacing: .12em;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
	transition: color .2s ease, transform .2s ease;
}

/* 轨道采用“书页 > 内容区”的层级：主节点更醒目，简介/角色作为缩进子节点。 */
.novel-section-rail-nav a[data-level="1"] {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .16em;
}

.novel-section-rail-nav a[data-level="2"] {
	padding-left: 12px;
	font-size: 10px;
	letter-spacing: .1em;
}

.novel-section-rail-nav a[data-level="2"]::after {
	content: '';
	position: absolute;
	left: 0;
	top: 50%;
	width: 6px;
	height: 1px;
	background: var(--one-line);
	transform: translateY(-50%);
	opacity: .85;
}

.novel-section-rail-nav a[data-level="2"]::before {
	width: 4px;
	height: 4px;
	opacity: .82;
}

.novel-section-rail-nav a[data-level="2"].is-active::after {
	background: var(--one-accent);
}

.novel-section-rail-nav a::before {
	content: '';
	position: absolute;
	top: 50%;
	left: -12px;
	width: 5px;
	height: 5px;
	background: var(--one-line);
	border-radius: 50%;
	transform: translateY(-50%);
	transition: background-color .2s ease, transform .2s ease;
}

.novel-section-rail-nav a:hover,
.novel-section-rail-nav a:focus-visible,
.novel-section-rail-nav a.is-active {
	color: var(--one-accent);
}

.novel-section-rail-nav a.is-active::before {
	background: var(--one-accent);
	transform: translateY(-50%) scale(1.3);
}

.pagination,
.posts-navigation {
	margin-top: 18px;
	font-family: var(--one-sans);
	font-size: 13px;
}

.nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
}

.page-numbers,
.nav-previous a,
.nav-next a {
	display: inline-grid;
	min-width: 36px;
	height: 36px;
	padding: 0 12px;
	place-items: center;
	border: 1px solid var(--one-line);
	border-radius: 3px;
}

.page-numbers.current,
.page-numbers:hover {
	color: #fff;
	background: var(--one-accent);
	border-color: var(--one-accent);
}

.single-main {
	padding-bottom: 54px;
}

body.single-post .site-header {
	padding: 0 64px 18px;
}

body.single-post .site-header .brand-row,
body.single-post .site-header .site-description {
	display: none;
}

body.single-post.one-nav-external .site-header {
	padding: 0;
}

.entry-hero {
	--one-entry-hero-inline: 64px;
	position: relative;
	display: flex;
	min-height: 360px;
	padding: 54px var(--one-entry-hero-inline) 46px;
	align-items: flex-end;
	overflow: hidden;
	color: #fff;
	background: linear-gradient(145deg, #67716f, #343b40);
}

.entry-hero.has-image {
	background-position: center;
	background-size: cover;
}

.entry-hero::before {
	position: absolute;
	inset: 0;
	z-index: 1;
	background:
		linear-gradient(to top, rgba(18, 17, 15, .75), transparent 72%),
		linear-gradient(135deg, rgba(255,255,255,.08), transparent 50%);
	content: "";
}

.entry-hero > .one-fallback-art {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	transform: none;
}

.entry-back-link {
	/* PC 端返回按钮固定在视口，不随文章正文滚动。 */
	position: fixed;
	/* 与站点及左侧导航共用顶部基准，按钮贴齐封面上沿。 */
	top: var(--one-nav-fixed-top, 28px);
	left: max(24px, calc((100vw - min(var(--one-site-width), calc(100vw - 40px))) / 2 + var(--one-entry-hero-inline)));
	z-index: 160;
	display: grid;
	width: 56px;
	height: 56px;
	min-height: 56px;
	padding: 0;
	place-items: center;
	color: var(--one-accent);
	background: var(--one-paper);
	border: 0;
	border-radius: 50%;
	box-shadow: 0 10px 28px rgba(42, 37, 32, .16), inset 0 1px 0 rgba(255,255,255,.72);
	font-size: 0;
	letter-spacing: 0;
	line-height: 0;
	transition: color .2s ease, background-color .2s ease, transform .2s ease;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
}

body.one-nav-external .entry-back-link {
	left: calc(var(--one-site-fixed-left, 0px) + var(--one-entry-hero-inline));
}

.entry-back-link svg {
	position: absolute;
	top: 50%;
	left: 50%;
	display: block;
	width: 24px;
	height: 24px;
	margin: 0;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.6;
	transform: translate(-50%, -50%);
}

.entry-back-link:hover {
	color: color-mix(in srgb, var(--one-accent), var(--one-ink) 22%);
	background: color-mix(in srgb, var(--one-accent-soft), transparent 38%);
	transform: translateY(-2px);
}

.entry-back-link:focus-visible {
	outline: 0;
	box-shadow: 0 10px 28px rgba(42, 37, 32, .16), 0 0 0 3px color-mix(in srgb, var(--one-accent), transparent 70%);
}

.entry-hero-content {
	position: relative;
	z-index: 2;
	width: 100%;
}

.entry-category {
	display: inline-block;
	padding: 0;
	color: rgba(255,255,255,.76);
	background: transparent;
	font-family: var(--one-sans);
	font-size: 12px;
	letter-spacing: 0;
	line-height: 1.5;
}

.entry-hero-meta-row {
	display: flex;
	margin-top: 14px;
	gap: 12px 20px;
	align-items: flex-end;
	justify-content: space-between;
}

.entry-hero-meta-row .entry-meta {
	flex: 1 1 auto;
	margin-top: 0;
}

.entry-hero-categories {
	display: flex;
	max-width: 46%;
	flex: 0 1 auto;
	flex-wrap: wrap;
	gap: 7px;
	justify-content: flex-end;
	margin-left: auto;
}

.entry-title {
	max-width: 700px;
	margin: 0;
	font-size: clamp(30px, 5vw, 44px);
	font-weight: 600;
	letter-spacing: .035em;
	line-height: 1.35;
}

.entry-hero .entry-meta {
	color: rgba(255,255,255,.76);
}

.entry-content,
.entry-footer,
.post-navigation,
.comments-area {
	width: calc(100% - 128px);
	margin-right: auto;
	margin-left: auto;
}

.entry-content {
	padding-top: 48px;
	font-size: 17px;
	line-height: 2.05;
}

/* 关于等独立页面的正文与页头横线保持同一内容边界。 */
.page-main .page-content {
	width: 100%;
	margin-right: 0;
	margin-left: 0;
}

.entry-content > * {
	max-width: 100%;
}

.entry-content p {
	margin: 0 0 1.35em;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
	margin-top: 2em;
	line-height: 1.55;
}

.entry-content a {
	color: var(--one-accent);
	border-bottom: 1px solid color-mix(in srgb, var(--one-accent), transparent 60%);
}

.entry-content blockquote {
	margin: 2em 0;
	padding: 18px 26px;
	color: #5e5953;
	background: #faf8f5;
	border-left: 3px solid var(--one-accent);
}

.entry-content pre,
.entry-content code {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.entry-content pre {
	overflow-x: auto;
	padding: 20px;
	color: #eee;
	background: #282a2d;
	border-radius: 4px;
}

.entry-content img {
	border-radius: 3px;
}

.entry-footer {
	margin-top: 38px;
	padding: 20px 0;
	border-bottom: 1px solid var(--one-line);
}

.creation-background {
	width: calc(100% - 128px);
	margin: 42px auto 0;
	padding: 25px 30px;
	color: color-mix(in srgb, var(--one-ink), transparent 30%);
	background: color-mix(in srgb, var(--one-paper), var(--one-ink) 4%);
}

.creation-background-title {
	margin: 0 0 14px;
	padding-left: 12px;
	border-left: 2px solid var(--one-accent);
	color: var(--one-ink);
	font-family: var(--one-serif);
	font-size: 16px;
	font-weight: 400;
	letter-spacing: .08em;
	line-height: 1.5;
}

.creation-background-content {
	font-size: 15px;
	letter-spacing: .025em;
	line-height: 2;
}

.creation-background-content p {
	margin: 0 0 .75em;
}

.creation-background-content p:last-child {
	margin-bottom: 0;
}

.article-copyright {
	width: calc(100% - 128px);
	margin: 28px auto 0;
	padding: 22px 30px;
	color: color-mix(in srgb, var(--one-ink), transparent 34%);
	background: color-mix(in srgb, var(--one-paper), var(--one-ink) 4%);
	font-family: var(--one-sans);
}

.article-copyright p {
	margin: 0;
	font-size: 14px;
	letter-spacing: .045em;
	line-height: 2;
}

.tag-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.tag-links a {
	padding: 4px 10px;
	color: var(--one-muted);
	background: #f7f5f2;
	border-radius: 3px;
	font-family: var(--one-sans);
	font-size: 12px;
}

.post-navigation {
	margin-top: 44px;
}

.post-navigation .nav-links {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	overflow: hidden;
}

.post-navigation .nav-previous,
.post-navigation .nav-next {
	min-width: 0;
}

.post-navigation .nav-next {
	text-align: right;
}

.post-navigation .nav-previous:only-child,
.post-navigation .nav-next:only-child {
	grid-column: 1 / -1;
}

.post-navigation a {
	position: relative;
	isolation: isolate;
	display: flex;
	width: 100%;
	min-width: 0;
	height: auto;
	min-height: 132px;
	padding: 24px 28px;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	overflow: hidden;
	color: #fff;
	border: 0;
	border-radius: 3px;
	background: #555c5b;
	transition: color .2s ease;
}

.post-navigation a:hover {
	color: #fff;
}

.post-navigation a::after {
	position: absolute;
	z-index: -1;
	inset: 0;
	background:
		linear-gradient(110deg, rgba(18, 17, 15, .74), rgba(18, 17, 15, .46)),
		linear-gradient(to top, rgba(18, 17, 15, .42), transparent 70%);
	content: "";
	transition: background-color .25s ease;
}

.post-navigation a:hover::after {
	background:
		linear-gradient(110deg, rgba(18, 17, 15, .67), rgba(18, 17, 15, .38)),
		linear-gradient(to top, rgba(18, 17, 15, .34), transparent 70%);
}

.post-nav-media {
	position: absolute;
	z-index: -2;
	inset: -7px;
	overflow: hidden;
}

.post-nav-media img,
.post-nav-media .one-fallback-art {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: blur(2.6px);
	transform: scale(1.06);
	transition: filter .35s ease, transform .45s ease;
}

.post-navigation a:hover .post-nav-media img,
.post-navigation a:hover .post-nav-media .one-fallback-art {
	filter: blur(1.8px);
	transform: scale(1.1);
}

.post-nav-content {
	position: relative;
	z-index: 1;
	display: block;
	width: 100%;
}

.post-navigation .nav-next a {
	align-items: flex-end;
}

.nav-subtitle {
	display: flex;
	gap: 8px;
	align-items: center;
	color: rgba(255,255,255,.78);
	font-family: var(--one-sans);
	font-size: 11px;
	letter-spacing: .18em;
}

.nav-previous .nav-subtitle::before {
	content: "←";
	color: #fff;
	font-size: 14px;
	letter-spacing: 0;
}

.nav-next .nav-subtitle {
	justify-content: flex-end;
}

.nav-next .nav-subtitle::after {
	content: "→";
	color: #fff;
	font-size: 14px;
	letter-spacing: 0;
}

.nav-title {
	display: block;
	overflow: hidden;
	margin-top: 7px;
	font-size: 16px;
	line-height: 1.55;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.comments-area {
	margin-top: 38px;
}

.comments-title,
.comment-reply-title {
	position: relative;
	margin: 0 0 16px;
	padding-top: 11px;
	font-size: 18px;
	font-weight: 600;
	letter-spacing: .04em;
}

.comments-title::before,
.comment-reply-title::before {
	position: absolute;
	top: 0;
	left: 0;
	width: 32px;
	height: 2px;
	background: var(--one-accent);
	content: "";
}

.comment-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.comment-list .children {
	margin-left: 46px;
	list-style: none;
}

.comment-body {
	position: relative;
	padding: 18px 0 18px 54px;
	border-bottom: 1px solid var(--one-line);
}

.comment-author .avatar {
	position: absolute;
	top: 24px;
	left: 0;
	border-radius: 50%;
}

.comment-author .fn {
	font-style: normal;
	font-weight: 700;
}

.comment-metadata {
	color: var(--one-muted);
	font-family: var(--one-sans);
	font-size: 11px;
}

.comment-content p {
	margin: 8px 0 0;
}

.reply {
	margin-top: 8px;
	font-family: var(--one-sans);
	font-size: 12px;
}

.comment-respond {
	margin-top: 30px;
	padding: 20px 24px 22px;
	background: transparent;
	border-top: 1px solid var(--one-line);
	border-bottom: 1px solid var(--one-line);
}

/* 有评论时，上一个评论的底线已经承担分隔作用，避免与回复表单的顶线重叠。 */
.comments-area.has-comments .comment-respond {
	border-top: 0;
}

.comment-form {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px 16px;
}

.comment-form-comment,
.comment-form-cookies-consent,
.form-submit,
.logged-in-as,
.comment-notes {
	grid-column: 1 / -1;
}

.comment-form label {
	display: block;
	margin-bottom: 8px;
	color: var(--one-ink);
	font-family: var(--one-sans);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .12em;
}

.comment-form p {
	margin-top: 0;
	margin-bottom: 0;
}

.comment-notes,
.logged-in-as {
	color: var(--one-muted);
	font-family: var(--one-sans);
	font-size: 12px;
	line-height: 1.8;
}

.logged-in-as a {
	color: var(--one-accent);
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea,
.search-field {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid var(--one-line);
	background: transparent;
	border-radius: 0;
	outline: none;
	transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.comment-form textarea {
	min-height: 104px;
	resize: vertical;
	line-height: 1.75;
}

.comment-form input::placeholder,
.comment-form textarea::placeholder {
	color: color-mix(in srgb, var(--one-muted), transparent 24%);
}

.comment-form textarea:focus,
.comment-form input:focus,
.search-field:focus {
	border-color: var(--one-accent);
	background: transparent;
	box-shadow: 3px 0 0 var(--one-accent);
}

.submit,
.search-submit {
	min-width: 112px;
	padding: 9px 20px;
	color: #fff;
	background: var(--one-accent);
	border: 1px solid var(--one-accent);
	border-radius: 0;
	cursor: pointer;
	font-family: var(--one-sans);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .14em;
	transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}

.submit:hover,
.search-submit:hover {
	background: var(--one-ink);
	border-color: var(--one-ink);
}

.archive-overview {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
	margin: -12px 0 58px;
}

.archive-overview-item {
	display: flex;
	min-height: 92px;
	padding: 18px 20px;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 5px;
	background: color-mix(in srgb, var(--one-paper), transparent 16%);
	border: 1px solid var(--one-line);
	border-radius: 12px;
	box-shadow: 0 8px 22px rgba(42, 37, 32, .06);
}

.archive-overview-item + .archive-overview-item {
	border-left: 1px solid var(--one-line);
}

.archive-overview-item strong {
	color: var(--one-accent);
	font-family: var(--one-serif);
	font-size: 24px;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}

.archive-overview-item span {
	color: var(--one-muted);
	font-family: var(--one-sans);
	font-size: 11px;
	letter-spacing: .08em;
}

.archive-panel + .archive-panel {
	margin-top: 48px;
}

.archive-section-heading {
	display: flex;
	margin-bottom: 24px;
	padding-bottom: 0;
	align-items: flex-end;
	justify-content: space-between;
}

.archive-section-heading p {
	margin: 0 0 3px;
	color: var(--one-accent);
	font-family: var(--one-sans);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .22em;
	text-transform: uppercase;
}

.archive-section-heading h2 {
	margin: 0;
	font-size: 26px;
	font-weight: 600;
	letter-spacing: .04em;
}

.archive-section-heading > span {
	color: var(--one-muted);
	font-family: var(--one-sans);
	font-size: 10px;
	letter-spacing: .08em;
}

.archive-category-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
}

.archive-category-grid a {
	display: flex;
	min-height: 68px;
	padding: 15px 17px;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	background: transparent;
	border: 1px solid var(--one-line);
	border-radius: 10px;
	transition: color .2s ease, border-color .2s ease, transform .2s ease;
}

.archive-category-grid a:hover {
	color: var(--one-accent);
	border-color: var(--one-accent);
	transform: translateY(-1px);
}

.archive-category-name {
	font-size: 15px;
	letter-spacing: .06em;
}

.archive-category-count {
	color: var(--one-muted);
	font-family: var(--one-sans);
	font-size: 10px;
	white-space: nowrap;
}

.archive-years {
	position: relative;
	--one-archive-rail-x: 103px;
	display: grid;
	gap: 0;
}

.archive-years::before {
	position: absolute;
	top: 30px;
	bottom: 28px;
	left: var(--one-archive-rail-x);
	width: 1px;
	background: var(--one-line);
	content: "";
}

.archive-year-block {
	position: relative;
	display: grid;
	grid-template-columns: 92px minmax(0, 1fr);
	gap: 30px;
	padding: 28px 0 34px;
}

.archive-year-block:first-child {
	padding-top: 8px;
}

.archive-year-block:last-child {
	padding-bottom: 8px;
}

.archive-year-block::before {
	position: absolute;
	top: 35px;
	left: var(--one-archive-rail-x);
	width: 12px;
	height: 12px;
	background: var(--one-accent);
	border: 3px solid var(--one-paper);
	border-radius: 50%;
	box-shadow: 0 0 0 1px var(--one-accent);
	content: "";
	transform: translateX(-50%);
}

.archive-year-heading h3 {
	margin: 0;
	color: var(--one-ink);
	font-size: 24px;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	letter-spacing: .04em;
}

.archive-year-heading span {
	display: block;
	margin-top: 5px;
	color: var(--one-muted);
	font-family: var(--one-sans);
	font-size: 10px;
}

.archive-month-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 8px;
}

.archive-month-link {
	display: grid;
	min-height: 74px;
	padding: 13px 14px;
	grid-template-columns: auto 1fr auto;
	grid-template-rows: auto auto;
	align-items: baseline;
	column-gap: 4px;
	background: transparent;
	border: 1px solid var(--one-line);
	border-radius: 10px;
	box-shadow: 0 7px 18px rgba(42, 37, 32, .04);
	transition: color .2s ease, border-color .2s ease, transform .2s ease;
}

.archive-month-link:hover {
	color: var(--one-accent);
	border-color: var(--one-accent);
	transform: translateY(-1px);
}

.archive-month-number {
	font-size: 19px;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	line-height: 1;
}

.archive-month-unit {
	color: var(--one-muted);
	font-family: var(--one-sans);
	font-size: 10px;
}

.archive-month-count {
	grid-column: 1 / 3;
	margin-top: 8px;
	color: var(--one-muted);
	font-family: var(--one-sans);
	font-size: 10px;
}

.archive-month-arrow {
	grid-row: 1 / 3;
	grid-column: 3;
	align-self: center;
	color: var(--one-accent);
	font-size: 13px;
	opacity: .55;
	transform: translateX(0);
	transition: opacity .2s ease, transform .2s ease;
}

.archive-month-link:hover .archive-month-arrow {
	opacity: 1;
	transform: translateX(2px);
}

.empty-state {
	padding: 70px 0;
	text-align: center;
}

.empty-state p {
	color: var(--one-muted);
}

.site-footer {
	width: min(var(--one-site-width), calc(100% - 40px));
	margin: 0 auto;
	padding: 46px 20px 34px;
	color: #77736e;
	background: transparent;
	text-align: center;
	font-family: var(--one-sans);
	font-size: 12px;
}

.site-info {
	margin: 0;
}

.site-info a {
	color: var(--one-accent);
}

.footer-message {
	margin: 0 0 10px;
	color: var(--one-footer-message-color);
	font-family: var(--one-serif);
	font-size: var(--one-footer-message-font-size);
	letter-spacing: .06em;
}

.footer-message-typewriter {
	display: flex;
	min-height: 1.7em;
	align-items: center;
	justify-content: center;
}

.footer-typewriter-stage {
	display: block;
	max-width: 100%;
	min-height: 1.7em;
	margin-right: auto;
	margin-left: auto;
	text-align: center;
	overflow: hidden;
	contain: layout;
}

.footer-message-text {
	position: relative;
	display: block;
	width: 100%;
	color: inherit;
	text-align: center;
	white-space: nowrap;
}

.footer-settled-text {
	display: inline-block;
}

.footer-scramble-tail {
	position: absolute;
	top: 0;
	display: inline-flex;
	white-space: nowrap;
}

.footer-scramble-glyph {
	display: inline-block;
	width: .55em;
	font-family: var(--one-sans);
	font-weight: 500;
	letter-spacing: 0;
	text-align: center;
}

.theme-credit {
	margin-top: 3px;
}

.theme-credit a {
	color: var(--one-accent);
}

.site-domain {
	margin: 7px 0 0;
	font-size: 10px;
	letter-spacing: .12em;
	text-transform: lowercase;
}

.site-domain a {
	color: color-mix(in srgb, var(--one-muted), transparent 18%);
}

.site-domain a:hover,
.site-domain a:focus-visible {
	color: var(--one-accent);
}

.contact-email {
	display: inline-grid;
	width: 56px;
	height: 56px;
	padding: 0;
	place-items: center;
	color: var(--one-accent);
	background: var(--one-paper);
	border: 0;
	border-radius: 50%;
	box-shadow: 0 10px 28px rgba(42, 37, 32, .16), inset 0 1px 0 rgba(255,255,255,.72);
	cursor: pointer;
	transition: color .2s ease, background-color .2s ease, transform .2s ease;
}

.contact-email:hover {
	color: color-mix(in srgb, var(--one-accent), var(--one-ink) 22%);
	background: color-mix(in srgb, var(--one-accent-soft), transparent 38%);
	transform: translateY(-2px);
}

.contact-email svg {
	display: block;
	width: 22px;
	height: 22px;
	overflow: visible;
}

.contact-envelope {
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
}

.floating-tools {
	position: fixed;
	z-index: 50;
	right: 18px;
	bottom: 34px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
}

/* 页面工具桌面端固定在内容右侧顶部，移动端收进“更多”气泡。 */
.page-actions {
	position: fixed;
	z-index: 160;
	top: var(--one-page-actions-top, 24px);
	right: 18px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.page-action {
	position: relative;
	top: auto;
	right: auto;
	display: grid;
	width: 56px;
	height: 56px;
	padding: 0;
	place-items: center;
	color: var(--one-accent);
	background: var(--one-paper);
	border: 0;
	border-radius: 50%;
	box-shadow: 0 10px 28px rgba(42, 37, 32, .16), inset 0 1px 0 rgba(255,255,255,.72);
	cursor: pointer;
	text-decoration: none;
	transition: color .2s ease, background-color .2s ease, transform .2s ease;
}

.page-action:hover {
	color: color-mix(in srgb, var(--one-accent), var(--one-ink) 22%);
	background: color-mix(in srgb, var(--one-accent-soft), transparent 38%);
	transform: translateY(-2px);
}

.page-action svg {
	display: block;
	width: 24px;
	height: 24px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
}

.page-action-share svg {
	stroke-width: 1.65;
}

/* 工具按钮的轻量悬停说明；用伪元素避免改变按钮尺寸和布局。 */
.page-action[data-tooltip]::before,
.floating-tools > [data-tooltip]::before {
	position: absolute;
	z-index: 4;
	top: 50%;
	right: calc(100% + 10px);
	padding: 6px 10px;
	color: var(--one-ink);
	font-family: var(--one-sans);
	font-size: 12px;
	font-weight: 520;
	letter-spacing: .06em;
	line-height: 1.2;
	white-space: nowrap;
	background: var(--one-paper);
	border: 1px solid color-mix(in srgb, var(--one-line), transparent 18%);
	border-radius: 8px;
	box-shadow: 0 8px 20px rgba(42, 37, 32, .12);
	content: attr(data-tooltip);
	opacity: 0;
	pointer-events: none;
	transform: translate(4px, -50%);
	transition: opacity .18s ease, transform .18s ease;
}

.page-action[data-tooltip]:hover::before,
.page-action[data-tooltip]:focus-visible::before,
.floating-tools > [data-tooltip]:hover::before,
.floating-tools > [data-tooltip]:focus-visible::before {
	opacity: 1;
	transform: translate(0, -50%);
}

/* 展开的工具卡片已经显示文字，避免再叠加悬停标签。 */
.floating-tools.is-open > [data-tooltip]::before {
	display: none;
}

/* 左侧固定的页面操作按钮，说明文字显示在按钮右侧。 */
@media (max-width: 1280px) {
	.page-actions .page-action[data-tooltip]::before {
		right: auto;
		left: calc(100% + 10px);
		transform: translate(-4px, -50%);
	}

	.page-actions .page-action[data-tooltip]:hover::before,
	.page-actions .page-action[data-tooltip]:focus-visible::before {
		transform: translate(0, -50%);
	}
}

.back-to-top {
	position: relative;
	display: grid;
	width: 56px;
	height: 0;
	padding: 0;
	place-items: center;
	color: var(--one-accent);
	background: var(--one-paper);
	border: 0;
	border-radius: 50%;
	box-shadow: 0 10px 28px rgba(42, 37, 32, .16), inset 0 1px 0 rgba(255,255,255,.72);
	cursor: pointer;
	overflow: hidden;
	opacity: 0;
	pointer-events: none;
	transform: translateY(6px);
	transition: height .2s ease, color .2s ease, opacity .2s ease, transform .2s ease, background-color .2s ease;
}

.back-to-top.is-visible {
	height: 56px;
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}

.back-to-top:hover {
	color: color-mix(in srgb, var(--one-accent), var(--one-ink) 22%);
	background: color-mix(in srgb, var(--one-accent-soft), transparent 38%);
	transform: translateY(-2px);
}

.back-to-top svg {
	display: block;
	width: 22px;
	height: 22px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
}

.floating-tools button:focus-visible {
	outline: 0;
	background: var(--one-bg);
	box-shadow: 0 0 0 2px color-mix(in srgb, var(--one-accent), transparent 72%);
}

.floating-tools a:focus-visible {
	outline: 0;
	background: var(--one-bg);
	box-shadow: 0 0 0 2px color-mix(in srgb, var(--one-accent), transparent 72%);
}

body.one-dark .back-to-top {
	background: var(--one-bg);
}

body.one-dark .back-to-top:hover {
	background: color-mix(in srgb, var(--one-accent-soft), transparent 38%);
}

body.one-dark {
	--one-bg: #181817;
	--one-paper: #242321;
	--one-ink: #e7e2db;
	--one-muted: #99948c;
	--one-line: #3a3834;
	--one-accent-soft: #3a2b27;
	--one-shadow: 0 18px 50px rgba(0,0,0,.25);
}

body.one-dark .one-landing-title {
	color: var(--one-ink);
}

body.one-dark .one-landing-subtitle,
body.one-dark .one-landing-note,
body.one-dark .one-landing-enter {
	color: var(--one-muted);
}

body.one-dark .footer-message {
	color: color-mix(in srgb, var(--one-footer-message-color), var(--one-ink) 72%);
}

body.one-dark .post-card-excerpt,
body.one-dark .archive-description {
	color: #b5afa7;
}

body.one-dark .entry-content blockquote,
body.one-dark .creation-background,
body.one-dark .article-copyright,
body.one-dark .tag-links a,
body.one-dark .search-field {
	background: #2c2a27;
}

body.one-dark .post-card-category,
body.one-dark .comment-form input,
body.one-dark .comment-form textarea,
body.one-dark .comment-respond {
	background: transparent;
}

body.one-dark .post-navigation a:hover {
	background: var(--one-accent-soft);
}

/* 手机与平板统一使用移动导航；手机在 720px 以下使用单图横幅，Pad 保留多图布局。 */
@media (max-width: 1280px) {
	html {
		margin-top: 0 !important;
		/* The paper surface owns the safe-area background on every mobile-sized page. */
		background-color: var(--one-paper);
	}

	body.admin-bar {
		margin-top: 0 !important;
	}

	/* 前台移动预览不显示 WP 管理工具栏，避免它占据顶部并遮住封面背景。 */
	#wpadminbar {
		display: none !important;
	}

	body {
		padding-bottom: calc(88px + var(--one-mobile-nav-gap) + env(safe-area-inset-bottom));
		font-size: 15px;
		/* Keep the same surface behind the translucent status bar and the page. */
		background-color: var(--one-paper);
	}

	.site {
		width: 100%;
		margin: 0;
		min-height: 100vh;
		background-color: var(--one-paper);
		box-shadow: none;
	}

	.site-header,
	.home-main,
	.archive-main {
		padding-right: 24px;
		padding-left: 24px;
	}

	.site-header {
		/* The header surface starts at the physical top edge. Only its contents
		 * move below the status icons, so no separate safe-area strip is painted. */
		padding-top: 0;
	}

	/* Keep the brand itself clear of the status icons while the paper surface
	 * continues behind them.  This is intentionally separate from the header
	 * background so there is no second white strip. */
	.site-header .brand-row {
		padding-top: calc(env(safe-area-inset-top, 0px) + 20px);
	}

	body.single-post:not(.one-nav-external) .site-header {
		padding: 0 24px 18px;
	}

	/* 文章页在平板/手机端让封面直接从屏幕顶部开始，背景可延伸到状态栏下方。 */
	body.single-post .site-header {
		display: none;
	}

	body.single-post .single-main {
		margin-top: 0;
	}

    .main-navigation {
        display: none;
    }

    /* Pad 与手机统一使用气泡导航；覆盖外置桌面导航的高优先级规则。 */
    body.one-nav-external .main-navigation {
        display: none !important;
    }

    .mobile-dock-navigation {
        position: fixed;
		z-index: 150;
		right: auto;
		bottom: max(var(--one-mobile-nav-gap), env(safe-area-inset-bottom));
		left: 12px;
        display: block;
		width: 56px;
		max-width: none;
		margin: 0;
		transition: transform .32s cubic-bezier(.2, .72, .25, 1), filter .32s ease, opacity .2s ease;
	}

	.mobile-dock-navigation .mobile-dock-theme {
		display: none !important;
	}

	.mobile-dock-navigation.is-hidden {
		pointer-events: auto;
		opacity: 1;
		transform: none;
	}

	.mobile-dock-navigation.is-open {
		right: auto;
		left: 12px;
		display: flex;
		flex-direction: column;
		width: min(230px, calc(100vw - 24px));
		max-width: 230px;
		margin: 0;
		align-items: flex-start;
		gap: 6px;
	}

	.mobile-dock-toggle {
		display: grid;
		width: 56px;
		height: 56px;
		padding: 0;
		place-items: center;
		color: var(--one-accent);
		background: var(--one-paper);
		border: 0;
		border-radius: 50%;
		box-shadow: 0 10px 28px rgba(42, 37, 32, .16), inset 0 1px 0 rgba(255,255,255,.72);
		cursor: pointer;
	}

	.mobile-dock-toggle svg {
		width: 24px;
		height: 24px;
		fill: none;
		stroke: currentColor;
		stroke-linecap: round;
		stroke-linejoin: round;
		stroke-width: 1.55;
	}

	.mobile-dock-toggle:focus,
	.mobile-dock-toggle:focus-visible,
	.mobile-tools-toggle:focus,
	.mobile-tools-toggle:focus-visible {
		outline: 0;
	}

	.mobile-dock-toggle:focus-visible,
	.mobile-tools-toggle:focus-visible {
		box-shadow: 0 10px 28px rgba(42, 37, 32, .16), inset 0 1px 0 rgba(255,255,255,.72);
	}

	.mobile-dock-navigation.is-open .mobile-dock-toggle {
		display: grid;
		order: 2;
		align-self: flex-start;
	}

	.mobile-dock-navigation:not(.is-open) .mobile-dock-shell,
	.mobile-dock-navigation:not(.is-open) .mobile-dock-theme {
		display: none;
	}

	.mobile-dock-navigation.is-open .mobile-dock-shell {
		display: block;
		order: 1;
		flex: 0 0 auto;
		width: 100%;
		padding: 12px;
		background: var(--one-paper);
		border: 1px solid color-mix(in srgb, var(--one-line), transparent 28%);
		border-radius: 28px;
		box-shadow: var(--one-bubble-shadow);
	}

	.mobile-dock-navigation.is-open .mobile-dock-menu {
		display: flex;
		flex-direction: column;
		gap: 2px;
		overflow: visible;
	}

	.mobile-dock-navigation.is-open .mobile-dock-menu > li {
		flex: 0 0 auto;
		min-width: 0;
		width: 100%;
	}

	.mobile-dock-navigation.is-open .mobile-dock-menu a {
		min-height: 52px;
		padding: 8px 10px;
		flex-direction: row;
		gap: 14px;
		align-items: center;
		justify-content: flex-start;
		border-radius: 18px;
		font-size: 15px;
		font-weight: 560;
		letter-spacing: .04em;
		line-height: 1.15;
		text-align: left;
	}

	.mobile-dock-navigation.is-open .mobile-dock-menu a::before {
		inset: 0;
		background: transparent;
		border: 0;
		border-radius: 18px;
		box-shadow: none;
		transform: none;
	}

	.mobile-dock-navigation.is-open .mobile-dock-menu .current-menu-item > a::before,
	.mobile-dock-navigation.is-open .mobile-dock-menu .current_page_item > a::before,
	.mobile-dock-navigation.is-open .mobile-dock-menu .current-menu-ancestor > a::before,
	.mobile-dock-navigation.is-open .mobile-dock-menu .current-menu-parent > a::before,
	.mobile-dock-navigation.is-open .mobile-dock-menu .current-post-parent > a::before,
	.mobile-dock-navigation.is-open .mobile-dock-menu .current-post-ancestor > a::before {
		background: transparent;
		box-shadow: none;
		opacity: 1;
	}

	.mobile-dock-navigation.is-open .mobile-dock-menu .current-menu-item > a::after,
	.mobile-dock-navigation.is-open .mobile-dock-menu .current_page_item > a::after,
	.mobile-dock-navigation.is-open .mobile-dock-menu .current-menu-ancestor > a::after,
	.mobile-dock-navigation.is-open .mobile-dock-menu .current-menu-parent > a::after,
	.mobile-dock-navigation.is-open .mobile-dock-menu .current-post-parent > a::after,
	.mobile-dock-navigation.is-open .mobile-dock-menu .current-post-ancestor > a::after {
		position: absolute;
		top: 50%;
		left: 1px;
		width: 3px;
		height: 18px;
		background: var(--one-accent);
		border-radius: 3px;
		content: "";
		transform: translateY(-50%);
	}

	.mobile-dock-navigation.is-open .mobile-dock-menu a::after {
		display: none;
	}

	.mobile-dock-navigation.is-open .mobile-nav-icon {
		flex: 0 0 34px;
		width: 34px;
		height: 34px;
		border-radius: 50%;
		background: color-mix(in srgb, var(--one-line), transparent 70%);
	}

	.mobile-dock-navigation.is-open .mobile-dock-menu .current-menu-item .mobile-nav-icon,
	.mobile-dock-navigation.is-open .mobile-dock-menu .current_page_item .mobile-nav-icon,
	.mobile-dock-navigation.is-open .mobile-dock-menu .current-menu-ancestor .mobile-nav-icon,
	.mobile-dock-navigation.is-open .mobile-dock-menu .current-menu-parent .mobile-nav-icon,
	.mobile-dock-navigation.is-open .mobile-dock-menu .current-post-parent .mobile-nav-icon,
	.mobile-dock-navigation.is-open .mobile-dock-menu .current-post-ancestor .mobile-nav-icon {
		background: color-mix(in srgb, var(--one-accent), transparent 84%);
	}

	.mobile-dock-navigation.is-open .mobile-dock-menu .current-menu-item > a,
	.mobile-dock-navigation.is-open .mobile-dock-menu .current_page_item > a,
	.mobile-dock-navigation.is-open .mobile-dock-menu .current-menu-ancestor > a,
	.mobile-dock-navigation.is-open .mobile-dock-menu .current-menu-parent > a,
	.mobile-dock-navigation.is-open .mobile-dock-menu .current-post-parent > a,
	.mobile-dock-navigation.is-open .mobile-dock-menu .current-post-ancestor > a {
		font-weight: 600;
	}

	.mobile-dock-navigation.is-open .mobile-nav-icon svg {
		width: 20px;
		height: 20px;
	}

	.mobile-dock-navigation.is-open .mobile-nav-label {
		max-height: 28px;
		opacity: 1;
		transform: none;
	}

	.mobile-dock-shell {
		position: relative;
		min-width: 0;
		flex: 1 1 auto;
		overflow: hidden;
		padding: 6px;
		background: var(--one-paper);
		border: 1px solid color-mix(in srgb, #fff, var(--one-line) 38%);
		border-radius: 999px;
		box-shadow:
			0 14px 38px rgba(42, 37, 32, .18),
			0 3px 10px rgba(42, 37, 32, .08),
			inset 0 1px 0 rgba(255,255,255,.72);
		backdrop-filter: blur(24px) saturate(165%);
		-webkit-backdrop-filter: blur(24px) saturate(165%);
		transition: padding .3s ease, border-radius .3s ease, background-color .3s ease;
	}

	.mobile-dock-shell::before {
		position: absolute;
		z-index: 0;
		top: 1px;
		right: 14%;
		left: 14%;
		height: 1px;
		background: linear-gradient(to right, transparent, rgba(255,255,255,.88), transparent);
		content: "";
		pointer-events: none;
	}

	.mobile-dock-theme {
		position: relative;
		display: grid;
		flex: 0 0 56px;
		width: 56px;
		height: 54px;
		padding: 0;
		place-items: center;
		color: color-mix(in srgb, var(--one-ink), transparent 24%);
		background: var(--one-paper);
		border: 1px solid transparent;
		border-radius: 18px;
		box-shadow: none;
		cursor: pointer;
		transition: color .2s ease, background-color .22s ease, border-color .22s ease;
	}

	.mobile-dock-theme:hover,
	.mobile-dock-theme:focus-visible,
	body.one-dark .mobile-dock-theme {
		color: var(--one-accent);
		background: color-mix(in srgb, var(--one-accent), transparent 88%);
		border-color: color-mix(in srgb, var(--one-accent), transparent 84%);
	}

	.mobile-dock-theme .theme-icon {
		width: 23px;
		height: 23px;
	}

	.mobile-dock-menu {
		position: relative;
		z-index: 1;
		display: flex;
		overflow-x: auto;
		gap: 2px;
		align-items: stretch;
		justify-content: space-around;
		margin: 0;
		padding: 0;
		list-style: none;
		scrollbar-width: none;
		scroll-snap-type: x proximity;
	}

	.mobile-dock-menu::-webkit-scrollbar {
		display: none;
	}

	.mobile-dock-menu > li {
		flex: 1 0 56px;
		min-width: 56px;
		scroll-snap-align: center;
	}

	.mobile-dock-menu a {
		position: relative;
		display: flex;
		min-height: 54px;
		padding: 6px 7px 5px;
		flex-direction: column;
		gap: 2px;
		align-items: center;
		justify-content: center;
		color: color-mix(in srgb, var(--one-ink), transparent 24%);
		font-family: var(--one-sans);
		font-size: 10px;
		font-weight: 560;
		letter-spacing: .04em;
		line-height: 1.15;
		text-align: center;
		-webkit-tap-highlight-color: transparent;
		transition: min-height .28s ease, padding .28s ease, color .2s ease, transform .2s ease;
	}

	.mobile-dock-menu a::before {
		position: absolute;
		z-index: -1;
		inset: 1px;
		background: color-mix(in srgb, var(--one-accent), transparent 88%);
		border: 1px solid color-mix(in srgb, var(--one-accent), transparent 84%);
		border-radius: 999px;
		box-shadow: inset 0 1px 0 rgba(255,255,255,.45);
		content: "";
		opacity: 0;
		transform: scale(.88);
		transition: opacity .22s ease, transform .3s cubic-bezier(.2, .72, .25, 1);
	}

	.mobile-dock-menu a:active {
		transform: scale(.94);
	}

	.mobile-dock-menu .current-menu-item > a,
	.mobile-dock-menu .current_page_item > a,
	.mobile-dock-menu .current-menu-ancestor > a,
	.mobile-dock-menu .current-menu-parent > a,
	.mobile-dock-menu .current-post-parent > a,
	.mobile-dock-menu .current-post-ancestor > a {
		color: var(--one-accent);
	}

	.mobile-dock-menu .current-menu-item > a::before,
	.mobile-dock-menu .current_page_item > a::before,
	.mobile-dock-menu .current-menu-ancestor > a::before,
	.mobile-dock-menu .current-menu-parent > a::before,
	.mobile-dock-menu .current-post-parent > a::before,
	.mobile-dock-menu .current-post-ancestor > a::before {
		opacity: 1;
		transform: scale(1);
	}

	.mobile-nav-icon {
		display: grid;
		width: 22px;
		height: 22px;
		place-items: center;
	}

	.mobile-nav-icon svg {
		width: 21px;
		height: 21px;
		fill: none;
		stroke: currentColor;
		stroke-linecap: round;
		stroke-linejoin: round;
		stroke-width: 1.65;
	}

	.mobile-nav-label {
		display: block;
		overflow: hidden;
		max-width: 100%;
		max-height: 13px;
		opacity: 1;
		text-overflow: ellipsis;
		white-space: nowrap;
		transform: translateY(0);
		transition: max-height .25s ease, opacity .2s ease, transform .25s ease;
	}

	.mobile-dock-navigation.is-compact {
		right: auto;
		left: 12px;
		width: 58px;
		max-width: none;
		transform: translateY(3px) scale(.96);
	}

	.mobile-dock-navigation.is-compact .mobile-dock-shell {
		width: 58px;
		height: 58px;
		padding: 4px;
		border-radius: 50%;
	}

	.mobile-dock-navigation.is-compact .mobile-dock-shell::before {
		display: none;
	}

	.mobile-dock-navigation.is-compact .mobile-dock-menu {
		height: 100%;
		overflow: visible;
	}

	.mobile-dock-navigation.is-compact .mobile-dock-menu > li {
		display: none;
		min-width: 0;
	}

	.mobile-dock-navigation.is-compact .mobile-dock-menu > li.current-menu-item,
	.mobile-dock-navigation.is-compact .mobile-dock-menu > li.current_page_item,
	.mobile-dock-navigation.is-compact .mobile-dock-menu > li.current-menu-ancestor,
	.mobile-dock-navigation.is-compact .mobile-dock-menu > li.current-menu-parent,
	.mobile-dock-navigation.is-compact .mobile-dock-menu > li.current-post-parent,
	.mobile-dock-navigation.is-compact .mobile-dock-menu > li.current-post-ancestor {
		display: block;
		width: 100%;
	}

	.mobile-dock-navigation.is-compact .mobile-dock-menu a {
		min-height: 48px;
		height: 48px;
		padding: 0;
		border-radius: 50%;
	}

	.mobile-dock-navigation.is-compact .mobile-nav-icon {
		width: 26px;
		height: 26px;
	}

	.mobile-dock-navigation.is-compact .mobile-nav-icon svg {
		width: 24px;
		height: 24px;
	}

	.mobile-dock-navigation.is-compact .mobile-dock-menu a::before {
		inset: 0;
		border-radius: 50%;
	}

	.mobile-dock-navigation.is-compact .mobile-nav-label {
		max-height: 0;
		opacity: 0;
		transform: translateY(4px);
	}

	body.one-dark .mobile-dock-shell {
		background: var(--one-paper);
		border-color: rgba(255,255,255,.13);
		box-shadow:
			0 16px 40px rgba(0,0,0,.42),
			0 3px 12px rgba(0,0,0,.2),
			inset 0 1px 0 rgba(255,255,255,.16);
	}

	@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
		.mobile-dock-shell {
			background: var(--one-paper);
		}
	}

	.featured-grid {
		grid-template-rows: 64px 64px;
		margin-bottom: 24px;
	}

	/* 手机端置顶轮播改为单张全宽横幅，保留标题与分页点。 */
	.featured-grid.featured-has-carousel {
		display: block;
		margin-bottom: 24px;
	}

	.featured-grid.featured-has-carousel .featured-carousel {
		width: 100%;
		/* 比文章封面更扁，作为独立的横幅区域。 */
		aspect-ratio: 2.15 / 1;
		border-radius: 0;
		box-shadow: inset 0 -1px 0 rgba(255,255,255,.16);
	}

	.featured-grid.featured-has-carousel .featured-side-card {
		display: none;
	}

	.featured-grid.featured-has-carousel .featured-carousel-button {
		display: none;
	}

	.featured-grid.featured-has-carousel .featured-carousel .featured-title {
		right: 16px;
		bottom: 40px;
		left: 16px;
		font-size: 22px;
		line-height: 1.3;
	}

	.featured-grid.featured-has-carousel .featured-carousel-dots {
		bottom: 15px;
	}

	.featured-title,
	.featured-card:not(:first-child) .featured-title {
		right: 15px;
		bottom: 13px;
		left: 15px;
		font-size: 16px;
	}

	.post-card-link {
		grid-template-columns: minmax(0, 1fr) 96px;
		gap: 18px;
	}

	.post-card-title {
		font-size: 19px;
	}

	.archive-main .archive-title {
		font-size: 30px;
	}

	.archive-main.category .post-card-title {
		font-size: 21px;
	}

	.post-card-excerpt {
		-webkit-line-clamp: 2;
		font-size: 14px;
	}

	.post-card-media {
		width: 96px;
		height: auto;
	}

	.entry-hero {
		--one-entry-hero-inline: 26px;
		min-height: 290px;
		/* The cover paints from y=0. Safe-area spacing belongs to its content,
		 * never to the background container itself. */
		padding: 0 var(--one-entry-hero-inline) 32px;
	}

	/* The cover remains edge-to-edge; only its content gets a small visual
	 * offset when Safari reports a zero safe-area inset. */
	.entry-hero-content {
		padding-top: calc(env(safe-area-inset-top, 0px) + 20px);
	}

	.entry-back-link {
		position: fixed;
		top: calc(env(safe-area-inset-top) + 12px);
		left: 12px;
		z-index: 160;
		display: grid;
		width: 56px;
		height: 56px;
		min-height: 56px;
		padding: 0;
		place-items: center;
		gap: 0;
		color: var(--one-accent);
		background: var(--one-paper);
		border: 0;
		border-radius: 50%;
		box-shadow: 0 10px 28px rgba(42, 37, 32, .16), inset 0 1px 0 rgba(255,255,255,.72);
		font-size: 0;
		letter-spacing: 0;
		line-height: 0;
		-webkit-backdrop-filter: none;
		backdrop-filter: none;
	}

	.entry-back-link svg {
		position: absolute;
		top: 50%;
		left: 50%;
		display: block;
		width: 24px;
		height: 24px;
		margin: 0;
		transform: translate(-50%, -50%);
	}

	.entry-hero-meta-row {
		flex-wrap: wrap;
	}

	.entry-hero-categories {
		max-width: 100%;
	}

	.entry-content,
	.entry-footer,
	.creation-background,
	.article-copyright,
	.post-navigation,
	.comments-area {
		width: calc(100% - 48px);
	}

	.entry-content {
		padding-top: 34px;
		font-size: 16px;
		line-height: 2;
	}

	.site-footer {
		width: 100%;
	}

	.footer-message {
		font-size: var(--one-footer-message-font-size-mobile);
	}

	.floating-tools {
		display: flex;
		z-index: 150;
		right: 12px;
		bottom: max(var(--one-mobile-nav-gap), env(safe-area-inset-bottom));
		width: 56px;
		height: 56px;
		flex-direction: column;
		gap: 6px;
		padding: 0;
		border: 0;
		border-radius: 50%;
		background: transparent;
		backdrop-filter: none;
		-webkit-backdrop-filter: none;
		filter: none;
		transition: opacity .18s ease, transform .18s ease;
	}

	/* 手机端页面操作收进“更多”气泡，和工具组保持同一套位置与动效。 */
	.page-actions {
		position: relative;
		top: auto;
		right: auto;
		left: auto;
		display: none;
		width: 100%;
		flex-direction: column;
		gap: 0;
		order: 1;
	}

	.page-action {
		top: auto;
		right: auto;
		width: 56px;
		height: 56px;
	}

	.mobile-tools-toggle {
		display: grid;
		width: 56px;
		height: 56px;
		padding: 0;
		place-items: center;
		color: var(--one-accent);
		background: var(--one-paper);
		border: 0;
		border-radius: 50%;
		box-shadow: 0 10px 28px rgba(42, 37, 32, .16), inset 0 1px 0 rgba(255,255,255,.72);
		cursor: pointer;
	}

	.mobile-tools-toggle svg {
		width: 23px;
		height: 23px;
		fill: none;
		stroke: currentColor;
		stroke-linecap: round;
		stroke-linejoin: round;
		stroke-width: 2.8;
	}

	.floating-tools:not(.is-open) {
		height: auto;
		min-height: 56px;
	}

	.floating-tools:not(.is-open) > .floating-theme-toggle,
	.floating-tools:not(.is-open) > .contact-email {
		display: none;
	}

	.floating-tools:not(.is-open) > .page-actions {
		display: none;
	}

	.floating-tools:not(.is-open) > .back-to-top:not(.is-visible) {
		display: none;
	}

	.floating-tools:not(.is-open) > .back-to-top.is-visible {
		display: grid;
		order: 1;
		width: 56px !important;
		height: 56px !important;
		border: 0;
		border-radius: 50%;
	}

	.floating-tools:not(.is-open) > .mobile-tools-toggle {
		order: 2;
	}

	.floating-tools.is-open {
		position: fixed;
		width: min(230px, calc(100vw - 24px));
		max-width: 230px;
		height: auto;
		align-items: stretch;
		padding: 12px 12px 76px;
		border: 0;
		border-radius: 0;
		background: transparent;
		box-shadow: none;
	}

	.floating-tools.is-open::before {
		position: absolute;
		z-index: 0;
		top: 0;
		right: 0;
		bottom: 64px;
		left: 0;
		background: var(--one-paper);
		border: 1px solid color-mix(in srgb, var(--one-line), transparent 28%);
		border-radius: 28px;
		box-shadow: var(--one-bubble-shadow);
		content: "";
	}

	.floating-tools.is-open .mobile-tools-toggle {
		position: absolute;
		right: 0;
		bottom: 0;
		display: grid;
		order: 4;
		z-index: 1;
	}

	.floating-tools.is-open > .page-actions {
		display: flex;
		position: relative;
		z-index: 1;
	}

	.floating-tools.is-open .page-actions .page-action {
		display: flex;
		position: relative;
		top: auto;
		right: auto;
		width: 100% !important;
		min-height: 52px;
		height: 52px !important;
		gap: 12px;
		padding: 8px 10px 8px 60px;
		align-items: center;
		justify-content: flex-start;
		color: color-mix(in srgb, var(--one-ink), transparent 24%);
		font-family: var(--one-sans);
		font-size: 15px;
		font-weight: 560;
		letter-spacing: .04em;
		line-height: 1.15;
		border: 0;
		border-radius: 18px;
		background: transparent;
		box-shadow: none;
		transform: none;
		z-index: 1;
	}

	.floating-tools.is-open .page-actions .page-action:hover,
	.floating-tools.is-open .page-actions .page-action:focus-visible {
		color: var(--one-accent);
		background: color-mix(in srgb, var(--one-accent), transparent 90%);
		transform: none;
	}

	.floating-tools.is-open .page-actions .page-action > svg {
		position: absolute;
		top: 9px;
		left: 10px;
		display: block;
		width: 34px;
		height: 34px;
		padding: 7px;
		color: var(--one-accent);
		background: color-mix(in srgb, var(--one-line), transparent 70%);
		border-radius: 50%;
	}

	.floating-tools.is-open .page-actions .page-action[data-tooltip]::before {
		display: none;
	}

	.floating-tools.is-open .page-actions .page-action-back::after { content: "返回"; }
	.floating-tools.is-open .page-actions .page-action-forward::after { content: "前进"; }
	.floating-tools.is-open .page-actions .page-action-share::after { content: "分享"; }

	.floating-tools.is-open .page-actions .page-action-back { order: 1; }
	.floating-tools.is-open .page-actions .page-action-forward { order: 2; }
	.floating-tools.is-open .page-actions .page-action-share { order: 3; }

	.floating-tools.is-open > .floating-theme-toggle,
	.floating-tools.is-open > .contact-email,
	.floating-tools.is-open > .back-to-top.is-visible {
		display: flex;
		width: 100% !important;
		min-height: 52px;
		height: 52px !important;
		gap: 12px;
		padding: 8px 10px 8px 60px;
		align-items: center;
		justify-content: flex-start;
		color: color-mix(in srgb, var(--one-ink), transparent 24%);
		font-family: var(--one-sans);
		font-size: 15px;
		font-weight: 560;
		letter-spacing: .04em;
		line-height: 1.15;
		border: 0;
		border-radius: 18px;
		background: transparent;
		box-shadow: none;
		transform: none;
		position: relative;
		z-index: 1;
	}

	.floating-tools.is-open > .floating-theme-toggle > svg,
	.floating-tools.is-open > .contact-email > svg,
	.floating-tools.is-open > .back-to-top.is-visible > svg {
		position: absolute;
		top: 9px;
		left: 10px;
		display: block;
		width: 34px;
		height: 34px;
		padding: 7px;
		color: var(--one-accent);
		background: color-mix(in srgb, var(--one-line), transparent 70%);
		border-radius: 50%;
	}

	.floating-tools.is-open > .floating-theme-toggle > .theme-icon {
		position: absolute;
	}

	.floating-tools.is-open > .back-to-top.is-visible::after { content: "返回顶部"; }
	.floating-tools.is-open > .floating-theme-toggle::after { content: "模式切换"; }
	.floating-tools.is-open > .contact-email::after { content: "邮箱"; }

	.floating-tools.is-open > .back-to-top.is-visible {
		order: 1;
		display: none !important;
	}

	.floating-tools.is-open > .back-to-top {
		display: none !important;
	}

	.floating-tools.is-open > .floating-theme-toggle {
		order: 3;
	}

	.floating-tools.is-open > .contact-email {
		order: 4;
	}

	body .floating-tools .floating-theme-toggle,
	body .floating-tools .contact-email,
	body .floating-tools .back-to-top.is-visible {
		width: 40px;
		height: 40px;
		background: var(--one-paper);
		border-radius: 50%;
		box-shadow: 0 5px 16px rgba(55, 48, 42, .14);
	}

	body .floating-tools .floating-theme-toggle,
	body .floating-tools .contact-email {
		border-radius: 50%;
	}

	.floating-tools .back-to-top {
		width: 0;
		height: 40px;
		transform: translateX(6px);
		transition: width .2s ease, color .2s ease, opacity .2s ease, transform .2s ease, background-color .2s ease;
	}

	.floating-tools .back-to-top.is-visible {
		transform: translateX(0);
	}

	body:has(input:focus, textarea:focus) .floating-tools {
		opacity: 0;
		pointer-events: none;
		transform: translateY(8px);
	}

	body:has(input:focus, textarea:focus) .mobile-dock-navigation {
		opacity: 0;
		pointer-events: none;
		transform: translateY(12px) scale(.96);
	}

}


@media (min-width: 721px) and (max-width: 1280px) {
	/* Pad 使用手机端导航与工具组，但保留平板内容区比例。 */
	.featured-grid {
		grid-template-columns: 1fr 1fr;
		grid-template-rows: 155px 155px;
		margin-bottom: 52px;
	}

	.featured-grid.featured-count-1 {
		grid-template-columns: 1fr;
		grid-template-rows: 320px;
	}

	.featured-grid.featured-count-2 {
		grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
		grid-template-rows: 320px;
	}

	.featured-grid.featured-count-3 {
		grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
	}

	.featured-grid.featured-has-carousel {
		display: grid;
		grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
		margin-bottom: 52px;
	}

	.featured-grid.featured-has-carousel .featured-carousel {
		width: auto;
		aspect-ratio: auto;
		border-radius: 4px;
		box-shadow: none;
	}

	.featured-grid.featured-has-carousel .featured-side-card,
	.featured-grid.featured-has-carousel .featured-carousel-button {
		display: block;
	}

	.post-card-link {
		grid-template-columns: minmax(0, 1fr) 150px;
		gap: 34px;
	}

	.post-card-link.has-no-thumbnail {
		grid-template-columns: minmax(0, 1fr);
	}

	.post-card-media {
		order: initial;
		width: 150px;
		height: auto;
	}
}

@media (min-width: 721px) and (max-width: 1280px) {
	.floating-tools {
		right: 20px;
	}
}

@media (max-width: 500px) {
	.text-logo {
		gap: 9px;
	}

	.seal {
		width: 36px;
		height: 36px;
		font-size: 21px;
	}

	.seal.seal-multi {
		font-size: 14px;
	}

	.seal.seal-stacked {
		font-size: 12px;
	}

	.seal.seal-small {
		font-size: 10px;
	}

	.site-title {
		font-size: 21px;
	}

	.header-current-date {
		height: 36px;
		padding: 0 10px;
		font-size: 21px;
	}

	.featured-grid {
		grid-template-columns: 1fr;
		grid-template-rows: 96px 60px 60px;
		margin-bottom: 22px;
	}

	.featured-card:first-child {
		grid-row: auto;
	}

	.post-card-link {
		grid-template-columns: 1fr;
	}

	.post-card-media {
		order: -1;
		width: 100%;
		height: 180px;
	}

	/* 幻灯片作为横幅主视觉，文章封面恢复为紧凑缩略图，避免两者同质化。 */
	.post-card-link:not(.has-no-thumbnail) {
		grid-template-columns: minmax(0, 1fr) 96px;
		gap: 16px;
		align-items: center;
	}

	.post-card-link:not(.has-no-thumbnail) .post-card-media {
		order: 0;
		width: 96px;
		height: 96px;
		align-self: center;
	}

	.entry-meta {
		gap: 6px 12px;
	}

	.post-navigation .nav-links,
	.comment-form {
		grid-template-columns: 1fr;
	}

	.archive-overview {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		margin-bottom: 38px;
	}

	.archive-overview-item {
		min-height: 66px;
		padding: 12px 8px;
		flex-direction: column;
		align-items: center;
		gap: 1px;
	}

	.archive-category-grid {
		grid-template-columns: 1fr;
	}

	.archive-year-block {
		grid-template-columns: 1fr;
		gap: 12px;
		padding: 26px 0 30px 28px;
	}

	.archive-years::before {
		--one-archive-rail-x: 6px;
		top: 32px;
		bottom: 24px;
	}

	.archive-year-block:first-child {
		padding-top: 8px;
	}

	.archive-year-block:last-child {
		padding-bottom: 8px;
	}

	.archive-year-block::before {
		top: 31px;
		left: 0;
		width: 10px;
		height: 10px;
	}

	.archive-year-heading {
		display: flex;
		align-items: baseline;
		gap: 10px;
		text-align: left;
	}

	.archive-month-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.post-navigation .nav-next {
		border: 0;
	}

	.post-navigation .nav-previous:only-child,
	.post-navigation .nav-next:only-child {
		border-top: 0;
	}

	.post-navigation a {
		min-height: 112px;
		padding: 20px;
	}

	.comment-form > * {
		grid-column: 1;
	}

	.comment-respond {
		padding: 18px 18px 20px;
	}

	.comment-list .children {
		margin-left: 18px;
		padding-left: 0;
	}
}

@media (max-width: 720px) {
	.novel-section-rail,
	html.one-phone-layout .novel-section-rail {
		top: 50%;
		left: auto;
		right: 8px;
		gap: 18px;
		z-index: 60;
	}

	.novel-section-rail-track,
	html.one-phone-layout .novel-section-rail-track {
		min-height: 116px;
	}

	.novel-section-rail-nav,
	html.one-phone-layout .novel-section-rail-nav {
		min-height: 116px;
		gap: 2px;
	}

	.novel-section-rail-nav a,
	html.one-phone-layout .novel-section-rail-nav a {
		font-size: 10px;
		letter-spacing: .08em;
	}

	.novel-section-rail-nav a::before,
	html.one-phone-layout .novel-section-rail-nav a::before {
		left: -11px;
		width: 4px;
		height: 4px;
	}

	.novel-directory-main {
		padding-top: 12px;
	}

	.novel-hero {
		grid-template-columns: 1fr;
		gap: 20px;
		padding: 10px 0 22px;
	}

	.novel-title {
		max-width: none;
		font-size: clamp(34px, 11vw, 54px);
	}

	.novel-cover {
		width: min(100%, 220px);
		max-height: 220px;
	}

	.novel-meta-grid {
		grid-template-columns: 1fr;
		gap: 24px;
		margin-top: 28px;
	}

	.novel-chapters {
		margin-top: 28px;
	}

	.novel-intro-copy {
		font-size: 16px;
	}

	.novel-character-grid {
		grid-template-columns: 1fr;
	}

	.novel-character {
		padding: 6px 10px;
	}

	.novel-section-heading {
		align-items: center;
	}

	.novel-section-title {
		font-size: 30px;
	}

	.novel-order-toggle {
		min-height: 34px;
		padding: 6px 10px;
		font-size: 12px;
	}

	.novel-chapter-item a {
		grid-template-columns: 38px minmax(0, 1fr) auto;
		gap: 10px;
		padding: 18px 0;
	}

	.novel-chapter-title {
		font-size: 17px;
	}
}

/* 手机布局由 UA 判定时也要显示轨道，即使浏览器视口宽度未落入 720px 媒体查询。 */
html.one-phone-layout .novel-section-rail {
	top: 50%;
	left: auto;
	right: 8px;
	z-index: 60;
}

html.one-phone-layout .novel-section-rail-track,
html.one-phone-layout .novel-section-rail-nav {
	min-height: 116px;
}

html.one-phone-layout .novel-section-rail-nav {
	gap: 2px;
}

html.one-phone-layout .novel-section-rail-nav a {
	font-size: 10px;
	letter-spacing: .08em;
}

html.one-phone-layout .novel-section-rail-nav a[data-level="1"] {
	font-size: 11px;
}

html.one-phone-layout .novel-section-rail-nav a[data-level="2"] {
	padding-left: 9px;
	font-size: 9px;
}

@media (prefers-reduced-motion: reduce) {
	* {
		scroll-behavior: auto !important;
		transition: none !important;
	}

	.footer-message-text,
	.footer-typewriter-stage {
		animation: none !important;
	}

	.one-ambient-effect {
		display: none;
	}

	.one-landing-screen {
		transition-duration: .01ms;
	}
}

@media print {
	.one-ambient-effect {
		display: none;
	}

	.one-landing-screen {
		display: none;
	}
}

/* Tag index: an editorial map of the site's vocabulary. */
.tag-statistics-main {
	--tag-stat-border: color-mix(in srgb, var(--one-line), transparent 15%);
}

.tag-statistics-header {
	max-width: 760px;
	padding-bottom: 30px;
}

.tag-statistics-overview {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
	margin: 20px 0 64px;
}

.tag-statistics-metric {
	position: relative;
	display: flex;
	min-height: 108px;
	padding: 20px 22px;
	flex-direction: column;
	justify-content: center;
	gap: 6px;
	background: color-mix(in srgb, var(--one-paper), transparent 8%);
	border: 1px solid var(--tag-stat-border);
	border-radius: 12px;
	box-shadow: 0 12px 26px rgba(42, 37, 32, .05);
	overflow: hidden;
}

.tag-statistics-metric::after {
	position: absolute;
	right: -18px;
	bottom: -28px;
	width: 82px;
	height: 82px;
	border: 1px solid color-mix(in srgb, var(--one-accent), transparent 55%);
	border-radius: 50%;
	content: "";
}

.tag-statistics-metric-primary {
	background: color-mix(in srgb, var(--one-accent), var(--one-paper) 90%);
	border-color: color-mix(in srgb, var(--one-accent), var(--one-line) 40%);
}

.tag-statistics-metric-primary.is-active {
	border: 1.5px solid var(--one-accent);
	box-shadow: 0 12px 26px rgba(42, 37, 32, .05), inset 0 0 0 2px color-mix(in srgb, var(--one-accent), transparent 88%);
}

.tag-statistics-metric-state {
	position: absolute;
	top: 14px;
	right: 17px;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	color: var(--one-accent);
	font-family: var(--one-sans);
	font-size: 9px;
	font-style: normal;
	letter-spacing: .08em;
	white-space: nowrap;
}

.tag-statistics-metric-state::before {
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: currentColor;
	content: "";
}

.tag-statistics-metric strong {
	color: var(--one-ink);
	font-family: var(--one-serif);
	font-size: 30px;
	font-weight: 600;
	line-height: 1;
	font-variant-numeric: tabular-nums;
}

.tag-statistics-metric-primary strong {
	color: var(--one-accent);
}

.tag-statistics-metric span {
	color: var(--one-muted);
	font-family: var(--one-sans);
	font-size: 11px;
	letter-spacing: .1em;
}

.tag-statistics-featured,
.tag-statistics-cloud-section {
	margin-top: 52px;
}

.tag-statistics-section-heading {
	display: flex;
	margin-bottom: 24px;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
}

.tag-statistics-section-heading p {
	margin: 0 0 5px;
	color: var(--one-accent);
	font-family: var(--one-sans);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .24em;
}

.tag-statistics-section-heading h2 {
	margin: 0;
	font-size: 28px;
	font-weight: 600;
	letter-spacing: .04em;
}

.tag-statistics-section-heading > span {
	color: var(--one-muted);
	font-family: var(--one-sans);
	font-size: 11px;
	letter-spacing: .08em;
}

.tag-statistics-featured-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.tag-statistics-featured-card {
	position: relative;
	display: grid;
	min-height: 150px;
	padding: 20px 20px 18px;
	grid-template-columns: 36px minmax(0, 1fr) auto;
	grid-template-rows: auto 1fr auto;
	align-items: start;
	background: linear-gradient(145deg, color-mix(in srgb, var(--one-paper), var(--one-bg) 12%), var(--one-paper));
	border: 1px solid var(--tag-stat-border);
	border-radius: 16px;
	box-shadow: 0 10px 24px rgba(42, 37, 32, .045);
	overflow: hidden;
	transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.tag-statistics-featured-card::before {
	position: absolute;
	top: 17px;
	right: 17px;
	width: 28px;
	height: 28px;
	border: 1px solid color-mix(in srgb, var(--one-accent), transparent 48%);
	border-bottom-color: transparent;
	border-left-color: transparent;
	border-radius: 50%;
	content: "";
	opacity: .75;
	transition: transform .25s ease, opacity .25s ease;
}

.tag-statistics-featured-card::after {
	display: none;
}

.tag-statistics-featured-card:hover {
	border-color: color-mix(in srgb, var(--one-accent), var(--one-line) 30%);
	box-shadow: 0 15px 30px rgba(42, 37, 32, .09);
	transform: translateY(-2px);
}

.tag-statistics-featured-card:hover::before {
	transform: rotate(18deg);
	opacity: 1;
}

.tag-statistics-featured-index {
	color: var(--one-accent);
	font-family: var(--one-sans);
	font-size: 10px;
	letter-spacing: .1em;
}

.tag-statistics-featured-name {
	grid-column: 2;
	color: var(--one-ink);
	font-size: 21px;
	line-height: 1.3;
}

.tag-statistics-featured-count {
	grid-column: 3;
	color: var(--one-muted);
	font-family: var(--one-sans);
	font-size: 11px;
	white-space: nowrap;
}

.tag-statistics-featured-bar {
	display: none;
}

.tag-statistics-featured-bar i {
	display: none;
}

.tag-statistics-cloud {
	display: flex;
	position: relative;
	min-height: 340px;
	padding: 38px 30px 46px;
	flex-wrap: wrap;
	align-content: flex-start;
	align-items: flex-start;
	gap: 10px 16px;
	background: color-mix(in srgb, var(--one-paper), transparent 5%);
	border: 1px solid var(--tag-stat-border);
	border-radius: 12px;
	box-shadow: 0 12px 26px rgba(42, 37, 32, .04);
}

.tag-statistics-chip {
	display: inline-flex;
	position: relative;
	padding: 9px 12px 8px;
	align-items: baseline;
	gap: 7px;
	color: var(--one-ink);
	font-size: var(--tag-size, 14px);
	line-height: 1;
	background: color-mix(in srgb, var(--one-accent), var(--one-paper) 93%);
	border: 1px solid transparent;
	border-radius: 6px;
	transform: translateY(var(--tag-y, 0px)) rotate(var(--tag-rotate, 0deg));
	transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.tag-statistics-chip:nth-child(4n + 2) { background: color-mix(in srgb, #667f8f, var(--one-paper) 91%); }
.tag-statistics-chip:nth-child(4n + 3) { background: color-mix(in srgb, #9c7a68, var(--one-paper) 91%); }
.tag-statistics-chip:nth-child(4n + 4) { background: color-mix(in srgb, #76836b, var(--one-paper) 91%); }

/* A loose, hand-set rhythm keeps the tag index from reading like a table. */
.tag-statistics-chip:nth-child(7n + 1) { --tag-rotate: -4deg; --tag-y: 8px; margin-top: 4px; }
.tag-statistics-chip:nth-child(7n + 2) { --tag-rotate: 3deg; --tag-y: -7px; margin-top: 10px; }
.tag-statistics-chip:nth-child(7n + 3) { --tag-rotate: -2deg; --tag-y: 14px; margin-top: 2px; }
.tag-statistics-chip:nth-child(7n + 4) { --tag-rotate: 4deg; --tag-y: -12px; margin-top: 8px; }
.tag-statistics-chip:nth-child(7n + 5) { --tag-rotate: -1deg; --tag-y: 5px; margin-top: 14px; }
.tag-statistics-chip:nth-child(7n + 6) { --tag-rotate: -4.5deg; --tag-y: 16px; margin-top: 0; }
.tag-statistics-chip:nth-child(7n) { --tag-rotate: 2deg; --tag-y: -8px; margin-top: 6px; }

.tag-statistics-chip:nth-child(9n + 1) { margin-left: 8px; }
.tag-statistics-chip:nth-child(9n + 5) { margin-right: 14px; }
.tag-statistics-chip:nth-child(11n + 3) { padding-right: 17px; }
.tag-statistics-chip:nth-child(11n + 8) { padding-left: 17px; }
.tag-statistics-chip:nth-child(5n + 1) { border-radius: 10px 5px 8px 4px; }
.tag-statistics-chip:nth-child(5n + 2) { border-radius: 5px 11px 4px 8px; }
.tag-statistics-chip:nth-child(5n + 3) { border-radius: 7px 4px 10px 5px; }

.tag-statistics-chip small {
	color: var(--one-muted);
	font-family: var(--one-sans);
	font-size: 10px;
}

.tag-statistics-chip:hover {
	color: var(--one-accent);
	border-color: color-mix(in srgb, var(--one-accent), var(--one-line) 35%);
	transform: translateY(calc(var(--tag-y, 0px) - 3px)) rotate(var(--tag-rotate, 0deg)) scale(1.03);
}

.tag-statistics-chip.is-empty {
	color: var(--one-muted);
	background: transparent;
	border-color: var(--one-line);
}

/* The complete tag index becomes a compact, unordered scatter field once its
 * script is ready. Chips keep their own space so text remains readable. */
.tag-statistics-cloud.is-scatter-cloud {
	display: block;
	min-height: 390px;
	overflow: hidden;
}

.tag-statistics-cloud.is-scatter-cloud .tag-statistics-chip {
	position: absolute;
	left: 0;
	top: 0;
	margin: 0 !important;
	background: color-mix(in srgb, hsl(var(--tag-hue, 8) 72% 66%) var(--tag-tone, 8%), var(--one-paper)) !important;
	border-color: color-mix(in srgb, hsl(var(--tag-hue, 8) 58% 48%) var(--tag-tone, 8%), var(--one-line) 72%);
	cursor: grab;
	touch-action: none;
	user-select: none;
}

.tag-statistics-cloud.is-scatter-cloud .tag-statistics-chip.is-dragging {
	z-index: 4;
	cursor: grabbing;
	transition: none;
	box-shadow: 0 8px 18px rgba(42, 37, 32, .12);
}

.tag-statistics-cloud.is-scatter-cloud .tag-statistics-chip small {
	color: color-mix(in srgb, hsl(var(--tag-hue, 8) 48% 38%), var(--one-muted) 48%);
}

.tag-statistics-cloud.is-scatter-cloud .tag-statistics-chip.is-empty {
	background: color-mix(in srgb, var(--one-paper), transparent 12%) !important;
}

.tag-statistics-empty {
	padding: 28px 0;
	color: var(--one-muted);
	text-align: center;
}

body.one-dark .tag-statistics-metric,
body.one-dark .tag-statistics-featured-card,
body.one-dark .tag-statistics-cloud {
	box-shadow: 0 14px 30px rgba(0, 0, 0, .16);
}

@media (max-width: 900px) {
	.tag-statistics-overview,
	.tag-statistics-featured-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.tag-statistics-overview,
	.tag-statistics-featured-grid {
		grid-template-columns: 1fr;
	}

	.tag-statistics-overview {
		margin-bottom: 42px;
	}

	.tag-statistics-section-heading {
		align-items: flex-start;
		flex-direction: column;
		gap: 8px;
	}

	.tag-statistics-section-heading h2 {
		font-size: 24px;
	}

	.tag-statistics-cloud {
		min-height: 260px;
		padding: 24px 18px 30px;
		gap: 8px 12px;
	}

	.tag-statistics-cloud.is-scatter-cloud {
		min-height: 230px;
	}

	.tag-statistics-chip {
		--tag-rotate: 0deg;
		--tag-y: 0px;
		margin-top: 0;
	}

	.tag-statistics-cloud.is-scatter-cloud .tag-statistics-chip {
		--tag-rotate: 0deg !important;
		--tag-y: 0px !important;
		margin-top: 0 !important;
	}
}

/* Final responsive navigation override: 1280px and below is the Pad/phone
 * bubble layout; only wider screens keep the desktop left rail. */
@media (max-width: 1280px) {
	html body nav.main-navigation,
	html body.one-nav-external nav.main-navigation {
		display: none !important;
		visibility: hidden !important;
		opacity: 0 !important;
		pointer-events: none !important;
	}

	html body nav.mobile-dock-navigation,
	html body.one-nav-external nav.mobile-dock-navigation {
		display: flex !important;
		visibility: visible !important;
		opacity: 1 !important;
		pointer-events: auto !important;
		position: fixed !important;
		left: 12px !important;
		right: auto !important;
		width: 56px !important;
		max-width: 56px !important;
		margin: 0 !important;
		flex-direction: column !important;
		align-items: flex-start !important;
	}

	html body nav.mobile-dock-navigation.is-open,
	html body.one-nav-external nav.mobile-dock-navigation.is-open {
		width: min(230px, calc(100vw - 24px)) !important;
		max-width: 230px !important;
	}

	html body nav.mobile-dock-navigation:not(.is-open) .mobile-dock-shell,
	html body.one-nav-external nav.mobile-dock-navigation:not(.is-open) .mobile-dock-shell {
		display: none !important;
	}

	html body nav.mobile-dock-navigation.is-open .mobile-dock-shell,
	html body.one-nav-external nav.mobile-dock-navigation.is-open .mobile-dock-shell {
		display: block !important;
		width: 100% !important;
	}

	html body .floating-tools .page-actions,
	html body.one-nav-external .floating-tools .page-actions {
		display: none !important;
		visibility: hidden !important;
		opacity: 0 !important;
		pointer-events: none !important;
	}

	html body .floating-tools .mobile-tools-toggle,
	html body.one-nav-external .floating-tools .mobile-tools-toggle {
		display: grid !important;
		visibility: visible !important;
		opacity: 1 !important;
	}
}

@media (min-width: 1281px) {
	html body nav.mobile-dock-navigation,
	html body.one-nav-external nav.mobile-dock-navigation {
		display: none !important;
		visibility: hidden !important;
		opacity: 0 !important;
		pointer-events: none !important;
	}

	html body nav.main-navigation,
	html body.one-nav-external nav.main-navigation {
		display: flex !important;
		visibility: visible !important;
		opacity: 1 !important;
		pointer-events: auto !important;
	}
}
