/* ==========================================================================
   轻薄本指南 — 深色科技风主题样式
   ========================================================================== */

:root {
	--bg: #06090f;
	--bg-soft: #0a0f18;
	--panel: #0d131d;
	--panel-2: #111927;
	--line: rgba(255, 255, 255, 0.08);
	--line-strong: rgba(255, 255, 255, 0.16);
	--text: #e8eef7;
	--text-2: #b3c0d2;
	--muted: #7d8a9e;
	--cyan: #5ee7ff;
	--violet: #8b5cf6;
	--grad: linear-gradient(120deg, #5ee7ff 0%, #8b5cf6 100%);
	--radius: 16px;
	--wrap: 1200px;
	--font: "HarmonyOS Sans SC", "MiSans", "PingFang SC", "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
	--mono: "JetBrains Mono", "SFMono-Regular", "Cascadia Mono", Consolas, "Liberation Mono", monospace;
}

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

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

body {
	margin: 0;
	background:
		radial-gradient(1100px 620px at 12% -12%, rgba(94, 231, 255, 0.10), transparent 62%),
		radial-gradient(900px 520px at 92% -6%, rgba(139, 92, 246, 0.12), transparent 58%),
		var(--bg);
	background-attachment: fixed;
	color: var(--text);
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.75;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

body.nav-open {
	overflow: hidden;
}

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

a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

a:hover {
	color: var(--cyan);
}

::selection {
	background: rgba(94, 231, 255, 0.28);
	color: #fff;
}

:focus-visible {
	outline: 2px solid var(--cyan);
	outline-offset: 3px;
	border-radius: 4px;
}

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

.skip-link:focus {
	position: fixed !important;
	top: 12px;
	left: 12px;
	width: auto;
	height: auto;
	clip: auto;
	clip-path: none;
	padding: 10px 16px;
	background: var(--panel-2);
	border-radius: 8px;
	z-index: 999;
}

.wrap {
	width: min(100% - 48px, var(--wrap));
	margin-inline: auto;
}

.dot {
	margin: 0 0.5em;
	color: var(--muted);
}

.meta-dot {
	width: 3px;
	height: 3px;
	border-radius: 50%;
	background: var(--muted);
	display: inline-block;
	flex: none;
}

/* ---------- 顶部滚动进度 ---------- */

.scroll-progress {
	position: fixed;
	top: 0;
	left: 0;
	width: 0;
	height: 2px;
	background: var(--grad);
	z-index: 120;
	box-shadow: 0 0 12px rgba(94, 231, 255, 0.6);
	transition: width 0.08s linear;
}

/* ---------- 头部 ---------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(6, 9, 15, 0.72);
	backdrop-filter: blur(16px) saturate(150%);
	-webkit-backdrop-filter: blur(16px) saturate(150%);
	border-bottom: 1px solid var(--line);
	transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

.site-header.is-scrolled {
	background: rgba(6, 9, 15, 0.9);
	box-shadow: 0 18px 40px -28px rgba(0, 0, 0, 0.9);
}

.header-inner {
	display: flex;
	align-items: center;
	gap: 36px;
	height: 74px;
}

.brand {
	display: flex;
	align-items: center;
	gap: 12px;
	flex: none;
}

.brand-mark {
	width: 38px;
	height: 38px;
	display: grid;
	place-items: center;
	border-radius: 11px;
	border: 1px solid var(--line-strong);
	background: linear-gradient(160deg, rgba(94, 231, 255, 0.12), rgba(139, 92, 246, 0.12));
	box-shadow: 0 0 24px rgba(94, 231, 255, 0.14);
}

.brand-mark svg {
	width: 26px;
	height: 26px;
}

.custom-logo-link img {
	width: 38px;
	height: 38px;
	border-radius: 11px;
	object-fit: cover;
}

.brand-text {
	display: flex;
	flex-direction: column;
	line-height: 1.15;
}

.brand-name {
	font-size: 17px;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: var(--text);
}

.brand-sub {
	font-family: var(--mono);
	font-size: 9px;
	letter-spacing: 0.22em;
	color: var(--muted);
	margin-top: 3px;
}

.main-nav {
	margin-left: auto;
}

.nav-list {
	display: flex;
	align-items: center;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.nav-list li {
	position: relative;
}

.nav-list a {
	display: block;
	padding: 8px 13px;
	font-size: 15px;
	color: var(--text-2);
	border-radius: 8px;
	white-space: nowrap;
}

.nav-list a::after {
	content: "";
	position: absolute;
	left: 13px;
	right: 13px;
	bottom: 2px;
	height: 1.5px;
	background: var(--grad);
	border-radius: 2px;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.28s ease;
}

.nav-list li:hover > a,
.nav-list .current-menu-item > a,
.nav-list .current_page_item > a,
.nav-list .current-menu-ancestor > a {
	color: #fff;
}

.nav-list li:hover > a::after,
.nav-list .current-menu-item > a::after,
.nav-list .current_page_item > a::after,
.nav-list .current-menu-ancestor > a::after {
	transform: scaleX(1);
}

.nav-search,
.header-search {
	display: flex;
	align-items: center;
}

.nav-search {
	display: none;
}

.search-form {
	display: flex;
	align-items: center;
	gap: 4px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid var(--line);
	border-radius: 999px;
	padding: 3px 4px 3px 14px;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.search-form:focus-within {
	border-color: rgba(94, 231, 255, 0.45);
	box-shadow: 0 0 0 4px rgba(94, 231, 255, 0.08);
	background: rgba(255, 255, 255, 0.06);
}

.header-search .search-form {
	width: 208px;
}

.search-field {
	flex: 1;
	min-width: 0;
	background: transparent;
	border: 0;
	color: var(--text);
	font-family: inherit;
	font-size: 13px;
	padding: 7px 0;
}

.search-field::placeholder {
	color: var(--muted);
}

.search-field:focus {
	outline: none;
}

.search-submit {
	width: 30px;
	height: 30px;
	flex: none;
	display: grid;
	place-items: center;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--muted);
	cursor: pointer;
	transition: color 0.2s ease, background-color 0.2s ease;
}

.search-submit:hover {
	color: var(--cyan);
	background: rgba(94, 231, 255, 0.1);
}

.nav-toggle {
	display: none;
	width: 40px;
	height: 40px;
	margin-left: 4px;
	padding: 0;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.03);
	cursor: pointer;
}

.nav-toggle span {
	display: block;
	width: 16px;
	height: 1.5px;
	margin: 4px auto;
	background: var(--text-2);
	transition: transform 0.25s ease, opacity 0.25s ease;
}

body.nav-open .nav-toggle span:nth-child(1) {
	transform: translateY(5.5px) rotate(45deg);
}

body.nav-open .nav-toggle span:nth-child(2) {
	opacity: 0;
}

body.nav-open .nav-toggle span:nth-child(3) {
	transform: translateY(-5.5px) rotate(-45deg);
}

/* ---------- 首页 Hero ---------- */

.hero {
	position: relative;
	padding: 88px 0 36px;
	overflow: hidden;
}

.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
	background-size: 72px 72px;
	mask-image: radial-gradient(70% 60% at 30% 30%, #000 0%, transparent 78%);
	-webkit-mask-image: radial-gradient(70% 60% at 30% 30%, #000 0%, transparent 78%);
	pointer-events: none;
}

.hero-glow {
	position: absolute;
	width: 620px;
	height: 420px;
	top: -180px;
	right: -60px;
	background: radial-gradient(closest-side, rgba(139, 92, 246, 0.28), transparent 72%);
	filter: blur(20px);
	pointer-events: none;
}

.hero-inner {
	position: relative;
}

.hero-kicker {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 18px;
	font-family: var(--mono);
	font-size: 11px;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--cyan);
}

.hero-kicker::before {
	content: "";
	width: 26px;
	height: 1px;
	background: var(--grad);
}

.hero-title {
	margin: 0;
	font-size: clamp(38px, 6.2vw, 66px);
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -0.015em;
	color: #f6f9fd;
}

.hero-note {
	margin: 16px 0 0;
	font-size: clamp(15px, 1.6vw, 18px);
	color: var(--text-2);
	letter-spacing: 0.01em;
}

.hero-stats {
	display: flex;
	gap: 36px;
	margin: 34px 0 0;
	padding: 0;
	list-style: none;
}

.hero-stats li {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding-left: 18px;
	border-left: 1px solid var(--line-strong);
}

.hero-stats strong {
	font-family: var(--mono);
	font-size: 24px;
	font-weight: 600;
	line-height: 1.2;
	background: var(--grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.hero-stats span {
	font-size: 12px;
	color: var(--muted);
	letter-spacing: 0.04em;
}

/* ---------- 栏目条 ---------- */

.cat-strip {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	padding: 8px 0 10px;
	border-bottom: 1px solid var(--line);
}

.cat-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 14px;
	border: 1px solid var(--line);
	border-radius: 999px;
	font-size: 13px;
	color: var(--text-2);
	background: rgba(255, 255, 255, 0.02);
}

.cat-chip em {
	font-family: var(--mono);
	font-style: normal;
	font-size: 10.5px;
	color: var(--muted);
}

.cat-chip:hover {
	color: #fff;
	border-color: rgba(94, 231, 255, 0.4);
	background: rgba(94, 231, 255, 0.06);
}

/* ---------- 区块 ---------- */

.section {
	padding: 46px 0;
}

.section-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 26px;
}

.section-title {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	font-size: 20px;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: #f1f6fd;
}

.section-mark {
	width: 4px;
	height: 18px;
	border-radius: 3px;
	background: var(--grad);
	box-shadow: 0 0 14px rgba(94, 231, 255, 0.5);
}

.section-sub {
	margin: 0;
	font-family: var(--mono);
	font-size: 11px;
	letter-spacing: 0.14em;
	color: var(--muted);
}

/* ---------- 头条 ---------- */

.section-feature {
	padding-top: 40px;
}

.feature {
	display: grid;
	grid-template-columns: 1.12fr 1fr;
	gap: 42px;
	align-items: center;
	padding: 16px;
	border: 1px solid var(--line);
	border-radius: 24px;
	background:
		linear-gradient(150deg, rgba(94, 231, 255, 0.05), transparent 40%),
		linear-gradient(180deg, #0d131d, #090e15);
	overflow: hidden;
}

.feature-cover {
	position: relative;
	display: block;
	aspect-ratio: 16 / 10;
	border-radius: 16px;
	overflow: hidden;
	background: #0a101a;
}

.feature-cover img,
.feature-cover .cover-fallback {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.feature-badge {
	position: absolute;
	top: 14px;
	right: 14px;
	padding: 5px 12px;
	font-family: var(--mono);
	font-size: 10px;
	letter-spacing: 0.16em;
	color: #04121a;
	background: var(--grad);
	border-radius: 999px;
	font-weight: 700;
}

.feature-body {
	padding: 8px 26px 8px 0;
	min-width: 0;
}

.feature-title {
	margin: 16px 0 14px;
	font-size: clamp(24px, 2.5vw, 33px);
	font-weight: 750;
	line-height: 1.36;
	letter-spacing: -0.005em;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.feature-title a {
	color: #f4f8fd;
}

.feature-title a:hover {
	color: var(--cyan);
}

.feature-excerpt {
	margin: 0 0 24px;
	font-size: 14.5px;
	line-height: 1.95;
	color: var(--muted);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.feature-more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--cyan);
}

.feature-more span {
	transition: transform 0.25s ease;
}

.feature-more:hover span {
	transform: translateX(4px);
}

/* ---------- 卡片网格 ---------- */

.card-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 24px;
}

.card {
	display: flex;
	flex-direction: column;
	background: linear-gradient(180deg, #0d131d, #0a0f18);
	border: 1px solid var(--line);
	border-radius: 18px;
	overflow: hidden;
	transition: transform 0.35s cubic-bezier(0.22, 0.8, 0.3, 1), border-color 0.3s ease, box-shadow 0.35s ease;
}

.card:hover {
	transform: translateY(-6px);
	border-color: rgba(94, 231, 255, 0.3);
	box-shadow: 0 28px 60px -30px rgba(0, 0, 0, 0.95), 0 0 40px -24px rgba(94, 231, 255, 0.5);
}

.card-cover {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: #0a101a;
}

.card-cover img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.7s cubic-bezier(0.22, 0.8, 0.3, 1);
}

.card:hover .card-cover img {
	transform: scale(1.045);
}

.cover-fallback {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	background:
		linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px) 0 0 / 34px 34px,
		linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px) 0 0 / 34px 34px,
		radial-gradient(120% 100% at 18% 0%, hsl(var(--h1) 92% 62% / 0.34), transparent 58%),
		radial-gradient(110% 110% at 100% 100%, hsl(var(--h2) 86% 62% / 0.3), transparent 62%),
		#090f18;
	overflow: hidden;
}

.cover-laptop {
	width: 42%;
	max-width: 220px;
	height: auto;
	color: rgba(255, 255, 255, 0.62);
	filter: drop-shadow(0 10px 26px rgba(94, 231, 255, 0.28));
}

.card-body {
	padding: 18px 20px 22px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-width: 0;
}

.card-meta {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.pill {
	display: inline-flex;
	align-items: center;
	padding: 3px 10px;
	border: 1px solid rgba(94, 231, 255, 0.28);
	border-radius: 999px;
	background: rgba(94, 231, 255, 0.07);
	color: #8ee9ff;
	font-size: 11px;
	letter-spacing: 0.06em;
	line-height: 1.7;
}

.pill:hover {
	background: rgba(94, 231, 255, 0.16);
	color: #c9f5ff;
}

.card-date {
	font-family: var(--mono);
	font-size: 11px;
	letter-spacing: 0.04em;
	color: var(--muted);
}

.card-read {
	font-size: 11px;
	color: var(--muted);
}

.card-title {
	margin: 0;
	font-size: 17.5px;
	font-weight: 650;
	line-height: 1.55;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.card-title a {
	color: #eaf1fa;
}

.card-title a:hover {
	color: var(--cyan);
}

.card-excerpt {
	margin: 0;
	font-size: 13.5px;
	line-height: 1.85;
	color: var(--muted);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* ---------- 分页 ---------- */

.pagination {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin: 52px 0 8px;
}

.pagination .page-numbers {
	display: grid;
	place-items: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border: 1px solid var(--line);
	border-radius: 12px;
	font-family: var(--mono);
	font-size: 13px;
	color: var(--text-2);
	background: rgba(255, 255, 255, 0.02);
}

.pagination .page-numbers:hover {
	border-color: rgba(94, 231, 255, 0.4);
	color: #fff;
}

.pagination .current {
	background: var(--grad);
	border-color: transparent;
	color: #04121a;
	font-weight: 700;
}

.pagination .dots {
	border-color: transparent;
	background: transparent;
}

/* ---------- 标签 ---------- */

.tag-cloud {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.tag {
	display: inline-flex;
	align-items: center;
	padding: 6px 14px;
	border: 1px solid var(--line);
	border-radius: 999px;
	font-size: 12.5px;
	color: var(--text-2);
	background: rgba(255, 255, 255, 0.02);
}

.tag:hover {
	color: #fff;
	border-color: rgba(139, 92, 246, 0.5);
	background: rgba(139, 92, 246, 0.12);
}

.tag-cloud-sm .tag {
	padding: 4px 11px;
	font-size: 12px;
}

/* ---------- 文章页 ---------- */

.single-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 64px;
	align-items: start;
	padding: 38px 0 90px;
}

.article {
	min-width: 0;
}

.breadcrumb {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	color: var(--muted);
	font-family: var(--mono);
	letter-spacing: 0.02em;
}

.breadcrumb a:hover {
	color: var(--cyan);
}

.breadcrumb .current {
	color: var(--text-2);
}

.article-head {
	margin: 22px 0 0;
}

.article-eyebrow {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 12px;
	color: var(--muted);
}

.article-title {
	margin: 16px 0 18px;
	font-size: clamp(29px, 4vw, 45px);
	font-weight: 800;
	line-height: 1.26;
	letter-spacing: -0.008em;
	color: #f5f9fe;
	text-wrap: balance;
}

.article-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	font-size: 12.5px;
	color: var(--muted);
}

.article-meta time {
	font-family: var(--mono);
	letter-spacing: 0.02em;
}

/* ---------- 正文排版 ---------- */

.entry-content {
	margin-top: 34px;
	font-size: 17px;
	line-height: 2.02;
	color: #c5d0e0;
	overflow-wrap: break-word;
}

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

.entry-content > p:first-of-type {
	font-size: 18px;
	color: #dde6f3;
}

.entry-content p {
	margin: 0 0 24px;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
	position: relative;
	color: #f2f7fd;
	font-weight: 700;
	line-height: 1.45;
	scroll-margin-top: 96px;
}

.entry-content h2 {
	margin: 54px 0 20px;
	padding-left: 18px;
	font-size: 26px;
}

.entry-content h2::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.32em;
	width: 4px;
	height: 1.05em;
	border-radius: 3px;
	background: var(--grad);
	box-shadow: 0 0 16px rgba(94, 231, 255, 0.45);
}

.entry-content h3 {
	margin: 38px 0 14px;
	font-size: 20px;
}

.entry-content h4 {
	margin: 30px 0 12px;
	font-size: 17px;
}

.entry-content a {
	color: #7fe6ff;
	text-decoration: underline;
	text-decoration-color: rgba(127, 230, 255, 0.35);
	text-underline-offset: 4px;
}

.entry-content a:hover {
	text-decoration-color: rgba(127, 230, 255, 0.9);
}

.entry-content ul,
.entry-content ol {
	margin: 0 0 24px;
	padding-left: 24px;
}

.entry-content li {
	margin: 9px 0;
}

.entry-content li::marker {
	color: var(--cyan);
}

.entry-content blockquote {
	margin: 30px 0;
	padding: 18px 24px;
	background: linear-gradient(90deg, rgba(94, 231, 255, 0.07), rgba(94, 231, 255, 0.015));
	border-left: 2px solid var(--cyan);
	border-radius: 0 14px 14px 0;
	color: var(--text-2);
}

.entry-content blockquote p:last-child {
	margin-bottom: 0;
}

.entry-content img {
	border-radius: 14px;
	border: 1px solid var(--line);
}

.entry-content figure {
	margin: 30px 0;
}

.entry-content figcaption,
.entry-content .wp-caption-text {
	margin-top: 10px;
	font-size: 12.5px;
	color: var(--muted);
	text-align: center;
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14.5px;
	line-height: 1.75;
	background: rgba(255, 255, 255, 0.015);
}

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

.entry-content th {
	background: rgba(255, 255, 255, 0.045);
	color: #eef4fb;
	font-weight: 600;
	font-size: 13.5px;
	white-space: nowrap;
}

.entry-content tr:last-child td {
	border-bottom: 0;
}

.table-scroll {
	overflow-x: auto;
	margin: 30px 0;
	border: 1px solid var(--line);
	border-radius: 14px;
	-webkit-overflow-scrolling: touch;
}

.table-scroll table {
	margin: 0;
	min-width: 520px;
}

.table-hint {
	display: none;
	margin: 0 0 8px;
	font-family: var(--mono);
	font-size: 10.5px;
	letter-spacing: 0.08em;
	color: var(--muted);
}

.table-hint {
	display: none;
	margin: 0 0 8px;
	font-family: var(--mono);
	font-size: 10.5px;
	letter-spacing: 0.08em;
	color: var(--muted);
}

.entry-content code {
	font-family: var(--mono);
	font-size: 0.86em;
	padding: 2px 6px;
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.07);
	color: #9fe9ff;
}

.entry-content pre {
	margin: 28px 0;
	padding: 18px 20px;
	background: #080d14;
	border: 1px solid var(--line);
	border-radius: 14px;
	overflow-x: auto;
	line-height: 1.7;
}

.entry-content pre code {
	padding: 0;
	background: none;
	color: #c9d6e6;
}

.entry-content hr {
	margin: 44px 0;
	border: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}

.entry-content strong {
	color: #f0f5fc;
}

/* ---------- 目录 ---------- */

.toc-mobile {
	display: none;
	margin: 26px 0 4px;
	border: 1px solid var(--line);
	border-radius: 16px;
	background: linear-gradient(180deg, #0d131d, #0a0f18);
	overflow: hidden;
}

.toc-mobile summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 15px 18px;
	cursor: pointer;
	list-style: none;
	font-size: 14px;
	font-weight: 600;
	color: var(--text);
}

.toc-mobile summary::-webkit-details-marker {
	display: none;
}

.toc-mobile summary::after {
	content: "";
	width: 8px;
	height: 8px;
	border-right: 1.5px solid var(--muted);
	border-bottom: 1.5px solid var(--muted);
	transform: rotate(45deg);
	transition: transform 0.25s ease;
}

.toc-mobile[open] summary::after {
	transform: rotate(-135deg);
}

.toc-mobile summary em {
	font-style: normal;
	font-family: var(--mono);
	font-size: 11px;
	color: var(--muted);
	margin-left: auto;
	margin-right: 6px;
}

.toc-mobile-body {
	padding: 2px 10px 14px;
}

.side-card {
	border: 1px solid var(--line);
	border-radius: 16px;
	background: linear-gradient(180deg, #0c121b, #090e15);
	padding: 18px 18px 20px;
	margin-bottom: 22px;
}

.side-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 12px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--line);
}

.side-head span {
	font-size: 13.5px;
	font-weight: 650;
	letter-spacing: 0.05em;
	color: #edf4fc;
}

.side-head em {
	font-family: var(--mono);
	font-style: normal;
	font-size: 9px;
	letter-spacing: 0.2em;
	color: var(--muted);
}

.toc-card {
	position: sticky;
	top: 94px;
	max-height: calc(100vh - 120px);
	overflow-y: auto;
	overscroll-behavior: contain;
	scrollbar-width: thin;
	scrollbar-color: rgba(255, 255, 255, 0.16) transparent;
}

.toc-card::-webkit-scrollbar {
	width: 6px;
}

.toc-card::-webkit-scrollbar-thumb {
	background: rgba(255, 255, 255, 0.14);
	border-radius: 99px;
}

.toc-list,
.toc-sub {
	list-style: none;
	margin: 0;
	padding: 0;
}

.toc-list {
	border-left: 1px solid var(--line);
}

.toc-item a {
	display: block;
	margin-left: -1px;
	padding: 7px 10px 7px 12px;
	border-left: 2px solid transparent;
	font-size: 13px;
	line-height: 1.62;
	color: var(--muted);
}

.toc-item a:hover {
	color: var(--text);
}

.toc-item a.is-active {
	color: #fff;
	border-left-color: var(--cyan);
	background: linear-gradient(90deg, rgba(94, 231, 255, 0.13), transparent 85%);
}

.toc-sub {
	margin-left: 10px;
}

.toc-sub .toc-item a {
	font-size: 12.3px;
	padding-top: 5px;
	padding-bottom: 5px;
	color: #748196;
}

.toc-sub .toc-item a.is-active {
	color: #dff6ff;
}

/* ---------- 侧栏小列表 ---------- */

.mini-list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.mini-item {
	display: flex;
	gap: 12px;
	align-items: flex-start;
}

.mini-thumb {
	flex: none;
	width: 68px;
	height: 46px;
	border-radius: 8px;
	overflow: hidden;
	border: 1px solid var(--line);
	background: #0a101a;
}

.mini-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mini-thumb .cover-fallback {
	width: 100%;
	height: 100%;
}

.mini-thumb .cover-laptop {
	width: 58%;
}

.mini-text {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.mini-title {
	font-size: 12.8px;
	line-height: 1.55;
	color: var(--text-2);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.mini-item:hover .mini-title {
	color: var(--cyan);
}

.mini-text time {
	font-family: var(--mono);
	font-size: 10.5px;
	color: var(--muted);
}

/* ---------- 文章尾部 ---------- */

.article-tags {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 40px;
	padding-top: 24px;
	border-top: 1px solid var(--line);
}

/* ---------- 核心结论 / 作者 / FAQ ---------- */

.article-summary {
	margin: 28px 0 0;
	padding: 20px 22px;
	border: 1px solid rgba(94, 231, 255, 0.18);
	border-radius: 14px;
	background:
		linear-gradient(135deg, rgba(94, 231, 255, 0.09), rgba(139, 92, 246, 0.05)),
		rgba(255, 255, 255, 0.015);
}

.article-summary-label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--mono);
	font-size: 10px;
	letter-spacing: 0.2em;
	color: var(--cyan);
}

.article-summary-label::before {
	content: "";
	width: 14px;
	height: 1px;
	background: var(--grad);
}

.article-summary p {
	margin: 10px 0 0;
	font-size: 15.5px;
	line-height: 1.92;
	color: #d8e2f0;
}

.article-updated {
	color: var(--muted);
}

.author-box {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	margin-top: 44px;
	padding: 20px 22px;
	border: 1px solid var(--line);
	border-radius: 16px;
	background: linear-gradient(180deg, #0c121b, #090e15);
}

.author-avatar {
	width: 56px;
	height: 56px;
	flex: none;
	border-radius: 50%;
	border: 1px solid var(--line-strong);
}

.author-label {
	margin: 0 0 5px;
	font-family: var(--mono);
	font-size: 10px;
	letter-spacing: 0.18em;
	color: var(--muted);
}

.author-name {
	margin: 0 0 6px;
	font-size: 16px;
	font-weight: 650;
}

.author-name a {
	color: #eef4fb;
}

.author-name a:hover {
	color: var(--cyan);
}

.author-bio {
	margin: 0;
	font-size: 13.5px;
	line-height: 1.8;
	color: var(--muted);
}

.entry-content details {
	margin: 16px 0;
	padding: 14px 18px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.02);
}

.entry-content summary {
	cursor: pointer;
	font-weight: 600;
	color: #eaf1fa;
}

.entry-content details[open] summary {
	margin-bottom: 10px;
	color: var(--cyan);
}

.article-tags-label {
	font-family: var(--mono);
	font-size: 10.5px;
	letter-spacing: 0.18em;
	color: var(--muted);
	margin-right: 4px;
}

.post-nav {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-top: 34px;
}

.post-nav-item {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 16px 18px;
	border: 1px solid var(--line);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.02);
	min-width: 0;
}

.post-nav-item:hover {
	border-color: rgba(94, 231, 255, 0.35);
	background: rgba(94, 231, 255, 0.04);
}

.post-nav-label {
	font-family: var(--mono);
	font-size: 10px;
	letter-spacing: 0.16em;
	color: var(--muted);
}

.post-nav-title {
	font-size: 14px;
	line-height: 1.6;
	color: var(--text-2);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.post-nav-item:hover .post-nav-title {
	color: #fff;
}

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

.post-nav-item:only-child {
	grid-column: 1 / -1;
}

/* ---------- 评论 ---------- */

.comments {
	margin-top: 54px;
	padding-top: 34px;
	border-top: 1px solid var(--line);
}

.comments-title {
	font-size: 17px;
	font-weight: 650;
	color: #edf4fc;
	margin: 0 0 22px;
}

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

.comment-list li {
	margin-bottom: 18px;
}

.comment-body {
	padding: 16px 18px;
	border: 1px solid var(--line);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.02);
	font-size: 14px;
}

.comment-meta {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 8px;
	font-size: 12px;
	color: var(--muted);
}

.comment-meta img {
	border-radius: 50%;
}

.comment-author {
	color: var(--text);
	font-weight: 600;
}

.comment-form p {
	margin: 0 0 14px;
}

.comment-form label {
	display: block;
	font-size: 12px;
	color: var(--muted);
	margin-bottom: 6px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 11px 14px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid var(--line);
	border-radius: 10px;
	color: var(--text);
	font-family: inherit;
	font-size: 14px;
}

.comment-form textarea {
	min-height: 120px;
	resize: vertical;
}

.comment-form input:focus,
.comment-form textarea:focus {
	outline: none;
	border-color: rgba(94, 231, 255, 0.45);
	box-shadow: 0 0 0 4px rgba(94, 231, 255, 0.08);
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 11px 24px;
	border: 0;
	border-radius: 999px;
	background: var(--grad);
	color: #04121a;
	font-family: inherit;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.02em;
	cursor: pointer;
}

.btn:hover {
	color: #04121a;
	filter: brightness(1.08);
	box-shadow: 0 12px 30px -12px rgba(94, 231, 255, 0.6);
}

/* ---------- 归档 / 页面 ---------- */

.archive-head {
	padding: 58px 0 6px;
}

.archive-kicker {
	margin: 0 0 14px;
	font-family: var(--mono);
	font-size: 10.5px;
	letter-spacing: 0.24em;
	color: var(--cyan);
}

.archive-title {
	margin: 0;
	font-size: clamp(30px, 4.6vw, 46px);
	font-weight: 800;
	line-height: 1.25;
	color: #f5f9fe;
	letter-spacing: -0.01em;
}

.archive-desc {
	margin-top: 14px;
	max-width: 46em;
	font-size: 14.5px;
	line-height: 1.9;
	color: var(--muted);
}

.archive-desc p:last-child {
	margin-bottom: 0;
}

.archive-count {
	margin: 16px 0 0;
	font-size: 13px;
	color: var(--muted);
}

.archive-count strong {
	color: var(--text);
	font-family: var(--mono);
	font-size: 14px;
}

.archive-count a {
	color: var(--cyan);
}

.archive-search {
	margin-top: 18px;
	max-width: 360px;
}

.page-layout {
	max-width: 820px;
	padding: 62px 0 90px;
}

.page-title {
	margin: 0;
	font-size: clamp(30px, 4.6vw, 46px);
	font-weight: 800;
	line-height: 1.25;
	color: #f5f9fe;
}

.entry-content-page {
	margin-top: 26px;
}

.notfound {
	text-align: center;
	padding: 96px 0 40px;
}

.notfound-code {
	margin: 0;
	font-family: var(--mono);
	font-size: clamp(80px, 14vw, 140px);
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.04em;
	background: var(--grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	opacity: 0.85;
}

.notfound-title {
	margin: 18px 0 0;
	font-size: clamp(22px, 3vw, 30px);
	font-weight: 750;
	color: #f2f7fd;
}

.notfound-note {
	margin: 12px 0 26px;
	color: var(--muted);
	font-size: 14.5px;
}

.notfound-search {
	max-width: 380px;
	margin: 0 auto 26px;
}

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

.empty-state h2 {
	margin: 0 0 10px;
	font-size: 22px;
	color: #f2f7fd;
}

.empty-state p {
	margin: 0 auto 24px;
	max-width: 32em;
	color: var(--muted);
	font-size: 14.5px;
}

.empty-state .search-form {
	max-width: 380px;
	margin: 0 auto 20px;
}

/* ---------- 页脚 ---------- */

.site-footer {
	margin-top: 40px;
	border-top: 1px solid var(--line);
	background: linear-gradient(180deg, rgba(10, 15, 24, 0.5), rgba(6, 9, 15, 0.9));
	padding: 56px 0 26px;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr;
	gap: 44px;
}

.qb-friend-links .footer-grid {
	grid-template-columns: 1.5fr 1fr 1fr 1fr;
}

.footer-note {
	margin: 16px 0 0;
	font-size: 13px;
	line-height: 1.9;
	color: var(--muted);
	max-width: 26em;
}

.footer-title {
	margin: 2px 0 14px;
	font-family: var(--mono);
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 0.22em;
	color: var(--muted);
	text-transform: uppercase;
}

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

.footer-list li {
	margin-bottom: 9px;
}

.footer-list a {
	font-size: 14px;
	color: var(--text-2);
}

.footer-list a:hover {
	color: var(--cyan);
}

.footer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 42px;
	padding-top: 22px;
	border-top: 1px solid var(--line);
	font-size: 12px;
	color: var(--muted);
}

.footer-bottom p {
	margin: 0;
}

.footer-legal a {
	color: var(--text-2);
}

/* ---------- 回到顶部 ---------- */

.to-top {
	position: fixed;
	right: 26px;
	bottom: 26px;
	width: 44px;
	height: 44px;
	display: grid;
	place-items: center;
	border: 1px solid var(--line-strong);
	border-radius: 50%;
	background: rgba(13, 19, 29, 0.9);
	backdrop-filter: blur(8px);
	color: var(--text-2);
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
	z-index: 90;
}

.to-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.to-top:hover {
	color: var(--cyan);
	border-color: rgba(94, 231, 255, 0.5);
	box-shadow: 0 0 24px -6px rgba(94, 231, 255, 0.5);
}

/* ---------- 响应式 ---------- */

@media (max-width: 1180px) {
	.single-layout {
		grid-template-columns: minmax(0, 1fr) 280px;
		gap: 44px;
	}
}

@media (max-width: 1080px) {
	.single-layout {
		grid-template-columns: minmax(0, 1fr);
		gap: 0;
		padding-bottom: 64px;
	}

	.sidebar {
		display: none;
	}

	.toc-mobile {
		display: block;
	}

	.header-search {
		display: none;
	}

	.nav-search {
		display: block;
		margin-top: 18px;
	}

	.nav-toggle {
		display: block;
	}

	.main-nav {
		position: fixed;
		top: 74px;
		left: 0;
		right: 0;
		display: none;
		padding: 20px 24px 26px;
		background: rgba(7, 11, 18, 0.97);
		backdrop-filter: blur(18px);
		border-bottom: 1px solid var(--line);
		box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.9);
		max-height: calc(100vh - 74px);
		overflow-y: auto;
	}

	body.nav-open .main-nav {
		display: block;
	}

	.nav-list {
		flex-direction: column;
		align-items: stretch;
		gap: 2px;
	}

	.nav-list a {
		padding: 12px 6px;
		font-size: 16px;
		border-bottom: 1px solid rgba(255, 255, 255, 0.05);
	}

	.nav-list a::after {
		display: none;
	}
}

@media (max-width: 900px) {
	.hero {
		padding: 62px 0 28px;
	}

	.feature {
		grid-template-columns: 1fr;
		gap: 22px;
		padding: 14px 14px 24px;
	}

	.feature-body {
		padding: 0 10px;
	}

	.footer-grid {
		grid-template-columns: 1fr 1fr;
		gap: 34px;
	}

	.footer-brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 700px) {
	.wrap {
		width: calc(100% - 36px);
	}

	.header-inner {
		height: 66px;
		gap: 12px;
	}

	.brand-mark,
	.custom-logo-link img {
		width: 34px;
		height: 34px;
	}

	.brand-name {
		font-size: 16px;
	}

	.brand-sub {
		font-size: 8px;
		letter-spacing: 0.18em;
	}

	.main-nav {
		top: 66px;
		max-height: calc(100vh - 66px);
	}

	.hero-stats {
		gap: 22px;
	}

	.hero-stats strong {
		font-size: 20px;
	}

	.card-grid {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.section {
		padding: 34px 0;
	}

	.article-title {
		font-size: 28px;
	}

	.entry-content {
		font-size: 16.5px;
		line-height: 1.95;
	}

	.entry-content h2 {
		font-size: 22px;
		margin-top: 42px;
	}

	.entry-content h3 {
		font-size: 18.5px;
	}

	.table-hint {
		display: block;
	}

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

	.post-nav-next {
		text-align: left;
	}

	.footer-grid {
		grid-template-columns: 1fr;
	}

	.footer-bottom {
		flex-direction: column;
		align-items: flex-start;
	}

	.to-top {
		right: 16px;
		bottom: 16px;
	}
}

/* ---------- 减少动效偏好 ---------- */

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