/*
Theme Name: 521 家居 GEO
Theme URI: https://jia521.com/
Author: 521 Jiaju
Description: 面向生成式引擎（GEO）的家居装修知识站。城市 × 专题矩阵、可核验内容、零插件依赖、零外部资源请求。纯白柔光 · 圆角卡片视觉系统。
Version: 4.0.0
Requires at least: 6.4
Requires PHP: 8.0
License: Proprietary
Text Domain: jia521
*/

/* ============================================================
   0. 设计令牌
   纯白底 + 柔和光晕 + 大圆角卡片 + 低饱和彩色点缀
   ============================================================ */
:root {
	--paper: #ffffff;
	--paper-2: #ffffff;
	--paper-3: #fafafb;
	--paper-4: #f4f4f6;

	--ink: #0f1115;
	--ink-2: #191c22;
	--ink-soft: #3f444d;
	--muted: #6b7280;
	--faint: #9ca3af;
	--dim: #8b8f98;
	--ghost: #e5e7eb;

	--line: #f0f0f3;
	--line-strong: #e6e7ec;

	/* 点缀色：只用于小面积（标签、圆点、按钮、渐变光晕） */
	--violet: #6e56f8;
	--violet-2: #9b8bff;
	--violet-soft: #f3f0ff;
	--blue: #3b82f6;
	--blue-soft: #eef4ff;
	--teal: #12b5a2;
	--teal-soft: #e9faf6;
	--amber: #f0a04b;
	--amber-soft: #fff7ec;

	/* 历史变量名保留，统一指向中性色 */
	--bronze: #0f1115;
	--bronze-soft: #6b7280;
	--bronze-wash: #fafafb;
	--forest: #0f1115;

	--font-display: -apple-system, BlinkMacSystemFont, "Segoe UI Variable Display", "Segoe UI",
		"PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
	--font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI",
		"PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
	--font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

	--wrap: 1200px;
	--wrap-narrow: 720px;

	--r-sm: 10px;
	--r-md: 14px;
	--r-lg: 20px;
	--r-xl: 28px;
	--r-full: 999px;

	--radius: 14px;
	--radius-lg: 20px;

	--shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.04);
	--shadow-md: 0 6px 20px -6px rgba(16, 24, 40, 0.1), 0 1px 2px rgba(16, 24, 40, 0.04);
	--shadow-lg: 0 18px 44px -16px rgba(16, 24, 40, 0.18), 0 2px 6px rgba(16, 24, 40, 0.04);

	--gap: 24px;
	--sec: 104px;
	--ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ============================================================
   1. 基础重置
   ============================================================ */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: 96px;
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font-sans);
	font-size: 16px;
	line-height: 1.8;
	font-weight: 400;
	font-feature-settings: "tnum" 0;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

img,
svg,
video {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: inherit;
	text-decoration: none;
	transition: color 0.22s var(--ease), border-color 0.22s var(--ease), background-color 0.22s var(--ease),
		box-shadow 0.28s var(--ease), transform 0.28s var(--ease);
}

button {
	font: inherit;
	cursor: pointer;
}

::selection {
	background: #ece8ff;
	color: #3a2ea8;
}

:focus-visible {
	outline: 2px solid var(--violet);
	outline-offset: 3px;
	border-radius: 4px;
}

hr {
	border: 0;
	border-top: 1px solid var(--line);
	margin: 40px 0;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* ============================================================
   2. 排版
   ============================================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0;
	font-family: var(--font-display);
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: -0.02em;
	color: var(--ink);
}

h1 {
	font-size: clamp(30px, 3.6vw, 44px);
}

h2 {
	font-size: clamp(24px, 2.6vw, 34px);
}

h3 {
	font-size: 19px;
}

p {
	margin: 0 0 1.2em;
}

p:last-child {
	margin-bottom: 0;
}

strong,
b {
	font-weight: 600;
}

small {
	font-size: 12.5px;
}

/* ============================================================
   3. 布局骨架
   ============================================================ */
.wrap {
	width: 100%;
	max-width: var(--wrap);
	margin: 0 auto;
	padding: 0 32px;
}

.section {
	padding: var(--sec) 0;
	position: relative;
}

.section--tight {
	padding: 84px 0;
}

.section--paper3 {
	background: var(--paper-3);
}

.section--dark {
	background: var(--paper-3);
	color: var(--ink);
}

/* 段落标题 */
.sec-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 48px;
	margin-bottom: 40px;
}

.sec-head__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 26px;
	padding: 0 12px;
	margin-bottom: 16px;
	background: var(--paper-3);
	border: 1px solid var(--line);
	border-radius: var(--r-full);
	font-size: 11.5px;
	font-weight: 500;
	letter-spacing: 0.04em;
	color: var(--muted);
}

.section--paper3 .sec-head__eyebrow,
.site-footer .sec-head__eyebrow {
	background: rgba(255, 255, 255, 0.85);
}

.sec-head__eyebrow::before {
	content: "";
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--violet);
}

.sec-head__title {
	font-size: clamp(23px, 2.4vw, 32px);
	font-weight: 600;
	letter-spacing: -0.025em;
	line-height: 1.25;
	margin: 0;
}

.sec-head__title em {
	font-style: normal;
	color: var(--dim);
	font-weight: 500;
}

.sec-head__desc {
	margin: 14px 0 0;
	max-width: 660px;
	font-size: 14.5px;
	line-height: 1.85;
	color: var(--muted);
}

.sec-head__more {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 38px;
	padding: 0 18px;
	background: var(--paper);
	border: 1px solid var(--line-strong);
	border-radius: var(--r-full);
	font-size: 13px;
	font-weight: 500;
	color: var(--ink-soft);
	white-space: nowrap;
	box-shadow: var(--shadow-sm);
}

.sec-head__more:hover {
	color: var(--ink);
	border-color: var(--ghost);
	box-shadow: var(--shadow-md);
	transform: translateY(-1px);
}

/* ============================================================
   4. 页头
   ============================================================ */
.site-header {
	position: sticky;
	top: 0;
	z-index: 60;
	background: rgba(255, 255, 255, 0.82);
	-webkit-backdrop-filter: saturate(180%) blur(18px);
	backdrop-filter: saturate(180%) blur(18px);
	border-bottom: 1px solid rgba(240, 240, 243, 0.9);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	height: 72px;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: -0.01em;
	color: var(--ink);
}

.brand__mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 30px;
	height: 30px;
	padding: 0 6px;
	border-radius: 10px;
	background: linear-gradient(135deg, #6e56f8 0%, #9b7bff 100%);
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.01em;
	color: #ffffff;
	box-shadow: 0 4px 12px -4px rgba(110, 86, 248, 0.6);
}

.brand__sub {
	padding-left: 10px;
	margin-left: 2px;
	border-left: 1px solid var(--line-strong);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--faint);
}

.nav {
	display: flex;
	align-items: center;
	gap: 6px;
}

.nav > a {
	padding: 8px 14px;
	border-radius: var(--r-full);
	font-size: 13.5px;
	font-weight: 500;
	color: var(--muted);
}

.nav > a:hover {
	color: var(--ink);
	background: var(--paper-3);
}

.nav__cta {
	margin-left: 8px;
	height: 38px;
	padding: 0 18px !important;
	display: inline-flex;
	align-items: center;
	background: var(--ink);
	border-radius: var(--r-full) !important;
	color: #ffffff !important;
	font-size: 13px !important;
	box-shadow: 0 4px 14px -4px rgba(15, 17, 21, 0.4);
}

.nav__cta:hover {
	background: #000000 !important;
	color: #ffffff !important;
	transform: translateY(-1px);
	box-shadow: 0 8px 20px -6px rgba(15, 17, 21, 0.45);
}

.nav-toggle {
	display: none;
	width: 42px;
	height: 42px;
	padding: 0;
	background: var(--paper-3);
	border: 1px solid var(--line);
	border-radius: 12px;
	position: relative;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
	position: absolute;
	left: 50%;
	width: 16px;
	height: 1.5px;
	border-radius: 2px;
	background: var(--ink);
	transition: transform 0.25s var(--ease), opacity 0.2s;
}

.nav-toggle span {
	top: 50%;
	transform: translate(-50%, -50%);
}

.nav-toggle span::before,
.nav-toggle span::after {
	content: "";
	left: 0;
}

.nav-toggle span::before {
	top: -5px;
}

.nav-toggle span::after {
	top: 5px;
}

.nav-toggle[aria-expanded="true"] span {
	background: transparent;
}

.nav-toggle[aria-expanded="true"] span::before {
	transform: translateY(5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span::after {
	transform: translateY(-5px) rotate(-45deg);
}

.progress {
	position: fixed;
	top: 0;
	left: 0;
	height: 3px;
	width: 0;
	background: linear-gradient(90deg, #6e56f8, #9b7bff);
	z-index: 70;
	border-radius: 0 3px 3px 0;
	transition: width 0.1s linear;
}

/* ============================================================
   5. 首页 Hero（柔和光晕 + 圆角搜索 + 数据卡片）
   ============================================================ */
.hero {
	position: relative;
	padding: 96px 0 88px;
	overflow: hidden;
}

/* 丝滑感的关键：两层低饱和柔光，只在首屏，不铺满全站 */
.hero::before {
	content: "";
	position: absolute;
	inset: -20% 0 auto 0;
	height: 780px;
	background:
		radial-gradient(48% 46% at 16% 4%, rgba(110, 86, 248, 0.11) 0%, rgba(110, 86, 248, 0) 68%),
		radial-gradient(42% 40% at 84% 12%, rgba(59, 130, 246, 0.09) 0%, rgba(59, 130, 246, 0) 70%),
		radial-gradient(36% 34% at 62% 0%, rgba(18, 181, 162, 0.06) 0%, rgba(18, 181, 162, 0) 72%);
	pointer-events: none;
}

.hero__inner {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
	gap: 72px;
	align-items: center;
}

.hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 30px;
	padding: 0 14px;
	margin-bottom: 26px;
	background: rgba(255, 255, 255, 0.7);
	border: 1px solid rgba(110, 86, 248, 0.16);
	border-radius: var(--r-full);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.02em;
	color: #5b4bd6;
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}

.hero__eyebrow::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--violet);
	box-shadow: 0 0 0 3px rgba(110, 86, 248, 0.14);
}

.hero__title {
	font-size: clamp(34px, 4.5vw, 60px);
	font-weight: 600;
	line-height: 1.14;
	letter-spacing: -0.035em;
	margin: 0;
}

.hero__title em {
	font-style: normal;
	color: var(--dim);
	font-weight: 500;
}

.hero__title strong {
	font-weight: 600;
}

.hero__lead {
	margin: 24px 0 0;
	max-width: 540px;
	font-size: 15.5px;
	line-height: 1.85;
	color: var(--muted);
}

/* 圆角胶囊搜索框 */
.hero__search {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 34px 0 0;
	max-width: 500px;
	padding: 6px 6px 6px 20px;
	background: var(--paper);
	border: 1px solid var(--line-strong);
	border-radius: var(--r-full);
	box-shadow: var(--shadow-md);
	transition: box-shadow 0.28s var(--ease), border-color 0.22s var(--ease);
}

.hero__search:focus-within {
	border-color: rgba(110, 86, 248, 0.45);
	box-shadow: 0 0 0 4px rgba(110, 86, 248, 0.1), var(--shadow-md);
}

.hero__search input {
	flex: 1 1 auto;
	min-width: 0;
	padding: 10px 0;
	border: 0;
	background: transparent;
	font-family: var(--font-sans);
	font-size: 14.5px;
	color: var(--ink);
	outline: none;
}

.hero__search input::placeholder {
	color: var(--faint);
}

.hero__search button {
	flex: 0 0 auto;
	height: 42px;
	padding: 0 22px;
	border: 0;
	border-radius: var(--r-full);
	background: var(--ink);
	font-size: 13.5px;
	font-weight: 500;
	color: #ffffff;
	box-shadow: 0 4px 12px -4px rgba(15, 17, 21, 0.45);
}

.hero__search button:hover {
	background: #000000;
	transform: translateY(-1px);
	box-shadow: 0 8px 18px -6px rgba(15, 17, 21, 0.5);
}

.hero__hot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: 26px;
	font-size: 12.5px;
}

.hero__hot > span {
	font-size: 12px;
	color: var(--faint);
	margin-right: 2px;
}

.hero__hot a {
	display: inline-flex;
	align-items: center;
	height: 30px;
	padding: 0 13px;
	background: rgba(255, 255, 255, 0.72);
	border: 1px solid var(--line-strong);
	border-radius: var(--r-full);
	color: var(--ink-soft);
	font-size: 12.5px;
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}

.hero__hot a:hover {
	background: var(--paper);
	border-color: var(--ghost);
	color: var(--ink);
	transform: translateY(-1px);
	box-shadow: var(--shadow-sm);
}

/* 右侧数据卡组 */
.hero__panel {
	padding: 22px;
	background: rgba(255, 255, 255, 0.72);
	border: 1px solid rgba(255, 255, 255, 0.9);
	border-radius: var(--r-xl);
	box-shadow: 0 24px 60px -28px rgba(16, 24, 40, 0.28), 0 2px 8px rgba(16, 24, 40, 0.04);
	-webkit-backdrop-filter: blur(16px);
	backdrop-filter: blur(16px);
}

.hero__panel-label {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin: 0 0 16px 4px;
	font-size: 11.5px;
	font-weight: 500;
	letter-spacing: 0.02em;
	color: var(--faint);
}

.hero__panel-label::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--teal);
	box-shadow: 0 0 0 3px rgba(18, 181, 162, 0.14);
}

.hero__stats {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.hero__stat {
	padding: 16px 16px 14px;
	border-radius: var(--r-md);
	background: var(--paper-3);
	border: 1px solid var(--line);
	transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), background-color 0.22s;
}

.hero__stat:hover {
	background: var(--paper);
	transform: translateY(-2px);
	box-shadow: var(--shadow-md);
}

.hero__stat:nth-child(1) {
	background: var(--violet-soft);
	border-color: rgba(110, 86, 248, 0.12);
}

.hero__stat:nth-child(4) {
	background: var(--teal-soft);
	border-color: rgba(18, 181, 162, 0.12);
}

.hero__stat b {
	display: block;
	font-family: var(--font-display);
	font-size: 30px;
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -0.04em;
	font-variant-numeric: tabular-nums;
	color: var(--ink);
}

.hero__stat:nth-child(1) b {
	color: #5b4bd6;
}

.hero__stat:nth-child(4) b {
	color: #0e9c8c;
}

.hero__stat span {
	display: block;
	margin-top: 4px;
	font-size: 12px;
	font-weight: 500;
	color: var(--muted);
	letter-spacing: 0.01em;
}

.hero__panel-foot {
	margin-top: 16px;
	padding: 13px 4px 2px;
	border-top: 1px solid var(--line);
	font-size: 11.5px;
	line-height: 1.9;
	color: var(--faint);
}

.hero__panel-foot a {
	color: var(--muted);
	font-weight: 500;
}

.hero__panel-foot a:hover {
	color: var(--violet);
}

/* ============================================================
   6. 城市矩阵
   ============================================================ */
.city-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
}

.city-card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 196px;
	padding: 22px 22px 18px;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	box-shadow: var(--shadow-sm);
	overflow: hidden;
}

.city-card::after {
	content: "";
	position: absolute;
	right: -50px;
	top: -50px;
	width: 110px;
	height: 110px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(110, 86, 248, 0.09) 0%, rgba(110, 86, 248, 0) 70%);
	opacity: 0;
	transition: opacity 0.35s var(--ease);
}

.city-card:hover {
	transform: translateY(-3px);
	border-color: rgba(110, 86, 248, 0.22);
	box-shadow: 0 16px 36px -18px rgba(16, 24, 40, 0.22);
}

.city-card:hover::after {
	opacity: 1;
}

.city-card__no {
	position: absolute;
	top: 20px;
	right: 20px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.02em;
	color: var(--ghost);
}

.city-card__name {
	display: block;
	font-size: 20px;
	font-weight: 600;
	letter-spacing: -0.02em;
	line-height: 1.3;
	color: var(--ink);
}

.city-card__en {
	display: block;
	margin-top: 2px;
	font-size: 10.5px;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--faint);
}

.city-card__tag {
	margin: 14px 0 16px;
	font-size: 12.5px;
	line-height: 1.7;
	color: var(--muted);
	flex: 1 1 auto;
}

.city-card__bar {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 11.5px;
	font-weight: 500;
	color: var(--faint);
}

.city-card__bar i {
	display: block;
	flex: 0 0 auto;
	height: 4px;
	border-radius: 4px;
	background: linear-gradient(90deg, #6e56f8, #9b7bff);
	transition: width 0.5s var(--ease);
}

.city-card.is-soon .city-card__bar i {
	background: var(--ghost);
}

.city-card.is-soon .city-card__name {
	color: var(--muted);
}

/* ============================================================
   7. 专题
   ============================================================ */
.topic-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

/* 专题区分类数不固定（本站当前 4 个），交给 auto-fit 自适应，避免留下孤零零的单卡 */
.section--paper3 .topic-grid {
	grid-template-columns: repeat(auto-fit, minmax(266px, 1fr));
}

.topic-card {
	display: flex;
	flex-direction: column;
	min-height: 214px;
	padding: 26px 26px 20px;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
}

.topic-card:hover {
	background: var(--paper);
	transform: translateY(-3px);
	border-color: var(--ghost);
	box-shadow: 0 16px 36px -18px rgba(16, 24, 40, 0.2);
}

.topic-card__no {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	margin-bottom: 18px;
	border-radius: 9px;
	background: var(--paper);
	border: 1px solid var(--line);
	font-size: 11px;
	font-weight: 600;
	color: var(--muted);
}

.topic-card:hover .topic-card__no {
	background: var(--violet-soft);
	border-color: rgba(110, 86, 248, 0.16);
	color: #5b4bd6;
}

.topic-card__title {
	margin: 0 0 8px;
	font-size: 17px;
	font-weight: 600;
	letter-spacing: -0.015em;
	line-height: 1.45;
}

.topic-card__desc {
	margin: 0;
	flex: 1 1 auto;
	font-size: 13px;
	line-height: 1.8;
	color: var(--muted);
}

.topic-card__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 20px;
	padding-top: 14px;
	border-top: 1px solid rgba(15, 17, 21, 0.06);
	font-size: 11.5px;
	font-weight: 500;
	color: var(--faint);
}

.topic-card__arrow {
	color: var(--ghost);
	transition: transform 0.28s var(--ease), color 0.22s;
}

.topic-card:hover .topic-card__arrow {
	color: var(--violet);
	transform: translateX(3px);
}

/* ============================================================
   8. 实体入口（品牌库 / 榜单）
   ============================================================ */
.entry-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.entry {
	display: flex;
	flex-direction: column;
	min-height: 216px;
	padding: 30px 30px 24px;
	border-radius: var(--r-xl);
	border: 1px solid var(--line);
	background: var(--paper);
	box-shadow: var(--shadow-sm);
	position: relative;
	overflow: hidden;
}

.entry::after {
	content: "";
	position: absolute;
	right: -60px;
	bottom: -80px;
	width: 220px;
	height: 220px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(110, 86, 248, 0.075) 0%, rgba(110, 86, 248, 0) 68%);
	pointer-events: none;
}

.entry:hover {
	transform: translateY(-3px);
	box-shadow: 0 20px 44px -20px rgba(16, 24, 40, 0.24);
	border-color: rgba(110, 86, 248, 0.2);
}

.entry__no {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	height: 26px;
	padding: 0 11px;
	margin-bottom: 20px;
	border-radius: var(--r-full);
	background: var(--violet-soft);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.03em;
	color: #5b4bd6;
}

.entry:last-child .entry__no {
	background: var(--teal-soft);
	color: #0e9c8c;
}

.entry__title {
	font-size: 22px;
	font-weight: 600;
	letter-spacing: -0.02em;
	margin: 0 0 10px;
}

.entry__desc {
	margin: 0;
	flex: 1 1 auto;
	max-width: 440px;
	font-size: 13.5px;
	line-height: 1.8;
	color: var(--muted);
}

.entry__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 22px;
	padding-top: 16px;
	border-top: 1px solid var(--line);
	font-size: 12px;
	font-weight: 500;
	color: var(--faint);
}

.entry:hover .entry__meta {
	color: var(--ink-soft);
}

/* ============================================================
   9. 文章卡片
   ============================================================ */
.post-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.card {
	display: flex;
	flex-direction: column;
	padding: 12px 12px 0;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	box-shadow: var(--shadow-sm);
	overflow: hidden;
}

.card:hover {
	transform: translateY(-3px);
	border-color: var(--ghost);
	box-shadow: 0 18px 40px -20px rgba(16, 24, 40, 0.22);
}

.card__cover {
	position: relative;
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--paper-4);
	border-radius: 12px;
}

.card__cover img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s var(--ease);
}

.card:hover .card__cover img {
	transform: scale(1.03);
}

.card__cover-pattern {
	position: absolute;
	inset: 0;
	display: block;
	background-color: var(--paper-3);
	background-image:
		radial-gradient(circle at 22% 18%, rgba(110, 86, 248, 0.1) 0%, rgba(110, 86, 248, 0) 62%),
		radial-gradient(circle at 82% 82%, rgba(59, 130, 246, 0.08) 0%, rgba(59, 130, 246, 0) 60%);
}

.card__cover-mark {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--font-display);
	font-size: 44px;
	font-weight: 600;
	letter-spacing: 0.06em;
	color: rgba(15, 17, 21, 0.055);
	-webkit-user-select: none;
	user-select: none;
	pointer-events: none;
}

.card__badge {
	position: absolute;
	left: 10px;
	top: 10px;
	padding: 4px 10px;
	background: rgba(255, 255, 255, 0.9);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	border-radius: var(--r-full);
	font-size: 10.5px;
	font-weight: 600;
	letter-spacing: 0.01em;
	color: var(--ink-soft);
	line-height: 1.6;
}

.card__body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	padding: 16px 10px 18px;
}

.card__meta {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 10px;
	font-size: 11.5px;
	font-weight: 500;
	color: var(--faint);
}

.card__meta i {
	display: block;
	width: 3px;
	height: 3px;
	border-radius: 50%;
	background: var(--ghost);
}

.card__title {
	margin: 0;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.5;
	letter-spacing: -0.015em;
}

.card__title a {
	color: var(--ink);
}

.card__excerpt {
	margin: 8px 0 0;
	flex: 1 1 auto;
	font-size: 12.5px;
	line-height: 1.8;
	color: var(--muted);
}

.card__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 16px;
	padding-top: 12px;
	border-top: 1px solid var(--line);
	font-size: 11.5px;
	font-weight: 500;
	color: var(--faint);
}

/* ============================================================
   10. 编辑式列表
   ============================================================ */
.list-editorial {
	display: grid;
	gap: 10px;
}

.list-item {
	display: grid;
	grid-template-columns: 40px minmax(0, 1fr) 160px;
	gap: 18px;
	align-items: baseline;
	padding: 20px 22px;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	box-shadow: var(--shadow-sm);
}

.list-item:hover {
	transform: translateY(-2px);
	border-color: var(--ghost);
	box-shadow: 0 14px 32px -18px rgba(16, 24, 40, 0.2);
}

.list-item__no {
	font-size: 11px;
	font-weight: 600;
	color: var(--ghost);
}

.list-item__title {
	margin: 0;
	font-size: 16.5px;
	font-weight: 600;
	letter-spacing: -0.015em;
	line-height: 1.5;
	color: var(--ink);
}

.list-item__excerpt {
	margin: 6px 0 0;
	font-size: 12.5px;
	line-height: 1.75;
	color: var(--muted);
}

.list-item__meta {
	display: grid;
	gap: 4px;
	text-align: right;
	font-size: 11.5px;
	font-weight: 500;
	color: var(--faint);
}

/* ============================================================
   11. 归档页头
   ============================================================ */
.archive-head {
	padding: 56px 0 36px;
}

.archive-head h1 {
	margin: 16px 0 0;
	max-width: 900px;
	font-size: clamp(26px, 3vw, 38px);
	font-weight: 600;
	letter-spacing: -0.03em;
	line-height: 1.3;
}

.archive-head__desc {
	margin: 16px 0 0;
	max-width: 700px;
	font-size: 14.5px;
	line-height: 1.85;
	color: var(--muted);
}

.archive-head__count {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: 22px;
	font-size: 12.5px;
	font-weight: 500;
	color: var(--faint);
}

/* 城市档案卡 */
.city-profile {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin-top: 30px;
}

.city-profile__cell {
	padding: 18px 20px;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--r-md);
	box-shadow: var(--shadow-sm);
}

.city-profile__k {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 7px;
	font-size: 11.5px;
	font-weight: 600;
	color: var(--faint);
}

.city-profile__k::before {
	content: "";
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--violet-2);
}

.city-profile__cell:nth-child(2) .city-profile__k::before {
	background: var(--blue);
}

.city-profile__cell:nth-child(3) .city-profile__k::before {
	background: var(--teal);
}

.city-profile__v {
	font-size: 13.5px;
	line-height: 1.7;
	color: var(--ink-soft);
}

/* 城市正文 */
.city-body {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 280px;
	gap: 56px;
	padding: 44px 0 88px;
	align-items: start;
}

.city-body__prose {
	max-width: 720px;
}

.city-body__prose h2 {
	margin: 0 0 16px;
	font-size: clamp(21px, 2.2vw, 26px);
	letter-spacing: -0.025em;
}

.city-body__prose h3 {
	margin: 34px 0 10px;
	font-size: 17px;
	font-weight: 600;
}

.city-body__prose p {
	font-size: 15.5px;
	line-height: 1.9;
	color: var(--ink-soft);
}

.city-pains {
	list-style: none;
	margin: 18px 0 0;
	padding: 0;
	display: grid;
	gap: 8px;
}

.city-pains li {
	position: relative;
	padding: 14px 18px 14px 40px;
	background: var(--paper-3);
	border: 1px solid var(--line);
	border-radius: var(--r-md);
	font-size: 13.5px;
	line-height: 1.75;
	color: var(--ink-soft);
}

.city-pains li::before {
	content: "";
	position: absolute;
	left: 18px;
	top: 21px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--violet-2);
}

/* ============================================================
   12. 文章页
   ============================================================ */
.article-head {
	padding: 46px 0 32px;
}

.article-head h1 {
	margin: 18px 0 0;
	max-width: 860px;
	font-size: clamp(26px, 3vw, 38px);
	font-weight: 600;
	letter-spacing: -0.03em;
	line-height: 1.32;
}

.article-head__cat {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 28px;
	padding: 0 13px;
	margin-top: 18px;
	background: var(--violet-soft);
	border-radius: var(--r-full);
	font-size: 11.5px;
	font-weight: 600;
	color: #5b4bd6;
}

.article-head__cat a {
	color: #5b4bd6;
	opacity: 0.75;
}

.article-head__cat a:hover {
	opacity: 1;
}

.article-head__lead {
	margin: 18px 0 0;
	max-width: 720px;
	font-size: 15.5px;
	line-height: 1.85;
	color: var(--muted);
}

.article-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin-top: 26px;
	padding: 12px 16px;
	background: var(--paper-3);
	border: 1px solid var(--line);
	border-radius: var(--r-full);
	font-size: 11.5px;
	font-weight: 500;
	color: var(--faint);
	width: fit-content;
}

.article-meta__dot {
	width: 3px;
	height: 3px;
	border-radius: 50%;
	background: var(--ghost);
	flex: 0 0 auto;
}

.article-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 280px;
	gap: 56px;
	padding: 8px 0 96px;
	align-items: start;
}

/* 正文 */
.article-body {
	min-width: 0;
	max-width: 760px;
	font-size: 16px;
	line-height: 1.95;
	color: var(--ink-soft);
	overflow-wrap: break-word;
}

.article-body > *:first-child {
	margin-top: 0;
}

.article-body h2 {
	margin: 48px 0 16px;
	font-size: clamp(22px, 2.3vw, 27px);
	font-weight: 600;
	letter-spacing: -0.025em;
	line-height: 1.4;
	color: var(--ink);
}

.article-body h3 {
	margin: 34px 0 10px;
	font-size: 18.5px;
	font-weight: 600;
	letter-spacing: -0.015em;
	color: var(--ink);
}

.article-body h4 {
	margin: 26px 0 8px;
	font-size: 16px;
	font-weight: 600;
	color: var(--ink);
}

.article-body p {
	margin: 0 0 1.3em;
}

.article-body ul,
.article-body ol {
	margin: 0 0 1.3em;
	padding-left: 1.3em;
}

.article-body li {
	margin: 0 0 0.5em;
}

.article-body li::marker {
	color: var(--faint);
}

.article-body a {
	color: #5b4bd6;
	border-bottom: 1px solid rgba(110, 86, 248, 0.28);
}

.article-body a:hover {
	border-color: var(--violet);
}

.article-body strong {
	color: var(--ink);
	font-weight: 600;
}

.article-body blockquote {
	margin: 30px 0;
	padding: 16px 22px;
	background: var(--paper-3);
	border-left: 3px solid var(--violet-2);
	border-radius: 0 var(--r-md) var(--r-md) 0;
	font-size: 15px;
	color: var(--muted);
}

.article-body blockquote p:last-child {
	margin-bottom: 0;
}

.article-body img {
	margin: 30px 0;
	border-radius: var(--r-md);
}

.article-body figure {
	margin: 30px 0;
}

.article-body figcaption {
	margin-top: 10px;
	font-size: 11.5px;
	color: var(--faint);
	text-align: left;
}

.article-body table {
	width: 100%;
	margin: 30px 0;
	border-collapse: separate;
	border-spacing: 0;
	font-size: 13.5px;
	line-height: 1.7;
	color: var(--ink-soft);
	border: 1px solid var(--line);
	border-radius: var(--r-md);
	overflow: hidden;
}

.article-body th {
	padding: 11px 14px;
	text-align: left;
	font-weight: 600;
	font-size: 13px;
	color: var(--ink);
	background: var(--paper-3);
	border-bottom: 1px solid var(--line);
	white-space: nowrap;
}

.article-body td {
	padding: 11px 14px;
	border-bottom: 1px solid var(--line);
	vertical-align: top;
}

.article-body tr:last-child td {
	border-bottom: 0;
}

.article-body code {
	padding: 1px 6px;
	background: var(--violet-soft);
	border-radius: 5px;
	font-family: var(--font-mono);
	font-size: 0.9em;
	color: #4a3bc0;
}

.article-body pre {
	margin: 26px 0;
	padding: 20px;
	background: #fafafb;
	border: 1px solid var(--line);
	border-radius: var(--r-md);
	overflow-x: auto;
	font-size: 13px;
	line-height: 1.7;
}

.article-body pre code {
	padding: 0;
	background: none;
	color: inherit;
}

/* 侧栏 */
.article-aside {
	position: sticky;
	top: 96px;
	display: grid;
	gap: 16px;
}

.aside-block {
	padding: 18px 18px 20px;
	background: var(--paper-3);
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
}

.aside-block__title {
	display: flex;
	align-items: center;
	gap: 7px;
	margin-bottom: 12px;
	padding-bottom: 11px;
	border-bottom: 1px solid rgba(15, 17, 21, 0.07);
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: 0.02em;
	color: var(--ink);
}

.aside-block__title::before {
	content: "";
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--violet);
}

.aside-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 10px;
	font-size: 12.5px;
	line-height: 1.7;
	color: var(--muted);
}

.aside-list a {
	color: var(--ink-soft);
}

.aside-list a:hover {
	color: var(--violet);
}

.aside-list b {
	color: var(--ink);
	font-weight: 600;
}

.aside-note {
	font-size: 12px;
	line-height: 1.8;
	color: var(--muted);
	padding: 13px 15px;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--r-md);
}

.aside-note b {
	color: var(--ink);
	font-weight: 600;
}

/* 目录 */
.toc {
	display: grid;
	gap: 4px;
	font-size: 12.5px;
	line-height: 1.6;
}

.toc a {
	color: var(--muted);
	padding: 7px 10px;
	border-radius: 8px;
	display: block;
}

.toc a:hover,
.toc a.is-active {
	background: var(--paper);
	color: var(--ink);
	box-shadow: var(--shadow-sm);
}

/* 数据口径说明 */
.source-note {
	margin: 44px 0 0;
	padding: 20px 22px;
	background: var(--paper-3);
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	font-size: 12.5px;
	line-height: 1.85;
	color: var(--muted);
}

.source-note b {
	display: block;
	margin-bottom: 8px;
	color: var(--ink);
	font-weight: 600;
	font-size: 13px;
}

.source-note a {
	color: var(--violet);
	font-weight: 500;
}

/* FAQ */
.faq-block {
	margin-top: 48px;
}

.faq-block h2 {
	margin: 0 0 14px !important;
	font-size: 22px !important;
}

.faq-item {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--r-md);
	margin-bottom: 8px;
	padding: 0 18px;
	transition: box-shadow 0.28s var(--ease), border-color 0.22s;
}

.faq-item:hover {
	border-color: var(--ghost);
	box-shadow: var(--shadow-sm);
}

.faq-item[open] {
	border-color: rgba(110, 86, 248, 0.2);
	box-shadow: var(--shadow-sm);
}

.faq-item summary {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 18px;
	padding: 15px 0;
	cursor: pointer;
	list-style: none;
	font-size: 14.5px;
	font-weight: 600;
	line-height: 1.6;
	color: var(--ink);
}

.faq-item summary::-webkit-details-marker {
	display: none;
}

.faq-item summary::after {
	content: "+";
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--paper-3);
	font-size: 14px;
	font-weight: 500;
	color: var(--muted);
	transition: background-color 0.2s, color 0.2s;
}

.faq-item[open] summary::after {
	content: "−";
	background: var(--violet-soft);
	color: #5b4bd6;
}

.faq-item__a {
	padding: 0 0 17px;
	max-width: 720px;
	font-size: 13.5px;
	line-height: 1.9;
	color: var(--muted);
}

/* 分页 */
.pager {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 44px 0 0;
}

.pager a,
.pager span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	background: var(--paper);
	border: 1px solid var(--line-strong);
	border-radius: var(--r-full);
	font-size: 13px;
	font-weight: 500;
	color: var(--muted);
}

.pager a:hover {
	border-color: var(--ghost);
	color: var(--ink);
	box-shadow: var(--shadow-sm);
}

.pager .current {
	background: var(--ink);
	border-color: var(--ink);
	color: #ffffff;
}

/* 面包屑 */
.breadcrumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	font-size: 11.5px;
	font-weight: 500;
	color: var(--faint);
}

.breadcrumb a {
	padding: 4px 9px;
	border-radius: var(--r-full);
	background: var(--paper-3);
	color: var(--muted);
}

.breadcrumb a:hover {
	background: var(--violet-soft);
	color: #5b4bd6;
}

.breadcrumb .sep {
	color: var(--ghost);
}

/* ============================================================
   13. 品牌库 / 榜单
   ============================================================ */
.brand-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.brand-card {
	display: flex;
	flex-direction: column;
	padding: 22px 22px 18px;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	box-shadow: var(--shadow-sm);
}

.brand-card:hover {
	transform: translateY(-3px);
	border-color: var(--ghost);
	box-shadow: 0 16px 36px -18px rgba(16, 24, 40, 0.2);
}

.brand-card__top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 16px;
}

.brand-card__name {
	font-size: 17px;
	font-weight: 600;
	letter-spacing: -0.015em;
	line-height: 1.4;
	margin: 0;
}

.brand-card__city {
	display: inline-flex;
	align-items: center;
	height: 22px;
	padding: 0 9px;
	border-radius: var(--r-full);
	background: var(--paper-3);
	font-size: 10.5px;
	font-weight: 600;
	color: var(--faint);
	white-space: nowrap;
}

.brand-card__rows {
	display: grid;
	gap: 7px;
	flex: 1 1 auto;
}

.brand-card__row {
	display: flex;
	justify-content: space-between;
	gap: 14px;
	font-size: 12.5px;
	line-height: 1.6;
}

.brand-card__row span:first-child {
	color: var(--faint);
	font-weight: 500;
	white-space: nowrap;
}

.brand-card__row span:last-child {
	color: var(--ink-soft);
	text-align: right;
}

.brand-card__foot {
	margin-top: 16px;
	padding-top: 13px;
	border-top: 1px solid var(--line);
	display: flex;
	justify-content: space-between;
	font-size: 11.5px;
	font-weight: 500;
	color: var(--faint);
}

/* ============================================================
   14. 空态
   ============================================================ */
.empty-state {
	max-width: 620px;
	padding: 40px 32px;
	background: var(--paper-3);
	border: 1px dashed var(--line-strong);
	border-radius: var(--r-lg);
}

.empty-state__title {
	margin-bottom: 10px;
	font-size: 18px;
	font-weight: 600;
	letter-spacing: -0.015em;
	color: var(--ink);
}

.empty-state p {
	font-size: 13.5px;
	line-height: 1.85;
	color: var(--muted);
}

.empty-state a {
	color: var(--violet);
	font-weight: 500;
}

/* ============================================================
   15. 页脚
   ============================================================ */
.site-footer {
	padding: 72px 0 0;
	background: var(--paper-3);
	border-top: 1px solid var(--line);
}

.footer-top {
	display: grid;
	grid-template-columns: minmax(0, 1.7fr) repeat(3, minmax(0, 1fr));
	gap: 48px;
	padding-bottom: 48px;
}

.footer-brand .brand {
	margin-bottom: 16px;
}

.footer-brand p {
	max-width: 400px;
	margin: 0 0 12px;
	font-size: 12.5px;
	line-height: 1.9;
	color: var(--muted);
}

.footer-brand p:last-child {
	margin-bottom: 0;
}

.footer-brand a {
	color: var(--ink-soft);
	font-weight: 500;
}

.footer-brand a:hover {
	color: var(--violet);
}

.footer-col h3 {
	margin: 0 0 14px;
	font-size: 12px;
	font-weight: 600;
	color: var(--ink);
}

.footer-col ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 9px;
}

.footer-col a {
	font-size: 12.5px;
	color: var(--muted);
}

.footer-col a:hover {
	color: var(--ink);
}

.footer-bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 18px 0 26px;
	border-top: 1px solid var(--line-strong);
	font-size: 11.5px;
	color: var(--faint);
}

.footer-bottom a {
	color: var(--muted);
	font-weight: 500;
}

.footer-bottom a:hover {
	color: var(--ink);
}

/* ============================================================
   16. 动效（无 JS 时不隐藏）
   ============================================================ */
.js .reveal {
	opacity: 0;
	transform: translateY(12px);
	transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.js .reveal.is-in {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.js .reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}

	* {
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
	}
}

/* ============================================================
   17. 搜索页表单
   ============================================================ */
.search-form {
	display: flex;
	align-items: center;
	gap: 8px;
	max-width: 520px;
	margin: 26px 0 0;
	padding: 6px 6px 6px 20px;
	background: var(--paper);
	border: 1px solid var(--line-strong);
	border-radius: var(--r-full);
	box-shadow: var(--shadow-sm);
}

.search-form input[type="search"] {
	flex: 1 1 auto;
	min-width: 0;
	padding: 10px 0;
	border: 0;
	background: transparent;
	font-family: var(--font-sans);
	font-size: 14.5px;
	color: var(--ink);
	outline: none;
}

.search-form button {
	flex: 0 0 auto;
	height: 40px;
	padding: 0 20px;
	border: 0;
	border-radius: var(--r-full);
	background: var(--ink);
	font-size: 13px;
	font-weight: 500;
	color: #ffffff;
}

/* ============================================================
   18. 404
   ============================================================ */
.nf {
	max-width: 660px;
	padding: 16px 0 32px;
}

.nf__title {
	margin: 22px 0 0;
	font-size: clamp(32px, 4.4vw, 52px);
	font-weight: 600;
	letter-spacing: -0.035em;
	line-height: 1.14;
}

.nf__desc {
	margin: 18px 0 0;
	max-width: 520px;
	font-size: 15px;
	line-height: 1.85;
	color: var(--muted);
}

.nf__links {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
	margin-top: 40px;
}

.nf__links a {
	display: inline-flex;
	align-items: center;
	height: 38px;
	padding: 0 17px;
	background: var(--paper);
	border: 1px solid var(--line-strong);
	border-radius: var(--r-full);
	font-size: 12.5px;
	font-weight: 500;
	color: var(--ink-soft);
	box-shadow: var(--shadow-sm);
}

.nf__links a:hover {
	border-color: var(--ghost);
	color: var(--ink);
	transform: translateY(-1px);
	box-shadow: var(--shadow-md);
}


/* ============================================================
   21. 深度长文内联组件（j-*）配色接管
   21 篇深度文正文自带约 15KB 内联 CSS，用的是蓝色系 --j-* 变量，
   与全站视觉冲突（尤其顶部那块深蓝 banner）。
   这里在 .article-body 作用域内重定义变量，一处覆盖整套组件，
   只做配色与圆角收敛，不改正文结构。
   ============================================================ */
.article-body {
	--j-primary: #5b4bd6;
	--j-primary-light: #7c6cf0;
	--j-accent: #0e9c8c;
	--j-accent-bg: #e9faf6;
	--j-bg-soft: #fafafb;
	--j-border: #f0f0f3;
	--j-text: #191c22;
	--j-text-soft: #6b7280;
	--j-warn: #b45309;
	--j-warn-bg: #fff7ec;
	--j-danger: #b91c1c;
	--j-danger-bg: #fef2f2;
}

/* 顶部深蓝 banner → 浅紫柔光卡 */
.article-body .j-header {
	background: linear-gradient(135deg, #f7f5ff 0%, #eef1ff 58%, #f8faff 100%) !important;
	border: 1px solid rgba(110, 86, 248, 0.14) !important;
	border-radius: 20px !important;
	padding: 26px 26px 22px !important;
	margin-bottom: 34px !important;
}

.article-body .j-header,
.article-body .j-header * {
	color: #3f444d !important;
}

.article-body .j-header__label {
	color: #5b4bd6 !important;
}

.article-body .j-header__title {
	color: #0f1115 !important;
	font-weight: 600 !important;
	letter-spacing: -0.02em !important;
}

/* 正文内组件：统一圆角与描边 */
.article-body .j-card,
.article-body .j-mini-table,
.article-body .j-tip,
.article-body .j-step,
.article-body .j-dim-block {
	border-radius: 14px !important;
}

.article-body .j-card {
	background: #ffffff !important;
	border: 1px solid var(--line) !important;
	box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04) !important;
}

.article-body .j-card__header {
	background: var(--paper-3) !important;
	border-bottom: 1px solid var(--line) !important;
}

.article-body .j-tip {
	background: var(--paper-3) !important;
	border: 1px solid var(--line) !important;
}

.article-body .j-step {
	background: var(--paper-3) !important;
}

/* 维度标题里硬编码的淡蓝色底 */
.article-body .j-dim-block__title--brand {
	background: #f3f0ff !important;
	color: #5b4bd6 !important;
}

.article-body .j-fit__tag--info {
	background: var(--paper-3) !important;
	color: var(--muted) !important;
}

/* ============================================================
   19. 响应式
   ============================================================ */
@media (max-width: 1080px) {
	:root {
		--sec: 84px;
	}

	.hero__inner {
		grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
		gap: 48px;
	}

	.city-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.topic-grid,
	.post-grid,
	.brand-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.article-layout,
	.city-body {
		grid-template-columns: minmax(0, 1fr) 250px;
		gap: 36px;
	}

	.footer-top {
		grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
		gap: 32px;
	}
}

@media (max-width: 860px) {
	.wrap {
		padding: 0 20px;
	}

	.hero {
		padding: 52px 0 48px;
	}

	.hero::before {
		height: 560px;
	}

	.hero__inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 36px;
	}

	.sec-head {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
		margin-bottom: 30px;
	}

	.city-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.article-layout,
	.city-body {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
		padding-bottom: 60px;
	}

	.article-aside {
		position: static;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}

	.city-profile {
		grid-template-columns: minmax(0, 1fr);
	}

	.entry-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.footer-top {
		grid-template-columns: 1fr 1fr;
		gap: 30px 24px;
	}

	.footer-brand {
		grid-column: 1 / -1;
	}

	/* 移动端导航 */
	.nav-toggle {
		display: block;
	}

	.nav {
		position: absolute;
		left: 12px;
		right: 12px;
		top: calc(100% + 8px);
		display: none;
		flex-direction: column;
		align-items: stretch;
		gap: 2px;
		padding: 10px;
		background: var(--paper);
		border: 1px solid var(--line);
		border-radius: var(--r-lg);
		box-shadow: var(--shadow-lg);
	}

	.nav.is-open {
		display: flex;
	}

	.nav > a {
		padding: 12px 14px;
		border-radius: 10px;
		font-size: 14px;
		color: var(--ink);
	}

	.nav__cta {
		justify-content: center;
		margin: 8px 0 0;
		height: 42px;
	}
}

@media (max-width: 600px) {
	.hero__title {
		font-size: clamp(28px, 8vw, 37px);
	}

	.hero__lead {
		font-size: 14.5px;
	}

	.hero__panel {
		padding: 16px;
		border-radius: var(--r-lg);
	}

	.hero__stat b {
		font-size: 26px;
	}

	.hero__search {
		padding-left: 16px;
	}

	.hero__search button {
		height: 38px;
		padding: 0 16px;
	}

	.city-grid,
	.topic-grid,
	.post-grid,
	.brand-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.city-card,
	.topic-card {
		min-height: 0;
	}

	.list-item {
		grid-template-columns: 30px minmax(0, 1fr);
		gap: 12px;
		padding: 16px 18px;
	}

	.list-item__meta {
		grid-column: 2;
		text-align: left;
		grid-auto-flow: column;
		justify-content: start;
		gap: 12px;
		margin-top: 6px;
	}

	.article-aside {
		grid-template-columns: minmax(0, 1fr);
	}

	.article-meta {
		border-radius: var(--r-md);
	}

	.footer-top {
		grid-template-columns: minmax(0, 1fr);
	}

	.section {
		padding: 60px 0;
	}
}

/* ============================================================
   21. 问题域体系（v5 新 IA）
   ------------------------------------------------------------
   这一套是为「六组十四主题」新增的排版：
   问题组块（.group）、内容块（.block）、要点清单（.check-list / .mistake-list）、
   问答清单（.qa-list / .qa-block）、城市切换胶囊（.chip-row）。
   视觉上延续纯白 + 大圆角 + 低饱和点缀，不引入新的强色。
   ============================================================ */

/* —— 问题组块 —— */
.group {
	margin-bottom: 76px;
}

.group:last-child {
	margin-bottom: 0;
}

.group__head {
	display: grid;
	grid-template-columns: 56px minmax(0, 1fr) auto;
	align-items: start;
	gap: 20px;
	padding-bottom: 24px;
	margin-bottom: 28px;
	border-bottom: 1px solid var(--line);
}

.group__no {
	font-family: var(--font-mono);
	font-size: 12px;
	letter-spacing: .08em;
	color: var(--violet);
	background: var(--violet-soft);
	border-radius: var(--r-full);
	padding: 5px 0;
	text-align: center;
	line-height: 1;
}

.group__title {
	font-family: var(--font-display);
	font-size: 30px;
	font-weight: 600;
	letter-spacing: -.02em;
	line-height: 1.25;
	margin: 0 0 8px;
	color: var(--ink);
}

.group__desc {
	font-size: 14.5px;
	line-height: 1.85;
	color: var(--muted);
	margin: 0;
	max-width: 62ch;
}

.group__count {
	font-family: var(--font-mono);
	font-size: 12px;
	color: var(--faint);
	white-space: nowrap;
	padding-top: 8px;
}

/* —— 通用内容块 —— */
.block {
	margin-bottom: 64px;
	max-width: 78ch;
}

.block:last-child {
	margin-bottom: 0;
}

.block__title {
	font-family: var(--font-display);
	font-size: 24px;
	font-weight: 600;
	letter-spacing: -.015em;
	line-height: 1.35;
	color: var(--ink);
	margin: 0 0 14px;
}

.block__title em {
	font-style: normal;
	font-family: var(--font-mono);
	font-size: 13px;
	font-weight: 500;
	color: var(--violet);
	background: var(--violet-soft);
	border-radius: var(--r-full);
	padding: 4px 10px;
	margin-left: 10px;
	vertical-align: 2px;
	letter-spacing: 0;
}

.block__lead {
	font-size: 17px;
	line-height: 1.85;
	color: var(--ink);
	font-weight: 450;
	margin: 0 0 16px;
}

.block__desc {
	font-size: 14px;
	line-height: 1.85;
	color: var(--muted);
	margin: 0 0 20px;
}

.block p {
	font-size: 15.5px;
	line-height: 1.95;
	color: var(--ink-soft);
	margin: 0 0 16px;
}

/* —— 要点清单（可核对的动作）—— */
.check-list,
.mistake-list,
.qa-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 10px;
}

.check-list li,
.mistake-list li,
.qa-list li {
	position: relative;
	padding: 16px 20px 16px 52px;
	background: var(--paper-3);
	border: 1px solid var(--line);
	border-radius: var(--r-md);
	font-size: 14.5px;
	line-height: 1.8;
	color: var(--ink-soft);
}

.check-list li::before,
.mistake-list li::before,
.qa-list li::before {
	position: absolute;
	left: 18px;
	top: 16px;
	width: 22px;
	height: 22px;
	border-radius: var(--r-full);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 11px;
	font-weight: 600;
	line-height: 1;
}

.check-list {
	counter-reset: check;
}

.check-list li {
	counter-increment: check;
	background: #fff;
}

.check-list li::before {
	content: counter(check);
	background: var(--violet-soft);
	color: var(--violet);
	font-family: var(--font-mono);
}

.mistake-list li {
	background: var(--amber-soft);
	border-color: rgba(240, 160, 75, .22);
}

.mistake-list li::before {
	content: "×";
	background: rgba(240, 160, 75, .18);
	color: #b26a12;
	font-size: 13px;
}

.qa-list {
	counter-reset: qa;
}

.qa-list li {
	counter-increment: qa;
	background: #fff;
	font-weight: 450;
	color: var(--ink);
}

.qa-list li::before {
	content: "Q" counter(qa);
	background: var(--blue-soft);
	color: var(--blue);
	font-family: var(--font-mono);
	font-size: 10px;
	letter-spacing: -.02em;
}

/* —— 问答库的分主题小标题 —— */
.qa-block {
	margin-bottom: 32px;
	padding-bottom: 24px;
	border-bottom: 1px solid var(--line);
}

.qa-block:last-child {
	border-bottom: 0;
	padding-bottom: 0;
	margin-bottom: 0;
}

.qa-block__title {
	font-family: var(--font-display);
	font-size: 17px;
	font-weight: 600;
	letter-spacing: -.01em;
	margin: 0 0 14px;
	color: var(--ink);
}

.qa-block__title a {
	color: inherit;
	text-decoration: none;
	border-bottom: 1px solid rgba(110, 86, 248, .3);
	padding-bottom: 2px;
	transition: border-color .18s, color .18s;
}

.qa-block__title a:hover {
	color: var(--violet);
	border-color: var(--violet);
}

.qa-block__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 4px 32px;
}

.qa-block__list li {
	font-size: 14px;
	line-height: 1.7;
}

.qa-block__list a {
	color: var(--ink-soft);
	text-decoration: none;
	display: block;
	padding: 8px 0 8px 18px;
	position: relative;
	transition: color .18s;
}

.qa-block__list a::before {
	content: "";
	position: absolute;
	left: 0;
	top: 1.05em;
	width: 6px;
	height: 6px;
	border-radius: var(--r-full);
	background: var(--ghost);
	transition: background .18s;
}

.qa-block__list a:hover {
	color: var(--ink);
}

.qa-block__list a:hover::before {
	background: var(--violet);
}

/* —— 城市切换胶囊 —— */
.chip-row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 20px;
}

.chip {
	display: inline-flex;
	align-items: center;
	height: 36px;
	padding: 0 18px;
	border-radius: var(--r-full);
	border: 1px solid var(--line-strong);
	background: #fff;
	font-size: 13.5px;
	color: var(--ink-soft);
	text-decoration: none;
	transition: border-color .18s, color .18s, background .18s;
}

.chip:hover {
	border-color: rgba(110, 86, 248, .38);
	color: var(--violet);
	background: var(--violet-soft);
}

/* —— 侧栏「查看完整主题」—— */
.aside-more {
	display: inline-block;
	margin-top: 12px;
	font-size: 13px;
	color: var(--violet);
	text-decoration: none;
}

.aside-more:hover {
	text-decoration: underline;
}

@media (max-width: 760px) {
	.group {
		margin-bottom: 56px;
	}

	.group__head {
		grid-template-columns: 44px minmax(0, 1fr);
		gap: 14px;
	}

	.group__count {
		display: none;
	}

	.group__title {
		font-size: 23px;
	}

	.block {
		margin-bottom: 48px;
	}

	.block__title {
		font-size: 20px;
	}

	.block__lead {
		font-size: 15.5px;
	}

	.check-list li,
	.mistake-list li,
	.qa-list li {
		padding: 14px 16px 14px 46px;
		font-size: 14px;
	}

	.check-list li::before,
	.mistake-list li::before,
	.qa-list li::before {
		left: 14px;
		top: 14px;
		width: 20px;
		height: 20px;
	}

	.qa-block__list {
		grid-template-columns: minmax(0, 1fr);
		gap: 0;
	}
}

/* ============================================================
   20. 打印
   ============================================================ */
@media print {
	.site-header,
	.site-footer,
	.article-aside,
	.progress,
	.hero__search,
	.hero__hot,
	.hero::before {
		display: none !important;
	}

	body {
		background: #ffffff;
		color: #000000;
		font-size: 11.5pt;
	}

	.article-layout,
	.article-body {
		display: block;
		max-width: none;
	}

	.card,
	.topic-card,
	.city-card {
		box-shadow: none;
		border: 1px solid #ddd;
	}

	a {
		text-decoration: underline;
	}
}
