/*
Theme Name: Qunana 去哪拿 · 多板块版
Theme URI: https://qunana.com
Author: qunana
Author URI: https://qunana.com
Description: 多板块产业带拿货情报站。板块与字段由配置驱动，新增板块只需加一段配置，不改模板。内置商铺档案（身份核验 / 拿货参数 / 商家自述 三层字段与权限）、核验徽章自动降级、产业带与板块归档、认领申请流程。不依赖 WooCommerce，不参与交易与支付。
Version: 1.9.4
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: qunana
Tags: directory, custom-post-types, custom-menu, translation-ready
*/

/* ===== 设计变量 ===== */
:root {
	--paper: #faf8f3;
	--paper-2: #f2eee5;
	--white: #ffffff;
	--ink: #14181d;
	--ink-2: #3f454c;
	--muted: #6a7078;
	--line: #ded8cb;
	--line-2: #ebe5d9;
	/* 主色：藏青近墨（水），用于标题、导航、选中态 */
	--accent: #1c2b3a;
	--accent-2: #33475c;
	--accent-soft: #e7ecf1;
	/* 点缀：暗金／黄铜，只给按钮、编号、印章，不做大面积 */
	--brass: #8a6a2b;
	--brass-2: #a4823a;
	--brass-soft: #f3ecdc;
	--seal: #8a6a2b;
	--seal-soft: #f3ecdc;
	--warn: #8a6a1f;
	--warn-soft: #f7f0dc;
	--maxw: 1120px;
	--serif: "Songti SC", "Noto Serif SC", "Source Han Serif SC", "STSong", Georgia, serif;
	--sans: "PingFang SC", "HarmonyOS Sans SC", "Noto Sans SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
}

/* ===== 基础 ===== */
* { box-sizing: border-box; }

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

body {
	margin: 0;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	background: var(--paper);
	color: var(--ink-2);
	font-family: var(--sans);
	font-size: 15px;
	line-height: 1.85;
	letter-spacing: 0.01em;
}

#main { flex: 1 0 auto; }

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

a { color: var(--accent); text-decoration: none; transition: color .18s; }
a:hover { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; }

h1, h2, h3, h4 {
	font-family: var(--serif);
	color: var(--ink);
	font-weight: 600;
	line-height: 1.45;
	margin: 0;
}

p { margin: 0 0 1em; }

.qn-wrap {
	width: 100%;
	max-width: var(--maxw);
	margin: 0 auto;
	padding: 0 24px;
}

.qn-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ===== 头部 ===== */
.qn-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(251, 249, 245, .92);
	backdrop-filter: saturate(160%) blur(8px);
	border-bottom: 1px solid var(--line);
}

.qn-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 68px;
}

.qn-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.qn-brand:hover { text-decoration: none; }
.qn-brand__logo { height: 52px; width: auto; display: block; }
.qn-brand__name {
	font-family: var(--serif);
	font-size: 21px;
	color: var(--ink);
	letter-spacing: .12em;
}
.qn-brand__dot { color: var(--seal); }
.qn-brand__sub {
	font-size: 10px;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--muted);
}

/* 搜索按钮与搜索条 */
.qn-searchbtn {
	display: flex; align-items: center; justify-content: center;
	width: 40px; height: 40px; margin-left: 20px;
	border: 1px solid var(--line); background: #fff; color: var(--ink);
	cursor: pointer; transition: border-color .18s, color .18s;
}
.qn-searchbtn:hover { border-color: var(--seal); color: var(--seal); }
.qn-searchbtn[aria-expanded="true"] { border-color: var(--seal); color: var(--seal); }

.qn-searchbar { display: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 40;
	background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 20px 34px rgba(0, 0, 0, .07); }
.qn-searchbar.is-open { display: block; }
.qn-searchbar__inner { display: flex; align-items: center; gap: 12px; padding-top: 14px; padding-bottom: 14px; }
.qn-searchform { display: flex; gap: 10px; flex: 1; }
.qn-searchform__input {
	flex: 1; min-width: 0; height: 46px; padding: 0 14px;
	border: 1px solid var(--line); background: #fff;
	font-family: var(--sans); font-size: 14px; color: var(--ink);
}
.qn-searchform__input:focus { outline: none; border-color: var(--seal); }
.qn-searchform__btn {
	height: 46px; padding: 0 22px; border: 0; background: var(--accent); color: #fff;
	font-family: var(--sans); font-size: 13px; letter-spacing: .08em; cursor: pointer;
}
.qn-searchform__btn:hover { background: var(--ink); }
.qn-searchbar__close {
	height: 46px; padding: 0 6px; border: 0; background: none; color: var(--muted);
	font-size: 12px; cursor: pointer;
}

.qn-nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; margin-left: auto; padding: 0 9px; border: 1px solid var(--line); background: #fff; cursor: pointer; }
.qn-nav-toggle span { display: block; height: 1px; background: var(--ink); transition: transform .2s, opacity .2s; }
.qn-nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.qn-nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.qn-nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.qn-nav { display: flex; align-items: center; gap: 30px; }
.qn-nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.qn-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 9px 18px;
	background: var(--brass);
	color: #fff !important;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .12em;
	border: 1px solid var(--brass);
	border-radius: 2px;
	transition: background .18s, border-color .18s;
}
.qn-cta:hover { background: var(--brass-2); border-color: var(--brass-2); text-decoration: none; }
.qn-nav a {
	font-size: 14px;
	color: var(--ink-2);
	letter-spacing: .06em;
}
.qn-nav a:hover { color: var(--accent); text-decoration: none; }

/* ===== 按钮 ===== */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 11px 22px;
	border: 1px solid var(--accent);
	border-radius: 2px;
	background: var(--accent);
	color: #fff;
	font-size: 14px;
	letter-spacing: .06em;
	cursor: pointer;
	transition: background .18s, border-color .18s, color .18s;
	text-decoration: none;
}
.btn:hover { background: var(--accent-2); border-color: var(--accent-2); color: #fff; text-decoration: none; }

.btn--ghost { background: transparent; border-color: var(--ink-2); color: var(--ink); }
.btn--ghost:hover { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }

.btn--block { width: 100%; }

/* ===== 徽章 ===== */
.qn-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 3px 10px;
	border: 1px solid currentColor;
	border-radius: 2px;
	font-family: var(--sans);
	font-size: 11px;
	letter-spacing: .1em;
	line-height: 1.7;
	white-space: nowrap;
}
.qn-badge::before {
	content: "";
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: currentColor;
}
.qn-badge.is-verified {
	color: #7a5b20;
	background: #fdfaf2;
	border-color: var(--brass);
	box-shadow: inset 0 0 0 2px #fdfaf2, inset 0 0 0 3px rgba(138, 106, 43, .35);
	font-family: var(--serif);
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: .16em;
	padding: 3px 9px 3px 8px;
}
.qn-badge.is-verified::before {
	content: "\2714";
	width: auto;
	height: auto;
	border-radius: 0;
	background: none;
	font-family: var(--sans);
	font-size: 10px;
	line-height: 1;
	transform: translateY(-1px);
}
.qn-badge.is-review { color: var(--warn); background: var(--warn-soft); }
.qn-badge.is-history { color: var(--muted); background: var(--paper-2); border-color: var(--line); }
.qn-badge.is-unverified { color: var(--muted); background: transparent; border-style: dashed; }

/* ===== 单页：页头 ===== */
.qn-hero { padding: 44px 0 28px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #fff 0%, var(--paper) 100%); }

.qn-crumbs { font-size: 12px; color: var(--muted); letter-spacing: .04em; margin-bottom: 20px; }
.qn-crumbs a { color: var(--muted); }
.qn-crumbs span { margin: 0 8px; opacity: .5; }

.qn-hero__row { display: flex; align-items: flex-start; justify-content: space-between; gap: 32px; flex-wrap: wrap; }

.qn-hero__title { font-size: 34px; letter-spacing: .04em; margin-bottom: 14px; }

.qn-hero__meta {
	display: flex;
	align-items: center;
	gap: 18px;
	flex-wrap: wrap;
	font-size: 12px;
	color: var(--muted);
	letter-spacing: .04em;
	margin: 0;
}

/* ===== 单页：主体栅格 ===== */
.qn-body { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; padding: 48px 0 72px; align-items: start; }

.qn-block { margin-bottom: 44px; }

.qn-block__head {
	display: flex;
	align-items: baseline;
	gap: 12px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--ink);
	margin-bottom: 22px;
}
.qn-block__no {
	font-family: var(--sans);
	font-size: 11px;
	letter-spacing: .18em;
	color: var(--seal);
	padding-top: 2px;
}
.qn-block__title { font-size: 17px; letter-spacing: .06em; }
.qn-block__hint { margin-left: auto; font-size: 12px; color: var(--muted); }

/* 参数行 */
.qn-rows { list-style: none; margin: 0; padding: 0; }
.qn-row {
	display: grid;
	grid-template-columns: 132px minmax(0, 1fr) auto;
	gap: 16px;
	padding: 13px 0;
	border-bottom: 1px dashed var(--line);
	font-size: 14px;
}
.qn-row:last-child { border-bottom: 0; }
.qn-row__key { color: var(--muted); font-size: 13px; letter-spacing: .04em; }
.qn-row__val { color: var(--ink-2); }
.qn-row__val strong { color: var(--ink); font-weight: 600; }

.qn-src {
	font-size: 10px;
	letter-spacing: .1em;
	padding: 1px 7px;
	border-radius: 2px;
	white-space: nowrap;
	align-self: center;
}
.qn-src--verified { color: var(--accent); background: var(--accent-soft); }
.qn-src--self { color: var(--muted); background: var(--paper-2); }

/* 成色 chips */
.qn-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.qn-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 12px;
	border: 1px solid var(--line);
	background: var(--white);
	font-size: 13px;
	color: var(--ink-2);
}
.qn-chip em {
	font-style: normal;
	font-size: 10px;
	letter-spacing: .06em;
	color: var(--seal);
	border-left: 1px solid var(--line);
	padding-left: 8px;
}

/* 正文与图集 */
.qn-prose { font-size: 15px; line-height: 1.9; }
.qn-prose p { margin: 0 0 1.1em; }
.qn-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.qn-gallery figure { margin: 0; border: 1px solid var(--line); background: var(--white); }
.qn-gallery figcaption { font-size: 11px; color: var(--muted); padding: 7px 10px; letter-spacing: .04em; }

/* ===== 侧栏 ===== */
.qn-side { position: sticky; top: 92px; display: grid; gap: 18px; }

.qn-card {
	background: var(--white);
	border: 1px solid var(--line);
	padding: 22px;
}
.qn-card__title {
	font-size: 13px;
	letter-spacing: .14em;
	color: var(--muted);
	margin-bottom: 16px;
	font-family: var(--sans);
	font-weight: 500;
}

.qn-contact__phone {
	font-family: var(--serif);
	font-size: 22px;
	color: var(--ink);
	letter-spacing: .04em;
	display: block;
	margin-bottom: 14px;
}
.qn-contact__locked {
	display: block;
	width: 100%;
	padding: 12px;
	border: 1px dashed var(--line);
	background: var(--paper-2);
	color: var(--muted);
	font-size: 13px;
	letter-spacing: .06em;
	cursor: pointer;
	margin-bottom: 14px;
	text-align: center;
}
.qn-contact__phone[data-qn-masked] { letter-spacing: .12em; }

.qn-contact__hint { font-size: 12px; color: var(--muted); margin: 0 0 4px; }

.qn-contact__wx {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid var(--line);
	font-size: 13px;
	color: var(--ink);
}
.qn-contact__wx strong { font-family: var(--sans); letter-spacing: .02em; }
.qn-copy {
	flex: none;
	padding: 5px 10px;
	border: 1px solid var(--line);
	background: transparent;
	color: var(--muted);
	font-size: 12px;
	cursor: pointer;
}
.qn-copy:hover { border-color: var(--brass); color: var(--brass); }

.qn-contact__note { font-size: 12px; color: var(--muted); line-height: 1.7; margin: 14px 0 0; }

.qn-map {
	aspect-ratio: 4 / 3;
	background:
		repeating-linear-gradient(45deg, var(--paper-2) 0 10px, #f0ece3 10px 20px);
	border: 1px solid var(--line);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--muted);
	font-size: 12px;
	letter-spacing: .08em;
	margin-bottom: 14px;
}

.qn-addr { font-size: 13px; line-height: 1.8; color: var(--ink-2); margin: 0; }

/* ===== 认领 ===== */
.qn-claim {
	border: 1px solid var(--ink);
	background: var(--white);
	padding: 32px;
	margin-top: 12px;
}
.qn-claim h2 { font-size: 20px; margin-bottom: 10px; }
.qn-claim p { font-size: 14px; color: var(--muted); }
.qn-form { display: grid; gap: 14px; margin-top: 20px; }
.qn-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.qn-field { display: grid; gap: 6px; }
.qn-field label { font-size: 12px; color: var(--muted); letter-spacing: .06em; }
.qn-field input,
.qn-field select,
.qn-field textarea {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid var(--line);
	background: var(--paper);
	font-family: var(--sans);
	font-size: 14px;
	color: var(--ink);
	border-radius: 2px;
}
.qn-field input:focus,
.qn-field select:focus,
.qn-field textarea:focus { outline: none; border-color: var(--accent); background: var(--white); }
.qn-check { display: flex; gap: 10px; align-items: flex-start; font-size: 12px; color: var(--muted); line-height: 1.7; }
.qn-check input { margin-top: 4px; }

.qn-notice {
	border-left: 3px solid var(--accent);
	background: var(--accent-soft);
	padding: 14px 18px;
	font-size: 14px;
	color: var(--accent);
	margin: 24px 0;
}

/* ===== 归档 ===== */
.qn-archive-head { padding: 44px 0 24px; }
.qn-archive-head h1 { font-size: 30px; letter-spacing: .04em; margin-bottom: 10px; }
.qn-archive-head p { color: var(--muted); font-size: 14px; max-width: 640px; }

.qn-filter {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
	padding: 16px 0 24px;
	border-bottom: 1px solid var(--line);
	margin-bottom: 32px;
}
.qn-filter select {
	padding: 9px 12px;
	border: 1px solid var(--line);
	background: var(--white);
	font-family: var(--sans);
	font-size: 13px;
	color: var(--ink-2);
	border-radius: 2px;
	min-width: 140px;
}
.qn-filter__count { margin-left: auto; font-size: 12px; color: var(--muted); letter-spacing: .04em; }

.qn-single { padding: 8px 0 72px; max-width: 760px; }
.qn-single .qn-prose h2 { font-size: 18px; margin: 34px 0 12px; }
.qn-single .qn-prose h2:first-child { margin-top: 8px; }
.qn-single .qn-prose a { text-decoration: underline; text-underline-offset: 3px; }

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

.qn-tile {
	display: flex;
	flex-direction: column;
	background: var(--white);
	border: 1px solid var(--line);
	transition: border-color .2s, transform .2s;
	overflow: hidden;
}
.qn-tile:hover { border-color: var(--ink); transform: translateY(-2px); }
.qn-tile__media { aspect-ratio: 4 / 3; background: #e8e4da; overflow: hidden; }

.qn-tile__ph {
	aspect-ratio: 4 / 3;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	background:
		repeating-linear-gradient(135deg, rgba(28,43,58,.03) 0 10px, transparent 10px 20px),
		var(--paper-2);
	border-bottom: 1px solid var(--line);
	padding: 20px;
	text-align: center;
}
.qn-tile__ph-seal { width: 64px; height: 64px; opacity: .55; }
.qn-tile__ph-label {
	font-family: var(--serif);
	font-size: 16px;
	letter-spacing: .2em;
	color: var(--ink);
	opacity: .72;
}
.qn-tile__ph em {
	font-size: 11px;
	font-style: normal;
	letter-spacing: .06em;
	color: var(--muted);
}
.qn-tile__media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.78) contrast(1.04) brightness(.97); }
.qn-tile__media .qn-tile__ph-seal { width: 64px; height: 64px; object-fit: contain; filter: none; }
.qn-shot img { filter: saturate(.78) contrast(1.04) brightness(.97); }
.qn-tile__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.qn-tile__title { font-family: var(--serif); font-size: 17px; color: var(--ink); letter-spacing: .02em; }
.qn-tile__title a { color: inherit; }
.qn-tile__title a:hover { color: var(--accent); text-decoration: none; }
.qn-tile__meta { font-size: 12px; color: var(--muted); display: flex; gap: 10px; flex-wrap: wrap; }
.qn-tile__excerpt { font-size: 13px; color: var(--ink-2); margin: 0; }
.qn-tile__foot { margin-top: auto; padding-top: 10px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.qn-tile__price {
	font-family: var(--sans);
	font-size: 15px;
	font-weight: 700;
	color: var(--ink);
	letter-spacing: 0;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

/* ===== 首页 ===== */
.qn-hero-home { padding: 88px 0 72px; border-bottom: 1px solid var(--line); }
.qn-hero-home__kicker { font-size: 12px; letter-spacing: .22em; color: var(--seal); margin-bottom: 18px; }
.qn-hero-home h1 { font-size: 46px; letter-spacing: .06em; line-height: 1.35; margin-bottom: 18px; }
.qn-hero-home h1 small { display: block; font-size: 20px; letter-spacing: .1em; color: var(--muted); font-weight: 400; margin-top: 14px; }
.qn-hero-home p { max-width: 620px; font-size: 16px; color: var(--ink-2); }
.qn-hero-home__actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }

.qn-entries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.qn-entry { background: var(--paper); padding: 34px 28px; }
.qn-entry__no { font-size: 11px; letter-spacing: .18em; color: var(--seal); margin-bottom: 12px; }
.qn-entry h3 { font-size: 18px; margin-bottom: 10px; }
.qn-entry p { font-size: 13px; color: var(--muted); margin: 0; }

.qn-section { padding: 64px 0; }
.qn-section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.qn-section__head h2 { font-size: 22px; letter-spacing: .04em; }

/* ===== 页脚 ===== */

/* 搜索结果页 */
.qn-searchpage { padding: 46px 0 70px; }
.qn-searchpage__eyebrow { font-size: 11px; letter-spacing: .18em; color: var(--seal); margin: 0 0 10px; }
.qn-searchpage__count { font-size: 13px; color: var(--muted); margin: 10px 0 24px; }
.qn-searchpage .qn-searchform { max-width: 640px; margin-bottom: 30px; }
.qn-searchpage .qn-section-head { margin-top: 14px; }

.qn-sitelist { list-style: none; margin: 22px 0 0; padding: 0; border-top: 1px solid var(--line); }
.qn-sitelist li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.qn-sitelist a { font-family: var(--serif); font-size: 17px; color: var(--ink); }
.qn-sitelist a:hover { color: var(--seal); }
.qn-sitelist__tag { margin-left: 10px; font-size: 11px; letter-spacing: .1em; color: var(--muted); border: 1px solid var(--line); padding: 1px 6px; }
.qn-sitelist p { margin: 8px 0 0; font-size: 13px; color: var(--muted); line-height: 1.8; }

.qn-empty { margin: 20px 0 0; padding: 34px 0 10px; border-top: 1px solid var(--line); }
.qn-empty h2 { font-family: var(--serif); font-size: 22px; color: var(--ink); margin: 0 0 10px; }
.qn-empty p { color: var(--muted); font-size: 14px; }
.qn-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 26px; padding: 0; }
.qn-chips a { display: block; padding: 7px 14px; border: 1px solid var(--line); background: #fff; font-size: 13px; color: var(--ink-2); }
.qn-chips a:hover { border-color: var(--seal); color: var(--seal); text-decoration: none; }
.qn-empty__links { display: flex; flex-wrap: wrap; gap: 22px; font-size: 13px; }
.qn-pager { margin: 44px 0 0; text-align: center; }

/* 档口入口 */
.qn-merchant { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
	background: var(--paper-2); margin: 56px 0 0; }
.qn-merchant__inner { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 52px 24px;
	display: flex; align-items: flex-start; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.qn-merchant__copy { max-width: 640px; }
.qn-merchant__kicker { margin: 0 0 12px; font-size: 11px; letter-spacing: .2em; color: var(--seal); }
.qn-merchant h2 { font-family: var(--serif); font-size: 30px; color: var(--ink); margin: 0 0 12px; }
.qn-merchant p { margin: 0; font-size: 14px; line-height: 1.9; color: var(--muted); }
.qn-merchant__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding-top: 26px; }
.qn-merchant__actions .btn { padding: 14px 24px; }
.qn-merchant__note { font-size: 12px; color: var(--muted); letter-spacing: .02em; }
.qn-footer { border-top: 1px solid var(--line); background: var(--paper-2); padding: 44px 0 32px; margin-top: 40px; }
.qn-footer__grid { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.qn-footer__col p { font-size: 12px; color: var(--muted); line-height: 1.9; margin: 0 0 6px; max-width: 420px; }
.qn-footer__brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.qn-footer__brand img { height: 26px; width: 26px; display: block; }
.qn-footer__brand h4 { margin: 0; }
.qn-footer__col h4 { font-family: var(--sans); font-size: 12px; letter-spacing: .14em; color: var(--muted); font-weight: 500; margin-bottom: 12px; }
.qn-footer__bottom { margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); display: flex; gap: 18px; flex-wrap: wrap; }

/* ===== 板块入口 ===== */
.qn-section-head { margin: 64px 0 22px; }
.qn-section-head h2 { font-size: 22px; letter-spacing: .02em; }
.qn-section-head p { margin-top: 6px; font-size: 13px; color: var(--muted); }

.qn-sectors { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.qn-sector-card { display: block; padding: 24px 22px; border: 1px solid var(--line); border-left: 3px solid var(--accent); background: #f5f4f0; transition: border-color .2s, transform .2s; }
.qn-sector-card:hover { border-color: var(--accent-2); border-left-color: var(--brass); transform: translateY(-2px); }
.qn-sector-card__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.qn-sector-card__top h3 { font-size: 19px; }
.qn-sector-card__count { font-size: 12px; color: var(--muted); white-space: nowrap; }
.qn-sector-card__area { margin-top: 8px; font-size: 12px; letter-spacing: .06em; color: var(--accent); }
.qn-sector-card__summary { margin-top: 12px; font-size: 13px; line-height: 1.85; color: #4a4640; }
.qn-sector-card__risk { margin-top: 16px; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 12px; color: var(--muted); }

.qn-sector-tag { padding: 2px 8px; border: 1px solid var(--line); font-size: 11px; color: var(--accent); }
.qn-tile__sector { color: var(--accent); }

/* ===== 板块切换 ===== */
.qn-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 22px; }
.qn-tab { padding: 8px 16px; border: 1px solid var(--line); font-size: 13px; color: #4a4640; background: #fff; }
.qn-tab:hover { border-color: var(--brass); color: var(--brass); }
.qn-tab.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ===== 响应式 ===== */
@media (max-width: 980px) {
	.qn-body { grid-template-columns: minmax(0, 1fr); gap: 40px; }
	.qn-side { position: static; }
	.qn-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.qn-sectors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.qn-hero-home h1 { font-size: 36px; }
}

@media (max-width: 640px) {
	.qn-wrap { padding: 0 18px; }
	.qn-brand__logo { height: 40px; }
	.qn-searchbtn { margin-left: 8px; }
	.qn-merchant__inner { padding: 36px 0; gap: 24px; }
	.qn-merchant h2 { font-size: 22px; }
	.qn-merchant__actions { padding-top: 4px; }
	.qn-searchbar__inner { gap: 8px; padding-top: 12px; padding-bottom: 12px; }
	.qn-searchform__input { height: 42px; font-size: 15px; }
	.qn-searchform__btn { height: 42px; padding: 0 16px; }
	.qn-header__inner { position: relative; }
	.qn-nav-toggle { display: flex; }
	.qn-nav {
		display: none;
		position: absolute;
		left: 18px;
		right: 18px;
		top: 100%;
		z-index: 30;
		margin-top: 8px;
		padding: 8px 0;
		background: #fff;
		border: 1px solid var(--line);
		box-shadow: 0 12px 24px rgba(0, 0, 0, .06);
	}
	.qn-nav.is-open { display: block; }
	.qn-nav ul { flex-direction: column; gap: 0; }
	.qn-nav li { border-bottom: 1px solid var(--line); }
	.qn-nav li:last-child { border-bottom: 0; }
	.qn-nav a { display: block; padding: 12px 18px; font-size: 14px; }
	.qn-nav .qn-cta { display: block; margin: 10px 12px 12px; padding: 12px 18px; text-align: center; }
	.qn-hero__title { font-size: 26px; }
	.qn-hero-home { padding: 56px 0 48px; }
	.qn-hero-home h1 { font-size: 28px; }
	.qn-hero-home h1 small { font-size: 16px; }
	.qn-grid { grid-template-columns: minmax(0, 1fr); }
	.qn-sectors { grid-template-columns: minmax(0, 1fr); }
	.qn-entries { grid-template-columns: minmax(0, 1fr); }
	.qn-gallery { grid-template-columns: repeat(2, 1fr); }
	.qn-row { grid-template-columns: 106px minmax(0, 1fr); }
	.qn-row .qn-src { display: none; }
	.qn-form__row { grid-template-columns: 1fr; }
	.qn-claim { padding: 22px; }
}
/* 现场实拍三件套 */
.qn-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 6px 0 18px; }
.qn-photo { margin: 0; border: 1px solid var(--line); background: var(--paper); }
.qn-photo__img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: saturate(.86) contrast(1.03); }
.qn-photo__empty {
	aspect-ratio: 4 / 3;
	display: flex; align-items: center; justify-content: center;
	background: repeating-linear-gradient(135deg, rgba(28,43,58,.03) 0 10px, transparent 10px 20px), var(--paper-2);
	color: var(--muted); font-family: var(--serif); letter-spacing: .18em;
}
.qn-photo__cap { padding: 9px 11px 11px; display: flex; flex-direction: column; gap: 4px; }
.qn-photo__label { font-size: 13px; color: var(--ink); letter-spacing: .04em; }
.qn-photo__cap em { font-style: normal; font-size: 11px; color: var(--muted); line-height: 1.5; }
.qn-photos__pending {
	padding: 14px 16px; margin: 6px 0 18px;
	background: #fbf7ef; border-left: 3px solid #8A6A2B;
	font-size: 13px; color: #5b5245; line-height: 1.7;
}
.qn-badge.is-photo-pending { background: transparent; color: #8A6A2B; border: 1px dashed #c9b184; }
@media (max-width: 720px) { .qn-photos { grid-template-columns: 1fr; } }

/* 位置卡：不接地图时不留空框 */
.qn-loc__note { margin: 10px 0 0; font-size: 12px; color: var(--muted); line-height: 1.7; }
.qn-loc__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.qn-loc__copy {
	padding: 8px 12px; border: 1px dashed var(--line); background: transparent;
	font-family: inherit; font-size: 13px; color: var(--muted); letter-spacing: .03em;
	cursor: pointer; transition: border-color .2s, color .2s;
}
.qn-loc__copy:hover { border-color: var(--brass); color: var(--brass); }
.qn-loc__link {
	display: inline-block;
	padding: 8px 14px; border: 1px solid var(--line);
	font-size: 13px; color: var(--ink); letter-spacing: .03em;
	transition: border-color .2s, color .2s;
}
.qn-loc__link:hover { border-color: var(--brass); color: var(--brass); }
.qn-loc__copy.is-done { border-style: solid; border-color: var(--brass); color: var(--brass); }
