/*
Theme Name: Paper Signal
Theme URI: https://blog.gui.ge/
Author: Codex
Author URI: https://blog.gui.ge/
Description: A lighter, cleaner technical blog theme with the current site's familiar structure.
Version: 1.2.5
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
Text Domain: paper-signal
*/

 :root {
	--ps-bg: #111c2c;
	--ps-bg-soft: #18283c;
	--ps-surface: rgba(30, 45, 66, 0.92);
	--ps-surface-soft: #21344d;
	--ps-surface-strong: #2b415c;
	--ps-line: #3c5574;
	--ps-line-strong: #526f94;
	--ps-text: #f0f6ff;
	--ps-text-soft: #c3d1e2;
	--ps-text-faint: #91a6bd;
	--ps-accent: #8d9cff;
	--ps-accent-strong: #bbc6ff;
	--ps-shadow: 0 18px 45px rgba(5, 14, 28, 0.26);
	--ps-radius-lg: 28px;
	--ps-radius-md: 20px;
	--ps-radius-sm: 14px;
	--ps-shell: min(1180px, calc(100vw - 48px));
	--ps-content: min(760px, 100%);
	--ps-hero-image: 300px;
	--ps-transition: 180ms ease;
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	color: var(--ps-text);
	font-family: "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
	background:
		radial-gradient(circle at 10% 12%, rgba(129, 140, 248, 0.22), transparent 28%),
		radial-gradient(circle at 88% 14%, rgba(56, 189, 248, 0.18), transparent 22%),
		radial-gradient(circle at 56% 78%, rgba(244, 114, 182, 0.13), transparent 22%),
		linear-gradient(155deg, #101827 0%, #17263a 44%, #203049 100%);
	background-size: auto, auto, auto, auto;
	line-height: 1.7;
	position: relative;
}

body::before,
body::after {
	content: "";
	position: fixed;
	inset: auto;
	pointer-events: none;
	z-index: -1;
}

body::before {
	top: 86px;
	right: 4vw;
	width: 240px;
	height: 240px;
	border-radius: 32px;
	background:
		linear-gradient(135deg, rgba(129, 140, 248, 0.18), rgba(30, 45, 66, 0.1)),
		radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.11), transparent 38%);
	transform: rotate(12deg);
	opacity: 0.72;
}

body::after {
	left: -70px;
	bottom: 10vh;
	width: 220px;
	height: 220px;
	border-radius: 999px;
	background: radial-gradient(circle, rgba(56, 189, 248, 0.18), transparent 68%);
}

a {
	color: var(--ps-accent);
	text-decoration: none;
	transition: color var(--ps-transition), opacity var(--ps-transition), transform var(--ps-transition);
}

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

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

input,
textarea,
select,
button {
	font: inherit;
}

button {
	border: 0;
	background: none;
	cursor: pointer;
}

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

.skip-link:focus {
	position: fixed;
	top: 16px;
	left: 16px;
	z-index: 999;
	width: auto;
	height: auto;
	padding: 12px 16px;
	clip: auto;
	background: var(--ps-text);
	color: #fff;
	border-radius: 999px;
}

.ps-shell {
	width: var(--ps-shell);
	margin: 0 auto;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	padding: 18px 0;
	backdrop-filter: blur(18px);
	background: rgba(17, 28, 44, 0.8);
	border-bottom: 1px solid rgba(82, 111, 148, 0.62);
	box-shadow: 0 14px 28px rgba(5, 14, 28, 0.22);
}

.site-header__inner {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 18px;
}

.site-brand {
	display: inline-flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.site-brand__eyebrow {
	font-size: 11px;
	letter-spacing: 0;
	text-transform: uppercase;
	color: var(--ps-text-faint);
}

.site-brand__name {
	font-size: 18px;
	font-weight: 700;
	color: var(--ps-text);
	line-height: 1.15;
}

.site-header__nav {
	justify-self: center;
	padding: 6px;
	border-radius: 999px;
	background: rgba(24, 38, 57, 0.86);
	border: 1px solid rgba(82, 111, 148, 0.82);
	box-shadow: 0 12px 28px rgba(5, 14, 28, 0.18);
}

.site-header__nav > div {
	display: flex;
}

.site-header__nav ul,
.site-footer__links ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.site-header__nav a,
.site-footer__links a {
	display: inline-flex;
	align-items: center;
	padding: 10px 14px;
	border-radius: 999px;
	color: #d3deee;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0;
}

.site-header__nav a:hover,
.site-footer__links a:hover,
.site-header__nav .current-menu-item > a,
.site-header__nav .current_page_item > a {
	background: linear-gradient(135deg, rgba(99, 102, 241, 0.95), rgba(59, 130, 246, 0.92));
	color: #f8fbff;
	box-shadow: 0 10px 24px rgba(37, 99, 235, 0.24);
}

.site-header__actions {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.theme-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 44px;
	padding: 0 14px;
	border-radius: 14px;
	background: rgba(24, 38, 57, 0.88);
	border: 1px solid var(--ps-line);
	color: #d3deee;
	box-shadow: 0 10px 24px rgba(5, 14, 28, 0.18);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: uppercase;
}

.theme-toggle:hover {
	color: var(--ps-text);
	transform: translateY(-1px);
}

.theme-toggle__label {
	line-height: 1;
}

.header-toggle,
.header-search__toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 14px;
	background: rgba(24, 38, 57, 0.88);
	border: 1px solid var(--ps-line);
	color: #d3deee;
	box-shadow: 0 10px 24px rgba(5, 14, 28, 0.18);
}

.header-toggle {
	display: none;
}

.header-toggle:hover,
.header-search__toggle:hover {
	color: var(--ps-text);
	transform: translateY(-1px);
}

.header-search {
	position: relative;
}

.header-search__panel {
	position: absolute;
	right: 0;
	top: calc(100% + 12px);
	width: min(360px, calc(100vw - 32px));
	padding: 18px;
	border: 1px solid var(--ps-line);
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.96);
	box-shadow: var(--ps-shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-8px);
	transition: opacity var(--ps-transition), visibility var(--ps-transition), transform var(--ps-transition);
}

.header-search.is-open .header-search__panel {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.search-form {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 10px;
}

.search-field {
	width: 100%;
	padding: 14px 16px;
	border-radius: 14px;
	border: 1px solid var(--ps-line);
	background: var(--ps-bg-soft);
	color: var(--ps-text);
}

.search-submit {
	padding: 0 18px;
	border-radius: 14px;
	background: var(--ps-text);
	color: #fff;
}

.site-main {
	padding: 36px 0 72px;
}

.intro-card {
	padding: 52px 32px 40px;
	text-align: center;
	background:
		radial-gradient(circle at top left, rgba(56, 189, 248, 0.18), transparent 30%),
		linear-gradient(145deg, rgba(12, 19, 31, 0.98), rgba(15, 35, 52, 0.96) 42%, rgba(15, 118, 110, 0.88) 100%);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 36px;
	box-shadow: 0 24px 50px rgba(8, 15, 24, 0.22);
	position: relative;
	overflow: hidden;
}

.intro-card::before,
.intro-card::after {
	content: "";
	position: absolute;
	pointer-events: none;
}

.intro-card::before {
	top: -1px;
	left: -1px;
	right: -1px;
	height: 6px;
	background: linear-gradient(90deg, rgba(56, 189, 248, 0.55), rgba(15, 118, 110, 0.75), rgba(255, 255, 255, 0.2));
}

.intro-card::after {
	inset: 0;
	background:
		radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.11), transparent 22%),
		linear-gradient(120deg, rgba(255, 255, 255, 0.08), transparent 42%);
	opacity: 0.42;
}

.intro-card-thumb {
	position: relative;
	width: 132px;
	height: 132px;
	padding: 8px;
	margin: 0 auto 26px;
	border-radius: 999px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(232, 239, 246, 0.92));
	border: 1px solid rgba(255, 255, 255, 0.22);
	box-shadow: 0 20px 36px rgba(8, 15, 24, 0.22);
}

.intro-card-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 999px;
}

.intro-card-thumb::after {
	content: "";
	position: absolute;
	inset: -12px;
	border-radius: 999px;
	border: 1px dashed rgba(255, 255, 255, 0.3);
}

.intro-card-kicker {
	margin: 0 0 12px;
	color: rgba(226, 236, 247, 0.68);
	font-size: 11px;
	letter-spacing: 0;
	text-transform: uppercase;
}

.intro-card-title {
	margin: 0 auto 18px;
	font-size: clamp(2.1rem, 5vw, 4rem);
	line-height: 1.05;
	letter-spacing: 0;
	font-weight: 800;
	color: #f8fbff;
	max-width: 720px;
}

.intro-card-title--image {
	max-width: min(100%, var(--ps-hero-image));
}

.intro-card-subtitle {
	max-width: 720px;
	margin: 0 auto 24px;
	padding: 16px 20px;
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.12);
	color: rgba(241, 247, 252, 0.9);
	font-size: 17px;
	line-height: 1.8;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
	backdrop-filter: blur(18px);
}

.intro-card-subtitle__text,
.intro-card-desc {
	margin: 0;
}

.intro-card-desc {
	max-width: 760px;
	margin: 0 auto 28px;
	color: rgba(226, 236, 247, 0.72);
	font-size: 17px;
}

.social-links {
	list-style: none;
	padding: 0;
	margin: 0;
	display: inline-flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
}

.social-links a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 16px;
	background: var(--ps-surface);
	border: 1px solid var(--ps-line);
	box-shadow: 0 12px 24px rgba(24, 36, 48, 0.05);
}

.social-links a:hover {
	transform: translateY(-2px);
}

.social-links .fa-twitter,
.social-links .fa-x-twitter {
	color: #ffffff !important;
}

.featured-posts {
	margin-top: 26px;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.featured-ads {
	margin-top: 26px;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.featured-ad-tile {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 92px;
	padding: 14px 18px;
	border-radius: 18px;
	border: 1px solid rgba(99, 102, 241, 0.34);
	background:
		radial-gradient(circle at top right, rgba(129, 140, 248, 0.22), transparent 34%),
		linear-gradient(135deg, rgba(15, 23, 42, 0.99), rgba(55, 48, 163, 0.94) 56%, rgba(30, 41, 59, 0.99));
	box-shadow:
		0 14px 30px rgba(10, 18, 31, 0.18),
		inset 0 1px 0 rgba(255, 255, 255, 0.08);
	overflow: hidden;
}

.featured-ad-tile::before {
	content: "推广";
	position: absolute;
	top: 12px;
	right: 14px;
	padding: 2px 8px;
	border-radius: 999px;
	background: rgba(244, 114, 182, 0.16);
	color: rgba(251, 207, 232, 0.98);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: uppercase;
}

.featured-ad-tile::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at top left, rgba(255, 255, 255, 0.12), transparent 24%),
		linear-gradient(135deg, rgba(99, 102, 241, 0.12), transparent 52%);
	opacity: 0.78;
	pointer-events: none;
}

.featured-ad-tile:hover {
	transform: translateY(-2px);
	box-shadow:
		0 18px 38px rgba(10, 18, 31, 0.24),
		0 0 0 1px rgba(129, 140, 248, 0.2);
}

.featured-ad-tile__title {
	position: relative;
	z-index: 1;
	display: block;
	width: 100%;
	padding-right: 64px;
	text-align: center;
	color: #f8fbff;
	font-size: 1rem;
	font-weight: 800;
	line-height: 1.35;
	letter-spacing: 0;
}

.featured-ad-tile--exchange .featured-ad-tile__title {
	color: #dbeafe;
}

.featured-ad-tile--wallet .featured-ad-tile__title {
	color: #f5d0fe;
}

.featured-ad-tile--vps .featured-ad-tile__title {
	color: #fde68a;
}

.featured-card {
	display: grid;
	gap: 14px;
	padding: 18px;
	background: rgba(255, 255, 255, 0.94);
	border: 1px solid var(--ps-line);
	border-radius: 24px;
	box-shadow: 0 16px 32px rgba(24, 36, 48, 0.06);
	min-height: 220px;
	position: relative;
	overflow: hidden;
}

.featured-card::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 14% 20%, rgba(255, 255, 255, 0.12), transparent 20%),
		linear-gradient(135deg, rgba(15, 118, 110, 0.08), transparent 46%);
	opacity: 0.72;
	pointer-events: none;
}

.featured-card::after {
	content: "";
	position: absolute;
	pointer-events: none;
	opacity: 0.9;
}

.featured-card > * {
	position: relative;
	z-index: 1;
}

.featured-card__meta {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	color: var(--ps-text-faint);
	font-size: 12px;
	letter-spacing: 0;
	text-transform: uppercase;
}

.featured-card__title {
	margin: 0;
	font-size: 1.1rem;
	line-height: 1.35;
}

.featured-card__title a {
	color: var(--ps-text);
}

.featured-card__title a:hover {
	color: var(--ps-accent-strong);
}

.featured-card__excerpt {
	color: var(--ps-text-soft);
	font-size: 14px;
	margin: 0;
}

.featured-card__footer {
	margin-top: auto;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 13px;
	color: var(--ps-text-faint);
}

.featured-posts > .featured-card:nth-child(4n + 1) {
	background:
		radial-gradient(circle at top right, rgba(56, 189, 248, 0.16), transparent 34%),
		linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(241, 248, 252, 0.96) 55%, rgba(229, 244, 240, 0.98) 100%);
	border-color: rgba(15, 118, 110, 0.12);
	box-shadow: 0 20px 38px rgba(24, 36, 48, 0.08);
}

.featured-posts > .featured-card:nth-child(4n + 1)::before {
	background:
		radial-gradient(circle at top right, rgba(255, 255, 255, 0.16), transparent 22%),
		linear-gradient(135deg, rgba(56, 189, 248, 0.09), transparent 48%);
}

.featured-posts > .featured-card:nth-child(4n + 1)::after {
	top: 16px;
	right: 16px;
	width: 56px;
	height: 56px;
	border-radius: 18px;
	border: 1px solid rgba(15, 118, 110, 0.18);
	background: rgba(255, 255, 255, 0.4);
}

.featured-posts > .featured-card:nth-child(4n + 1) .featured-card__meta,
.featured-posts > .featured-card:nth-child(4n + 1) .featured-card__excerpt,
.featured-posts > .featured-card:nth-child(4n + 1) .featured-card__footer {
	color: var(--ps-text-soft);
}

.featured-posts > .featured-card:nth-child(4n + 1) .featured-card__title a,
.featured-posts > .featured-card:nth-child(4n + 1) .featured-card__footer a {
	color: var(--ps-text);
}

.featured-posts > .featured-card:nth-child(4n + 2) {
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 253, 0.96)),
		var(--ps-surface);
	border-radius: 28px 28px 28px 10px;
	border-color: rgba(59, 130, 246, 0.18);
}

.featured-posts > .featured-card:nth-child(4n + 2)::before {
	background:
		radial-gradient(circle at bottom left, rgba(99, 102, 241, 0.18), transparent 24%),
		linear-gradient(135deg, rgba(59, 130, 246, 0.08), transparent 45%);
	opacity: 0.85;
}

.featured-posts > .featured-card:nth-child(4n + 2)::after {
	left: 0;
	bottom: 0;
	width: 74px;
	height: 74px;
	background: linear-gradient(135deg, transparent 49%, rgba(59, 130, 246, 0.16) 50%, rgba(15, 118, 110, 0.14) 100%);
}

.featured-posts > .featured-card:nth-child(4n + 2) .featured-card__title {
	padding-bottom: 10px;
	border-bottom: 1px solid rgba(59, 130, 246, 0.16);
}

.featured-posts > .featured-card:nth-child(4n + 3) {
	background:
		linear-gradient(180deg, rgba(242, 250, 248, 0.98), rgba(234, 245, 241, 0.96)),
		var(--ps-surface);
	border-color: rgba(15, 118, 110, 0.2);
	border-radius: 16px 30px 30px 30px;
}

.featured-posts > .featured-card:nth-child(4n + 3)::before {
	background:
		linear-gradient(90deg, rgba(15, 118, 110, 0.14), rgba(15, 118, 110, 0) 26%),
		radial-gradient(circle at top center, rgba(255, 255, 255, 0.08), transparent 26%);
	opacity: 0.9;
}

.featured-posts > .featured-card:nth-child(4n + 3)::after {
	top: 18px;
	left: 18px;
	width: 11px;
	height: calc(100% - 36px);
	border-radius: 999px;
	background: linear-gradient(180deg, rgba(15, 118, 110, 0.7), rgba(56, 189, 248, 0.28));
}

.featured-posts > .featured-card:nth-child(4n + 3) {
	padding-left: 36px;
}

.featured-posts > .featured-card:nth-child(4n + 4) {
	background:
		radial-gradient(circle at top left, rgba(251, 191, 36, 0.16), transparent 34%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(249, 245, 238, 0.96));
	border-color: rgba(245, 158, 11, 0.18);
	border-radius: 30px 18px 30px 18px;
}

.featured-posts > .featured-card:nth-child(4n + 4)::before {
	background:
		radial-gradient(circle at 18px 18px, rgba(245, 158, 11, 0.12), transparent 24%),
		linear-gradient(135deg, rgba(251, 191, 36, 0.08), transparent 56%);
	opacity: 0.8;
}

.featured-posts > .featured-card:nth-child(4n + 4)::after {
	right: -22px;
	bottom: -22px;
	width: 92px;
	height: 92px;
	border-radius: 100%;
	background: radial-gradient(circle, rgba(245, 158, 11, 0.18), rgba(251, 191, 36, 0.03) 70%);
}

.featured-posts > .featured-card:nth-child(4n + 4) .featured-card__meta {
	letter-spacing: 0;
}

.archive-intro {
	margin-bottom: 24px;
	padding: 24px 26px;
	background: var(--ps-surface);
	border: 1px solid var(--ps-line);
	border-radius: var(--ps-radius-lg);
	box-shadow: 0 14px 28px rgba(24, 36, 48, 0.05);
}

.archive-intro__eyebrow {
	margin: 0 0 8px;
	color: var(--ps-text-faint);
	font-size: 12px;
	letter-spacing: 0;
	text-transform: uppercase;
}

.archive-intro__title {
	margin: 0;
	font-size: clamp(1.7rem, 4vw, 2.6rem);
	line-height: 1.1;
	letter-spacing: 0;
}

.archive-intro__desc {
	margin: 10px 0 0;
	color: var(--ps-text-soft);
}

.archive-feed--full,
.year-block__posts {
	display: grid;
	gap: 18px;
}

.archive-feed--full {
	margin-top: 26px;
}

.post-card {
	display: block;
	padding: 22px;
	background:
		radial-gradient(circle at top right, rgba(56, 189, 248, 0.18), transparent 26%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(243, 248, 252, 0.98)),
		rgba(255, 255, 255, 0.88);
	border: 1px solid var(--ps-line);
	border-radius: 26px;
	box-shadow:
		0 14px 30px rgba(24, 36, 48, 0.05),
		inset 0 1px 0 rgba(255, 255, 255, 0.72);
	backdrop-filter: blur(12px);
	position: relative;
	overflow: hidden;
}

.post-card::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at top right, rgba(56, 189, 248, 0.14), transparent 22%),
		linear-gradient(135deg, rgba(15, 118, 110, 0.05), transparent 45%, rgba(59, 130, 246, 0.06));
	opacity: 0.78;
	pointer-events: none;
}

.post-card::after {
	content: "";
	position: absolute;
	top: 16px;
	right: 16px;
	width: 72px;
	height: 72px;
	border-radius: 18px;
	border: 1px solid rgba(15, 118, 110, 0.24);
	background:
		linear-gradient(135deg, rgba(255, 255, 255, 0.38), rgba(56, 189, 248, 0.08)),
		radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.18), transparent 36%);
	box-shadow: 0 0 18px rgba(56, 189, 248, 0.1);
	pointer-events: none;
}

.post-card > * {
	position: relative;
	z-index: 1;
}

.post-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 20px 36px rgba(24, 36, 48, 0.08);
}

.post-card__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(120px, 180px);
	gap: 18px;
	align-items: start;
}

.post-card--no-thumb .post-card__inner {
	grid-template-columns: minmax(0, 1fr);
}

.post-card__content {
	min-width: 0;
}

.post-card__meta {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 14px;
	align-items: center;
	margin-bottom: 10px;
	color: var(--ps-text-faint);
	font-size: 13px;
}

.post-card__title {
	margin: 0 0 10px;
	font-size: clamp(1.2rem, 3vw, 1.55rem);
	line-height: 1.25;
	letter-spacing: 0;
}

.post-card__title a {
	color: var(--ps-text);
}

.post-card__excerpt {
	margin: 0;
	color: var(--ps-text-soft);
	font-size: 15px;
}

.post-card__thumb {
	position: relative;
	aspect-ratio: 4 / 3;
	border-radius: 20px;
	overflow: hidden;
	background: var(--ps-surface-strong);
}

.post-card__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pagination {
	margin-top: 28px;
}

.pagination .nav-links {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 10px;
}

.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 14px;
	border-radius: 14px;
	background: var(--ps-surface);
	border: 1px solid var(--ps-line);
	color: var(--ps-text-soft);
}

.pagination .current,
.pagination .page-numbers:hover {
	background: var(--ps-text);
	border-color: var(--ps-text);
	color: #fff;
}

.entry-empty {
	padding: 28px;
	background: var(--ps-surface);
	border: 1px solid var(--ps-line);
	border-radius: var(--ps-radius-lg);
	color: var(--ps-text-soft);
}

.post-single {
	background: rgba(255, 255, 255, 0.95);
	border: 1px solid var(--ps-line);
	border-radius: 34px;
	box-shadow: var(--ps-shadow);
	padding: 34px;
}

.post-single__eyebrow {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-bottom: 16px;
	color: var(--ps-text-faint);
	font-size: 13px;
}

.post-single__title {
	margin: 0;
	font-size: clamp(2rem, 5vw, 3.35rem);
	line-height: 1.08;
	letter-spacing: 0;
}

.post-single__byline {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin-top: 20px;
	padding: 12px 14px;
	border-radius: 18px;
	background: var(--ps-bg-soft);
	border: 1px solid var(--ps-line);
	color: var(--ps-text-soft);
}

.post-single__avatar img {
	border-radius: 999px;
}

.post-single__cover {
	margin: 28px 0 0;
	border-radius: 26px;
	overflow: hidden;
	box-shadow: 0 18px 40px rgba(24, 36, 48, 0.08);
}

.entry-content {
	margin-top: 30px;
}

.entry-content > *:first-child {
	margin-top: 0;
}

.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
	line-height: 1.2;
	letter-spacing: 0;
	margin: 1.8em 0 0.75em;
}

.entry-content h2 {
	font-size: clamp(1.55rem, 3vw, 2rem);
}

.entry-content h3 {
	font-size: clamp(1.35rem, 2.5vw, 1.7rem);
}

.entry-content p,
.entry-content li {
	color: var(--ps-text);
	font-size: 17px;
}

.entry-content ul,
.entry-content ol {
	padding-left: 1.35em;
}

.entry-content blockquote {
	margin: 1.8em 0;
	padding: 18px 20px 18px 24px;
	border-left: 4px solid var(--ps-accent);
	background: var(--ps-bg-soft);
	border-radius: 0 18px 18px 0;
	color: var(--ps-text-soft);
}

.entry-content pre,
.entry-content code,
.entry-content kbd,
.entry-content samp {
	font-family: "Maple Mono CN", "SFMono-Regular", Consolas, monospace;
}

.entry-content pre {
	overflow: auto;
	padding: 18px;
	border-radius: 18px;
	background: #14202b;
	color: #ecf3fb;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.entry-content code {
	padding: 0.2em 0.38em;
	border-radius: 8px;
	background: rgba(20, 32, 43, 0.08);
	color: #12314f;
}

.entry-content pre code {
	background: transparent;
	padding: 0;
	color: inherit;
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
	margin: 1.6em 0;
	overflow: hidden;
	border-radius: 18px;
	border-style: hidden;
	box-shadow: 0 0 0 1px var(--ps-line);
}

.entry-content th,
.entry-content td {
	padding: 12px 14px;
	border: 1px solid var(--ps-line);
	text-align: left;
}

.entry-content th {
	background: var(--ps-bg-soft);
}

.entry-footer {
	margin-top: 30px;
	display: grid;
	gap: 22px;
}

.post-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.post-tags a {
	display: inline-flex;
	padding: 9px 12px;
	border-radius: 999px;
	background: var(--ps-bg-soft);
	border: 1px solid var(--ps-line);
	color: var(--ps-text-soft);
	font-size: 13px;
}

.post-tags a:hover {
	color: var(--ps-text);
}

.post-navigation {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.post-navigation a {
	display: grid;
	gap: 6px;
	padding: 18px;
	background: var(--ps-surface);
	border: 1px solid var(--ps-line);
	border-radius: 22px;
	color: var(--ps-text);
}

.post-navigation__label {
	font-size: 12px;
	letter-spacing: 0;
	text-transform: uppercase;
	color: var(--ps-text-faint);
}

.related-posts {
	display: grid;
	gap: 16px;
}

.related-posts__title {
	margin: 0;
	font-size: 22px;
	letter-spacing: 0;
}

.related-posts__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.related-card {
	padding: 16px;
	background: var(--ps-surface);
	border: 1px solid var(--ps-line);
	border-radius: 20px;
}

.related-card__title {
	margin: 0 0 8px;
	font-size: 1rem;
	line-height: 1.35;
}

.related-card__meta {
	color: var(--ps-text-faint);
	font-size: 13px;
}

.comments-area {
	padding: 26px;
	background: var(--ps-bg-soft);
	border: 1px solid var(--ps-line);
	border-radius: 26px;
}

.comments-title,
.comment-reply-title {
	margin: 0 0 16px;
	font-size: 24px;
	letter-spacing: 0;
}

.comment-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 16px;
}

.comment-body {
	padding: 18px;
	background: var(--ps-surface);
	border: 1px solid var(--ps-line);
	border-radius: 18px;
}

.comment-meta {
	margin-bottom: 10px;
	font-size: 14px;
	color: var(--ps-text-soft);
}

.comment-form {
	display: grid;
	gap: 14px;
}

.comment-form p {
	margin: 0;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 14px 16px;
	border-radius: 16px;
	border: 1px solid var(--ps-line);
	background: #fff;
}

.comment-form input[type="submit"] {
	display: inline-flex;
	padding: 13px 18px;
	border-radius: 14px;
	background: var(--ps-text);
	color: #fff;
	border: 0;
}

.site-footer {
	padding: 0 0 46px;
}

.site-footer__inner {
	padding: 22px 24px;
	background: rgba(255, 255, 255, 0.85);
	border: 1px solid var(--ps-line);
	border-radius: 28px;
	box-shadow: 0 12px 28px rgba(24, 36, 48, 0.05);
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 18px;
	align-items: center;
}

.site-footer__meta {
	color: var(--ps-text-soft);
	font-size: 14px;
}

.site-footer__meta strong {
	color: var(--ps-text);
}

.site-footer__meta p {
	margin: 4px 0 0;
}

.no-posts {
	margin-top: 26px;
}

/* Dark theme refresh */
.intro-card {
	background:
		radial-gradient(circle at top left, rgba(56, 189, 248, 0.2), transparent 28%),
		linear-gradient(145deg, rgba(26, 41, 61, 0.68), rgba(34, 66, 86, 0.54) 42%, rgba(78, 108, 150, 0.38) 100%) !important;
	border: 1px solid rgba(143, 161, 255, 0.28) !important;
	box-shadow:
		0 24px 50px rgba(8, 15, 24, 0.18),
		0 0 0 1px rgba(143, 161, 255, 0.08),
		0 0 22px rgba(129, 140, 248, 0.12),
		inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
	backdrop-filter: blur(28px) saturate(138%);
}

.header-search__panel,
.archive-intro,
.post-card,
.post-single,
.comments-area,
.entry-empty,
.site-footer__inner,
.related-card {
	background:
		linear-gradient(180deg, rgba(31, 47, 69, 0.68), rgba(22, 35, 53, 0.54)) !important;
	border-color: rgba(143, 161, 255, 0.26) !important;
	box-shadow:
		0 18px 36px rgba(5, 14, 28, 0.2),
		0 0 0 1px rgba(143, 161, 255, 0.08),
		0 0 18px rgba(99, 102, 241, 0.09),
		inset 0 1px 0 rgba(255, 255, 255, 0.11) !important;
	backdrop-filter: blur(26px) saturate(136%);
}

.featured-posts > .featured-card,
.featured-posts > .featured-card:nth-child(4n + 1),
.featured-posts > .featured-card:nth-child(4n + 2),
.featured-posts > .featured-card:nth-child(4n + 3),
.featured-posts > .featured-card:nth-child(4n + 4) {
	background:
		radial-gradient(circle at top right, rgba(129, 140, 248, 0.22), transparent 28%),
		linear-gradient(180deg, rgba(32, 48, 70, 0.68), rgba(23, 36, 55, 0.54)) !important;
	border-color: rgba(143, 161, 255, 0.25) !important;
	box-shadow:
		0 18px 36px rgba(5, 14, 28, 0.21),
		0 0 0 1px rgba(143, 161, 255, 0.08),
		0 0 18px rgba(99, 102, 241, 0.11),
		inset 0 1px 0 rgba(255, 255, 255, 0.11) !important;
	border-radius: 24px !important;
	padding-left: 18px !important;
	backdrop-filter: blur(26px) saturate(136%);
}

.featured-posts > .featured-card::before,
.featured-posts > .featured-card:nth-child(4n + 1)::before,
.featured-posts > .featured-card:nth-child(4n + 2)::before,
.featured-posts > .featured-card:nth-child(4n + 3)::before,
.featured-posts > .featured-card:nth-child(4n + 4)::before {
	background:
		radial-gradient(circle at top right, rgba(159, 174, 255, 0.16), transparent 26%),
		linear-gradient(135deg, rgba(129, 140, 248, 0.1), transparent 52%) !important;
	opacity: 0.82 !important;
}

.featured-posts > .featured-card::after,
.featured-posts > .featured-card:nth-child(4n + 1)::after,
.featured-posts > .featured-card:nth-child(4n + 2)::after,
.featured-posts > .featured-card:nth-child(4n + 3)::after,
.featured-posts > .featured-card:nth-child(4n + 4)::after {
	top: 16px !important;
	right: 16px !important;
	left: auto !important;
	bottom: auto !important;
	width: 56px !important;
	height: 56px !important;
	border-radius: 18px !important;
	background: rgba(255, 255, 255, 0.16) !important;
	border: 1px solid rgba(143, 161, 255, 0.22) !important;
}

.featured-posts > .featured-card:nth-child(4n + 2) .featured-card__title,
.featured-posts > .featured-card:nth-child(4n + 3) .featured-card__title {
	padding-bottom: 0 !important;
	border-bottom: 0 !important;
}

.featured-posts > .featured-card .featured-card__meta,
.featured-posts > .featured-card .featured-card__excerpt,
.featured-posts > .featured-card .featured-card__footer,
.archive-intro__eyebrow,
.archive-intro__desc,
.post-card__meta,
.post-card__excerpt,
.post-single__eyebrow,
.post-single__byline,
.entry-empty,
.related-card__meta,
.comments-area,
.site-footer__meta {
	color: var(--ps-text-soft) !important;
}

.featured-posts > .featured-card .featured-card__title a,
.archive-intro__title,
.post-card__title a,
.post-single__title,
.site-footer__meta strong,
.related-card__title,
.entry-content p,
.entry-content li,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
	color: var(--ps-text) !important;
}

.post-single__byline,
.entry-content blockquote {
	background: rgba(32, 48, 70, 0.52) !important;
	border-color: rgba(143, 161, 255, 0.2) !important;
	backdrop-filter: blur(24px) saturate(130%);
}

.pagination .page-numbers,
.post-navigation a {
	background: rgba(30, 45, 66, 0.58);
	border-color: rgba(143, 161, 255, 0.22);
	color: var(--ps-text);
	backdrop-filter: blur(22px) saturate(126%);
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea,
.search-field,
.search-submit {
	background: rgba(30, 45, 66, 0.58);
	border-color: rgba(143, 161, 255, 0.22);
	color: var(--ps-text);
	backdrop-filter: blur(20px) saturate(124%);
}

.search-submit,
.comment-form input[type="submit"] {
	background: linear-gradient(135deg, rgba(99, 102, 241, 0.95), rgba(59, 130, 246, 0.92));
	color: #f8fbff;
}

.featured-ad-tile {
	background:
		radial-gradient(circle at top right, rgba(143, 161, 255, 0.24), transparent 32%),
		linear-gradient(135deg, rgba(31, 47, 70, 0.74), rgba(72, 63, 180, 0.48) 56%, rgba(43, 58, 82, 0.68));
	border-color: rgba(143, 161, 255, 0.28);
	box-shadow:
		0 14px 30px rgba(10, 18, 31, 0.16),
		0 0 16px rgba(129, 140, 248, 0.12),
		inset 0 1px 0 rgba(255, 255, 255, 0.11);
	backdrop-filter: blur(24px) saturate(134%);
}

.site-copyright-module {
	margin: 18px auto 0;
	padding: 18px 24px;
	max-width: 760px;
	text-align: center;
	border-radius: 24px;
	background: linear-gradient(180deg, rgba(31, 47, 69, 0.58), rgba(22, 35, 53, 0.44));
	border: 1px solid rgba(143, 161, 255, 0.22);
	box-shadow:
		0 16px 30px rgba(5, 14, 28, 0.18),
		0 0 18px rgba(99, 102, 241, 0.08),
		inset 0 1px 0 rgba(255, 255, 255, 0.11);
	backdrop-filter: blur(24px) saturate(132%);
}

.site-copyright-module__title,
.site-copyright-module__text {
	margin: 0;
}

.site-copyright-module__title {
	color: var(--ps-text);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: uppercase;
}

.site-copyright-module__text {
	margin-top: 6px;
	color: var(--ps-text-soft);
	font-size: 13px;
}

html[data-theme="light"] .site-copyright-module {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 248, 252, 0.96));
	border-color: rgba(214, 224, 234, 0.92);
	box-shadow: 0 16px 30px rgba(24, 36, 48, 0.06);
}

html[data-theme="light"] {
	color-scheme: light;
	--ps-bg: #edf3fb;
	--ps-bg-soft: #ffffff;
	--ps-surface: rgba(255, 255, 255, 0.96);
	--ps-surface-soft: #f4f7fc;
	--ps-surface-strong: #e7eef8;
	--ps-line: #d6e0ec;
	--ps-line-strong: #c4d2e3;
	--ps-text: #182430;
	--ps-text-soft: #5b6d83;
	--ps-text-faint: #7b8ea5;
	--ps-accent: #4358ff;
	--ps-accent-strong: #3047dd;
	--ps-shadow: 0 18px 45px rgba(24, 36, 48, 0.08);
}

html[data-theme="light"] body {
	background:
		radial-gradient(circle at 8% 10%, rgba(129, 140, 248, 0.14), transparent 24%),
		radial-gradient(circle at 88% 16%, rgba(56, 189, 248, 0.12), transparent 22%),
		radial-gradient(circle at 58% 82%, rgba(244, 114, 182, 0.08), transparent 20%),
		linear-gradient(155deg, #f7fbff 0%, #eef4fb 44%, #f5f8fc 100%);
}

html[data-theme="light"] body::before {
	background:
		linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(15, 23, 42, 0.02)),
		radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.18), transparent 40%);
	opacity: 0.88;
}

html[data-theme="light"] body::after {
	background: radial-gradient(circle, rgba(56, 189, 248, 0.12), transparent 68%);
}

html[data-theme="light"] .site-header {
	background: rgba(247, 251, 255, 0.82);
	border-bottom: 1px solid rgba(214, 224, 236, 0.86);
	box-shadow: 0 14px 28px rgba(24, 36, 48, 0.06);
}

html[data-theme="light"] .site-header__nav {
	background: rgba(255, 255, 255, 0.88);
	border-color: rgba(214, 224, 236, 0.92);
	box-shadow: 0 12px 28px rgba(24, 36, 48, 0.05);
}

html[data-theme="light"] .site-header__nav a,
html[data-theme="light"] .site-footer__links a {
	color: var(--ps-text-soft);
}

html[data-theme="light"] .site-header__nav a:hover,
html[data-theme="light"] .site-footer__links a:hover,
html[data-theme="light"] .site-header__nav .current-menu-item > a,
html[data-theme="light"] .site-header__nav .current_page_item > a {
	background: linear-gradient(135deg, rgba(67, 88, 255, 0.92), rgba(59, 130, 246, 0.9));
	color: #f8fbff;
	box-shadow: 0 10px 24px rgba(67, 88, 255, 0.18);
}

html[data-theme="light"] .theme-toggle,
html[data-theme="light"] .header-toggle,
html[data-theme="light"] .header-search__toggle {
	background: rgba(255, 255, 255, 0.94);
	border-color: rgba(214, 224, 236, 0.92);
	color: var(--ps-text-soft);
	box-shadow: 0 10px 24px rgba(24, 36, 48, 0.05);
}

html[data-theme="light"] .theme-toggle:hover,
html[data-theme="light"] .header-toggle:hover,
html[data-theme="light"] .header-search__toggle:hover {
	color: var(--ps-text);
}

html[data-theme="light"] .header-search__panel,
html[data-theme="light"] .archive-intro,
html[data-theme="light"] .post-card,
html[data-theme="light"] .post-single,
html[data-theme="light"] .comments-area,
html[data-theme="light"] .entry-empty,
html[data-theme="light"] .site-footer__inner,
html[data-theme="light"] .related-card {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 248, 252, 0.96)) !important;
	border-color: rgba(214, 224, 236, 0.92) !important;
	box-shadow: 0 16px 32px rgba(24, 36, 48, 0.06) !important;
}

html[data-theme="light"] .featured-posts > .featured-card,
html[data-theme="light"] .featured-posts > .featured-card:nth-child(4n + 1),
html[data-theme="light"] .featured-posts > .featured-card:nth-child(4n + 2),
html[data-theme="light"] .featured-posts > .featured-card:nth-child(4n + 3),
html[data-theme="light"] .featured-posts > .featured-card:nth-child(4n + 4) {
	background:
		radial-gradient(circle at top right, rgba(99, 102, 241, 0.12), transparent 28%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 248, 252, 0.96)) !important;
	border-color: rgba(214, 224, 236, 0.92) !important;
	box-shadow: 0 16px 32px rgba(24, 36, 48, 0.06) !important;
}

html[data-theme="light"] .featured-posts > .featured-card::before,
html[data-theme="light"] .featured-posts > .featured-card:nth-child(4n + 1)::before,
html[data-theme="light"] .featured-posts > .featured-card:nth-child(4n + 2)::before,
html[data-theme="light"] .featured-posts > .featured-card:nth-child(4n + 3)::before,
html[data-theme="light"] .featured-posts > .featured-card:nth-child(4n + 4)::before {
	background:
		radial-gradient(circle at top right, rgba(129, 140, 248, 0.12), transparent 24%),
		linear-gradient(135deg, rgba(99, 102, 241, 0.06), transparent 54%) !important;
	opacity: 0.7 !important;
}

html[data-theme="light"] .featured-posts > .featured-card::after,
html[data-theme="light"] .featured-posts > .featured-card:nth-child(4n + 1)::after,
html[data-theme="light"] .featured-posts > .featured-card:nth-child(4n + 2)::after,
html[data-theme="light"] .featured-posts > .featured-card:nth-child(4n + 3)::after,
html[data-theme="light"] .featured-posts > .featured-card:nth-child(4n + 4)::after {
	background: rgba(67, 88, 255, 0.06) !important;
	border-color: rgba(99, 102, 241, 0.12) !important;
}

html[data-theme="light"] .featured-posts > .featured-card .featured-card__meta,
html[data-theme="light"] .featured-posts > .featured-card .featured-card__excerpt,
html[data-theme="light"] .featured-posts > .featured-card .featured-card__footer,
html[data-theme="light"] .archive-intro__eyebrow,
html[data-theme="light"] .archive-intro__desc,
html[data-theme="light"] .post-card__meta,
html[data-theme="light"] .post-card__excerpt,
html[data-theme="light"] .post-single__eyebrow,
html[data-theme="light"] .post-single__byline,
html[data-theme="light"] .entry-empty,
html[data-theme="light"] .related-card__meta,
html[data-theme="light"] .comments-area,
html[data-theme="light"] .site-footer__meta {
	color: var(--ps-text-soft) !important;
}

html[data-theme="light"] .featured-posts > .featured-card .featured-card__title a,
html[data-theme="light"] .archive-intro__title,
html[data-theme="light"] .post-card__title a,
html[data-theme="light"] .post-single__title,
html[data-theme="light"] .site-footer__meta strong,
html[data-theme="light"] .related-card__title,
html[data-theme="light"] .entry-content p,
html[data-theme="light"] .entry-content li,
html[data-theme="light"] .entry-content h2,
html[data-theme="light"] .entry-content h3,
html[data-theme="light"] .entry-content h4,
html[data-theme="light"] .entry-content h5,
html[data-theme="light"] .entry-content h6 {
	color: var(--ps-text) !important;
}

html[data-theme="light"] .post-single__byline,
html[data-theme="light"] .entry-content blockquote {
	background: rgba(244, 247, 252, 0.96) !important;
	border-color: rgba(214, 224, 236, 0.92) !important;
}

html[data-theme="light"] .pagination .page-numbers,
html[data-theme="light"] .post-navigation a {
	background: rgba(255, 255, 255, 0.98);
	border-color: rgba(214, 224, 236, 0.92);
	color: var(--ps-text);
}

html[data-theme="light"] .comment-form input[type="text"],
html[data-theme="light"] .comment-form input[type="email"],
html[data-theme="light"] .comment-form input[type="url"],
html[data-theme="light"] .comment-form textarea,
html[data-theme="light"] .search-field,
html[data-theme="light"] .search-submit {
	background: rgba(255, 255, 255, 0.98);
	border-color: rgba(214, 224, 236, 0.92);
	color: var(--ps-text);
}

html[data-theme="light"] .search-submit,
html[data-theme="light"] .comment-form input[type="submit"] {
	background: linear-gradient(135deg, rgba(67, 88, 255, 0.92), rgba(59, 130, 246, 0.88));
	color: #f8fbff;
}

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

	.featured-ads {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

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

@media (max-width: 900px) {
	.header-toggle {
		display: inline-flex;
	}

	.site-header__inner {
		grid-template-columns: auto auto;
	}

	.site-header__nav {
		grid-column: 1 / -1;
		justify-self: stretch;
		display: none;
	}

	.site-header__nav.is-open {
		display: block;
	}

	.site-header__nav ul {
		padding-top: 10px;
		flex-direction: column;
	}

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

	.post-card__thumb {
		max-width: 220px;
	}

	.post-navigation,
	.site-footer__inner {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 680px) {
	:root {
		--ps-shell: min(100vw - 28px, 100%);
		--ps-hero-image: 240px;
	}

	.site-main {
		padding-top: 24px;
	}

	.intro-card,
	.post-single {
		padding: 24px 18px;
		border-radius: 28px;
	}

	.featured-posts,
	.featured-ads,
	.related-posts__grid {
		grid-template-columns: 1fr;
	}

	.post-card,
	.comments-area,
	.archive-intro {
		padding: 18px;
	}
}

/* Reading refresh: quieter surfaces, stronger typography, less decoration. */
:root {
	--ps-bg: #121414;
	--ps-bg-soft: #1a1d1d;
	--ps-surface: rgba(24, 27, 27, 0.94);
	--ps-surface-soft: #202424;
	--ps-surface-strong: #292e2d;
	--ps-line: #343a38;
	--ps-line-strong: #4a524f;
	--ps-text: #f1eee6;
	--ps-text-soft: #c7c0b5;
	--ps-text-faint: #948c81;
	--ps-accent: #d8a451;
	--ps-accent-strong: #f0c36f;
	--ps-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
	--ps-radius-lg: 8px;
	--ps-radius-md: 8px;
	--ps-radius-sm: 6px;
	--ps-shell: min(1080px, calc(100vw - 48px));
	--ps-content: min(740px, 100%);
}

html {
	color-scheme: dark;
}

body {
	background:
		linear-gradient(180deg, rgba(216, 164, 81, 0.045), transparent 310px),
		linear-gradient(180deg, #151817 0%, #101111 100%);
	color: var(--ps-text);
	font-family: "LXGW WenKai Screen", "Noto Serif SC", "PingFang SC", "Microsoft YaHei", sans-serif;
	line-height: 1.82;
	letter-spacing: 0;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

body::before,
body::after,
.intro-card::after,
.post-card::before,
.post-card::after,
.featured-card::before,
.featured-card::after,
.featured-ad-tile::after {
	display: none !important;
}

a {
	color: var(--ps-accent);
	text-underline-offset: 0.18em;
}

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

::selection {
	background: rgba(216, 164, 81, 0.28);
	color: var(--ps-text);
}

.skip-link:focus {
	background: var(--ps-accent);
	color: #141414;
	border-radius: 8px;
}

.site-header {
	padding: 12px 0;
	background: rgba(18, 20, 20, 0.92);
	border-bottom: 1px solid rgba(216, 164, 81, 0.16);
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

.site-header__inner {
	gap: 14px;
}

.site-brand__eyebrow,
.intro-card-kicker,
.archive-intro__eyebrow,
.post-navigation__label,
.site-copyright-module__title {
	letter-spacing: 0;
	text-transform: none;
}

.site-brand__eyebrow {
	font-size: 12px;
	color: var(--ps-accent);
}

.site-brand__name {
	font-size: 17px;
	letter-spacing: 0;
}

.site-header__nav {
	padding: 0;
	border-radius: 8px;
	background: transparent;
	border: 0;
	box-shadow: none;
}

.site-header__nav ul,
.site-footer__links ul {
	gap: 4px;
}

.site-header__nav a,
.site-footer__links a {
	padding: 8px 11px;
	border-radius: 8px;
	color: var(--ps-text-soft);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0;
}

.site-header__nav a:hover,
.site-footer__links a:hover,
.site-header__nav .current-menu-item > a,
.site-header__nav .current_page_item > a {
	background: rgba(216, 164, 81, 0.12);
	color: var(--ps-text);
	box-shadow: none;
}

.theme-toggle,
.header-toggle,
.header-search__toggle {
	height: 40px;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(216, 164, 81, 0.18);
	color: var(--ps-text-soft);
	box-shadow: none;
	letter-spacing: 0;
	text-transform: none;
}

.header-toggle,
.header-search__toggle {
	width: 40px;
}

.theme-toggle:hover,
.header-toggle:hover,
.header-search__toggle:hover {
	background: rgba(216, 164, 81, 0.1);
	transform: none;
}

.header-search__panel {
	border-radius: 8px;
	background: var(--ps-surface);
	border: 1px solid var(--ps-line);
	box-shadow: var(--ps-shadow);
}

.search-form {
	gap: 8px;
}

.search-field,
.search-submit {
	border-radius: 8px;
}

.site-main {
	padding: 30px 0 72px;
}

.intro-card {
	padding: 38px;
	text-align: left;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015)),
		var(--ps-surface);
	border: 1px solid var(--ps-line);
	border-radius: 8px;
	box-shadow: var(--ps-shadow);
}

.intro-card::before {
	height: 2px;
	background: linear-gradient(90deg, var(--ps-accent), transparent);
}

.intro-card-thumb {
	width: 96px;
	height: 96px;
	padding: 4px;
	margin: 0 0 22px;
	border-radius: 8px;
	background: var(--ps-surface-soft);
	border: 1px solid var(--ps-line);
	box-shadow: none;
}

.intro-card-thumb img {
	border-radius: 6px;
}

.intro-card-thumb::after {
	display: none;
}

.intro-card-kicker {
	margin: 0 0 10px;
	color: var(--ps-accent);
	font-size: 13px;
}

.intro-card-title {
	margin: 0 0 14px;
	max-width: 860px;
	font-size: clamp(2.3rem, 5vw, 4.35rem);
	line-height: 1.08;
	letter-spacing: 0;
	color: var(--ps-text);
}

.intro-card-subtitle {
	max-width: 760px;
	margin: 0 0 18px;
	padding: 0;
	border-radius: 0;
	background: transparent;
	border: 0;
	box-shadow: none;
	backdrop-filter: none;
	color: var(--ps-text);
	font-size: clamp(1.05rem, 2vw, 1.3rem);
	line-height: 1.75;
}

.intro-card-desc {
	max-width: 780px;
	margin: 0;
	color: var(--ps-text-soft);
	font-size: 16px;
	line-height: 1.95;
}

.social-links {
	margin-top: 24px;
	justify-content: flex-start;
}

.social-links a {
	width: 42px;
	height: 42px;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.04);
	border-color: var(--ps-line);
	box-shadow: none;
}

.social-links a:hover {
	background: rgba(216, 164, 81, 0.1);
	transform: none;
}

.featured-ads,
.featured-posts,
.archive-feed--full,
.year-block__posts {
	gap: 14px;
}

.featured-ads {
	margin-top: 18px;
}

.featured-ad-tile {
	min-height: 0;
	padding: 15px 16px;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.035);
	border: 1px solid var(--ps-line);
	box-shadow: none;
}

.featured-ad-tile::before {
	content: "推荐";
	top: 12px;
	right: 12px;
	padding: 0;
	background: transparent;
	color: var(--ps-text-faint);
	font-size: 12px;
	letter-spacing: 0;
}

.featured-ad-tile:hover {
	background: rgba(216, 164, 81, 0.08);
	transform: none;
	box-shadow: none;
}

.featured-ad-tile__title,
.featured-ad-tile--exchange .featured-ad-tile__title,
.featured-ad-tile--wallet .featured-ad-tile__title,
.featured-ad-tile--vps .featured-ad-tile__title {
	padding-right: 44px;
	text-align: left;
	color: var(--ps-text-soft);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.55;
	letter-spacing: 0;
}

.featured-card,
.featured-posts > .featured-card,
.featured-posts > .featured-card:nth-child(4n + 1),
.featured-posts > .featured-card:nth-child(4n + 2),
.featured-posts > .featured-card:nth-child(4n + 3),
.featured-posts > .featured-card:nth-child(4n + 4) {
	min-height: 188px;
	padding: 18px !important;
	background: var(--ps-surface) !important;
	border: 1px solid var(--ps-line) !important;
	border-radius: 8px !important;
	box-shadow: none !important;
	backdrop-filter: none !important;
}

.featured-card__meta,
.post-card__meta,
.post-single__eyebrow,
.related-card__meta {
	color: var(--ps-text-faint) !important;
	font-size: 13px;
	letter-spacing: 0;
}

.featured-card__title,
.post-card__title,
.related-card__title {
	letter-spacing: 0;
}

.featured-card__title {
	font-size: 1.05rem;
	line-height: 1.48;
}

.featured-card__title a,
.post-card__title a,
.related-card__title a {
	color: var(--ps-text) !important;
}

.featured-card__excerpt,
.post-card__excerpt {
	color: var(--ps-text-soft) !important;
	line-height: 1.8;
}

.featured-card__footer {
	color: var(--ps-text-faint) !important;
}

.archive-intro,
.post-card,
.post-single,
.comments-area,
.entry-empty,
.site-footer__inner,
.related-card {
	background: var(--ps-surface) !important;
	border: 1px solid var(--ps-line) !important;
	border-radius: 8px !important;
	box-shadow: var(--ps-shadow) !important;
	backdrop-filter: none !important;
}

.archive-intro {
	padding: 24px;
}

.archive-intro__title,
.post-single__title,
.related-posts__title,
.comments-title,
.comment-reply-title {
	letter-spacing: 0;
}

.post-card {
	padding: 20px;
	transition: background var(--ps-transition), border-color var(--ps-transition), transform var(--ps-transition);
}

.post-card:hover {
	background: rgba(31, 35, 34, 0.98) !important;
	border-color: var(--ps-line-strong) !important;
	box-shadow: var(--ps-shadow) !important;
	transform: translateY(-1px);
}

.post-card__inner {
	grid-template-columns: minmax(0, 1fr) 210px;
	gap: 20px;
	align-items: center;
}

.post-card__meta {
	gap: 10px;
	margin-bottom: 12px;
}

.post-card__title {
	margin-bottom: 12px;
	font-size: clamp(1.22rem, 2.2vw, 1.62rem);
	line-height: 1.42;
}

.post-card__excerpt {
	display: -webkit-box;
	margin: 0;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	font-size: 15.5px;
}

.post-card__thumb {
	aspect-ratio: 16 / 10;
	border-radius: 8px;
	background: var(--ps-surface-strong);
}

.post-card__thumb img,
.post-single__cover img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pagination .page-numbers,
.post-navigation a,
.post-tags a {
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.035);
	border: 1px solid var(--ps-line);
	box-shadow: none;
}

.pagination .current,
.pagination .page-numbers:hover {
	background: var(--ps-accent);
	border-color: var(--ps-accent);
	color: #141414;
}

.post-single {
	max-width: 860px;
	margin: 0 auto;
	padding: clamp(26px, 4vw, 48px);
}

.post-single__eyebrow {
	gap: 10px;
	margin-bottom: 18px;
}

.post-single__title {
	max-width: 780px;
	font-size: clamp(2rem, 4.4vw, 3.05rem);
	line-height: 1.18;
	letter-spacing: 0;
}

.post-single__byline {
	margin-top: 22px;
	padding: 10px 12px;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.035) !important;
	border: 1px solid var(--ps-line) !important;
	color: var(--ps-text-soft) !important;
	backdrop-filter: none !important;
}

.post-single__cover {
	margin-top: 30px;
	border-radius: 8px;
	box-shadow: none;
}

.entry-content {
	max-width: var(--ps-content);
	margin: 38px auto 0;
}

.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
	margin: 2.25em 0 0.85em;
	line-height: 1.34;
	letter-spacing: 0;
	color: var(--ps-text) !important;
}

.entry-content h2 {
	padding-left: 14px;
	border-left: 3px solid var(--ps-accent);
	font-size: clamp(1.45rem, 3vw, 1.95rem);
}

.entry-content h3 {
	font-size: clamp(1.24rem, 2.4vw, 1.55rem);
}

.entry-content p,
.entry-content li {
	color: var(--ps-text) !important;
	font-size: clamp(17px, 1.72vw, 18.5px);
	line-height: 2.02;
	letter-spacing: 0;
}

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

.entry-content a {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-decoration-color: rgba(216, 164, 81, 0.42);
}

.entry-content blockquote {
	margin: 2em 0;
	padding: 18px 20px;
	border-left: 3px solid var(--ps-accent);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.035) !important;
	color: var(--ps-text-soft) !important;
	backdrop-filter: none !important;
}

.entry-content blockquote p {
	color: var(--ps-text-soft) !important;
}

.entry-content pre {
	border-radius: 8px;
	background: #0d0f10;
	border: 1px solid var(--ps-line);
	box-shadow: none;
}

.entry-content code {
	border-radius: 6px;
	background: rgba(216, 164, 81, 0.12);
	color: var(--ps-accent-strong);
}

.entry-content table {
	border-radius: 8px;
}

.entry-content th {
	background: rgba(255, 255, 255, 0.045);
}

.entry-footer {
	max-width: var(--ps-content);
	margin: 36px auto 0;
}

.post-navigation,
.related-posts__grid {
	gap: 12px;
}

.post-navigation a,
.related-card {
	box-shadow: none !important;
}

.related-posts__title {
	font-size: 20px;
}

.comments-area {
	padding: 22px;
}

.comment-body {
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.035);
	border-color: var(--ps-line);
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.035) !important;
	border-color: var(--ps-line) !important;
	color: var(--ps-text) !important;
}

.search-submit,
.comment-form input[type="submit"] {
	border-radius: 8px;
	background: var(--ps-accent) !important;
	color: #141414 !important;
}

.site-footer__inner {
	padding: 20px 22px;
	box-shadow: none !important;
}

.site-copyright-module {
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid var(--ps-line);
	box-shadow: none;
}

.site-copyright-module__title {
	color: var(--ps-text);
	font-size: 13px;
}

.site-copyright-module__text {
	color: var(--ps-text-soft);
}

html[data-theme="light"] {
	color-scheme: light;
	--ps-bg: #f4f6f5;
	--ps-bg-soft: #ffffff;
	--ps-surface: rgba(255, 255, 255, 0.98);
	--ps-surface-soft: #f0f3f2;
	--ps-surface-strong: #e6ece9;
	--ps-line: #d8dfdc;
	--ps-line-strong: #bfc9c5;
	--ps-text: #202523;
	--ps-text-soft: #5d6661;
	--ps-text-faint: #808984;
	--ps-accent: #9a6428;
	--ps-accent-strong: #724817;
	--ps-shadow: 0 14px 34px rgba(22, 28, 26, 0.08);
}

html[data-theme="light"] body {
	background:
		linear-gradient(180deg, rgba(154, 100, 40, 0.05), transparent 320px),
		linear-gradient(180deg, #f7f8f7 0%, #eef2f0 100%);
	color: var(--ps-text);
}

html[data-theme="light"] .site-header {
	background: rgba(247, 248, 247, 0.92);
	border-bottom-color: rgba(154, 100, 40, 0.14);
	box-shadow: 0 8px 22px rgba(22, 28, 26, 0.08);
}

html[data-theme="light"] .site-header__nav a,
html[data-theme="light"] .site-footer__links a {
	color: var(--ps-text-soft);
}

html[data-theme="light"] .site-header__nav a:hover,
html[data-theme="light"] .site-footer__links a:hover,
html[data-theme="light"] .site-header__nav .current-menu-item > a,
html[data-theme="light"] .site-header__nav .current_page_item > a {
	background: rgba(154, 100, 40, 0.1);
	color: var(--ps-text);
	box-shadow: none;
}

html[data-theme="light"] .theme-toggle,
html[data-theme="light"] .header-toggle,
html[data-theme="light"] .header-search__toggle,
html[data-theme="light"] .featured-ad-tile,
html[data-theme="light"] .pagination .page-numbers,
html[data-theme="light"] .post-navigation a,
html[data-theme="light"] .post-tags a,
html[data-theme="light"] .comment-body,
html[data-theme="light"] .site-copyright-module {
	background: rgba(255, 255, 255, 0.72);
	border-color: var(--ps-line);
	color: var(--ps-text-soft);
}

html[data-theme="light"] .intro-card,
html[data-theme="light"] .archive-intro,
html[data-theme="light"] .post-card,
html[data-theme="light"] .post-single,
html[data-theme="light"] .comments-area,
html[data-theme="light"] .entry-empty,
html[data-theme="light"] .site-footer__inner,
html[data-theme="light"] .related-card,
html[data-theme="light"] .featured-posts > .featured-card,
html[data-theme="light"] .featured-posts > .featured-card:nth-child(4n + 1),
html[data-theme="light"] .featured-posts > .featured-card:nth-child(4n + 2),
html[data-theme="light"] .featured-posts > .featured-card:nth-child(4n + 3),
html[data-theme="light"] .featured-posts > .featured-card:nth-child(4n + 4) {
	background: var(--ps-surface) !important;
	border-color: var(--ps-line) !important;
	box-shadow: var(--ps-shadow) !important;
}

html[data-theme="light"] .post-card:hover,
html[data-theme="light"] .featured-ad-tile:hover {
	background: #ffffff !important;
	border-color: var(--ps-line-strong) !important;
}

html[data-theme="light"] .post-single__byline,
html[data-theme="light"] .entry-content blockquote,
html[data-theme="light"] .comment-form input[type="text"],
html[data-theme="light"] .comment-form input[type="email"],
html[data-theme="light"] .comment-form input[type="url"],
html[data-theme="light"] .comment-form textarea,
html[data-theme="light"] .search-field {
	background: rgba(240, 243, 242, 0.9) !important;
	border-color: var(--ps-line) !important;
	color: var(--ps-text) !important;
}

html[data-theme="light"] .search-submit,
html[data-theme="light"] .comment-form input[type="submit"],
html[data-theme="light"] .pagination .current,
html[data-theme="light"] .pagination .page-numbers:hover {
	background: var(--ps-accent) !important;
	border-color: var(--ps-accent) !important;
	color: #ffffff !important;
}

@media (max-width: 900px) {
	.site-header__inner {
		grid-template-columns: minmax(0, 1fr) auto;
	}

	.site-header__nav {
		padding-top: 8px;
		border-top: 1px solid var(--ps-line);
	}

	.site-header__nav ul {
		padding-top: 8px;
		gap: 6px;
	}

	.site-header__nav a {
		justify-content: flex-start;
	}

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

	.post-card__thumb {
		order: -1;
		width: 100%;
		max-width: none;
		aspect-ratio: 16 / 9;
	}

	.related-posts__grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 680px) {
	:root {
		--ps-shell: min(100vw - 28px, 100%);
	}

	.site-main {
		padding-top: 20px;
	}

	.intro-card {
		padding: 26px 20px;
	}

	.intro-card-title {
		font-size: clamp(2rem, 12vw, 3.1rem);
	}

	.intro-card-subtitle {
		font-size: 1rem;
	}

	.post-card,
	.post-single,
	.comments-area,
	.archive-intro {
		padding: 20px;
	}

	.post-single__title {
		font-size: clamp(1.8rem, 9vw, 2.5rem);
	}

	.entry-content {
		margin-top: 30px;
	}

	.entry-content p,
	.entry-content li {
		font-size: 17px;
		line-height: 1.95;
	}

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

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}

/* Light mode reading boost: stronger contrast blocks and clearer hierarchy. */
html[data-theme="light"] {
	--ps-bg: #eef2f6;
	--ps-bg-soft: #ffffff;
	--ps-surface: #ffffff;
	--ps-surface-soft: #f3f6f9;
	--ps-surface-strong: #dbe4ec;
	--ps-line: #c6d0da;
	--ps-line-strong: #8ea0af;
	--ps-text: #111827;
	--ps-text-soft: #374151;
	--ps-text-faint: #667085;
	--ps-accent: #b45309;
	--ps-accent-strong: #7c2d12;
	--ps-shadow: 0 16px 34px rgba(17, 24, 39, 0.1);
}

html[data-theme="light"] body {
	background:
		linear-gradient(90deg, rgba(15, 23, 42, 0.045) 0 1px, transparent 1px),
		linear-gradient(180deg, rgba(15, 23, 42, 0.035) 0 1px, transparent 1px),
		linear-gradient(180deg, #f8fafc 0%, #eef2f6 46%, #e8edf3 100%);
	background-size: 34px 34px, 34px 34px, auto;
	color: var(--ps-text);
}

html[data-theme="light"] .site-header {
	background: rgba(255, 255, 255, 0.94);
	border-bottom: 1px solid #c6d0da;
	box-shadow: 0 10px 24px rgba(17, 24, 39, 0.08);
}

html[data-theme="light"] .site-brand__eyebrow {
	color: #b45309;
	font-weight: 800;
}

html[data-theme="light"] .site-brand__name {
	color: #111827;
}

html[data-theme="light"] .site-header__nav a,
html[data-theme="light"] .site-footer__links a {
	color: #253044;
}

html[data-theme="light"] .site-header__nav a:hover,
html[data-theme="light"] .site-footer__links a:hover,
html[data-theme="light"] .site-header__nav .current-menu-item > a,
html[data-theme="light"] .site-header__nav .current_page_item > a {
	background: #111827;
	color: #ffffff;
}

html[data-theme="light"] .theme-toggle,
html[data-theme="light"] .header-toggle,
html[data-theme="light"] .header-search__toggle {
	background: #ffffff;
	border-color: #b8c4cf;
	color: #111827;
}

html[data-theme="light"] .theme-toggle:hover,
html[data-theme="light"] .header-toggle:hover,
html[data-theme="light"] .header-search__toggle:hover {
	background: #111827;
	border-color: #111827;
	color: #ffffff;
}

html[data-theme="light"] .intro-card {
	position: relative;
	background:
		linear-gradient(90deg, #111827 0 32%, #ffffff 32% 100%) !important;
	border: 1px solid #111827 !important;
	box-shadow: 0 18px 40px rgba(17, 24, 39, 0.14) !important;
}

html[data-theme="light"] .intro-card::before {
	display: block !important;
	top: 0;
	left: 32%;
	width: 5px;
	height: 100%;
	background: #b45309;
}

html[data-theme="light"] .intro-card-thumb {
	background: #ffffff;
	border-color: rgba(255, 255, 255, 0.42);
}

html[data-theme="light"] .intro-card-kicker,
html[data-theme="light"] .intro-card-title {
	color: #ffffff;
	max-width: 28%;
}

html[data-theme="light"] .intro-card-subtitle,
html[data-theme="light"] .intro-card-desc,
html[data-theme="light"] .social-links {
	margin-left: 38%;
}

html[data-theme="light"] .intro-card-subtitle {
	max-width: 560px;
	color: #111827;
	font-weight: 700;
}

html[data-theme="light"] .intro-card-desc {
	max-width: 640px;
	color: #374151;
}

html[data-theme="light"] .social-links a {
	background: #111827;
	border-color: #111827;
}

html[data-theme="light"] .social-links a:hover {
	background: #b45309;
	border-color: #b45309;
}

html[data-theme="light"] .featured-ad-tile {
	background: #ffffff;
	border-color: #111827;
	box-shadow: 6px 6px 0 rgba(17, 24, 39, 0.11);
}

html[data-theme="light"] .featured-ad-tile::before {
	top: 0;
	right: auto;
	left: 0;
	height: 100%;
	width: 46px;
	display: grid !important;
	place-items: center;
	background: #111827;
	color: #ffffff;
	writing-mode: vertical-rl;
	text-orientation: mixed;
	font-weight: 800;
}

html[data-theme="light"] .featured-ad-tile__title,
html[data-theme="light"] .featured-ad-tile--exchange .featured-ad-tile__title,
html[data-theme="light"] .featured-ad-tile--wallet .featured-ad-tile__title,
html[data-theme="light"] .featured-ad-tile--vps .featured-ad-tile__title {
	padding-left: 46px;
	padding-right: 0;
	color: #111827;
	font-weight: 800;
}

html[data-theme="light"] .featured-ad-tile:hover {
	background: #fff7ed !important;
	border-color: #b45309 !important;
}

html[data-theme="light"] .featured-posts > .featured-card,
html[data-theme="light"] .featured-posts > .featured-card:nth-child(4n + 1),
html[data-theme="light"] .featured-posts > .featured-card:nth-child(4n + 2),
html[data-theme="light"] .featured-posts > .featured-card:nth-child(4n + 3),
html[data-theme="light"] .featured-posts > .featured-card:nth-child(4n + 4) {
	background: #ffffff !important;
	border: 1px solid #111827 !important;
	box-shadow: 6px 6px 0 rgba(17, 24, 39, 0.09) !important;
}

html[data-theme="light"] .featured-card__meta,
html[data-theme="light"] .post-card__meta,
html[data-theme="light"] .post-single__eyebrow,
html[data-theme="light"] .related-card__meta {
	color: #374151 !important;
}

html[data-theme="light"] .featured-card__meta span,
html[data-theme="light"] .post-card__meta span,
html[data-theme="light"] .post-single__eyebrow span {
	display: inline-flex;
	align-items: center;
	min-height: 26px;
	padding: 3px 9px;
	border-radius: 6px;
	background: #e5e7eb;
	color: #111827;
	font-size: 12px;
	font-weight: 800;
}

html[data-theme="light"] .post-card__meta a,
html[data-theme="light"] .post-single__eyebrow a {
	color: #111827;
}

html[data-theme="light"] .featured-card__title a,
html[data-theme="light"] .post-card__title a,
html[data-theme="light"] .related-card__title a,
html[data-theme="light"] .post-single__title,
html[data-theme="light"] .archive-intro__title,
html[data-theme="light"] .related-posts__title,
html[data-theme="light"] .comments-title,
html[data-theme="light"] .comment-reply-title {
	color: #111827 !important;
}

html[data-theme="light"] .featured-card__excerpt,
html[data-theme="light"] .post-card__excerpt {
	color: #374151 !important;
}

html[data-theme="light"] .post-card {
	position: relative;
	background: #ffffff !important;
	border: 1px solid #111827 !important;
	box-shadow: 8px 8px 0 rgba(17, 24, 39, 0.08) !important;
}

html[data-theme="light"] .post-card::before {
	display: block !important;
	inset: 0 auto 0 0;
	width: 7px;
	background: #111827;
	opacity: 1;
}

html[data-theme="light"] .post-card:nth-of-type(3n + 1)::before {
	background: #b45309;
}

html[data-theme="light"] .post-card:nth-of-type(3n + 2)::before {
	background: #0f766e;
}

html[data-theme="light"] .post-card:nth-of-type(3n + 3)::before {
	background: #1d4ed8;
}

html[data-theme="light"] .post-card:hover {
	background: #fffdf8 !important;
	border-color: #b45309 !important;
	box-shadow: 10px 10px 0 rgba(180, 83, 9, 0.16) !important;
}

html[data-theme="light"] .post-card__thumb {
	border: 2px solid #111827;
	box-shadow: 4px 4px 0 rgba(17, 24, 39, 0.12);
}

html[data-theme="light"] .archive-intro,
html[data-theme="light"] .post-single,
html[data-theme="light"] .comments-area,
html[data-theme="light"] .entry-empty,
html[data-theme="light"] .site-footer__inner,
html[data-theme="light"] .related-card {
	background: #ffffff !important;
	border: 1px solid #111827 !important;
	box-shadow: 8px 8px 0 rgba(17, 24, 39, 0.08) !important;
}

html[data-theme="light"] .post-single {
	border-top: 8px solid #111827 !important;
}

html[data-theme="light"] .post-single__byline {
	background: #111827 !important;
	border-color: #111827 !important;
	color: #ffffff !important;
}

html[data-theme="light"] .post-single__cover {
	border: 2px solid #111827;
	box-shadow: 8px 8px 0 rgba(17, 24, 39, 0.1);
}

html[data-theme="light"] .entry-content h2 {
	display: inline-block;
	padding: 8px 12px;
	border: 0;
	background: #111827;
	color: #ffffff !important;
	box-decoration-break: clone;
	-webkit-box-decoration-break: clone;
}

html[data-theme="light"] .entry-content h3 {
	padding-left: 12px;
	border-left: 4px solid #b45309;
	color: #111827 !important;
}

html[data-theme="light"] .entry-content p,
html[data-theme="light"] .entry-content li {
	color: #1f2937 !important;
}

html[data-theme="light"] .entry-content blockquote {
	background: #fff7ed !important;
	border: 1px solid #b45309 !important;
	border-left-width: 7px !important;
	color: #7c2d12 !important;
}

html[data-theme="light"] .entry-content blockquote p {
	color: #7c2d12 !important;
}

html[data-theme="light"] .entry-content code {
	background: #111827;
	color: #fbbf24;
}

html[data-theme="light"] .entry-content pre {
	background: #111827;
	border-color: #111827;
}

html[data-theme="light"] .post-tags a,
html[data-theme="light"] .pagination .page-numbers,
html[data-theme="light"] .post-navigation a {
	background: #ffffff;
	border: 1px solid #111827;
	color: #111827;
	box-shadow: 4px 4px 0 rgba(17, 24, 39, 0.08);
}

html[data-theme="light"] .post-tags a:hover,
html[data-theme="light"] .pagination .page-numbers:hover,
html[data-theme="light"] .pagination .current,
html[data-theme="light"] .post-navigation a:hover {
	background: #111827 !important;
	border-color: #111827 !important;
	color: #ffffff !important;
}

html[data-theme="light"] .comment-form input[type="text"],
html[data-theme="light"] .comment-form input[type="email"],
html[data-theme="light"] .comment-form input[type="url"],
html[data-theme="light"] .comment-form textarea,
html[data-theme="light"] .search-field {
	background: #ffffff !important;
	border: 2px solid #111827 !important;
	color: #111827 !important;
}

html[data-theme="light"] .search-submit,
html[data-theme="light"] .comment-form input[type="submit"] {
	background: #111827 !important;
	border: 1px solid #111827 !important;
	color: #ffffff !important;
}

html[data-theme="light"] .site-copyright-module {
	background: #111827;
	border-color: #111827;
	color: #ffffff;
}

html[data-theme="light"] .site-copyright-module__title,
html[data-theme="light"] .site-copyright-module__text {
	color: #ffffff;
}

@media (max-width: 900px) {
	html[data-theme="light"] .intro-card {
		background: #ffffff !important;
	}

	html[data-theme="light"] .intro-card::before {
		left: 0;
		width: 100%;
		height: 8px;
		background: #111827;
	}

	html[data-theme="light"] .intro-card-kicker,
	html[data-theme="light"] .intro-card-title {
		max-width: none;
		color: #111827;
	}

	html[data-theme="light"] .intro-card-subtitle,
	html[data-theme="light"] .intro-card-desc,
	html[data-theme="light"] .social-links {
		margin-left: 0;
	}

	html[data-theme="light"] .post-card::before {
		width: 100%;
		height: 7px;
		inset: 0 0 auto;
	}
}

/* Light hero fix: keep the reading contrast, remove the large split color block. */
html[data-theme="light"] .intro-card {
	display: block;
	background:
		linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
	border: 1px solid #111827 !important;
	box-shadow: 8px 8px 0 rgba(17, 24, 39, 0.08) !important;
}

html[data-theme="light"] .intro-card::before {
	display: block !important;
	top: 0;
	left: 0;
	width: 100%;
	height: 8px;
	background: linear-gradient(90deg, #111827 0 44%, #b45309 44% 72%, #0f766e 72% 100%);
}

html[data-theme="light"] .intro-card-thumb {
	margin: 0 0 22px;
	background: #ffffff;
	border: 2px solid #111827;
	box-shadow: 4px 4px 0 rgba(17, 24, 39, 0.12);
}

html[data-theme="light"] .intro-card-kicker,
html[data-theme="light"] .intro-card-title {
	max-width: 860px;
	color: #111827;
}

html[data-theme="light"] .intro-card-kicker {
	display: inline-flex;
	padding: 4px 8px;
	border-radius: 6px;
	background: #111827;
	color: #ffffff;
	font-weight: 800;
}

html[data-theme="light"] .intro-card-subtitle,
html[data-theme="light"] .intro-card-desc,
html[data-theme="light"] .social-links {
	margin-left: 0;
}

html[data-theme="light"] .intro-card-subtitle {
	max-width: 760px;
	color: #111827;
	font-weight: 700;
}

html[data-theme="light"] .intro-card-desc {
	max-width: 780px;
	color: #374151;
}

@media (min-width: 760px) {
	html[data-theme="light"] .intro-card {
		display: grid;
		grid-template-columns: 116px minmax(0, 1fr);
		column-gap: 26px;
		align-items: start;
	}

	html[data-theme="light"] .intro-card-thumb {
		grid-row: 1 / 6;
		margin: 0;
	}
}

@media (max-width: 900px) {
	html[data-theme="light"] .intro-card::before {
		left: 0;
		width: 100%;
		height: 8px;
	}
}

/* Light hero alignment: match dark-mode layout exactly, with a soft paper backdrop. */
html[data-theme="light"] .intro-card {
	display: block !important;
	padding: 38px;
	text-align: left;
	background:
		radial-gradient(circle at 8% 0%, rgba(180, 83, 9, 0.18), transparent 28%),
		radial-gradient(circle at 90% 16%, rgba(15, 118, 110, 0.13), transparent 24%),
		radial-gradient(circle at 54% 100%, rgba(29, 78, 216, 0.09), transparent 28%),
		linear-gradient(145deg, #ffffff 0%, #f8fafc 58%, #eef4f1 100%) !important;
	border: 1px solid #111827 !important;
	box-shadow:
		8px 8px 0 rgba(17, 24, 39, 0.08),
		inset 0 1px 0 rgba(255, 255, 255, 0.72) !important;
}

html[data-theme="light"] .intro-card::before {
	display: block !important;
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
	height: 3px;
	background: linear-gradient(90deg, #111827 0%, #b45309 42%, #0f766e 74%, transparent 100%);
}

html[data-theme="light"] .intro-card::after {
	display: block !important;
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		linear-gradient(120deg, rgba(255, 255, 255, 0.56), transparent 38%),
		linear-gradient(180deg, rgba(17, 24, 39, 0.035), transparent 30%);
	opacity: 0.72;
}

html[data-theme="light"] .intro-card > * {
	position: relative;
	z-index: 1;
}

html[data-theme="light"] .intro-card-thumb {
	width: 96px;
	height: 96px;
	padding: 4px;
	margin: 0 0 22px;
	border-radius: 8px;
	background: #ffffff;
	border: 2px solid #111827;
	box-shadow: 4px 4px 0 rgba(17, 24, 39, 0.12);
}

html[data-theme="light"] .intro-card-thumb img {
	border-radius: 6px;
}

html[data-theme="light"] .intro-card-kicker {
	display: block;
	margin: 0 0 10px;
	padding: 0;
	background: transparent;
	color: #b45309;
	font-size: 13px;
	font-weight: 700;
}

html[data-theme="light"] .intro-card-title {
	margin: 0 0 14px;
	max-width: 860px;
	color: #111827;
	font-size: clamp(2.3rem, 5vw, 4.35rem);
	line-height: 1.08;
}

html[data-theme="light"] .intro-card-subtitle {
	max-width: 760px;
	margin: 0 0 18px;
	padding: 0;
	color: #111827;
	font-size: clamp(1.05rem, 2vw, 1.3rem);
	font-weight: 700;
	line-height: 1.75;
}

html[data-theme="light"] .intro-card-desc {
	max-width: 780px;
	margin: 0;
	color: #374151;
	font-size: 16px;
	line-height: 1.95;
}

html[data-theme="light"] .social-links {
	margin: 24px 0 0;
	justify-content: flex-start;
}

@media (max-width: 680px) {
	html[data-theme="light"] .intro-card {
		padding: 26px 20px;
	}

	html[data-theme="light"] .intro-card-title {
		font-size: clamp(2rem, 12vw, 3.1rem);
	}

	html[data-theme="light"] .intro-card-subtitle {
		font-size: 1rem;
	}
}

/* Typography sync: match the referenced article site's reading stack. */
:root {
	--ps-font-body: "InterVariable", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
	--ps-font-heading: "DOUYINSANSBOLD-GB", "InterVariable", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
	--ps-font-mono: "JetBrains Mono", "Maple Mono CN", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

body,
input,
textarea,
select,
button,
.entry-content,
.post-card__excerpt,
.featured-card__excerpt,
.intro-card-subtitle,
.intro-card-desc,
.comment-body {
	font-family: var(--ps-font-body);
}

.site-brand__name,
.site-header__nav a,
.intro-card-title,
.featured-card__title,
.post-card__title,
.post-single__title,
.archive-intro__title,
.related-card__title,
.widget-title,
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6,
.comments-title,
.comment-reply-title,
.site-copyright-module__title {
	font-family: var(--ps-font-heading);
	font-weight: 550;
	font-synthesis: none;
}

.intro-card-title,
.post-single__title,
.entry-content h2,
.entry-content h3 {
	letter-spacing: 0;
}

.entry-content p,
.entry-content li {
	font-family: var(--ps-font-body);
	font-weight: 400;
}

.entry-content pre,
.entry-content code,
.entry-content kbd,
.entry-content samp {
	font-family: var(--ps-font-mono);
}

/* Footer merge: keep the bottom area as one module. */
.site-footer__inner {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 18px 34px;
}

.site-footer__meta {
	display: grid;
	gap: 5px;
	min-width: 0;
}

.site-footer__meta p {
	margin: 0;
}

.site-footer__copyright {
	margin-top: 8px !important;
	padding-top: 10px;
	max-width: 660px;
	border-top: 1px solid var(--ps-line);
	color: var(--ps-text-faint);
	font-size: 13px;
	line-height: 1.65;
}

.site-footer__links {
	align-self: center;
}

.site-copyright-module {
	display: none !important;
}

html[data-theme="light"] .site-footer__copyright {
	border-top-color: rgba(17, 24, 39, 0.16);
	color: #4b5563;
}

@media (max-width: 760px) {
	.site-footer__inner {
		flex-direction: column;
		align-items: stretch;
	}

	.site-footer__links {
		align-self: stretch;
	}

	.site-footer__links ul {
		justify-content: flex-start;
	}
}
