/* ==========================================================================
   Navix 主题样式
   1. 设计变量  2. 基础重置  3. 通用组件  4. 页头  5. Hero
   6. 布局骨架  7. 分类栏  8. 卡片  9. 区块  10. 侧栏
   11. 详情页  12. 内页  13. 页脚  14. 深色模式  15. 响应式
   ========================================================================== */

/* ---------- 1. 设计变量 ---------- */
:root {
	--nv-primary: #6a5cff;
	--nv-accent: #ff5c7c;
	--nv-grad-from: #5b4bff;
	--nv-grad-via: #8b5cf6;
	--nv-grad-to: #d946ef;
	--nv-cols: 4;

	--nv-bg: #f5f6fb;
	--nv-card: #ffffff;
	--nv-card-soft: #fafbff;
	--nv-line: #e9eaf3;
	--nv-line-strong: #dcdeec;
	--nv-text: #171a26;
	--nv-text-2: #3d4354;
	--nv-muted: #5c6479;

	--nv-radius-xl: 22px;
	--nv-radius-lg: 18px;
	--nv-radius: 14px;
	--nv-radius-sm: 10px;

	--nv-shadow-sm: 0 1px 2px rgba(24, 28, 60, .04), 0 4px 12px -6px rgba(24, 28, 60, .08);
	--nv-shadow: 0 2px 6px rgba(24, 28, 60, .05), 0 16px 36px -20px rgba(24, 28, 60, .22);
	--nv-shadow-lg: 0 24px 60px -28px rgba(30, 30, 90, .35);

	--nv-font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
	--nv-header-h: 68px;
	--nv-container: 1460px;
}

/* ---------- 2. 基础重置 ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nv-header-h) + 20px); }

body.nv-body {
	margin: 0;
	background: var(--nv-bg);
	color: var(--nv-text);
	font-family: var(--nv-font);
	font-size: 15px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
input, textarea, select { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 700; letter-spacing: -.015em; line-height: 1.3; }
p { margin: 0; }
figure { margin: 0; }
svg { flex-shrink: 0; }

.nv-icon { display: inline-block; vertical-align: middle; }

.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;
}

.nv-skip {
	position: absolute; left: -9999px; top: 0; z-index: 999;
	background: #fff; color: var(--nv-text); padding: 10px 16px; border-radius: 0 0 10px 0;
}
.nv-skip:focus { left: 0; }

:focus-visible { outline: 2px solid var(--nv-primary); outline-offset: 2px; border-radius: 6px; }

.nv-container {
	width: 100%;
	max-width: var(--nv-container);
	margin-inline: auto;
	padding-inline: 28px;
}

/* ---------- 3. 通用组件 ---------- */
.nv-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	height: 42px; padding: 0 18px;
	border-radius: 12px; font-size: 14px; font-weight: 600;
	border: 1px solid transparent; white-space: nowrap;
	transition: transform .18s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}
.nv-btn--sm { height: 36px; padding: 0 14px; font-size: 13px; border-radius: 10px; }
.nv-btn--lg { height: 50px; padding: 0 26px; font-size: 15px; border-radius: 14px; }

.nv-btn--primary {
	background: linear-gradient(135deg, var(--nv-grad-from), var(--nv-primary));
	color: #fff;
	box-shadow: 0 8px 20px -10px rgba(90, 75, 255, .8);
}
.nv-btn--primary:hover { transform: translateY(-1px); box-shadow: 0 12px 26px -10px rgba(90, 75, 255, .85); color: #fff; }

.nv-btn--ghost {
	background: var(--nv-card); color: var(--nv-text-2);
	border-color: var(--nv-line-strong);
}
.nv-btn--ghost:hover { color: var(--nv-primary); border-color: var(--nv-primary); background: var(--nv-card); }

.nv-btn--light { background: #fff; color: var(--nv-primary); }
.nv-btn--light:hover { transform: translateY(-1px); }

.nv-iconbtn {
	position: relative;
	display: inline-grid; place-items: center;
	width: 38px; height: 38px; border-radius: 11px;
	color: var(--nv-text-2); background: transparent;
	transition: background-color .2s ease, color .2s ease;
}
.nv-iconbtn:hover { background: rgba(106, 92, 255, .09); color: var(--nv-primary); }

.nv-chip {
	display: inline-flex; align-items: center; gap: 5px;
	height: 30px; padding: 0 12px;
	border-radius: 999px; font-size: 13px;
	background: var(--nv-card); color: var(--nv-text-2);
	border: 1px solid var(--nv-line);
	transition: all .18s ease;
}
.nv-chip:hover { color: var(--nv-primary); border-color: rgba(106, 92, 255, .45); background: rgba(106, 92, 255, .06); }
.nv-chip--sm { height: 26px; padding: 0 10px; font-size: 12px; }
.nv-chip em { font-style: normal; font-size: 11px; color: var(--nv-muted); }

.nv-tag {
	display: inline-flex; align-items: center; gap: 4px;
	height: 24px; padding: 0 9px;
	border-radius: 7px; font-size: 11.5px; font-weight: 500;
	background: color-mix(in srgb, var(--nv-tag-color, var(--nv-primary)) 10%, transparent);
	color: var(--nv-tag-color, var(--nv-primary));
	white-space: nowrap;
}
.nv-tag:hover { background: color-mix(in srgb, var(--nv-tag-color, var(--nv-primary)) 18%, transparent); }
.nv-tag--ghost { background: rgba(120, 128, 158, .13); color: var(--nv-muted); }
.nv-tag--ghost:hover { color: var(--nv-text-2); background: rgba(120, 128, 158, .2); }

.nv-termicon {
	display: inline-grid; place-items: center;
	width: 26px; height: 26px; border-radius: 8px;
	background: color-mix(in srgb, var(--nv-term-color, var(--nv-primary)) 12%, transparent);
	color: var(--nv-term-color, var(--nv-primary));
}

.nv-dot { width: 6px; height: 6px; border-radius: 50%; background: #6ee7b7; box-shadow: 0 0 0 3px rgba(110, 231, 183, .25); }

/* ---------- 4. 页头 ---------- */
.nv-header {
	position: sticky; top: 0; z-index: 60;
	background: color-mix(in srgb, var(--nv-card) 82%, transparent);
	backdrop-filter: saturate(180%) blur(18px);
	-webkit-backdrop-filter: saturate(180%) blur(18px);
	border-bottom: 1px solid transparent;
	transition: border-color .25s ease, box-shadow .25s ease;
}
.nv-header.is-stuck { border-bottom-color: var(--nv-line); box-shadow: 0 6px 24px -18px rgba(24, 28, 60, .5); }

.nv-header__inner {
	display: flex; align-items: center; gap: 22px;
	height: var(--nv-header-h);
}

.nv-brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.nv-brand__link { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.nv-brand__mark {
	display: grid; place-items: center;
	width: 36px; height: 36px; border-radius: 11px;
	background: linear-gradient(135deg, var(--nv-grad-from), var(--nv-grad-to));
	color: #fff;
	box-shadow: 0 8px 18px -10px rgba(106, 92, 255, .9);
}
.nv-brand__text { display: flex; flex-direction: column; min-width: 0; }
.nv-brand__text strong { font-size: 16.5px; font-weight: 800; letter-spacing: -.02em; line-height: 1.25; }
.nv-brand__text em { font-style: normal; font-size: 11.5px; color: var(--nv-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 230px; }
.custom-logo-link img { max-height: 38px; width: auto; }

.nv-nav { flex: 1; min-width: 0; }
.nv-nav__list { display: flex; align-items: center; gap: 2px; }
.nv-nav__list > li { position: relative; }
.nv-nav__list > li > a {
	display: inline-flex; align-items: center;
	height: 38px; padding: 0 12px;
	border-radius: 10px; font-size: 14px; font-weight: 500; color: var(--nv-text-2);
}
.nv-nav__list > li > a:hover { background: rgba(106, 92, 255, .08); color: var(--nv-primary); }
.nv-nav__list .current-menu-item > a,
.nv-nav__list .current_page_item > a { color: var(--nv-primary); background: rgba(106, 92, 255, .1); }

.nv-nav__list .sub-menu {
	position: absolute; top: calc(100% + 8px); left: 0;
	min-width: 168px; padding: 6px;
	background: var(--nv-card); border: 1px solid var(--nv-line);
	border-radius: 14px; box-shadow: var(--nv-shadow);
	opacity: 0; visibility: hidden; transform: translateY(6px);
	transition: all .18s ease;
}
.nv-nav__list li:hover > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nv-nav__list .sub-menu a { display: block; padding: 8px 10px; border-radius: 8px; font-size: 13.5px; color: var(--nv-text-2); }
.nv-nav__list .sub-menu a:hover { background: rgba(106, 92, 255, .08); color: var(--nv-primary); }

.nv-actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nv-fav-count {
	position: absolute; top: 3px; right: 2px;
	min-width: 16px; height: 16px; padding: 0 4px;
	display: grid; place-items: center;
	background: var(--nv-accent); color: #fff;
	font-size: 10px; font-weight: 700; border-radius: 999px;
}
/* 类选择器会盖掉 [hidden] 的 display:none，0 条收藏时必须显式关掉 */
.nv-fav-count[hidden] { display: none; }
.nv-submit-btn { margin-left: 6px; }

.nv-nav-toggle { display: none; }
.nv-burger { display: grid; gap: 4px; width: 18px; }
.nv-burger i { display: block; height: 2px; border-radius: 2px; background: currentColor; transition: transform .22s ease, opacity .18s ease; }
.nv-nav-toggle[aria-expanded="true"] .nv-burger i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nv-nav-toggle[aria-expanded="true"] .nv-burger i:nth-child(2) { opacity: 0; }
.nv-nav-toggle[aria-expanded="true"] .nv-burger i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nv-mobilemenu {
	position: absolute; top: 100%; left: 0; right: 0;
	padding: 14px 20px 20px;
	background: var(--nv-card);
	border-bottom: 1px solid var(--nv-line);
	box-shadow: var(--nv-shadow);
	animation: nv-slide-down .22s ease;
}
@keyframes nv-slide-down { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.nv-mobilemenu__list { display: grid; gap: 2px; margin-bottom: 12px; }
.nv-mobilemenu__list a { display: block; padding: 10px 8px; border-radius: 10px; font-size: 15px; font-weight: 500; }
.nv-mobilemenu__list a:hover { background: rgba(106, 92, 255, .08); color: var(--nv-primary); }
.nv-mobilemenu__cats { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 12px; border-top: 1px solid var(--nv-line); }
.nv-mobilemenu__actions { display: flex; gap: 8px; margin-top: 14px; }
.nv-mobilemenu__actions .nv-btn { flex: 1; justify-content: center; }
.nv-mobilemenu__count {
	display: inline-grid; place-items: center;
	min-width: 18px; height: 18px; padding: 0 5px;
	border-radius: 999px; font-style: normal;
	font-size: 11px; font-weight: 600; line-height: 1;
	background: rgba(106, 92, 255, .12); color: var(--nv-primary);
}
.nv-mobilemenu__count[hidden] { display: none; }

/* 收藏抽屉 */
.nv-drawer { position: fixed; inset: 0; z-index: 120; }
.nv-drawer[hidden] { display: none; }
.nv-drawer::before { content: ""; position: absolute; inset: 0; background: rgba(15, 17, 30, .45); backdrop-filter: blur(2px); animation: nv-fade .2s ease; }
@keyframes nv-fade { from { opacity: 0; } to { opacity: 1; } }
.nv-drawer__panel {
	position: absolute; top: 0; right: 0; bottom: 0;
	width: min(420px, 92vw); padding: 20px;
	background: var(--nv-card);
	box-shadow: -20px 0 60px -30px rgba(20, 24, 60, .5);
	display: flex; flex-direction: column; gap: 14px;
	animation: nv-slide-left .26s cubic-bezier(.22, .61, .36, 1);
	overflow: auto;
}
@keyframes nv-slide-left { from { transform: translateX(30px); opacity: 0; } to { transform: none; opacity: 1; } }
.nv-drawer__head { display: flex; align-items: center; justify-content: space-between; }
.nv-drawer__head h2 { font-size: 17px; }
.nv-drawer__body { display: grid; gap: 8px; }
.nv-drawer__empty { color: var(--nv-muted); font-size: 13.5px; line-height: 1.7; }
.nv-favrow { display: flex; align-items: center; gap: 10px; padding: 10px; border: 1px solid var(--nv-line); border-radius: 12px; }
.nv-favrow:hover { border-color: rgba(106, 92, 255, .4); background: var(--nv-card-soft); }
.nv-favrow__body { min-width: 0; flex: 1; }
.nv-favrow__title { display: block; font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nv-favrow__desc { display: block; font-size: 12px; color: var(--nv-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nv-favrow__del { color: var(--nv-muted); width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; }
.nv-favrow__del:hover { color: var(--nv-accent); background: rgba(255, 92, 124, .1); }

/* ---------- 5. Hero ---------- */
.nv-hero {
	position: relative;
	overflow: hidden;
	padding: 40px 0 76px;
	color: #fff;
	isolation: isolate;
}
.nv-hero__bg {
	position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(118deg, var(--nv-grad-from) 0%, var(--nv-grad-via) 46%, var(--nv-grad-to) 100%);
}
/* 竖向暗化：把中段亮紫压下来，保证白字全段 ≥ 4.5:1 */
.nv-hero__bg::before {
	content: ""; position: absolute; inset: 0; z-index: 2;
	background: linear-gradient(180deg, rgba(38, 18, 86, .12) 0%, rgba(38, 18, 86, .24) 55%, rgba(38, 18, 86, .30) 100%);
}
.nv-hero__bg::after {
	content: ""; position: absolute; inset: 0;
	background:
		radial-gradient(60% 80% at 88% 8%, rgba(255, 255, 255, .22), transparent 60%),
		radial-gradient(50% 70% at 6% 92%, rgba(12, 8, 60, .3), transparent 62%);
	mix-blend-mode: soft-light;
}
.nv-hero__orb { position: absolute; border-radius: 50%; filter: blur(46px); opacity: .55; }
.nv-hero__orb--a { width: 320px; height: 320px; top: -120px; right: 8%; background: #ff8ae2; }
.nv-hero__orb--b { width: 260px; height: 260px; bottom: -140px; left: 12%; background: #4fd1ff; opacity: .4; }
.nv-hero__orb--c { width: 180px; height: 180px; top: 30%; left: 46%; background: #ffe27a; opacity: .25; }
.nv-hero__grid {
	position: absolute; inset: 0; opacity: .16;
	background-image: linear-gradient(rgba(255, 255, 255, .55) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .55) 1px, transparent 1px);
	background-size: 54px 54px;
	mask-image: radial-gradient(70% 60% at 50% 40%, #000 20%, transparent 78%);
	-webkit-mask-image: radial-gradient(70% 60% at 50% 40%, #000 20%, transparent 78%);
}
.nv-hero--plain .nv-hero__bg { background: linear-gradient(160deg, #f3f1ff, #eef6ff); }
.nv-hero--plain .nv-hero__grid { opacity: .5; background-image: linear-gradient(rgba(106, 92, 255, .12) 1px, transparent 1px), linear-gradient(90deg, rgba(106, 92, 255, .12) 1px, transparent 1px); }
.nv-hero--plain .nv-hero__orb { display: none; }
.nv-hero--plain { color: var(--nv-text); }

.nv-hero__inner { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.nv-hero__badge {
	display: inline-flex; align-items: center; gap: 8px;
	height: 28px; padding: 0 12px; margin-bottom: 16px;
	border-radius: 999px; font-size: 12.5px; color: #fff;
	background: rgba(30, 14, 70, .34);
	border: 1px solid rgba(255, 255, 255, .3);
	backdrop-filter: blur(6px);
}
.nv-hero__title {
	font-size: clamp(27px, 3.1vw, 40px);
	font-weight: 800; letter-spacing: -.035em; line-height: 1.16;
	text-shadow: 0 6px 30px rgba(20, 10, 60, .22);
}
.nv-hero__sub {
	margin-top: 12px; max-width: 660px;
	font-size: 15.5px; color: rgba(255, 255, 255, .92);
	text-wrap: pretty;
}
.nv-hero--plain .nv-hero__sub { color: var(--nv-text-2); }
.nv-hero__meta {
	margin-top: 12px; font-size: 12.5px; color: rgba(255, 255, 255, .9);
	display: flex; align-items: center; gap: 8px; justify-content: center;
}
.nv-hero--plain .nv-hero__meta { color: var(--nv-muted); }
.nv-hero__dot { opacity: .6; }
.nv-hero__slug { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11.5px; }

/* 内容区顶部信息条（原 Hero 底部统计行上移） */
.nv-infobar {
	grid-column: 1 / -1;
	display: flex; align-items: center; gap: 8px;
	height: 34px; padding: 0 14px; margin-bottom: -8px;
	border-radius: 11px;
	background: rgba(255, 255, 255, .82);
	border: 1px solid rgba(255, 255, 255, .55);
	backdrop-filter: blur(12px);
	box-shadow: 0 12px 26px -20px rgba(16, 12, 70, .65);
	font-size: 12px; color: var(--nv-text-2);
	font-variant-numeric: tabular-nums;
}
.nv-infobar__dot {
	width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0;
	background: var(--nv-primary); box-shadow: 0 0 0 3px rgba(106, 92, 255, .16);
}
.nv-infobar strong { font-weight: 700; color: var(--nv-text); }
.nv-infobar__sep { color: var(--nv-line); }
.nv-infobar__right { margin-left: auto; color: var(--nv-muted); white-space: nowrap; }

/* 搜索框 */
.nv-search { position: relative; width: min(720px, 100%); margin-top: 22px; }
.nv-search__modes {
	display: flex; align-items: center; gap: 2px;
	flex-shrink: 0; padding: 3px; border-radius: 11px;
	background: rgba(120, 128, 158, .1);
}
.nv-search__mode {
	height: 34px; padding: 0 11px; border-radius: 8px;
	font-size: 12.5px; font-weight: 500; white-space: nowrap;
	color: var(--nv-muted);
	transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}
.nv-search__mode:hover { color: var(--nv-text-2); background: rgba(255, 255, 255, .6); }
.nv-search__mode.is-active {
	/* 底色恒为白色，文字必须固定深色，深色模式下才不会白底白字 */
	color: #171a26; background: #fff;
	box-shadow: 0 2px 8px -3px rgba(16, 12, 70, .3);
}

.nv-search__form {
	position: relative;
	display: flex; align-items: center; gap: 6px;
	height: 58px; padding: 6px;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 18px 44px -22px rgba(16, 12, 70, .6), inset 0 0 0 1px rgba(255, 255, 255, .6);
	transition: box-shadow .22s ease;
}
.nv-search__form:focus-within { box-shadow: 0 22px 50px -22px rgba(16, 12, 70, .7), 0 0 0 3px rgba(255, 255, 255, .35); }
.nv-search__icon { display: grid; place-items: center; color: var(--nv-muted); padding-left: 6px; flex-shrink: 0; }
.nv-search__form input[type="search"] {
	flex: 1; min-width: 0; height: 100%;
	border: 0; background: none; outline: none;
	font-size: 15.5px; color: var(--nv-text);
	-webkit-appearance: none; appearance: none;
}
.nv-search__form input[type="search"]::placeholder { color: #a9aec2; }
.nv-search__form input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }
.nv-search__submit {
	display: inline-flex; align-items: center; gap: 7px;
	height: 46px; padding: 0 20px;
	border-radius: 12px;
	background: linear-gradient(135deg, var(--nv-accent), #ff7a5c);
	color: #fff; font-size: 14px; font-weight: 600;
	box-shadow: 0 10px 22px -12px rgba(255, 92, 124, .9);
	transition: transform .16s ease, box-shadow .2s ease;
}
.nv-search__submit:hover { transform: translateY(-1px); box-shadow: 0 14px 26px -12px rgba(255, 92, 124, .95); }
.nv-search__submit-text { display: inline; }

.nv-search__hot {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px;
	margin-top: 14px; font-size: 12.5px;
}
.nv-search__hot-label { color: rgba(255, 255, 255, .82); flex-shrink: 0; white-space: nowrap; }
.nv-hero--plain .nv-search__hot-label { color: var(--nv-muted); }
.nv-search__hot .nv-chip {
	height: 26px; padding: 0 11px; font-size: 12px;
	background: rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .92);
	border-color: rgba(255, 255, 255, .2);
	backdrop-filter: blur(4px);
}
.nv-hero--plain .nv-search__hot .nv-chip { background: #fff; color: var(--nv-text-2); border-color: var(--nv-line); }
.nv-search__hot .nv-chip:hover { background: #fff; color: var(--nv-primary); }

/* 搜索联想 */
.nv-suggest {
	position: absolute; top: calc(100% + 10px); left: 0; right: 0;
	padding: 8px; z-index: 30;
	background: #fff; border: 1px solid var(--nv-line);
	border-radius: 16px; box-shadow: var(--nv-shadow-lg);
	max-height: 340px; overflow: auto;
	text-align: left;
}
.nv-suggest[hidden] { display: none; }
.nv-suggest__item { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; }
.nv-suggest__item:hover, .nv-suggest__item.is-hover { background: rgba(106, 92, 255, .07); }
.nv-suggest__body { min-width: 0; flex: 1; }
.nv-suggest__title { display: block; font-size: 14px; font-weight: 600; color: var(--nv-text); }
.nv-suggest__desc { display: block; font-size: 12px; color: var(--nv-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nv-suggest__empty { padding: 14px 12px; font-size: 13px; color: var(--nv-muted); }

/* 内联搜索（404 / 搜索结果页） */
.nv-search--inline { width: min(560px, 100%); margin: 26px auto 0; }
.nv-search--inline .nv-search__form { box-shadow: var(--nv-shadow-sm); border: 1px solid var(--nv-line); }
/* ---------- 6. 布局骨架 ---------- */
.nv-shell {
	display: grid;
	grid-template-columns: 206px minmax(0, 1fr) 312px;
	gap: 22px;
	align-items: start;
	margin-top: -62px;
	padding-bottom: 72px;
	position: relative;
	z-index: 2;
}
.nv-shell--noside { grid-template-columns: 206px minmax(0, 1fr); }
.nv-shell--norail { grid-template-columns: minmax(0, 1fr) 312px; }
.nv-shell--norail.nv-shell--noside { grid-template-columns: minmax(0, 1fr); }

.nv-main { min-width: 0; display: flex; flex-direction: column; gap: 34px; }

/* ---------- 7. 分类栏 ---------- */
.nv-rail {
	position: sticky; top: calc(var(--nv-header-h) + 16px);
	display: flex; flex-direction: column; gap: 2px;
	padding: 10px 8px;
	background: var(--nv-card);
	border-radius: var(--nv-radius-lg);
	box-shadow: var(--nv-shadow-sm);
	max-height: calc(100vh - var(--nv-header-h) - 32px);
	overflow: auto;
	scrollbar-width: thin;
}
.nv-rail__item {
	position: relative;
	display: flex; align-items: center; gap: 9px;
	height: 40px; padding: 0 10px;
	border-radius: 10px;
	font-size: 13.5px; font-weight: 500; color: var(--nv-text-2);
}
.nv-rail__item:hover { background: rgba(106, 92, 255, .07); color: var(--nv-primary); }
.nv-rail__item.is-active {
	background: color-mix(in srgb, var(--nv-rail-color, var(--nv-primary)) 11%, transparent);
	color: var(--nv-rail-color, var(--nv-primary));
	font-weight: 600;
}
.nv-rail__icon { display: grid; place-items: center; width: 20px; color: currentColor; opacity: .92; }
.nv-rail__icon .nv-icon { opacity: .92; }
.nv-rail__text { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nv-rail__count { font-size: 11px; color: var(--nv-muted); font-variant-numeric: tabular-nums; }
.nv-rail__item.is-active .nv-rail__count { color: currentColor; opacity: .7; }
.nv-rail__all {
	display: flex; align-items: center; justify-content: center; gap: 4px;
	margin-top: 8px; padding-top: 12px;
	border-top: 1px dashed var(--nv-line-strong);
	font-size: 12.5px; color: var(--nv-muted);
}
.nv-rail__all:hover { color: var(--nv-primary); }

/* ---------- 8. 站点图标与卡片 ---------- */
.nv-siteicon {
	position: relative; display: grid; place-items: center;
	width: 44px; height: 44px; flex-shrink: 0;
	border-radius: 13px;
	background: color-mix(in srgb, var(--nv-icon-color, var(--nv-primary)) 12%, #fff);
	box-shadow: inset 0 0 0 1px rgba(20, 24, 60, .05);
	overflow: hidden;
}
.nv-siteicon--sm { width: 32px; height: 32px; border-radius: 10px; }
.nv-siteicon--lg { width: 66px; height: 66px; border-radius: 18px; }
.nv-siteicon__letter {
	position: absolute;
	font-size: 17px; font-weight: 800; color: var(--nv-icon-color, var(--nv-primary));
	opacity: .92;
	font-family: var(--nv-font);
	letter-spacing: -.02em;
}
.nv-siteicon--sm .nv-siteicon__letter { font-size: 14px; }
.nv-siteicon--lg .nv-siteicon__letter { font-size: 26px; }
.nv-siteicon__img {
	position: relative; z-index: 1;
	width: 62%; height: 62%; object-fit: contain;
	border-radius: 4px;
}

.nv-card {
	position: relative;
	display: flex; flex-direction: column;
	padding: 13px 13px 12px;
	background: var(--nv-card);
	border: 1px solid var(--nv-line);
	border-radius: var(--nv-radius);
	transition: transform .22s cubic-bezier(.2, .7, .4, 1), box-shadow .24s ease, border-color .2s ease;
}
.nv-card:hover {
	transform: translateY(-3px);
	border-color: transparent;
	box-shadow: var(--nv-shadow);
}
/* 竖排：图标置顶，标题与描述占满整行宽度 */
.nv-card__link {
	display: flex; flex-direction: column; align-items: stretch;
	gap: 8px; min-width: 0;
}
.nv-card__icon { position: relative; flex-shrink: 0; align-self: flex-start; }
.nv-card__badge {
	position: absolute; top: -4px; right: -6px;
	padding: 1px 5px; border-radius: 6px;
	background: var(--nv-accent); color: #fff;
	font-size: 9.5px; font-style: normal; font-weight: 700; line-height: 1.5;
	box-shadow: 0 2px 6px -2px rgba(255, 92, 124, .8);
}
.nv-card__body { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.nv-card__title {
	font-size: 15px; font-weight: 650; line-height: 1.3; color: var(--nv-text);
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
	letter-spacing: -.01em;
	/* 给右上角箭头预留 26px，避免标题压到按钮 */
	padding-right: 18px;
}
.nv-card__desc {
	font-size: 12.5px; color: var(--nv-muted); line-height: 1.55;
	display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
	line-clamp: 2;
	overflow: hidden;
	min-height: calc(12.5px * 1.55 * 2);
	overflow-wrap: anywhere;
}
.nv-card__go {
	position: absolute; top: 12px; right: 12px;
	display: grid; place-items: center;
	width: 24px; height: 24px;
	border-radius: 8px; color: var(--nv-muted);
	background: var(--nv-card);
	opacity: 0; transform: translateX(-4px);
	transition: all .2s ease;
	pointer-events: none;
}
.nv-card:hover .nv-card__go { opacity: 1; transform: none; color: var(--nv-primary); background: rgba(106, 92, 255, .1); }

.nv-card__foot {
	display: flex; align-items: center; gap: 8px;
	margin-top: 7px;
}
.nv-card__tags { display: flex; align-items: center; gap: 5px; min-width: 0; flex: 1; overflow: hidden; }
.nv-card__tags .nv-tag { height: 22px; font-size: 11px; padding: 0 8px; }
.nv-card__stat {
	display: inline-flex; align-items: center; gap: 4px;
	font-size: 11.5px; color: var(--nv-muted);
	font-variant-numeric: tabular-nums; white-space: nowrap;
}
.nv-card--compact { padding: 11px; }
.nv-card--post .nv-card__body { padding-left: 0; }

/* Mini 条目 */
.nv-hotlist { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px 10px; }
.nv-mini {
	display: flex; align-items: center; gap: 10px;
	padding: 9px 10px; border-radius: 12px;
	min-width: 0;
	transition: background-color .18s ease, transform .18s ease;
}
.nv-mini:hover { background: var(--nv-card-soft); transform: translateX(2px); }
.nv-mini__index {
	display: grid; place-items: center;
	width: 18px; height: 18px; flex-shrink: 0;
	border-radius: 6px; background: rgba(120, 128, 158, .12);
	font-size: 11px; font-weight: 700; color: var(--nv-muted);
}
.nv-mini__body { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.nv-mini__title { font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nv-mini__desc { font-size: 11.5px; color: var(--nv-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- 9. 区块 ---------- */
.nv-block {
	background: var(--nv-card);
	border-radius: var(--nv-radius-xl);
	padding: 18px 20px 20px;
	box-shadow: var(--nv-shadow-sm);
}
.nv-block__head {
	display: flex; align-items: center; gap: 12px;
	margin-bottom: 18px;
	min-height: 30px;
}
.nv-block__title {
	display: inline-flex; align-items: center; gap: 8px;
	font-size: 16.5px; font-weight: 700; letter-spacing: -.02em;
	flex-shrink: 0;
}
.nv-block__flame { display: grid; place-items: center; color: #ff7a45; }
.nv-block__count {
	font-size: 11.5px; font-weight: 600; color: var(--nv-muted);
	background: rgba(120, 128, 158, .1); padding: 1px 7px; border-radius: 999px;
	font-variant-numeric: tabular-nums;
}
.nv-block__hint { font-size: 12.5px; color: var(--nv-muted); display: none; }
.nv-block__chips { display: flex; align-items: center; gap: 6px; flex: 1; min-width: 0; overflow: hidden; }
.nv-block__more {
	display: inline-flex; align-items: center; gap: 2px;
	margin-left: auto; flex-shrink: 0;
	font-size: 12.5px; color: var(--nv-muted);
	padding: 4px 8px; border-radius: 8px;
}
.nv-block__more:hover { color: var(--nv-primary); background: rgba(106, 92, 255, .08); }

/* 编辑推荐横幅：1 大 + 2 小，用来打断分类区块的同构节奏 */
.nv-pick {
	background: linear-gradient(158deg, #f6f5ff 0%, #f2f6ff 52%, #f7f4ff 100%);
	border: 1px solid rgba(106, 92, 255, .13);
	border-radius: var(--nv-radius-xl);
	padding: 18px 20px 20px;
}
.nv-pick .nv-block__head { margin-bottom: 14px; }
.nv-pick__flag {
	display: inline-flex; align-items: center;
	height: 22px; padding: 0 9px; margin-right: 2px;
	border-radius: 6px;
	background: var(--nv-primary); color: #fff;
	font-size: 11.5px; font-weight: 700; letter-spacing: .02em;
}
.nv-pick__grid { display: grid; grid-template-columns: minmax(0, 1.62fr) minmax(0, 1fr); gap: 12px; }
.nv-pick__lead {
	display: flex; flex-direction: column; justify-content: center; gap: 16px;
	padding: 18px 18px 16px;
	background: #fff; border: 1px solid rgba(106, 92, 255, .14);
	border-radius: 16px;
	box-shadow: 0 12px 26px -22px rgba(16, 12, 70, .55);
	transition: transform .22s cubic-bezier(.2, .7, .4, 1), box-shadow .24s ease, border-color .2s ease;
}
.nv-pick__lead:hover { transform: translateY(-2px); border-color: rgba(106, 92, 255, .32); box-shadow: 0 18px 34px -22px rgba(16, 12, 70, .5); }
.nv-pick__lead-top { display: flex; gap: 14px; align-items: flex-start; min-width: 0; }
.nv-pick__lead-body { min-width: 0; }
.nv-pick__name { font-size: 19px; font-weight: 800; letter-spacing: -.025em; line-height: 1.3; }
.nv-pick__desc {
	margin-top: 6px; font-size: 13px; line-height: 1.62; color: var(--nv-text-2);
	display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.nv-pick__tags { display: flex; gap: 6px; }
.nv-pick__lead-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.nv-pick__cta {
	display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0;
	font-size: 12.5px; font-weight: 650; color: var(--nv-primary);
}
.nv-pick__cta svg { transition: transform .2s ease; }
.nv-pick__lead:hover .nv-pick__cta svg { transform: translateX(3px); }

.nv-pick__side { display: grid; grid-template-rows: 1fr 1fr; gap: 12px; }
.nv-pick__item {
	display: flex; align-items: center; gap: 11px; min-width: 0;
	padding: 12px 13px; border-radius: 14px;
	background: #fff; border: 1px solid rgba(106, 92, 255, .12);
	transition: transform .2s ease, border-color .2s ease, box-shadow .22s ease;
}
.nv-pick__item:hover { transform: translateY(-2px); border-color: rgba(106, 92, 255, .3); box-shadow: 0 12px 24px -20px rgba(16, 12, 70, .5); }
.nv-pick__item-body { min-width: 0; display: flex; flex-direction: column; gap: 2px; flex: 1; }
.nv-pick__item-name { font-size: 13.5px; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nv-pick__item-desc {
	font-size: 11.5px; line-height: 1.5; color: var(--nv-muted);
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

.nv-grid {
	display: grid;
	grid-template-columns: repeat(var(--nv-cols, 4), minmax(0, 1fr));
	gap: 12px;
}
.nv-grid--wide { gap: 12px; }

/* 分类页面板 */
.nv-panel {
	background: var(--nv-card);
	border-radius: var(--nv-radius-xl);
	padding: 16px 18px 22px;
	box-shadow: var(--nv-shadow-sm);
}
.nv-panel__bar {
	display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
	padding-bottom: 14px; margin-bottom: 16px;
	border-bottom: 1px solid var(--nv-line);
}
.nv-subcats { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; flex: 1; min-width: 0; }
.nv-subcats__item {
	display: inline-flex; align-items: center; gap: 5px;
	height: 32px; padding: 0 12px; border-radius: 9px;
	font-size: 13px; color: var(--nv-text-2);
}
.nv-subcats__item em { font-style: normal; font-size: 11px; color: var(--nv-muted); }
.nv-subcats__item:hover { background: rgba(106, 92, 255, .07); color: var(--nv-primary); }
.nv-subcats__item.is-active { background: rgba(106, 92, 255, .1); color: var(--nv-primary); font-weight: 600; }
.nv-subcats__item.is-active em { color: var(--nv-primary); opacity: .7; }

/* 排序：与 Hero 搜索框内的分段控件同一套规格（3px 内衬 + 白底活动块） */
.nv-sort {
	display: flex; align-items: center; gap: 2px;
	margin-left: auto; padding: 3px;
	border-radius: 11px; background: rgba(120, 128, 158, .1);
}
.nv-sort__item {
	display: inline-flex; align-items: center;
	height: 28px; padding: 0 11px; border-radius: 8px;
	font-size: 13px; font-weight: 500; color: var(--nv-muted);
	transition: background-color .18s ease, color .18s ease;
}
.nv-sort__item:hover { color: var(--nv-text-2); background: rgba(255, 255, 255, .6); }
.nv-sort__item.is-active {
	background: var(--nv-card); color: var(--nv-primary); font-weight: 600;
	box-shadow: 0 2px 8px -3px rgba(16, 12, 70, .28);
}

/* 空状态 */
.nv-empty {
	text-align: center; padding: 56px 24px 60px;
	background: var(--nv-card); border-radius: var(--nv-radius-xl);
	box-shadow: var(--nv-shadow-sm);
	display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.nv-empty__icon {
	display: grid; place-items: center;
	width: 64px; height: 64px; border-radius: 20px;
	background: rgba(106, 92, 255, .08); color: var(--nv-primary);
	margin-bottom: 6px;
}
.nv-empty h2 { font-size: 18px; }
.nv-empty p { font-size: 13.5px; color: var(--nv-muted); max-width: 460px; line-height: 1.7; }
.nv-empty__actions { display: flex; gap: 10px; margin-top: 8px; }

/* 加载更多 */
.nv-loadmore { display: flex; justify-content: center; margin-top: 24px; }
.nv-loadmore .nv-btn { min-width: 132px; }
.nv-loadmore .nv-btn[disabled] { opacity: .6; cursor: default; }

/* 分页 */
.nv-pagination { display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap; margin-top: 26px; }
.nv-pagination .page-numbers {
	display: inline-grid; place-items: center;
	min-width: 36px; height: 36px; padding: 0 10px;
	border-radius: 10px; font-size: 13px; font-weight: 500;
	background: var(--nv-card); color: var(--nv-text-2);
	border: 1px solid var(--nv-line);
}
.nv-pagination .page-numbers:hover { color: var(--nv-primary); border-color: rgba(106, 92, 255, .4); }
.nv-pagination .page-numbers.current { background: var(--nv-primary); border-color: var(--nv-primary); color: #fff; }
.nv-pagination .dots { border: 0; background: none; }

/* ---------- 10. 侧栏 ---------- */
.nv-sidebar {
	display: flex; flex-direction: column; gap: 14px;
	position: sticky; top: calc(var(--nv-header-h) + 16px);
	min-width: 0;
}
/* CTA 与下方模块拉开 18px，形成「主—辅—辅」节奏 */
.nv-sidebar > .nv-promo { margin-bottom: 4px; }
.nv-widget {
	background: var(--nv-card); border-radius: var(--nv-radius-lg);
	padding: 16px 16px 14px;
	box-shadow: var(--nv-shadow-sm);
}
.nv-widget__head { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.nv-widget__title {
	display: inline-flex; align-items: center; gap: 6px;
	font-size: 14px; font-weight: 700; letter-spacing: -.01em;
}
.nv-widget__title svg { color: var(--nv-primary); opacity: .85; }
.nv-widget__more { margin-left: auto; font-size: 12px; color: var(--nv-muted); }
.nv-widget__more:hover { color: var(--nv-primary); }

/* CTA：深墨底，与 Hero 紫渐变彻底脱钩 */
.nv-promo {
	position: relative; overflow: hidden;
	border-radius: var(--nv-radius-lg);
	padding: 20px 18px;
	color: #fff;
	background: #171a26;
	box-shadow: 0 18px 40px -28px rgba(10, 12, 24, .9);
}
.nv-promo__glow {
	position: absolute; width: 190px; height: 190px; right: -70px; top: -90px;
	background: radial-gradient(circle, rgba(124, 108, 255, .38), transparent 70%);
	filter: blur(12px);
}
.nv-promo__body { position: relative; display: flex; flex-direction: column; gap: 7px; align-items: flex-start; }
.nv-promo h2 { font-size: 14.5px; line-height: 1.5; letter-spacing: -.01em; }
.nv-promo p { font-size: 12px; color: rgba(255, 255, 255, .64); line-height: 1.62; }
.nv-promo .nv-btn { margin-top: 6px; }
/* 深墨底上的描边按钮：与品牌色相连但不抢视觉 */
.nv-promo .nv-btn--light {
	background: transparent; color: #fff;
	box-shadow: inset 0 0 0 1px rgba(140, 124, 255, .62);
}
.nv-promo .nv-btn--light:hover { background: rgba(124, 108, 255, .16); box-shadow: inset 0 0 0 1px rgba(160, 148, 255, .9); }

/* 数据卡：统一底色，只让主指标用品牌色 */
.nv-statcard { padding: 12px; }
.nv-statcard__hero {
	display: flex; flex-direction: column; gap: 1px;
	padding: 12px 13px 13px; border-radius: 12px;
	background: #f7f8fc;
}
.nv-statcard__hero strong { font-size: 27px; font-weight: 800; line-height: 1.1; letter-spacing: -.03em; color: var(--nv-primary); font-variant-numeric: tabular-nums; }
.nv-statcard__hero span { font-size: 11.5px; color: var(--nv-muted); }
.nv-statcard__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.nv-statcard__cell {
	display: flex; flex-direction: column; gap: 1px;
	padding: 10px 13px 11px; border-radius: 12px;
	background: #f7f8fc;
	text-align: left;
}
.nv-statcard__cell strong { font-size: 20px; font-weight: 800; line-height: 1.15; letter-spacing: -.02em; color: var(--nv-text); font-variant-numeric: tabular-nums; }
.nv-statcard__cell span { font-size: 11.5px; color: var(--nv-muted); }

.nv-rank { display: flex; flex-direction: column; gap: 2px; }
.nv-rank__item { display: flex; align-items: center; gap: 8px; }
.nv-rank__no {
	display: grid; place-items: center; flex-shrink: 0;
	width: 18px; height: 18px; border-radius: 6px;
	background: rgba(120, 128, 158, .1); color: var(--nv-muted);
	font-size: 10.5px; font-weight: 700; font-variant-numeric: tabular-nums;
}
.nv-rank__no.is-top { background: linear-gradient(135deg, #ff8a5c, #ff5c7c); color: #fff; }
.nv-rank__link { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; padding: 6px 6px 6px 2px; border-radius: 8px; }
.nv-rank__link:hover { background: var(--nv-card-soft); }
.nv-rank__title { flex: 1; min-width: 0; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nv-rank__meta { font-size: 11px; color: var(--nv-muted); font-variant-numeric: tabular-nums; }

.nv-tagcloud { display: flex; flex-wrap: wrap; gap: 6px; }
.nv-links { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 10px; }
.nv-links a { font-size: 12.5px; color: var(--nv-muted); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nv-links a:hover { color: var(--nv-primary); }
/* ---------- 11. 站点详情页 ---------- */
.nv-detail-hero {
	padding: 18px 0 78px;
	background: linear-gradient(180deg, rgba(106, 92, 255, .08), transparent 92%);
}
/* 面包屑与下方详情块左对齐（详情块限宽 1240） */
@media (min-width: 1361px) {
	.nv-detail-hero .nv-container { max-width: 1296px; }
}
.nv-crumb { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 12.5px; color: var(--nv-muted); }
.nv-crumb a { color: var(--nv-muted); }
.nv-crumb a:hover { color: var(--nv-primary); }
.nv-crumb__sep { opacity: .5; }
.nv-crumb__current { color: var(--nv-text-2); font-weight: 500; }

.nv-detail-wrap { margin-top: -62px; position: relative; z-index: 2; padding-bottom: 72px; }
.nv-detail { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 18px; align-items: start; max-width: 1240px; margin-inline: auto; }

.nv-detail__main {
	background: var(--nv-card); border-radius: var(--nv-radius-xl);
	padding: 24px 26px 26px; box-shadow: var(--nv-shadow-sm);
	min-width: 0;
}
.nv-detail__head { display: flex; align-items: flex-start; gap: 16px; }
.nv-detail__intro { flex: 1; min-width: 0; }
.nv-detail__title { font-size: 25px; letter-spacing: -.03em; display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.nv-detail__badge {
	font-style: normal; font-size: 11px; font-weight: 700;
	padding: 2px 7px; border-radius: 7px;
	background: rgba(255, 92, 124, .12); color: var(--nv-accent);
}
.nv-detail__meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 8px; font-size: 12.5px; color: var(--nv-muted); }
.nv-detail__meta span { display: inline-flex; align-items: center; gap: 5px; }
.nv-detail__desc { margin-top: 12px; font-size: 14px; color: var(--nv-text-2); line-height: 1.75; }

.nv-fav-toggle {
	display: inline-flex; align-items: center; gap: 6px;
	height: 36px; padding: 0 13px; flex-shrink: 0;
	border-radius: 10px; font-size: 13px; font-weight: 500;
	color: var(--nv-text-2); background: var(--nv-card-soft);
	border: 1px solid var(--nv-line);
}
.nv-fav-toggle:hover { color: var(--nv-primary); border-color: rgba(106, 92, 255, .4); }
.nv-fav-toggle.is-active { color: #f59e0b; border-color: rgba(245, 158, 11, .45); background: rgba(245, 158, 11, .08); }
.nv-fav-toggle.is-active svg { fill: rgba(245, 158, 11, .95); }

.nv-detail__actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 20px 0 4px; }
.nv-detail__tags { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 16px; }

.nv-prose { margin-top: 22px; font-size: 15px; line-height: 1.85; color: var(--nv-text-2); }
.nv-detail__prose { max-width: 760px; }
.nv-prose > * + * { margin-top: 1em; }
.nv-prose h2 { font-size: 19px; margin-top: 1.9em; color: var(--nv-text); padding-left: 11px; position: relative; }
.nv-prose h2::before {
	content: ""; position: absolute; left: 0; top: .28em; bottom: .28em;
	width: 3px; border-radius: 3px;
	background: linear-gradient(180deg, var(--nv-primary), var(--nv-grad-to));
}
.nv-prose h3 { font-size: 16px; margin-top: 1.6em; color: var(--nv-text); }
.nv-prose p { margin-top: 1em; }
.nv-prose a { color: var(--nv-primary); text-decoration: underline; text-decoration-color: rgba(106, 92, 255, .35); text-underline-offset: 3px; }
.nv-prose a:hover { text-decoration-color: currentColor; }
.nv-prose ul, .nv-prose ol { padding-left: 1.3em; margin-top: 1em; }
.nv-prose ul { list-style: disc; }
.nv-prose ol { list-style: decimal; }
.nv-prose li + li { margin-top: .4em; }
.nv-prose blockquote {
	margin: 1.4em 0; padding: 14px 18px;
	border-left: 3px solid var(--nv-primary);
	background: rgba(106, 92, 255, .05);
	border-radius: 0 12px 12px 0;
	color: var(--nv-text-2);
}
.nv-prose code {
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
	font-size: .88em; padding: 2px 6px; border-radius: 6px;
	background: rgba(120, 128, 158, .12);
}
.nv-prose pre { overflow: auto; padding: 16px; border-radius: 14px; background: #171a26; color: #e6e8f2; }
.nv-prose pre code { background: none; padding: 0; color: inherit; }
.nv-prose img, .nv-prose iframe, .nv-prose video { border-radius: 14px; }
.nv-prose table { width: 100%; border-collapse: collapse; font-size: 14px; }
.nv-prose th, .nv-prose td { padding: 10px 12px; border: 1px solid var(--nv-line); text-align: left; }
.nv-prose th { background: var(--nv-card-soft); font-weight: 600; }

.nv-shot { border-radius: var(--nv-radius-lg); overflow: hidden; background: var(--nv-card); box-shadow: var(--nv-shadow-sm); }

/* 主列站点大图 */
.nv-detail__shot {
	position: relative; margin-top: 22px;
	border: 1px solid var(--nv-line);
	border-radius: var(--nv-radius-lg);
	overflow: hidden;
	background: var(--nv-card-soft);
}
.nv-detail__shot .nv-shot__img { width: 100%; height: auto; aspect-ratio: 16 / 10; max-height: 460px; object-fit: cover; object-position: top; }
.nv-detail__shot .nv-shot__placeholder { aspect-ratio: 16 / 10; max-height: none; }
.nv-detail__shotlink {
	position: absolute; right: 12px; bottom: 12px;
	display: inline-flex; align-items: center; gap: 5px;
	height: 30px; padding: 0 12px; border-radius: 999px;
	font-size: 12.5px; font-weight: 600; color: #fff;
	background: rgba(20, 22, 38, .74);
	backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
	box-shadow: 0 6px 16px -8px rgba(10, 12, 30, .7);
}
.nv-detail__shotlink:hover { background: rgba(20, 22, 38, .9); color: #fff; }

/* 快速了解 */
.nv-facts { margin-top: 26px; }
.nv-detail__block-title {
	display: flex; align-items: center; gap: 9px;
	margin: 0 0 12px; font-size: 15px; font-weight: 700; letter-spacing: -.01em;
}
.nv-detail__block-title::before {
	content: ""; width: 3px; height: 14px; border-radius: 3px; flex-shrink: 0;
	background: linear-gradient(180deg, var(--nv-primary), var(--nv-grad-to));
}
.nv-facts__grid {
	display: grid; gap: 12px;
	grid-template-columns: repeat(auto-fit, minmax(196px, 1fr));
}
.nv-fact {
	background: var(--nv-card-soft);
	border: 1px solid var(--nv-line);
	border-radius: var(--nv-radius);
	padding: 13px 15px 14px;
	min-width: 0;
}
.nv-fact__title { font-size: 11.5px; font-weight: 700; letter-spacing: .03em; color: var(--nv-muted); }
.nv-fact__text { margin-top: 7px; font-size: 13.5px; line-height: 1.7; color: var(--nv-text-2); }
.nv-fact__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.nv-fact__link { display: block; margin-top: 4px; color: var(--nv-primary); font-weight: 600; }
.nv-fact__link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* 相关站点 */
.nv-detail__related { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--nv-line); }
.nv-detail__related-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 14px; }

.nv-shot__img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; object-position: top; }
.nv-shot__placeholder {
	aspect-ratio: 16 / 10; padding: 14px;
	position: relative;
	display: flex; flex-direction: column;
	align-items: center; justify-content: center;
	background: linear-gradient(150deg, #eef0ff, #f7f0ff 60%, #fff0f8);
}
.nv-shot__browser { position: absolute; top: 14px; left: 14px; display: flex; gap: 5px; }
.nv-shot__browser i { width: 8px; height: 8px; border-radius: 50%; background: rgba(120, 128, 158, .35); }
.nv-shot__browser i:nth-child(1) { background: #ff6b6b; }
.nv-shot__browser i:nth-child(2) { background: #ffd166; }
.nv-shot__browser i:nth-child(3) { background: #06d6a0; }
/* 待填充的画框：让 16:10 的空态有结构，不是一大片渐变 */
.nv-shot__frame {
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	gap: 10px;
	width: min(560px, 80%); aspect-ratio: 16 / 9; max-height: calc(100% - 12px);
	padding: 18px 22px;
	border-radius: 16px;
	border: 1px dashed rgba(120, 128, 158, .3);
	background: rgba(255, 255, 255, .42);
}
.nv-shot__ghost { margin: 0; }
.nv-shot__ghost .nv-siteicon { background: rgba(255, 255, 255, .8); box-shadow: 0 10px 24px -14px rgba(30, 30, 90, .45); }
.nv-shot__name {
	font-size: 14px; font-weight: 700; color: var(--nv-text-2);
	opacity: .8; text-align: center; word-break: break-all;
}
.nv-shot__hint { text-align: center; font-size: 11.5px; line-height: 1.6; color: var(--nv-muted); margin-top: -2px; max-width: 320px; }
.nv-shot figcaption { padding: 10px 14px; font-size: 12.5px; color: var(--nv-muted); border-top: 1px solid var(--nv-line); }
.nv-shot figcaption a:hover { color: var(--nv-primary); }

.nv-detail__side { display: flex; flex-direction: column; gap: 14px; position: sticky; top: calc(var(--nv-header-h) + 16px); }
.nv-infocard__list { display: flex; flex-direction: column; gap: 8px; }
.nv-infocard__list > div { display: flex; align-items: center; justify-content: space-between; font-size: 13px; }
.nv-infocard__list dt { color: var(--nv-muted); }
.nv-infocard__list dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.nv-related { display: grid; gap: 2px; margin: 0 -4px; }

/* 评论区 */
.nv-comments { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--nv-line); }
.nv-comments__cta { display: flex; }
.nv-comments__form { margin-top: 16px; }
.nv-comments__form[hidden] { display: none; }
.nv-comments__title { font-size: 16px; margin-bottom: 14px; }
.nv-comments__list { display: grid; gap: 14px; }
.nv-comments__list .comment-body {
	padding: 14px 16px; border-radius: 14px; background: var(--nv-card-soft);
	border: 1px solid var(--nv-line); font-size: 14px;
}
.nv-comments__list .comment-meta { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--nv-muted); margin-bottom: 6px; }
.nv-comments__list .comment-author img { border-radius: 50%; margin-right: 6px; }
.nv-comments__list .comment-author .fn { font-style: normal; font-weight: 600; color: var(--nv-text); }
.nv-comments__list .children { margin-top: 12px; padding-left: 18px; display: grid; gap: 12px; }
.nv-comments__list .reply a { font-size: 12px; color: var(--nv-primary); }
.nv-comment-form .nv-field, .nv-comments form .nv-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.nv-comments form label { font-size: 13px; font-weight: 500; color: var(--nv-text-2); }
.nv-comments form input[type="text"], .nv-comments form input[type="email"], .nv-comments form input[type="url"], .nv-comments form textarea {
	width: 100%; padding: 11px 13px; border-radius: 11px;
	border: 1px solid var(--nv-line-strong); background: var(--nv-card);
	font-size: 14px; outline: none; transition: border-color .18s ease, box-shadow .18s ease;
}
.nv-comments form input:focus, .nv-comments form textarea:focus {
	border-color: var(--nv-primary); box-shadow: 0 0 0 3px rgba(106, 92, 255, .12);
}
.nv-comments form .comment-form-cookies-consent { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--nv-muted); }

/* ---------- 12. 内页 ---------- */
.nv-pagewrap {
	display: grid; grid-template-columns: minmax(0, 1fr) 312px; gap: 18px;
	align-items: start; padding-top: 30px; padding-bottom: 72px;
}
.nv-pagewrap--full { grid-template-columns: minmax(0, 1fr); max-width: 940px; }
.nv-page {
	background: var(--nv-card); border-radius: var(--nv-radius-xl);
	padding: 30px 34px 36px; box-shadow: var(--nv-shadow-sm);
	min-width: 0;
}
.nv-page__head { margin-bottom: 18px; }
.nv-page__title { font-size: 28px; letter-spacing: -.03em; margin-top: 10px; }
.nv-page__lead { margin-top: 10px; font-size: 15px; color: var(--nv-muted); }
.nv-page__meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; font-size: 12.5px; color: var(--nv-muted); }
.nv-page__thumb { margin: 0 0 22px; border-radius: 16px; overflow: hidden; }
.nv-page__thumb img { width: 100%; }
.nv-article .nv-content { margin-top: 8px; }

.nv-postnav { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.nv-postnav__item {
	display: flex; flex-direction: column; gap: 3px;
	padding: 14px 16px; border-radius: 14px;
	background: var(--nv-card); box-shadow: var(--nv-shadow-sm);
	border: 1px solid var(--nv-line);
}
.nv-postnav__item:hover { border-color: rgba(106, 92, 255, .4); }
.nv-postnav__item em { font-style: normal; font-size: 11.5px; color: var(--nv-muted); }
.nv-postnav__item span { font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nv-postnav__item--next { text-align: right; grid-column: 2; }

.nv-postlist { display: grid; gap: 12px; }
.nv-postlist__link { display: flex; gap: 14px; padding: 14px; border-radius: 14px; border: 1px solid var(--nv-line); background: var(--nv-card); }
.nv-postlist__link:hover { border-color: rgba(106, 92, 255, .4); box-shadow: var(--nv-shadow-sm); }
.nv-postlist__thumb { width: 132px; flex-shrink: 0; border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 3; }
.nv-postlist__thumb img { width: 100%; height: 100%; object-fit: cover; }
.nv-postlist__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.nv-postlist__title { font-size: 16px; font-weight: 700; }
.nv-postlist__desc { font-size: 13px; color: var(--nv-muted); }
.nv-postlist__meta { font-size: 12px; color: var(--nv-muted); margin-top: auto; }

.nv-404 { text-align: center; padding: 90px 0 120px; }
.nv-404__code {
	font-size: clamp(72px, 12vw, 130px); font-weight: 900; line-height: 1;
	letter-spacing: -.06em;
	background: linear-gradient(135deg, var(--nv-grad-from), var(--nv-grad-to));
	-webkit-background-clip: text; background-clip: text; color: transparent;
}
.nv-404__title { font-size: 24px; margin-top: 8px; }
.nv-404__desc { color: var(--nv-muted); margin-top: 8px; }
.nv-404__actions { display: flex; gap: 10px; justify-content: center; margin-top: 22px; }

/* ---------- 13. 页脚 ---------- */
.nv-footer {
	margin-top: 10px;
	background: #14161f;
	color: rgba(255, 255, 255, .72);
	padding: 46px 0 26px;
}
.nv-footer .nv-brand__text strong { color: #fff; }
.nv-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; }
.nv-footer__about { margin-top: 14px; font-size: 13px; line-height: 1.8; color: rgba(255, 255, 255, .55); max-width: 320px; }
.nv-footer__stats { display: flex; gap: 18px; margin-top: 16px; font-size: 12px; color: rgba(255, 255, 255, .45); }
.nv-footer__stats strong { color: #fff; font-size: 14px; font-weight: 700; }
.nv-footer h3 { font-size: 13.5px; color: #fff; margin-bottom: 12px; font-weight: 600; }
.nv-footer__col ul, .nv-footer__links { display: flex; flex-direction: column; gap: 8px; }
.nv-footer__col a { font-size: 13px; color: rgba(255, 255, 255, .58); }
.nv-footer__col a:hover { color: #fff; }
.nv-footer__col--cta p { font-size: 12.5px; line-height: 1.7; color: rgba(255, 255, 255, .55); margin-bottom: 12px; }
/* 深色页脚上的实心浅色按钮，比描边幽灵按钮更明确 */
.nv-footer__col--cta .nv-btn--light {
	background: #fff; color: #171a26; font-weight: 600;
	box-shadow: 0 8px 22px -12px rgba(0, 0, 0, .75);
}
.nv-footer__col--cta .nv-btn--light:hover {
	background: #fff; color: var(--nv-primary);
	box-shadow: 0 10px 26px -12px rgba(0, 0, 0, .8);
}

.nv-footer__friends {
	display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px;
	margin-top: 32px; padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, .08);
	font-size: 12.5px;
}
.nv-footer__friends-title { color: rgba(255, 255, 255, .35); }
.nv-footer__friends a { color: rgba(255, 255, 255, .55); }
.nv-footer__friends a:hover { color: #fff; }

.nv-footer__bottom {
	display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
	margin-top: 26px; padding-top: 18px;
	border-top: 1px solid rgba(255, 255, 255, .08);
	font-size: 12.5px; color: rgba(255, 255, 255, .4);
}
.nv-footer__legal { display: flex; gap: 14px; flex-wrap: wrap; }
.nv-footer__legal a { color: rgba(255, 255, 255, .4); }
.nv-footer__legal a:hover { color: rgba(255, 255, 255, .8); }

.nv-totop {
	position: fixed; right: 22px; bottom: 26px; z-index: 50;
	width: 42px; height: 42px; border-radius: 13px;
	display: grid; place-items: center;
	background: var(--nv-card); color: var(--nv-text-2);
	box-shadow: var(--nv-shadow); border: 1px solid var(--nv-line);
	transition: transform .2s ease, color .2s ease;
}
.nv-totop:hover { color: var(--nv-primary); transform: translateY(-2px); }

/* ---------- 14. 深色模式 ---------- */
html[data-theme="dark"] {
	--nv-bg: #0c0e15;
	--nv-card: #14171f;
	--nv-card-soft: #1a1e28;
	--nv-line: #232833;
	--nv-line-strong: #2e3441;
	--nv-text: #eef0f7;
	--nv-text-2: #b9bfd0;
	--nv-muted: #7d8698;
	--nv-shadow-sm: 0 1px 2px rgba(0, 0, 0, .3), 0 6px 16px -10px rgba(0, 0, 0, .6);
	--nv-shadow: 0 2px 8px rgba(0, 0, 0, .35), 0 20px 40px -24px rgba(0, 0, 0, .8);
	--nv-shadow-lg: 0 28px 60px -28px rgba(0, 0, 0, .9);
}
html[data-theme="dark"] .nv-siteicon { background: color-mix(in srgb, var(--nv-icon-color, var(--nv-primary)) 22%, #0f1219); }
html[data-theme="dark"] .nv-hero__bg { filter: saturate(.92) brightness(.86); }
html[data-theme="dark"] .nv-promo {
	background: #1d2130;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06), 0 18px 40px -26px rgba(0, 0, 0, .9);
}
html[data-theme="dark"] .nv-infobar {
	background: rgba(22, 25, 35, .82);
	border-color: rgba(255, 255, 255, .08);
	box-shadow: 0 12px 26px -20px rgba(0, 0, 0, .9);
}
html[data-theme="dark"] .nv-infobar strong { color: #f2f4fa; }
html[data-theme="dark"] .nv-statcard__hero,
html[data-theme="dark"] .nv-statcard__cell { background: rgba(255, 255, 255, .05); }
html[data-theme="dark"] .nv-statcard__hero strong { color: #a99cff; }
html[data-theme="dark"] .nv-pick {
	background: linear-gradient(158deg, #191c2a 0%, #171a26 52%, #1a1b2c 100%);
	border-color: rgba(120, 140, 255, .16);
}
html[data-theme="dark"] .nv-pick__lead,
html[data-theme="dark"] .nv-pick__item {
	background: var(--nv-card);
	border-color: var(--nv-line);
}
html[data-theme="dark"] .nv-footer { background: #080a10; }
/* 面板底色在深色下是深灰，hover 不能用白色 */
html[data-theme="dark"] .nv-sort__item:hover { background: rgba(255, 255, 255, .07); }
html[data-theme="dark"] .nv-sort__item.is-active { background: rgba(255, 255, 255, .1); color: #fff; box-shadow: none; }
html[data-theme="dark"] .nv-shot__placeholder { background: linear-gradient(150deg, #1b1f2c, #20202f 60%, #241f31); }
html[data-theme="dark"] .nv-shot__frame { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .16); }
html[data-theme="dark"] .nv-suggest { box-shadow: var(--nv-shadow-lg); }
html[data-theme="dark"] .nv-theme-toggle__moon { display: none; }
html[data-theme="dark"] .nv-theme-toggle__sun { display: block; }
html:not([data-theme="dark"]) .nv-theme-toggle__sun { display: none; }
html:not([data-theme="dark"]) .nv-theme-toggle__moon { display: block; }
html[data-theme="dark"] .nv-prose pre { background: #0a0c12; }
html[data-theme="dark"] .nv-card:hover { border-color: rgba(106, 92, 255, .3); }

/* ---------- 15. 响应式 ---------- */
/* 桌面端卡槽较窄时自动降为三列，保证描述可读 */
@media (max-width: 1440px) {
	.nv-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1360px) {
	.nv-container { padding-inline: 22px; }
	.nv-shell { grid-template-columns: 190px minmax(0, 1fr) 286px; }
	.nv-shell--noside { grid-template-columns: 190px minmax(0, 1fr); }
	.nv-shell--norail { grid-template-columns: minmax(0, 1fr) 286px; }
	.nv-detail { grid-template-columns: minmax(0, 1fr) 300px; }
}

@media (max-width: 1180px) {
	.nv-shell, .nv-shell--norail { grid-template-columns: 186px minmax(0, 1fr); }
	.nv-sidebar { display: none; }
	.nv-detail { grid-template-columns: minmax(0, 1fr); }
	.nv-detail__side { position: static; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
	.nv-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
	.nv-footer__col--cta { display: none; }
	.nv-pagewrap { grid-template-columns: minmax(0, 1fr); }
	.nv-pagewrap .nv-sidebar { display: flex; }
}

@media (max-width: 980px) {
	.nv-nav { display: none; }
	.nv-nav-toggle { display: inline-grid; }
	/* 导航折进菜单后，提交入口一并收进菜单，顶栏不再出现「＋」 */
	.nv-submit-btn { display: none; }
	.nv-shell, .nv-shell--norail, .nv-shell--noside { grid-template-columns: minmax(0, 1fr); margin-top: -54px; }
	.nv-hero { padding: 32px 0 74px; }
	.nv-rail {
		position: static; flex-direction: row; gap: 4px;
		overflow-x: auto; overflow-y: hidden;
		padding: 8px; max-height: none;
		scrollbar-width: none;
		margin-top: 0;
	}
	.nv-rail::-webkit-scrollbar { display: none; }
	.nv-rail__item { flex-shrink: 0; height: 34px; padding: 0 12px; }
	.nv-rail__count, .nv-rail__all { display: none; }
	.nv-rail__icon { width: 16px; }
	.nv-block__hint { display: none; }
	.nv-hotlist { grid-template-columns: 1fr 1fr; }
	.nv-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.nv-footer__grid { grid-template-columns: 1fr 1fr; }
	.nv-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
	.nv-container { padding-inline: 14px; }
	.nv-header__inner { height: 60px; gap: 10px; }
	:root { --nv-header-h: 60px; }
	.nv-brand__text em { display: none; }
	.nv-brand__text strong { font-size: 15px; }
	/* 移动端顶栏只留 搜索 / 主题 / 菜单 三个图标 */
	.nv-fav-btn { display: none; }
	.nv-hero { padding: 24px 0 66px; }
	.nv-shell { margin-top: -50px; }
	.nv-hero__title { font-size: 25px; }
	.nv-hero__sub { font-size: 13.5px; margin-top: 8px; }
	.nv-hero__badge { height: 26px; margin-bottom: 14px; font-size: 12px; }
	.nv-infobar { height: 32px; font-size: 11.5px; padding: 0 12px; gap: 6px; }
	.nv-infobar__cats, .nv-infobar__cats + .nv-infobar__sep { display: none; }
	.nv-infobar__right { display: none; }
	.nv-search { margin-top: 18px; }
	.nv-search__form { height: 52px; padding: 5px; gap: 4px; border-radius: 14px; }
	.nv-search__modes { padding: 2px; border-radius: 9px; }
	.nv-search__mode { height: 30px; padding: 0 9px; font-size: 12px; border-radius: 7px; }
	.nv-search__form input[type="search"] { font-size: 14px; }
	.nv-search__icon { padding-left: 2px; }
	.nv-search__hot { margin-top: 12px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; justify-content: flex-start; }
	.nv-search__hot::-webkit-scrollbar { display: none; }
	.nv-search__hot .nv-chip { flex-shrink: 0; }
	/* 单行横向滚动，右端渐隐提示可滑动 */
	.nv-search__hot {
		-webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 30px), transparent 100%);
		mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 30px), transparent 100%);
	}
	.nv-pick { padding: 14px; border-radius: 18px; }
	.nv-pick__grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
	.nv-pick__lead { padding: 14px; gap: 12px; }
	.nv-pick__name { font-size: 17px; }
	.nv-pick__side { gap: 10px; }
	.nv-pick__item { padding: 10px 11px; }
	.nv-search__submit { height: 42px; padding: 0 14px; }
	.nv-search__submit-text { display: none; }
	.nv-hotlist { grid-template-columns: 1fr; }
	.nv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.nv-block { padding: 14px 14px 16px; border-radius: 18px; }
	.nv-block__chips { display: none; }
	.nv-panel { padding: 12px 12px 16px; border-radius: 18px; }
	.nv-panel__bar { gap: 8px; }
	.nv-subcats { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
	.nv-subcats::-webkit-scrollbar { display: none; }
	.nv-subcats__item { flex-shrink: 0; }
	.nv-detail__related-grid { grid-template-columns: minmax(0, 1fr); gap: 2px; }
	.nv-card { padding: 11px; }
	.nv-card__link { gap: 8px; }
	.nv-card__desc { font-size: 12px; min-height: calc(12px * 1.55 * 2); }
	.nv-card__title { font-size: 14px; }
	.nv-card__go { display: none; }
	.nv-siteicon { width: 40px; height: 40px; border-radius: 12px; }
	.nv-detail__main { padding: 18px 16px 22px; border-radius: 18px; }
	.nv-detail__title { font-size: 20px; }
	.nv-detail__head { flex-wrap: wrap; }
	.nv-detail-wrap { margin-top: -54px; }
	.nv-page { padding: 22px 18px 26px; border-radius: 18px; }
	.nv-page__title { font-size: 22px; }
	.nv-footer__grid { grid-template-columns: 1fr; gap: 22px; }
	.nv-footer__bottom { flex-direction: column; align-items: flex-start; }
	.nv-postlist__thumb { width: 96px; }
	.nv-totop { right: 14px; bottom: 16px; width: 38px; height: 38px; }
	.nv-sort__item { padding: 0 8px; font-size: 12px; }
	/* 有子分类同排时不被压缩（margin-left:auto 由基础样式提供） */
	.nv-sort { flex-shrink: 0; }
}

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

/* ---------- 16. 分类总览页模板 ---------- */
.nv-catgrid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(216px, 1fr));
	gap: 12px; margin-top: 24px;
}
.nv-catcard {
	display: flex; flex-direction: column; gap: 5px;
	padding: 16px 16px 15px;
	border-radius: 16px;
	background: var(--nv-card);
	border: 1px solid var(--nv-line);
	transition: transform .2s ease, box-shadow .22s ease, border-color .2s ease;
}
.nv-catcard:hover { transform: translateY(-3px); box-shadow: var(--nv-shadow); border-color: color-mix(in srgb, var(--nv-cat-color, var(--nv-primary)) 45%, transparent); }
.nv-catcard__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.nv-catcard__count {
	font-size: 11.5px; color: var(--nv-muted);
	background: rgba(120, 128, 158, .1); padding: 1px 8px; border-radius: 999px;
	font-variant-numeric: tabular-nums;
}
.nv-catcard__name { font-size: 15px; font-weight: 700; letter-spacing: -.01em; }
.nv-catcard__desc { font-size: 12.5px; color: var(--nv-muted); line-height: 1.6; }
.nv-catcard__subs { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.nv-catcard__subs em {
	font-style: normal; font-size: 11px; padding: 2px 7px;
	border-radius: 6px; background: rgba(120, 128, 158, .1); color: var(--nv-muted);
}
