/* ==========================================================================
   jjq_home —— 掘金圈风格首页
   字体尺寸按参考站 1440px 桌面端复刻：
     正文 16px / 导航 14.4px / 轮播标题 28.8px / 栏目标题 20.48px
     热点推荐标题 19.2px / 四宫格标题 16px / 侧栏标题 16px / 页脚标题 17.6px
   所有类名使用 jjq- 前缀；插件停用即完全恢复原版。
   ========================================================================== */

body {
	--jjq-card: #ffffff;
	--jjq-soft: #f5f6f9;
	--jjq-soft-2: #f0f2f6;
	--jjq-text: #203656;
	--jjq-heading: #18181b;
	--jjq-muted: #79889e;
	--jjq-line: #ebebeb;
	--jjq-shadow: 0 8px 24px rgba(17, 24, 39, .04);
	--jjq-footer: #101d2c;
	--jjq-footer-text: #b9c3cf;
	--jjq-accent: #fe4f70;
	--jjq-accent2: #ffa387;
	--jjq-width: 1240px;
	--jjq-font-base: 16px;
	--jjq-font-scale: 1;
	--jjq-fs: 1;
	font-size: calc(var(--jjq-font-base, 16px) * var(--jjq-font-scale, 1));
	background: var(--jjq-soft);
	color: var(--jjq-text);
	overflow-x: clip;
}

[data-bs-theme="dark"] body {
	--jjq-card: #202b3b;
	--jjq-soft: #142030;
	--jjq-soft-2: #263445;
	--jjq-text: #adb5bd;
	--jjq-heading: #f8f9fa;
	--jjq-muted: #8f9bad;
	--jjq-line: #2b384a;
	--jjq-shadow: 0 8px 24px rgba(0, 0, 0, .18);
	--jjq-footer: #0c1724;
}

body.jjq-hide-core-footer .bbs-footer {
	display: none !important;
}

#body > .container,
#header > .container {
	max-width: var(--jjq-width, 1240px);
	padding-left: 12px;
	padding-right: 12px;
}

#body {
	padding-top: 0 !important;
	padding-bottom: 0;
}

#body > .container {
	padding-top: 0 !important;
}

/* ---------- 顶部导航：复刻掘金圈 120px 白底 + 红色胶囊 ---------- */
#header {
	background: var(--jjq-card) !important;
	border-bottom: 1px solid var(--jjq-line);
	box-shadow: none;
	min-height: 68px;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

#header .headnav,
#header > .container > div {
	min-height: 68px;
}

#header .headnav {
	padding-top: 10px !important;
	padding-bottom: 10px !important;
}

#header .site-logo {
	max-height: 34px;
	width: auto;
}

#header .site-name {
	font-size: 1.125rem;
	font-weight: 700;
	color: var(--jjq-heading);
	letter-spacing: .02em;
}

#header .navbar-nav {
	gap: 2px;
}

#header .navbar-nav .nav-link {
	font-size: .9rem;
	font-weight: 700;
	line-height: 32px;
	padding: 0 1rem;
	border-radius: 25px;
	color: var(--jjq-text);
}

#header .navbar-nav .nav-link:hover {
	color: var(--jjq-accent);
	background: rgba(254, 79, 112, .06);
}

#header .navbar-nav .nav-link.active,
#header .navbar-nav .nav-item.active > .nav-link {
	color: #fff;
	background: var(--jjq-accent);
	background-image: linear-gradient(120deg, var(--jjq-accent) 0%, var(--jjq-accent2) 100%);
	border-radius: 25px;
	padding: 0 1rem;
}

#header .nav-icon-btn {
	color: var(--jjq-text);
}

#header .nav-icon-btn:hover {
	color: var(--jjq-accent);
}

/* ---------- 通用 ---------- */
.jjq-home {
	position: relative;
	padding-top: 10px;
	font-size: 1rem;
	line-height: 1.5;
	color: var(--jjq-text);
}

/* LED 滚动字幕：压缩卡片与灯牌上下留白 */
#body .x-card.card:has(.yao-led) {
	margin-top: 6px !important;
	margin-bottom: 8px !important;
	gap: 4px !important;
	border-radius: 4px;
}

#body .x-card.card .yao-led {
	height: 42px !important;
	padding: 3px 10px;
	border-radius: 3px;
}
#body .x-card.card .yao-led__vp {
	padding: 0 2px;
}

@media (max-width: 767.98px) {
	#body .x-card.card .yao-led {
		height: 38px !important;
		padding: 2px 8px;
	}
}

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

.jjq-home a {
	text-decoration: none;
}

.jjq-card {
	background: var(--jjq-card);
	border: 0;
	border-radius: 8px;
	box-shadow: var(--jjq-shadow);
}

.jjq-accent {
	color: var(--jjq-accent);
}

.jjq-avatar {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	object-fit: cover;
	margin-right: 6px;
}

.jjq-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 4px;
	font-size: .8rem;
	color: var(--jjq-muted);
}

.jjq-meta-sep {
	opacity: .5;
}

.jjq-article-nums {
	display: flex;
	align-items: center;
	gap: 13px;
	margin-left: auto;
	color: var(--jjq-muted);
}

.jjq-article-nums > span {
	display: inline-flex;
	align-items: center;
	gap: 3px;
}

.jjq-article-nums i {
	font-size: .92rem;
	color: #9aa7b8;
}

.jjq-article-flags {
	display: inline-flex;
	flex-wrap: wrap;
	vertical-align: middle;
	gap: 4px;
	margin: 0 6px 1px 0;
}

.jjq-flag {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	height: 19px;
	padding: 0 6px;
	border-radius: 4px;
	font-size: .62rem;
	font-weight: 600;
	line-height: 1;
	white-space: nowrap;
}

.jjq-flag i {
	font-size: .7rem;
}

.jjq-flag-highlight {
	color: #e0413d;
	background: #fff0ef;
}

.jjq-flag-top {
	color: #2563eb;
	background: #eef4ff;
}

.jjq-flag-audit {
	color: #b45309;
	background: #fff4df;
}

.jjq-flag-reject {
	color: #b91c1c;
	background: #fff0f0;
}

.jjq-flag-hidden {
	color: #6d28d9;
	background: #f4f0ff;
}

.jjq-flag-digest {
	color: #d97706;
	background: #fff6df;
}

.jjq-flag-announce {
	color: #fff;
	background: #ef5b34;
}

.jjq-flag-closed {
	color: #6b7280;
	background: #eef1f5;
}

.jjq-flag-media {
	color: #6b7280;
	background: #f2f4f7;
}

.jjq-flag-status,
.jjq-status-flag .badge {
	display: inline-flex;
	align-items: center;
	height: 19px;
	padding: 0 6px;
	border-radius: 4px;
	font-size: .62rem;
	font-weight: 600;
	line-height: 1;
}

.jjq-flag-status {
	background: #1f2329;
	color: #fff;
}

.jjq-status-flag {
	display: inline-flex;
	align-items: center;
}

.jjq-sec-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--jjq-line);
}

.jjq-sec-title-wrap {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 12px;
	min-width: 0;
}

.jjq-sec-title {
	margin: 0;
	font-size: calc(1.28rem * var(--jjq-font-scale, 1));
	line-height: 1.2;
	font-weight: 700;
	color: var(--jjq-heading);
	letter-spacing: .01em;
}

.jjq-sec-sub {
	font-size: .8rem;
	color: var(--jjq-muted);
}

.jjq-sec-more {
	font-size: .8rem;
	color: var(--jjq-muted);
	white-space: nowrap;
	transition: color .2s ease;
}

.jjq-sec-more:hover {
	color: var(--jjq-accent);
}

/* ---------- 通栏广告 ---------- */
.jjq-banner-ad {
	display: block;
	width: 100%;
	border-radius: 8px;
	overflow: hidden;
	background: linear-gradient(120deg, #fff3e9 0%, #f8e8ff 100%);
	margin-bottom: 24px;
	line-height: 0;
}

.jjq-banner-ad img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 120px;
	object-fit: cover;
}

.jjq-banner-ad-text {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 82px;
	padding: 18px 24px;
	font-size: 1rem;
	font-weight: 600;
	color: #6b4a16;
	line-height: 1.4;
	background: linear-gradient(120deg, #fff6e8 0%, #fbe7ff 100%);
}

.jjq-banner-ad-text i {
	font-size: 1.3rem;
}

.jjq-banner-ad-text small {
	font-size: .65rem;
	font-weight: 400;
	padding: 1px 6px;
	border-radius: 3px;
	color: #8a6a36;
	border: 1px solid currentColor;
	opacity: .7;
}

.jjq-banner-ad-mid,
.jjq-banner-ad-bottom {
	margin: 0 0 24px;
}

/* ---------- 轮播 ---------- */
.jjq-hero-row {
	margin-bottom: 0;
	align-items: stretch;
}

.jjq-hero-row > [class*="col-"] {
	display: flex;
	flex-direction: column;
}

.jjq-hero {
	position: relative;
	overflow: hidden;
	height: var(--jjq-hero-height, 500px);
	min-height: 300px;
	border-radius: 10px;
	background: #0f172a;
}

.jjq-carousel {
	position: relative;
	width: 100%;
	height: 100%;
	min-height: 300px;
	aspect-ratio: auto;
}

.jjq-track {
	position: absolute;
	inset: 0;
}

.jjq-slide {
	position: absolute;
	inset: 0;
	display: block;
	color: #fff;
	opacity: 0;
	visibility: hidden;
	transition: opacity .65s ease, visibility .65s ease;
	overflow: hidden;
}

.jjq-slide.is-active {
	opacity: 1;
	visibility: visible;
	z-index: 1;
}

.jjq-slide-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.01);
	transition: transform 6s ease;
}

.jjq-slide.is-active .jjq-slide-img {
	transform: scale(1.06);
}

.jjq-slide.is-noimg {
	background:
		radial-gradient(120% 150% at 15% 10%, rgba(255, 255, 255, .18) 0%, rgba(255, 255, 255, 0) 42%),
		linear-gradient(135deg, #1b3d7a 0%, #0e1b31 62%, #111827 100%);
}

.jjq-slide-shade {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(0deg, rgba(8, 14, 28, .82) 0%, rgba(8, 14, 28, .28) 45%, rgba(8, 14, 28, 0) 72%),
		linear-gradient(90deg, rgba(8, 14, 28, .3) 0%, rgba(8, 14, 28, 0) 50%);
}

.jjq-slide-body {
	position: absolute;
	left: 28px;
	right: 28px;
	bottom: 28px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	z-index: 2;
}

.jjq-slide-badge {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 4px;
	font-size: .72rem;
	font-weight: 600;
	line-height: 1.5;
	color: #fff;
	background: var(--jjq-accent);
	background-image: linear-gradient(120deg, var(--jjq-accent) 0%, var(--jjq-accent2) 100%);
}

.jjq-slide-title {
	font-size: calc(1.8rem * var(--jjq-font-scale, 1));
	line-height: 1.25;
	font-weight: 500;
	letter-spacing: .01em;
	color: #fff;
	text-shadow: 0 2px 16px rgba(0, 0, 0, .35);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.jjq-slide-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 18px;
	font-size: .8rem;
	color: rgba(255, 255, 255, .78);
}

.jjq-slide-meta i {
	margin-right: 4px;
	font-size: .9rem;
}

.jjq-hero-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 4;
	width: 36px;
	height: 36px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 50%;
	background: rgba(10, 16, 28, .34);
	color: #fff;
	font-size: 1.1rem;
	backdrop-filter: blur(6px);
	opacity: 0;
	transition: opacity .2s ease, background .2s ease;
	cursor: pointer;
}

.jjq-hero:hover .jjq-hero-nav {
	opacity: 1;
}

.jjq-hero-nav:hover {
	background: rgba(10, 16, 28, .6);
}

.jjq-hero-prev { left: 14px; }
.jjq-hero-next { right: 14px; }

.jjq-hero-dots {
	position: absolute;
	left: 50%;
	bottom: 12px;
	transform: translateX(-50%);
	z-index: 4;
	display: flex;
	align-items: center;
	gap: 5px;
}

.jjq-hero-dot {
	width: 16px;
	height: 2px;
	padding: 0;
	border: 0;
	border-radius: 2px;
	background: rgba(255, 255, 255, .5);
	cursor: pointer;
	transition: width .25s ease, background .25s ease;
}

.jjq-hero-dot.is-active {
	width: 28px;
	background: linear-gradient(90deg, var(--jjq-accent), var(--jjq-accent2));
}

/* ---------- 今日精选 ---------- */
.jjq-picks {
	height: var(--jjq-hero-height, 500px);
	min-height: 300px;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: 10px;
}

.jjq-picks-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 16px 18px 12px;
}

.jjq-picks-head h2 {
	margin: 0;
	font-size: calc(1.28rem * var(--jjq-font-scale, 1));
	line-height: 1.2;
	font-weight: 700;
	color: var(--jjq-heading);
	letter-spacing: .01em;
}

.jjq-picks-today {
	color: var(--jjq-accent);
	margin-right: 2px;
}

.jjq-picks-more {
	border: 0;
	background: none;
	padding: 0;
	font-size: .72rem;
	color: var(--jjq-muted);
	cursor: pointer;
	white-space: nowrap;
}

.jjq-picks-more:hover {
	color: var(--jjq-accent);
}

.jjq-picks-list {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	min-height: 0;
	padding: 0 10px 10px;
}

.jjq-pick {
	display: flex;
	align-items: center;
	gap: 12px;
	flex: 1 1 0;
	min-height: 0;
	padding: 10px 8px;
	border-top: 1px solid var(--jjq-line);
	color: var(--jjq-text);
	transition: background .2s ease;
	border-radius: 6px;
}

.jjq-pick:first-child {
	border-top: 0;
}

.jjq-pick:hover {
	background: var(--jjq-soft);
}

.jjq-pick.is-off {
	display: none;
}

.jjq-pick-thumb {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 96px;
	width: 96px;
	height: 62px;
	border-radius: 6px;
	overflow: hidden;
	background: var(--jjq-soft-2);
	color: var(--jjq-muted);
}

.jjq-pick-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.jjq-pick-thumb.is-noimg i {
	font-size: 1.4rem;
	opacity: .4;
}

.jjq-pick-no {
	flex: 0 0 22px;
	width: 22px;
	height: 22px;
	line-height: 22px;
	border-radius: 50%;
	background: var(--jjq-soft);
	color: var(--jjq-muted);
	font-size: .68rem;
	font-weight: 600;
	text-align: center;
}

.jjq-picks.is-textonly .jjq-pick {
	gap: 10px;
	padding: 9px 8px;
}

.jjq-picks.is-textonly .jjq-pick:first-child .jjq-pick-no,
.jjq-picks.is-textonly .jjq-pick:nth-child(2) .jjq-pick-no,
.jjq-picks.is-textonly .jjq-pick:nth-child(3) .jjq-pick-no {
	color: #fff;
	background: var(--jjq-accent);
}

.jjq-picks.is-textonly .jjq-pick:nth-child(2) .jjq-pick-no { background: #ff9f43; }
.jjq-picks.is-textonly .jjq-pick:nth-child(3) .jjq-pick-no { background: #3ca5f6; }

.jjq-picks.is-textonly .jjq-pick-title {
	font-size: .88rem;
	-webkit-line-clamp: 2;
}

.jjq-picks.is-textonly .jjq-pick-date {
	margin-top: 2px;
}

.jjq-pick-body {
	min-width: 0;
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.jjq-pick-title {
	font-size: .85rem;
	line-height: 1.4;
	font-weight: 500;
	color: var(--jjq-heading);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.jjq-pick-date {
	font-size: .72rem;
	color: var(--jjq-muted);
}

/* ---------- 自助文字广告 ---------- */
.jjq-textads {
	margin-top: 20px;
	padding: 12px 16px 14px;
	border: 1px solid var(--jjq-line);
	box-shadow: none;
}

.jjq-textads-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 10px;
}

.jjq-textads-title {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 10px;
	min-width: 0;
}

.jjq-textads-label {
	font-size: .85rem;
	font-weight: 700;
	color: var(--jjq-heading);
}

.jjq-textads-label i {
	color: var(--jjq-accent);
	margin-right: 4px;
}

.jjq-textads-sub {
	font-size: .72rem;
	color: var(--jjq-muted);
}

.jjq-textads-cta {
	font-size: .75rem;
	color: var(--jjq-accent);
	white-space: nowrap;
}

.jjq-textad-grid {
	display: grid;
	grid-template-columns: repeat(var(--jjq-cols, 4), minmax(0, 1fr));
	gap: 8px;
}

.jjq-textad {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 40px;
	padding: 6px 12px;
	border: 1px dashed var(--jjq-line);
	border-radius: 6px;
	background: var(--jjq-soft);
	font-size: .8rem;
	line-height: 1.3;
	color: var(--jjq-text);
	text-align: center;
	transition: color .2s ease, border-color .2s ease, background .2s ease;
	overflow: hidden;
}

.jjq-textad:hover {
	color: var(--jjq-accent);
	border-color: var(--jjq-accent);
	background: rgba(254, 79, 112, .04);
}

.jjq-textad.is-empty {
	color: var(--jjq-muted);
	opacity: .85;
}

.jjq-textad-text {
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.jjq-textad-tag {
	position: absolute;
	right: 5px;
	top: 3px;
	font-size: .5rem;
	line-height: 1;
	color: var(--jjq-muted);
	opacity: .55;
	letter-spacing: .04em;
}

/* ---------- 四宫格 ---------- */
.jjq-stats {
	margin-top: 10px;
}

.jjq-stats > [class*="col-"] {
	display: flex;
}

.jjq-stat-card {
	position: relative;
	width: 100%;
	min-height: 150px;
	display: flex;
	flex-direction: column;
	padding: 10px 14px 8px;
	overflow: hidden;
	border-top: 3px solid var(--jjq-accent);
}

.jjq-stats .col-6:nth-child(2) .jjq-stat-card { border-top-color: #ff9f43; }
.jjq-stats .col-6:nth-child(3) .jjq-stat-card { border-top-color: #3ca5f6; }
.jjq-stats .col-6:nth-child(4) .jjq-stat-card { border-top-color: #00cc99; }

.jjq-stat-line {
	display: none;
}

.jjq-stat-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}

.jjq-stat-head h2 {
	display: flex;
	align-items: center;
	gap: 5px;
	margin: 0;
	font-size: 1rem;
	line-height: 1.25;
	font-weight: 600;
	color: var(--jjq-heading);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.jjq-stat-head h2 i {
	flex: 0 0 auto;
	font-size: 1rem;
	color: var(--jjq-accent);
}

.jjq-stats .col-6:nth-child(2) .jjq-stat-head h2 i { color: #ff9f43; }
.jjq-stats .col-6:nth-child(3) .jjq-stat-head h2 i { color: #3ca5f6; }
.jjq-stats .col-6:nth-child(4) .jjq-stat-head h2 i { color: #00cc99; }

.jjq-stat-head-right {
	display: flex;
	align-items: center;
	gap: 7px;
	flex-shrink: 0;
}

.jjq-stat-count {
	flex-shrink: 0;
	min-width: 28px;
	padding: 2px 8px;
	border-radius: 20px;
	background: rgba(254, 79, 112, .08);
	color: var(--jjq-accent);
	font-size: .72rem;
	font-weight: 600;
	text-align: center;
}

.jjq-stats .col-6:nth-child(2) .jjq-stat-count { background: rgba(255, 159, 67, .1); color: #ff9f43; }
.jjq-stats .col-6:nth-child(3) .jjq-stat-count { background: rgba(60, 165, 246, .1); color: #3ca5f6; }
.jjq-stats .col-6:nth-child(4) .jjq-stat-count { background: rgba(0, 204, 153, .1); color: #00cc99; }

.jjq-stat-desc {
	margin: 3px 0 5px;
	font-size: .7rem;
	line-height: 1.4;
	color: var(--jjq-muted);
	min-height: 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.jjq-stat-list {
	list-style: none;
	margin: 0 0 8px;
	padding: 0;
	flex: 1 1 auto;
}

.jjq-stat-list li {
	display: flex;
	align-items: center;
	gap: 7px;
	min-width: 0;
	height: 23px;
	font-size: .84rem;
	color: var(--jjq-text);
}

.jjq-stat-list li a {
	color: var(--jjq-text);
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.jjq-stat-list li a:hover {
	color: var(--jjq-accent);
}

.jjq-stat-list li.is-empty {
	color: var(--jjq-muted);
	justify-content: center;
}

.jjq-dot {
	flex: 0 0 3px;
	width: 3px;
	height: 3px;
	border-radius: 50%;
	background: var(--jjq-accent);
	opacity: .8;
}

.jjq-stats .col-6:nth-child(2) .jjq-dot { background: #ff9f43; }
.jjq-stats .col-6:nth-child(3) .jjq-dot { background: #3ca5f6; }
.jjq-stats .col-6:nth-child(4) .jjq-dot { background: #00cc99; }

.jjq-stat-more {
	font-size: .7rem;
	color: var(--jjq-muted);
	white-space: nowrap;
}

.jjq-stat-more:hover {
	color: var(--jjq-accent);
}

/* ---------- 左侧用户卡 + 主栏 + 右侧栏 ---------- */
.jjq-main-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 20px;
	margin-top: 20px;
	align-items: start;
}

.jjq-main-row.no-right {
	grid-template-columns: minmax(0, 1fr);
}

.jjq-main-col,
.jjq-sidebar {
	min-width: 0;
}

.jjq-main-col > * + * {
	margin-top: 20px;
}

.jjq-hot,
.jjq-articles {
	padding: 18px 20px 20px;
}

/* 热点推荐 */
.jjq-hot-feature {
	display: grid;
	grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
	gap: 20px;
	padding: 18px 0 20px;
	border-bottom: 1px solid var(--jjq-line);
}

.jjq-hot-cover {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	border-radius: 10px;
	overflow: hidden;
	background: var(--jjq-soft-2);
}

.jjq-hot-cover img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .35s ease;
}

.jjq-hot-cover:hover img {
	transform: scale(1.04);
}

.jjq-cover-empty {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	color: var(--jjq-muted);
	font-size: 2rem;
	opacity: .5;
}

.jjq-hot-feature-body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
}

.jjq-hot-meta {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 8px;
}

.jjq-cat {
	display: inline-block;
	padding: 2px 9px;
	border-radius: 4px;
	background: rgba(254, 79, 112, .08);
	color: var(--jjq-accent);
	font-size: .7rem;
	font-weight: 500;
	line-height: 1.5;
}

.jjq-digest {
	font-size: .68rem;
	color: #e6a23c;
}

.jjq-digest i {
	font-size: .7rem;
	margin-right: 2px;
}

.jjq-hot-title {
	margin: 0 0 10px;
	font-size: calc(1.2rem * var(--jjq-font-scale, 1));
	line-height: 1.4;
	font-weight: 600;
	color: var(--jjq-heading);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.jjq-hot-title a {
	color: inherit;
}

.jjq-hot-title a:hover {
	color: var(--jjq-accent);
}

.jjq-hot-summary {
	margin: 0 0 14px;
	font-size: .85rem;
	line-height: 1.7;
	color: var(--jjq-muted);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.jjq-hot-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px 24px;
	padding-top: 18px;
}

.jjq-hot-item {
	display: flex;
	gap: 12px;
	min-width: 0;
	color: var(--jjq-text);
}

.jjq-hot-item-thumb {
	flex: 0 0 112px;
	width: 112px;
	height: 72px;
	border-radius: 6px;
	overflow: hidden;
	background: var(--jjq-soft-2);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--jjq-muted);
}

.jjq-hot-item-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .35s ease;
}

.jjq-hot-item:hover .jjq-hot-item-thumb img {
	transform: scale(1.05);
}

.jjq-hot-item-body {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.jjq-hot-item-title {
	font-size: .85rem;
	line-height: 1.4;
	font-weight: 500;
	color: var(--jjq-heading);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.jjq-hot-item:hover .jjq-hot-item-title {
	color: var(--jjq-accent);
}

.jjq-hot-item-meta {
	font-size: .7rem;
	color: var(--jjq-muted);
}

/* ---------- 最新文章 ---------- */
.jjq-articles-head {
	border-bottom: 1px solid var(--jjq-line);
	padding-bottom: 12px;
}

.jjq-articles-title-row {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
	min-width: 0;
}

.jjq-articles-title {
	flex: 0 0 auto;
	margin: 0;
}

.jjq-tabs {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 4px;
	list-style: none;
	margin: 0;
	padding: 0;
	border-bottom: 0;
}

.jjq-articles-tabs {
	margin-left: auto;
	justify-content: flex-end;
}

.jjq-tabs li {
	margin: 0;
}

.jjq-tab {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 6px 12px;
	border-radius: 18px;
	font-size: .85rem;
	line-height: 1.5;
	color: var(--jjq-muted);
	white-space: nowrap;
	transition: color .2s ease, background .2s ease;
}

.jjq-tab i {
	font-size: .9rem;
}

.jjq-tab:hover {
	color: var(--jjq-accent);
	background: rgba(254, 79, 112, .06);
}

.jjq-tab.is-active {
	color: #fff;
	font-weight: 500;
	background: var(--jjq-accent);
	background-image: linear-gradient(120deg, var(--jjq-accent), var(--jjq-accent2));
}

.jjq-tab.is-active:hover {
	color: #fff;
}

.jjq-tab.is-active::after {
	display: none;
}

.jjq-tab-board {
	margin-left: 2px;
	padding-left: 12px;
	border-left: 1px solid var(--jjq-line);
	border-radius: 0 18px 18px 0;
}

.jjq-tab-board i {
	opacity: .7;
}

.jjq-articles-more {
	margin-left: 0;
}

.jjq-article {
	display: flex;
	gap: 20px;
	padding: 22px 0;
	border-bottom: 1px solid var(--jjq-line);
}

.jjq-article-check {
	flex: 0 0 18px;
	width: 18px;
	padding-top: 2px;
	margin: 0;
}

.jjq-article-check input {
	margin: 0;
}

.jjq-article:last-child {
	border-bottom: 0;
}

.jjq-article-thumb {
	position: relative;
	flex: 0 0 176px;
	width: 176px;
	height: 110px;
	border-radius: 8px;
	overflow: hidden;
	background: var(--jjq-soft-2);
	display: flex;
	align-items: center;
	justify-content: center;
}

.jjq-article-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .4s ease;
}

.jjq-article:hover .jjq-article-thumb img {
	transform: scale(1.05);
}

.jjq-article-noimg {
	color: var(--jjq-muted);
	font-size: 1.8rem;
	opacity: .45;
}

.jjq-article-badge {
	position: absolute;
	left: 6px;
	top: 6px;
	max-width: calc(100% - 12px);
	padding: 2px 7px;
	border-radius: 3px;
	background: var(--jjq-accent);
	background-image: linear-gradient(120deg, var(--jjq-accent), var(--jjq-accent2));
	color: #fff;
	font-size: .62rem;
	line-height: 1.5;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.jjq-article-body {
	position: relative;
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.jjq-article-title {
	margin: 0 0 8px;
	font-size: calc(1.2rem * var(--jjq-font-scale, 1));
	line-height: 1.4;
	font-weight: 600;
	color: var(--jjq-heading);
	display: block;
	overflow: hidden;
}

.jjq-article-title a {
	color: inherit;
}

.jjq-article-title a:hover {
	color: var(--jjq-accent);
}

.jjq-article-title .badge,
.jjq-article-title .tag-badge {
	display: inline-flex;
	align-items: center;
	margin-left: 4px;
	padding: 1px 6px;
	font-size: .62rem;
	font-weight: 500;
	line-height: 1.5;
	vertical-align: middle;
	text-decoration: none;
}

.jjq-article-summary {
	margin: 0 0 12px;
	font-size: .85rem;
	line-height: 1.7;
	color: var(--jjq-muted);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.jjq-article-more {
	margin-left: auto;
	font-size: 1rem;
	color: var(--jjq-muted);
	opacity: .7;
}

.jjq-empty {
	padding: 50px 0;
	text-align: center;
	color: var(--jjq-muted);
}

/* 核心管理员操作条：融入最新文章卡片 */
.jjq-articles .admin-mod-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px;
	padding: 12px 0 2px;
	border-top: 1px solid var(--jjq-line);
}

.jjq-articles .admin-mod-bar-left {
	display: flex;
	align-items: center;
}

.jjq-articles .admin-mod-bar-right {
	margin-left: auto;
}

.jjq-articles .admin-mod-bar .btn {
	border-radius: 5px;
	font-size: .74rem;
}

.jjq-articles .admin-mod-bar .check-all-label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	font-size: .78rem;
	color: var(--jjq-muted);
}

.jjq-empty i {
	display: block;
	font-size: 2rem;
	opacity: .4;
	margin-bottom: 8px;
}

.jjq-empty p {
	margin: 0;
	font-size: .85rem;
}

/* 分页 */
.jjq-pager {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 6px;
	padding: 22px 0 4px;
}

.jjq-pager-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 32px;
	height: 32px;
	padding: 0 10px;
	border-radius: 50%;
	background: var(--jjq-soft);
	color: var(--jjq-text);
	font-size: .8rem;
	transition: all .2s ease;
}

.jjq-pager-btn:hover {
	color: var(--jjq-accent);
	background: rgba(254, 79, 112, .08);
}

.jjq-pager-btn.is-active {
	color: #fff;
	background: var(--jjq-accent);
	background-image: linear-gradient(120deg, var(--jjq-accent), var(--jjq-accent2));
}

.jjq-pager-total {
	margin-left: 8px;
	font-size: .72rem;
	color: var(--jjq-muted);
}

/* ---------- 左侧用户卡 ---------- */
.jjq-left-user {
	padding: 14px 12px 10px;
	overflow: hidden;
}

.jjq-lu-head {
	display: grid;
	grid-template-columns: 56px minmax(64px, 1fr) 128px;
	align-items: start;
	gap: 9px;
}

.jjq-lu-avatar,
.jjq-lu-head img {
	width: 56px;
	height: 56px;
	border-radius: 8px;
	object-fit: cover;
	flex-shrink: 0;
}

.jjq-lu-info {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 3px;
	padding-top: 2px;
}

.jjq-lu-name {
	font-size: .92rem;
	font-weight: 600;
	color: var(--jjq-heading);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.jjq-lu-group {
	display: inline-block;
	width: fit-content;
	padding: 1px 7px;
	border-radius: 20px;
	background: rgba(83, 64, 255, .08);
	color: #6772ff;
	font-size: .62rem;
}

.jjq-lu-stats {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 5px 6px;
	margin: 2px 0 0;
	padding: 0;
	border-top: 0;
}

.jjq-lu-stats > div {
	display: flex;
	align-items: baseline;
	justify-content: flex-start;
	gap: 3px;
	min-width: 0;
	white-space: nowrap;
}

.jjq-lu-stats b {
	font-size: .76rem;
	font-weight: 700;
	line-height: 1.2;
	color: var(--jjq-heading);
}

.jjq-lu-stats span {
	font-size: .64rem;
	line-height: 1.3;
	color: var(--jjq-muted);
	white-space: nowrap;
}

.jjq-lu-actions {
	display: flex;
	gap: 6px;
	margin-top: 12px;
}

.jjq-lu-actions .jjq-btn {
	height: 31px;
	font-size: .72rem;
	padding: 0 6px;
}

.jjq-lu-menu {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 3px 6px;
	margin-top: 12px;
	padding-top: 10px;
	border-top: 1px solid var(--jjq-line);
}

.jjq-lu-menu a {
	display: flex;
	align-items: center;
	gap: 5px;
	min-width: 0;
	padding: 4px 2px;
	border-radius: 4px;
	font-size: .7rem;
	color: var(--jjq-text);
}

.jjq-lu-menu a:hover {
	color: var(--jjq-accent);
	background: var(--jjq-soft);
}

.jjq-lu-menu a i {
	flex: 0 0 auto;
	font-size: .8rem;
	color: var(--jjq-muted);
}

.jjq-lu-menu a span {
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.jjq-lu-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 6px;
	margin-top: 8px;
	padding-top: 8px;
	border-top: 1px dashed var(--jjq-line);
}

.jjq-lu-foot a {
	font-size: .68rem;
	color: var(--jjq-muted);
}

.jjq-lu-foot a:hover {
	color: var(--jjq-accent);
}

.jjq-lu-guest {
	text-align: center;
	padding: 4px 2px 2px;
}

.jjq-lu-guest .jjq-guest-avatar {
	margin: 0 auto 8px;
}

.jjq-lu-guest h3 {
	margin: 0 0 5px;
	font-size: .86rem;
	color: var(--jjq-heading);
}

.jjq-lu-guest p {
	margin: 0 0 10px;
	font-size: .7rem;
	line-height: 1.55;
	color: var(--jjq-muted);
}

/* ---------- 右侧栏 ---------- */
.jjq-sidebar {
	display: flex;
	flex-direction: column;
	gap: 16px;
	min-width: 0;
}

.jjq-widget {
	min-width: 0;
	padding: 16px;
}

.jjq-widget-title {
	margin: 0 0 12px;
	font-size: 1rem;
	line-height: 1.2;
	font-weight: 600;
	color: var(--jjq-heading);
}

.jjq-widget-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 12px;
}

.jjq-widget-head .jjq-widget-title {
	margin: 0;
}

.jjq-widget-head > a {
	font-size: .7rem;
	color: var(--jjq-muted);
}

.jjq-widget-head > a:hover {
	color: var(--jjq-accent);
}

/* 用户卡 */
.jjq-user-card {
	padding: 18px 16px 16px;
	background:
		linear-gradient(180deg, rgba(83, 64, 255, .05) 0%, rgba(254, 79, 112, .04) 100%),
		var(--jjq-card);
}

.jjq-user-main {
	display: flex;
	align-items: center;
	gap: 12px;
}

.jjq-user-avatar {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
}

.jjq-user-info {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.jjq-user-name {
	font-size: .95rem;
	font-weight: 600;
	color: var(--jjq-heading);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.jjq-user-group {
	display: inline-block;
	width: fit-content;
	padding: 1px 8px;
	border-radius: 20px;
	background: rgba(83, 64, 255, .08);
	color: #6772ff;
	font-size: .65rem;
}

.jjq-user-stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	margin: 14px 0;
	padding: 10px 0;
	border-top: 1px solid var(--jjq-line);
	border-bottom: 1px solid var(--jjq-line);
}

.jjq-user-stats > div {
	text-align: center;
}

.jjq-user-stats b {
	display: block;
	font-size: 1rem;
	line-height: 1.2;
	font-weight: 600;
	color: var(--jjq-heading);
}

.jjq-user-stats span {
	font-size: .65rem;
	color: var(--jjq-muted);
}

.jjq-user-actions {
	display: flex;
	gap: 8px;
}

.jjq-btn {
	flex: 1 1 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	height: 34px;
	padding: 0 10px;
	border-radius: 6px;
	font-size: .78rem;
	font-weight: 500;
	transition: all .2s ease;
}

.jjq-btn i {
	font-size: .9rem;
}

.jjq-btn-primary {
	color: #fff;
	background: var(--jjq-accent);
	background-image: linear-gradient(120deg, var(--jjq-accent), var(--jjq-accent2));
}

.jjq-btn-primary:hover {
	color: #fff;
	filter: brightness(1.04);
	transform: translateY(-1px);
}

.jjq-btn-ghost {
	color: var(--jjq-text);
	background: var(--jjq-soft);
	border: 1px solid var(--jjq-line);
}

.jjq-btn-ghost:hover {
	color: var(--jjq-accent);
	border-color: var(--jjq-accent);
}

.jjq-guest-main {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.jjq-guest-avatar {
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: linear-gradient(135deg, #6772ff, #00f9e5);
	color: #fff;
	font-size: 1.3rem;
}

.jjq-guest-main h3 {
	margin: 0 0 4px;
	font-size: .9rem;
	font-weight: 600;
	color: var(--jjq-heading);
}

.jjq-guest-main p {
	margin: 0 0 12px;
	font-size: .72rem;
	line-height: 1.6;
	color: var(--jjq-muted);
}

.jjq-guest-main + .jjq-user-actions {
	margin-top: 2px;
}

/* 邀请注册 */
.jjq-invite {
	padding: 16px 18px 18px;
}

.jjq-invite-head {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 8px;
}

.jjq-invite-head h2 {
	margin: 0;
	font-size: 1rem;
	line-height: 1.3;
	font-weight: 700;
	color: var(--jjq-heading);
}

.jjq-invite-head h2 i {
	margin-right: 3px;
	color: var(--jjq-accent);
}

.jjq-invite-head span {
	font-size: .72rem;
	color: var(--jjq-muted);
}

.jjq-invite p {
	margin: 9px 0 14px;
	font-size: .8rem;
	line-height: 1.7;
	color: var(--jjq-muted);
}

.jjq-invite-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	width: 100%;
	height: 38px;
	border-radius: 6px;
	background: var(--jjq-accent);
	background-image: linear-gradient(120deg, var(--jjq-accent), var(--jjq-accent2));
	color: #fff;
	font-size: .85rem;
	font-weight: 600;
}

.jjq-invite-btn:hover {
	color: #fff;
	filter: brightness(1.04);
}

/* xnx_ad_selfbuy 自助广告位 */
.jjq-adselfbuy .xnx-ad-selfbuy-sidebar {
	margin-bottom: 0 !important;
}

.jjq-adselfbuy .x-card {
	border: 0;
	border-radius: 8px;
	box-shadow: var(--jjq-shadow);
	background: var(--jjq-card);
}

.jjq-adselfbuy .card-body {
	padding: 14px !important;
}

/* 搜索 */
.jjq-search {
	padding: 12px;
}

.jjq-search form {
	display: flex;
	align-items: center;
	gap: 0;
	border: 1px solid var(--jjq-line);
	border-radius: 6px;
	overflow: hidden;
	background: var(--jjq-soft);
}

.jjq-search input {
	flex: 1 1 auto;
	min-width: 0;
	height: 38px;
	padding: 0 12px;
	border: 0;
	outline: 0;
	background: transparent;
	color: var(--jjq-text);
	font-size: .8rem;
}

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

.jjq-search button {
	flex: 0 0 42px;
	height: 38px;
	border: 0;
	background: var(--jjq-card);
	color: var(--jjq-text);
	cursor: pointer;
}

.jjq-search button:hover {
	color: var(--jjq-accent);
}

/* 热门分类 */
.jjq-cat-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
}

.jjq-cat-pill {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 6px;
	min-width: 0;
	padding: 8px 10px;
	border-radius: 5px;
	background: var(--jjq-soft);
	font-size: .75rem;
	color: var(--jjq-text);
	transition: all .2s ease;
}

.jjq-cat-pill span {
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.jjq-cat-pill small {
	flex-shrink: 0;
	font-size: .62rem;
	color: var(--jjq-muted);
}

.jjq-cat-pill:hover {
	color: #fff;
	background: linear-gradient(120deg, var(--jjq-accent), var(--jjq-accent2));
}

.jjq-cat-pill:hover small {
	color: rgba(255, 255, 255, .8);
}

/* 侧栏广告 */
.jjq-side-ad {
	display: block;
	overflow: hidden;
	border-radius: 8px;
	min-height: 150px;
	background:
		linear-gradient(135deg, rgba(214, 51, 132, .9) 0%, rgba(83, 64, 255, .85) 100%);
}

.jjq-side-ad img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
}

.jjq-side-ad-text {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 150px;
	padding: 20px;
	color: #fff;
	font-size: .9rem;
	font-weight: 600;
	text-align: center;
}

.jjq-side-ad-text small {
	font-size: .62rem;
	font-weight: 400;
	opacity: .7;
}

/* 热门帖子 */
.jjq-side-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.jjq-side-list li {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	padding: 6px 0;
	min-width: 0;
}

.jjq-side-no {
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	line-height: 18px;
	margin-top: 1px;
	border-radius: 4px;
	background: var(--jjq-soft);
	color: var(--jjq-muted);
	font-size: .65rem;
	text-align: center;
}

.jjq-side-list li.is-top .jjq-side-no {
	color: #fff;
	background: var(--jjq-accent);
}

.jjq-side-list li:nth-child(2).is-top .jjq-side-no { background: #ff9f43; }
.jjq-side-list li:nth-child(3).is-top .jjq-side-no { background: #3ca5f6; }

.jjq-side-list a {
	flex: 1;
	min-width: 0;
	font-size: .8rem;
	line-height: 1.45;
	color: var(--jjq-text);
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.jjq-side-views {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	gap: 2px;
	font-size: .6rem;
	color: var(--jjq-muted);
}

.jjq-side-list a:hover {
	color: var(--jjq-accent);
}

/* 侧栏最新文章 */
.jjq-side-latest {
	display: flex;
	flex-direction: column;
	gap: 7px;
}

.jjq-side-latest-item {
	min-width: 0;
}

.jjq-side-latest a {
	position: relative;
	display: block;
	padding-left: 10px;
	font-size: .8rem;
	line-height: 1.5;
	color: var(--jjq-text);
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.jjq-side-latest-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	padding-left: 10px;
	margin-top: 1px;
	font-size: .6rem;
	color: var(--jjq-muted);
}

.jjq-side-latest a::before {
	content: "";
	position: absolute;
	left: 0;
	top: .55em;
	width: 3px;
	height: 3px;
	border-radius: 50%;
	background: var(--jjq-muted);
	opacity: .6;
}

.jjq-side-latest a:hover {
	color: var(--jjq-accent);
}

/* 标签云 */
.jjq-tag-cloud {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
}

.jjq-tag-cloud a {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 4px;
	background: var(--jjq-soft);
	color: var(--jjq-muted);
	font-size: .7rem;
	line-height: 1.4;
	transition: all .2s ease;
}

.jjq-tag-cloud a:hover {
	color: #fff;
	background: var(--jjq-accent);
}

.jjq-tag-cloud a small {
	margin-left: 4px;
	font-size: .6rem;
	opacity: .55;
}

.jjq-link-list {
	display: flex;
	flex-direction: column;
	gap: 7px;
}

.jjq-link-list a {
	font-size: .8rem;
	color: var(--jjq-text);
}

.jjq-link-list a:hover {
	color: var(--jjq-accent);
}

/* xnx_friendlink 注入的原生卡片：融入右侧栏视觉 */
.jjq-sidebar [data-xnx-fl] {
	margin-top: 0 !important;
	background: var(--jjq-card);
	border: 0;
	border-radius: 8px;
	box-shadow: var(--jjq-shadow);
	overflow: hidden;
}

.jjq-sidebar [data-xnx-fl] .card-body {
	padding: 16px 16px 0;
}

.jjq-sidebar [data-xnx-fl] .card-title {
	margin: 0;
	font-size: 1rem;
	font-weight: 600;
	color: var(--jjq-heading);
}

.jjq-sidebar [data-xnx-fl] .card-title i {
	color: var(--jjq-accent);
}

.jjq-sidebar [data-xnx-fl] .my-2 {
	margin: 0 !important;
	padding: 10px 12px 14px;
}

.jjq-sidebar [data-xnx-fl] a {
	color: var(--jjq-muted) !important;
	background: var(--jjq-soft) !important;
	font-size: .7rem;
}

.jjq-sidebar [data-xnx-fl] a:hover {
	color: var(--jjq-accent) !important;
}

/* ---------- 友情链接 ---------- */
.jjq-friendlinks {
	margin-top: 24px;
	padding: 14px 20px 16px;
	border: 1px solid var(--jjq-line);
	box-shadow: none;
}

.jjq-friendlinks-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding-bottom: 10px;
	border-bottom: 1px dashed var(--jjq-line);
}

.jjq-friendlinks-title {
	font-size: .82rem;
	font-weight: 600;
	color: var(--jjq-heading);
}

.jjq-friendlinks-title i {
	margin-right: 4px;
	color: var(--jjq-accent);
}

.jjq-friendlinks-title small {
	margin-left: 4px;
	font-size: .6rem;
	font-weight: 400;
	color: var(--jjq-muted);
	letter-spacing: .08em;
}

.jjq-friendlinks-mail {
	font-size: .68rem;
	color: var(--jjq-muted);
}

.jjq-friendlinks-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
	padding-top: 12px;
}

.jjq-friendlinks-list a {
	font-size: .75rem;
	color: var(--jjq-muted);
}

.jjq-friendlinks-list a:hover {
	color: var(--jjq-accent);
}

/* ---------- 深色页脚 ---------- */
.jjq-footer-bleed {
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-top: 28px;
	padding: 46px 0 0;
	background: var(--jjq-footer);
	color: var(--jjq-footer-text);
}

.jjq-footer-inner {
	width: 100%;
	max-width: var(--jjq-width, 1240px);
	margin: 0 auto;
	padding: 0 12px;
}

.jjq-footer-top {
	display: grid;
	grid-template-columns: 2.2fr 1fr 1fr .9fr;
	gap: 48px;
	padding-bottom: 34px;
}

.jjq-footer-logo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: #fff;
	font-size: 1.1rem;
	font-weight: 700;
	letter-spacing: .02em;
}

.jjq-footer-logo img {
	max-height: 38px;
	width: auto;
}

.jjq-footer-logo-mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--jjq-accent), var(--jjq-accent2));
	color: #fff;
	font-size: 1.2rem;
}

.jjq-footer-brand p {
	margin: 16px 0 0;
	max-width: 370px;
	font-size: .9rem;
	line-height: 1.8;
	color: rgba(185, 195, 207, .78);
}

.jjq-footer-col {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
}

.jjq-footer-col h3,
.jjq-footer-qr h3 {
	position: relative;
	margin: 0 0 10px;
	padding-bottom: 8px;
	font-size: 1.1rem;
	font-weight: 600;
	color: #fff;
}

.jjq-footer-col h3::after,
.jjq-footer-qr h3::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 30px;
	height: 2px;
	border-radius: 2px;
	background: var(--jjq-accent);
	opacity: .7;
}

.jjq-footer-col a {
	font-size: .9rem;
	color: rgba(185, 195, 207, .78);
}

.jjq-footer-col a:hover {
	color: #fff;
}

.jjq-footer-qr {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.jjq-footer-qr img,
.jjq-footer-qr-empty {
	width: 96px;
	height: 96px;
	border-radius: 6px;
	object-fit: cover;
	background: #fff;
}

.jjq-footer-qr-empty {
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, .08);
	color: rgba(255, 255, 255, .4);
	font-size: 2rem;
}

.jjq-footer-qr span {
	margin-top: 8px;
	font-size: .68rem;
	color: rgba(185, 195, 207, .65);
}

.jjq-footer-qr .jjq-footer-mail {
	font-size: .62rem;
	word-break: break-all;
}

.jjq-footer-bottom {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 24px;
	padding: 18px 0 22px;
	border-top: 1px solid rgba(255, 255, 255, .08);
}

.jjq-footer-copy {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.jjq-footer-copy span {
	font-size: .72rem;
	color: rgba(185, 195, 207, .7);
}

.jjq-footer-copy small {
	font-size: .65rem;
	line-height: 1.6;
	color: rgba(185, 195, 207, .45);
}

.jjq-footer-bottom-links {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px 16px;
	flex-shrink: 0;
}

.jjq-footer-bottom-links a {
	font-size: .68rem;
	color: rgba(185, 195, 207, .58);
}

.jjq-footer-bottom-links a:hover {
	color: #fff;
}

/* 隐藏旧 hook 容器 */
.jjq-legacy-hooks {
	display: none !important;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1199.98px) {
	.jjq-main-row {
		display: flex;
		flex-direction: column;
		gap: 16px;
	}
	.jjq-main-col {
		order: 1;
		width: 100%;
	}
	.jjq-sidebar {
		order: 2;
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		align-items: start;
		width: 100%;
		min-width: 0;
	}
	.jjq-sidebar > .jjq-left-user {
		grid-column: 1 / -1;
	}
	.jjq-lu-menu {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 991.98px) {
	.jjq-hero {
		height: auto;
		min-height: 0;
	}
	.jjq-carousel {
		height: auto;
		min-height: 0;
		aspect-ratio: 16 / 9;
	}
	.jjq-picks {
		height: auto;
		min-height: auto;
	}
	.jjq-picks-list {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0 8px;
	}
	.jjq-pick {
		border-top: 1px solid var(--jjq-line);
	}
	.jjq-pick:nth-child(-n+2) {
		border-top: 0;
	}
	.jjq-pick-thumb {
		flex-basis: 82px;
		width: 82px;
		height: 56px;
	}
	.jjq-hot-feature {
		grid-template-columns: 240px minmax(0, 1fr);
	}
	.jjq-footer-top {
		grid-template-columns: 1.6fr 1fr 1fr;
		gap: 32px;
	}
	.jjq-footer-qr {
		grid-column: 1 / -1;
	}
	.jjq-footer-qr img,
	.jjq-footer-qr-empty {
		width: 84px;
		height: 84px;
	}
}

@media (max-width: 767.98px) {
	.jjq-home {
		padding-top: 8px;
	}
	#header,
	#header .headnav,
	#header > .container > div {
		min-height: 54px;
	}
	.jjq-slide-body {
		left: 16px;
		right: 16px;
		bottom: 18px;
	}
	.jjq-slide-title {
		font-size: calc(1.18rem * var(--jjq-font-scale, 1));
	}
	.jjq-picks-list {
		grid-template-columns: 1fr;
	}
	.jjq-pick:nth-child(2) {
		border-top: 1px solid var(--jjq-line);
	}
	.jjq-pick:nth-child(n+5) {
		display: none;
	}
	.jjq-textad-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.jjq-textads-sub {
		display: none;
	}
	.jjq-stat-desc {
		display: none;
	}
	.jjq-hot-feature {
		grid-template-columns: 1fr;
		gap: 14px;
	}
	.jjq-hot-cover {
		max-height: 220px;
	}
	.jjq-hot-grid {
		grid-template-columns: 1fr;
	}
	.jjq-hot,
	.jjq-articles {
		padding: 14px;
	}
	.jjq-article {
		gap: 12px;
		padding: 14px 0;
	}
	.jjq-article-thumb {
		flex-basis: 104px;
		width: 104px;
		height: 70px;
	}
	.jjq-article-title {
		font-size: calc(1rem * var(--jjq-font-scale, 1));
	}
	.jjq-article-summary {
		display: none;
	}
	.jjq-sidebar {
		grid-template-columns: minmax(0, 1fr);
	}
	.jjq-lu-menu {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	/* 移动端首页：隐藏右侧悬浮客服/发帖条，页脚给底部导航留出空间 */
	#floatingActions {
		display: none !important;
	}
	.cyz-kefu,
	.dda,
	#dda-root {
		z-index: 1200 !important;
	}
	.jjq-footer-top {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 20px 10px;
	}
	.jjq-footer-brand {
		grid-column: 1 / -1;
	}
	.jjq-footer-menu {
		display: block;
	}
	.jjq-footer-menu a {
		display: block;
		margin: 0;
		padding: 3px 0;
	}
	.jjq-footer-col,
	.jjq-footer-qr {
		grid-column: auto;
		min-width: 0;
	}
	.jjq-footer-col h3,
	.jjq-footer-qr h3 {
		margin-bottom: 8px;
		padding-bottom: 6px;
		font-size: .92rem;
	}
	.jjq-footer-col a {
		display: block;
		padding: 3px 0;
		font-size: .7rem;
		line-height: 1.5;
	}
	.jjq-footer-qr img,
	.jjq-footer-qr-empty {
		width: 64px;
		height: 64px;
	}
	.jjq-footer-qr span {
		margin-top: 6px;
		font-size: .58rem;
	}
	.jjq-footer-qr .jjq-footer-mail {
		display: none;
	}
	.jjq-footer-bleed {
		padding-bottom: var(--bottom-nav-h, 0px);
	}
	.jjq-footer-bottom {
		padding-bottom: 12px;
	}
	.jjq-footer-bottom {
		flex-direction: column;
		gap: 12px;
	}
	.jjq-friendlinks-head {
		align-items: flex-start;
		flex-direction: column;
		gap: 4px;
	}
}

@media (max-width: 575.98px) {
	.jjq-stats > [class*="col-"] {
		flex: 0 0 100%;
		max-width: 100%;
	}
	.jjq-sec-title {
		font-size: calc(1.08rem * var(--jjq-font-scale, 1));
	}
	.jjq-sec-sub {
		display: none;
	}
	.jjq-textads {
		padding: 10px 12px;
	}
	.jjq-textad {
		min-height: 36px;
		font-size: .7rem;
	}
	.jjq-pager-total {
		display: none;
	}
	.jjq-footer-inner {
		padding: 0 14px;
	}
	.jjq-footer-top {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
	.jjq-footer-col,
	.jjq-footer-qr {
		grid-column: auto;
	}
}

@media (prefers-reduced-motion: reduce) {
	.jjq-home *,
	.jjq-home *::before,
	.jjq-home *::after {
		animation-duration: .001ms !important;
		transition-duration: .001ms !important;
	}
}

#jjq-articles {
	scroll-margin-top: 84px;
}
