:root {
	--qj-cream: #f7f5f1;
	--qj-paper: #ede8e0;
	--qj-gold: #a68b5b;
	--qj-gold-light: #d4c4a8;
	--qj-gold-deep: #8a7048;
	--qj-gold-dim: rgba(166, 139, 91, 0.32);
	--qj-jade: #5a9a72;
	--qj-jade-light: #8ec4a0;
	--qj-jade-deep: #3d6b52;
	--qj-jade-dim: rgba(90, 154, 114, 0.32);
	--qj-ivory: #e2dbd2;
	--qj-brown: #2c261e;
	--qj-muted: #7a7068;
	--qj-ink: #0d0a14;
	--qj-night: #12101c;
	--qj-night-soft: #1a1628;
	--qj-violet: #3d2f5c;
	--qj-dark: rgba(13, 10, 20, 0.72);
	--qj-glass: rgba(255, 255, 255, 0.06);
	--qj-glass-border: rgba(255, 255, 255, 0.12);
	--qj-radius: 14px;
	--qj-shadow: 0 16px 48px rgba(13, 10, 20, 0.18);
	--qj-shadow-soft: 0 8px 32px rgba(13, 10, 20, 0.1);
	--qj-max: 1240px;
	--qj-header-h: 100px;
	--qj-download-w: 176px;
	/* #74529: 区块标题暖金盘 — 香槟/浅金渐变，避免土黄 */
	--qj-stitle-grad: linear-gradient(118deg, #fff9f0 0%, #f5e8c8 42%, #e8d0a0 78%, #dfc282 100%);
	--qj-stitle-on-light: var(--qj-gold-deep);
	--qj-stitle-dim: rgba(232, 200, 150, 0.55);
	--qj-stitle-underline: linear-gradient(90deg, transparent, #e8d0a8 20%, #fff5e8 50%, #e8d0a8 80%, transparent);
	/* #74529: 顶栏导航暖金 accent — 实色字 + 细下划线，不用渐变字/扫光 */
	--qj-nav-text: rgba(255, 255, 255, 0.9);
	--qj-nav-text-hover: #fff8ee;
	--qj-nav-text-active: #f5e8c8;
	--qj-nav-line: rgba(232, 200, 150, 0.55);
	--qj-nav-line-active: linear-gradient(90deg, #c9a96e, #f0dcc0, #e8c896);
	--qj-nav-pill: rgba(232, 200, 150, 0.1);
	--qj-nav-pill-hover: rgba(255, 255, 255, 0.07);
	--qj-nav-border: rgba(232, 200, 150, 0.28);
	--qj-nav-border-strong: rgba(245, 232, 200, 0.55);
}

/* ponytail: intro-done 会话兜底 — GSAP 未就绪或 inline 残留时 Hero/特色轮播保持不透明（#74657） */
html.queji-home--intro-done .qj-header__logo,
html.queji-home--intro-done .qj-header__nav,
html.queji-home--intro-done .qj-header__account,
html.queji-home--intro-done .qj-hero__content,
html.queji-home--intro-done .qj-hero__pitch,
html.queji-home--intro-done .qj-hero__title-img,
html.queji-home--intro-done .qj-hero__badge,
html.queji-home--intro-done .qj-hero__downloads,
html.queji-home--intro-done .qj-features__carousel,
html.queji-home--intro-done .qj-features__controls,
html.queji-home--intro-done .qj-pv__carousel,
html.queji-home--intro-done .qj-pv__controls {
	opacity: 1 !important;
	visibility: visible !important;
}

html.queji-home--intro-done .qj-features__carousel .swiper-slide-active {
	opacity: 1 !important;
}

html.queji-home--intro-done .qj-pv__carousel .swiper-slide-active {
	opacity: 1 !important;
}

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

html {
	scroll-behavior: smooth;
	scroll-padding-top: var(--qj-header-h);
}

/* ponytail: 仅首页（含 #hero）纵向 proximity 吸附；mandatory 会卡住高于视口的区块内细滚 */
html:has(body.queji-home #hero) {
	scroll-snap-type: y proximity;
}

body.queji-home #hero,
body.queji-home #pv,
body.queji-home #news,
body.queji-home #features,
body.queji-home #contact {
	scroll-snap-align: start;
	scroll-margin-top: var(--qj-header-h);
}

body.queji-home {
	margin: 0;
	font-family: var(--qj-font-body);
	color: var(--qj-brown);
	background: var(--qj-cream);
	line-height: var(--qj-lh-body);
	overflow-x: hidden;
}

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

a { color: var(--qj-gold); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--qj-gold-light); }

/* ── Header：Hero 角部暗角 + 强文字，中间透明不挡脸；滚动后全宽轻玻璃 ── */
.qj-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	height: var(--qj-header-h);
	background: transparent;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
	border-bottom: 1px solid transparent;
	box-shadow: none;
	transition: background 0.35s, box-shadow 0.35s, border-color 0.35s, backdrop-filter 0.35s;
}

/* ponytail: 仅顶栏左右角渐变，中间留空不挡 Hero 立绘脸部；滚动后淡出 */
.qj-header::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		linear-gradient(180deg, rgba(13, 10, 20, 0.5) 0%, rgba(13, 10, 20, 0.22) 58%, transparent 100%),
		linear-gradient(90deg, rgba(13, 10, 20, 0.42) 0%, transparent 24%, transparent 76%, rgba(13, 10, 20, 0.45) 100%);
	opacity: 1;
	transition: opacity 0.35s;
}

.qj-header::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 1px;
	pointer-events: none;
	background: linear-gradient(
		90deg,
		rgba(232, 200, 150, 0.28) 0%,
		rgba(245, 232, 200, 0.1) 35%,
		transparent 50%,
		rgba(245, 232, 200, 0.1) 65%,
		rgba(232, 200, 150, 0.28) 100%
	);
	transition: opacity 0.35s;
}

.qj-header.is-scrolled::before,
.qj-header.is-scrolled::after {
	opacity: 0;
}

.qj-header.is-scrolled {
	background: rgba(13, 10, 20, 0.72);
	backdrop-filter: blur(16px) saturate(1.12);
	-webkit-backdrop-filter: blur(16px) saturate(1.12);
	border-bottom-color: rgba(232, 200, 150, 0.16);
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.24);
}

.qj-header__inner {
	position: relative;
	z-index: 1;
	max-width: var(--qj-max);
	height: 100%;
	margin: 0 auto;
	padding: 0 1.5rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.qj-header__logo img {
	height: 84px;
	width: auto;
	filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.55));
}

.qj-header__nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem 0.65rem;
}

/* ponytail: 有登录/账号区时 nav 与登录按钮同侧成组，避免 space-between 把 nav 挤到中间 (#74668) */
.qj-header__inner:has(.qj-header__account) .qj-header__nav {
	margin-left: auto;
}

.qj-header__nav a {
	position: relative;
	color: var(--qj-nav-text);
	font-family: var(--qj-font-display);
	font-size: 1.12rem;
	font-weight: 700;
	letter-spacing: var(--qj-ls-nav);
	padding: 0.52rem 0.91rem 0.62rem;
	border-bottom: none;
	border-radius: 8px;
	text-shadow:
		0 1px 3px rgba(0, 0, 0, 0.75),
		0 2px 12px rgba(13, 10, 20, 0.45);
	/* ponytail: 无动态高亮切换，当前项静态展示（#74529） */
	transition: none;
}

.qj-header__nav a::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 0.28rem;
	width: 0;
	height: 2px;
	border-radius: 1px;
	background: var(--qj-nav-line-active);
	transform: translateX(-50%);
	opacity: 0;
	/* ponytail: 当前项指示线静态切换，避免跨页/scroll-spy 时 underline 来回动画（#74529） */
	transition: none;
}

.qj-header__nav a:hover {
	color: var(--qj-nav-text-hover);
	background: var(--qj-nav-pill-hover);
}

.qj-header__nav a:hover::after {
	width: 55%;
	opacity: 0.65;
	background: var(--qj-nav-line);
}

.qj-header__nav a.is-active {
	color: var(--qj-nav-text-active);
	background: var(--qj-nav-pill);
	text-shadow:
		0 1px 3px rgba(0, 0, 0, 0.7),
		0 0 18px rgba(232, 200, 150, 0.22);
}

.qj-header__nav a.is-active::after {
	width: 72%;
	opacity: 1;
	background: var(--qj-nav-line-active);
	box-shadow: 0 0 6px rgba(232, 200, 150, 0.35);
}

.qj-header__toggle {
	display: none;
	width: 44px;
	height: 44px;
	border: 1px solid var(--qj-nav-border);
	border-radius: 12px;
	background: rgba(13, 10, 20, 0.45) url("https://cos.52queji.com/web/queji-cn/website/images_m/nav-hidden.png") center/22px no-repeat;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
	cursor: pointer;
	transition: border-color 0.2s, background-color 0.2s;
}

.qj-header__toggle:hover {
	border-color: var(--qj-nav-border-strong);
	background-color: var(--qj-nav-pill-hover);
}

/* ── Hero：全屏沉浸式 ── */
.qj-hero {
	position: relative;
	min-height: 100vh;
	min-height: 100dvh;
	display: flex;
	align-items: flex-end;
	overflow: hidden;
	padding-top: var(--qj-header-h);
}

.qj-hero__bg {
	position: absolute;
	inset: -8% 0 0;
	overflow: hidden;
	will-change: transform;
}

.qj-hero__bg-layer {
	position: absolute;
	inset: 0;
	background-color: var(--qj-night-soft);
	background-size: cover;
	background-position: center top;
	background-repeat: no-repeat;
	transform: scale(1.06);
	transform-origin: center top;
	opacity: 0;
	transition: opacity 1.4s ease;
	will-change: opacity;
}

.qj-hero__bg-layer.is-active {
	opacity: 1;
}

.qj-hero__overlay {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(13, 10, 20, 0.12) 0%, transparent 40%),
		linear-gradient(180deg, transparent 45%, rgba(13, 10, 20, 0.65) 85%, rgba(13, 10, 20, 0.92) 100%),
		radial-gradient(ellipse 80% 50% at 70% 20%, rgba(61, 47, 92, 0.22), transparent);
}

.qj-hero__content {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: var(--qj-max);
	margin: 0 auto;
	padding: 2rem 1.5rem 4.5rem;
}

.qj-hero__headline {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0;
	margin-bottom: 1.15rem;
}

.qj-hero__title-img {
	width: min(480px, 78vw);
	margin-bottom: 0;
	filter: drop-shadow(0 8px 32px rgba(0, 0, 0, 0.45));
}

/* PC：两行文案取代 title 图（与 banner-text 同位，#74507 @markho） */
@media (min-width: 901px) {
	.qj-hero__title-img {
		display: none;
	}

	.qj-hero__headline {
		margin-bottom: 1.45rem;
	}

	.qj-hero__headline .qj-hero__pitch {
		text-align: left;
	}

	.qj-hero__headline .qj-hero__pitch-line:first-child {
		font-size: clamp(2.45rem, 3.55vw, 3.45rem);
		font-weight: 700;
		letter-spacing: 0.12em;
		color: #fff6ea;
		background: none;
		-webkit-background-clip: border-box;
		background-clip: border-box;
		filter: none;
		text-shadow:
			0 0 2px rgba(0, 0, 0, 1),
			0 1px 0 rgba(0, 0, 0, 0.95),
			0 3px 10px rgba(0, 0, 0, 0.82),
			0 0 34px rgba(212, 196, 168, 0.45),
			0 0 52px rgba(166, 139, 91, 0.3);
	}

	.qj-hero__headline .qj-hero__pitch-line:first-child::after {
		width: 6.65rem;
		height: 3px;
		margin: 0.85rem 0 0.75rem;
		margin-right: auto;
		box-shadow: 0 0 14px rgba(212, 196, 168, 0.55);
		opacity: 1;
	}

	.qj-hero__headline .qj-hero__pitch-line:last-child {
		font-size: clamp(1.61rem, 2.17vw, 1.99rem);
		font-weight: 600;
		color: #fff;
		letter-spacing: 0.17em;
		text-shadow:
			0 0 2px rgba(0, 0, 0, 1),
			0 2px 6px rgba(0, 0, 0, 0.88),
			0 4px 22px rgba(0, 0, 0, 0.62),
			0 0 36px rgba(212, 196, 168, 0.38);
	}
}

.qj-hero__badge {
	width: 76px;
	margin: 0;
	opacity: 0.95;
	z-index: 2;
	filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35));
}

@media (min-width: 901px) {
	.qj-hero__badge {
		position: absolute;
		top: 0.75rem;
		right: max(1.25rem, env(safe-area-inset-right));
	}
}

.qj-hero__downloads {
	display: flex;
	flex-wrap: nowrap;
	align-items: flex-start;
	gap: 1.25rem 1.5rem;
	width: fit-content;
	max-width: min(100%, calc(var(--qj-download-w) * 2 + 3.75rem));
	background: var(--qj-glass);
	border: 1px solid var(--qj-glass-border);
	backdrop-filter: blur(16px);
	border-radius: calc(var(--qj-radius) + 2px);
	padding: 1.35rem 1.5rem;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.qj-hero__cta-row {
	width: fit-content;
	max-width: 100%;
}

.qj-hero__pitch {
	width: max-content;
	max-width: none;
	margin: 0;
	padding: 0;
	text-align: left;
}

.qj-hero__pitch-line {
	display: block;
	white-space: nowrap;
}

.qj-hero__pitch-line:first-child {
	font-family: var(--qj-font-display);
	font-size: clamp(1.32rem, 1.72vw, 1.88rem);
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0.1em;
	background: linear-gradient(95deg, #fffef9 0%, var(--qj-gold-light) 52%, var(--qj-gold) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 28px rgba(166, 139, 91, 0.22));
}

.qj-hero__pitch-line:first-child::after {
	content: "";
	display: block;
	width: 3rem;
	height: 2px;
	margin: 0.6rem auto 0.55rem;
	background: linear-gradient(90deg, transparent, var(--qj-gold-light), transparent);
	opacity: 0.9;
}

.qj-hero__pitch-line:last-child {
	font-family: var(--qj-font-display);
	font-size: clamp(1.02rem, 1.22vw, 1.22rem);
	font-weight: 500;
	line-height: 1.5;
	letter-spacing: 0.14em;
	color: rgba(255, 250, 245, 0.9);
	text-shadow:
		0 0 1px rgba(0, 0, 0, 0.95),
		0 2px 12px rgba(0, 0, 0, 0.55),
		0 0 24px rgba(166, 139, 91, 0.18);
}

.qj-hero__qr {
	flex: 0 0 var(--qj-download-w);
	width: var(--qj-download-w);
}

.qj-hero__qr img {
	width: 100%;
	border-radius: 10px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.qj-hero__qr span {
	display: block;
	margin-top: 0.45rem;
	font-size: 0.82rem;
	color: rgba(255, 255, 255, 0.75);
	text-align: center;
	letter-spacing: var(--qj-ls-caption);
}

.qj-hero__stores {
	flex: 0 0 var(--qj-download-w);
	width: var(--qj-download-w);
	align-self: center;
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}

.qj-btn-store {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	width: 100%;
	min-height: 52px;
	padding: 0.5rem 0.7rem;
	background: linear-gradient(180deg, #1c1c1e 0%, #0a0a0c 100%);
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 10px;
	color: #fff;
	text-decoration: none;
	line-height: 1.15;
	transition: border-color 0.2s, box-shadow 0.2s, filter 0.2s;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.qj-btn-store:hover {
	border-color: rgba(255, 255, 255, 0.28);
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
	filter: brightness(1.08);
}

.qj-btn-store:focus {
	outline: none;
}

.qj-btn-store:focus-visible {
	outline: 2px solid var(--qj-gold-light);
	outline-offset: 2px;
}

.qj-btn-store__icon {
	flex: 0 0 26px;
	width: 26px;
	height: 26px;
	fill: currentColor;
}

.qj-btn-store__label {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.qj-btn-store__sublabel {
	font-size: 0.62rem;
	font-weight: 500;
	letter-spacing: 0.04em;
	opacity: 0.78;
}

.qj-btn-store__name {
	font-size: 1.02rem;
	font-weight: 600;
	letter-spacing: 0.01em;
}

.qj-btn-store--android {
	background: linear-gradient(180deg, #1a2e22 0%, #0a1410 100%);
}

.qj-btn-store img {
	width: 100%;
}

/* ── Section 通用 ── */
.qj-section {
	position: relative;
	padding: 5.5rem 1.5rem;
	overflow: hidden;
}

.qj-section__bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	opacity: 0.28;
	pointer-events: none;
}

.qj-section__bg--dark {
	opacity: 0.18;
}

.qj-section__inner {
	position: relative;
	z-index: 1;
	max-width: var(--qj-max);
	margin: 0 auto;
}

.qj-section__title {
	margin: 0 0 2.5rem;
	font-family: var(--qj-font-display);
	font-size: clamp(1.6rem, 3.2vw, 2.15rem);
	color: var(--qj-stitle-on-light);
	text-align: center;
	letter-spacing: var(--qj-ls-title);
	font-weight: 600;
}

.qj-section__title::before {
	content: "◆";
	display: block;
	font-size: 0.65rem;
	color: var(--qj-stitle-dim);
	margin-bottom: 0.5rem;
	letter-spacing: 0.4em;
}

.qj-section__title::after {
	content: "";
	display: block;
	width: 80px;
	height: 2px;
	margin: 1rem auto 0;
	background: var(--qj-stitle-underline);
}

/* #74529: 深色区块标题 — 静态暖金渐变字（香槟→浅金，非土黄） */
.qj-section--dark .qj-section__title,
.qj-pv .qj-section__title,
.qj-news .qj-section__title,
.qj-features .qj-section__title,
.qj-characters .qj-section__title {
	background: var(--qj-stitle-grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	filter: drop-shadow(0 1px 6px rgba(232, 200, 150, 0.2));
}

.qj-section--dark .qj-section__title::after,
.qj-pv .qj-section__title::after,
.qj-news .qj-section__title::after,
.qj-features .qj-section__title::after,
.qj-characters .qj-section__title::after {
	box-shadow: 0 0 6px rgba(232, 200, 150, 0.22);
}

/* 暗色区块 */
.qj-section--dark {
	background: linear-gradient(165deg, var(--qj-night) 0%, var(--qj-night-soft) 50%, var(--qj-violet) 100%);
	color: var(--qj-ivory);
}
.qj-section--dark a { color: var(--qj-gold-light); }
.qj-section--dark a:hover { color: #fff; }

/* ── 游戏 PV（Steam 式宽屏预告，#74674） ── */
.qj-pv {
	padding-block: clamp(3.5rem, 8vh, 5.5rem);
	min-height: min(88vh, 920px);
	display: flex;
	align-items: center;
	background: radial-gradient(ellipse 120% 80% at 50% 40%, #1a1410 0%, #0a0908 55%, #050504 100%);
}

.qj-pv__ambient {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		radial-gradient(ellipse 70% 55% at 50% 45%, rgba(166, 139, 91, 0.08) 0%, transparent 70%),
		linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, transparent 18%, transparent 82%, rgba(0, 0, 0, 0.45) 100%);
}

.qj-pv .qj-section__inner {
	width: 100%;
}

.qj-pv__stage {
	margin: 0 auto;
}

.qj-pv__player {
	position: relative;
	border-radius: 14px;
	overflow: hidden;
	box-shadow:
		0 24px 64px rgba(0, 0, 0, 0.55),
		0 0 0 1px rgba(166, 139, 91, 0.22),
		0 0 48px rgba(166, 139, 91, 0.08);
	aspect-ratio: 16 / 9;
	background: #000;
}

.qj-pv__preview {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 2;
	transition: opacity 0.35s;
}

.qj-pv__player.is-active .qj-pv__preview {
	opacity: 0;
	pointer-events: none;
}

.qj-pv__player.is-active {
	background: #000;
}

.qj-pv__carousel {
	overflow: hidden;
	padding: 1.5rem 0 1rem;
}

.qj-pv__carousel .swiper-slide {
	width: min(680px, 88vw);
	opacity: 0.5;
	transform: scale(0.85);
	transition: transform 0.4s, opacity 0.4s;
	cursor: pointer;
}

.qj-pv__carousel .swiper-slide-active {
	opacity: 1;
	transform: scale(1);
	cursor: default;
}

.qj-pv__controls {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 0.25rem;
}

.qj-pv__caption {
	margin: 0.85rem 0 0;
	text-align: center;
	font-size: 0.95rem;
	color: rgba(255, 255, 255, 0.82);
}

.qj-pv__iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border: 0;
	background: #000;
	pointer-events: none;
	z-index: 1;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.35s;
}

.qj-pv__player.is-active .qj-pv__iframe {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	z-index: 3;
}

.qj-pv__source {
	margin: 0.45rem 0 0;
	text-align: center;
	font-size: 0.9rem;
	opacity: 0.72;
}

.qj-pv__source a {
	color: var(--qj-gold-light);
	text-decoration: none;
	border-bottom: 1px solid rgba(232, 200, 150, 0.35);
}

.qj-pv__source a:hover {
	color: #fff;
	opacity: 1;
}

/* ── 新闻：轮播图同步区块背景（#74394 / #74404 深色主题；#74518 翡翠绿点缀） ── */
.qj-news {
	background: linear-gradient(165deg, var(--qj-night) 0%, #121a16 38%, var(--qj-night-soft) 58%, var(--qj-violet) 100%);
	color: var(--qj-ivory);
	overflow: visible;
}

.qj-news__ambient {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	overflow: hidden;
}

.qj-news__bg-layer {
	position: absolute;
	inset: -2%;
	background-size: cover;
	background-position: center;
	opacity: 0;
	transition: opacity 1.4s ease;
	filter: blur(3px) saturate(1.1) brightness(0.82);
	transform: scale(1.01);
}

.qj-news__bg-layer.is-active {
	opacity: 1;
}

.qj-news__scrim {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(13, 10, 20, 0.32) 0%, rgba(13, 10, 20, 0.18) 50%, rgba(13, 10, 20, 0.28) 100%),
		linear-gradient(90deg, rgba(18, 16, 28, 0.42) 0%, rgba(18, 16, 28, 0.12) 48%, rgba(18, 16, 28, 0.06) 100%);
}

.qj-news .qj-section__inner {
	position: relative;
	z-index: 1;
}

.qj-news__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: clamp(1.25rem, 3vw, 2rem);
	align-items: start;
}

.qj-news__banner {
	min-width: 0;
	max-width: 100%;
	width: 100%;
	position: relative;
	z-index: 1;
	border-radius: var(--qj-radius);
	overflow: hidden;
	box-shadow: var(--qj-shadow);
	aspect-ratio: 16 / 10;
	border: 1px solid rgba(166, 139, 91, 0.2);
}

.qj-news__banner.swiper,
.news-banner-swiper {
	overflow: hidden;
}

.qj-news__banner .swiper-slide {
	height: auto;
}

.qj-news__banner img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.qj-news__aside {
	display: flex;
	flex-direction: column;
	min-width: 0;
	max-width: 100%;
	width: 100%;
	position: relative;
	z-index: 2;
}

.qj-news__list {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	justify-content: flex-start;
	min-width: 0;
	max-width: 100%;
	width: 100%;
}

.qj-news__item {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 0.35rem 0.75rem;
	align-items: center;
	padding: 0.9rem 1rem;
	background: var(--qj-glass);
	border-radius: var(--qj-radius);
	border: 1px solid var(--qj-glass-border);
	border-left: 3px solid var(--qj-gold);
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
	backdrop-filter: blur(8px);
	transition: box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
	cursor: pointer;
	position: relative;
	opacity: 1;
	visibility: visible;
}

.qj-news__item-main,
.qj-news__item-meta {
	/* ponytail: 让点击穿透到 .qj-news__link::after，整卡可点 */
	pointer-events: none;
}

.qj-news__item-main {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	min-width: 0;
	overflow: hidden;
}

.qj-news__item-meta {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 0.45rem;
	flex-shrink: 0;
}

.qj-news__item:hover,
.qj-news__item.is-hover,
.qj-news__item:focus-within {
	box-shadow:
		0 12px 40px rgba(0, 0, 0, 0.42),
		0 0 0 1px rgba(212, 196, 168, 0.5),
		inset 0 1px 0 rgba(255, 255, 255, 0.1);
	background: rgba(18, 16, 28, 0.84);
	border-color: rgba(212, 196, 168, 0.42);
	border-left-color: var(--qj-gold-light);
	border-left-width: 4px;
}

.qj-news__item:hover .qj-news__link,
.qj-news__item.is-hover .qj-news__link,
.qj-news__item:focus-within .qj-news__link {
	color: #fff;
}

.qj-news__item:hover .qj-news__tag,
.qj-news__item.is-hover .qj-news__tag,
.qj-news__item:focus-within .qj-news__tag {
	color: #fff;
	background: rgba(212, 196, 168, 0.24);
	border-color: rgba(212, 196, 168, 0.52);
}

.qj-news__item:hover .qj-news__tag[data-category="活动"],
.qj-news__item.is-hover .qj-news__tag[data-category="活动"],
.qj-news__item:focus-within .qj-news__tag[data-category="活动"] {
	background: rgba(90, 154, 114, 0.36);
	border-color: rgba(142, 196, 160, 0.62);
}

.qj-news__item:hover .qj-news__tag[data-category="赛事"],
.qj-news__item.is-hover .qj-news__tag[data-category="赛事"],
.qj-news__item:focus-within .qj-news__tag[data-category="赛事"] {
	background: rgba(72, 120, 140, 0.34);
	border-color: rgba(120, 176, 196, 0.55);
}

.qj-news__item:hover .qj-news__date,
.qj-news__item.is-hover .qj-news__date,
.qj-news__item:focus-within .qj-news__date {
	color: rgba(240, 235, 227, 0.9);
}

.qj-news__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.35rem;
	height: 1.35rem;
	padding: 0 0.35rem;
	border-radius: 4px;
	font-size: 0.72rem;
	font-weight: 700;
	line-height: 1;
	color: #1a1208;
	background: linear-gradient(135deg, var(--qj-gold-light) 0%, var(--qj-gold) 100%);
	box-shadow: 0 2px 8px rgba(166, 139, 91, 0.35);
}

.qj-news__date {
	color: rgba(240, 235, 227, 0.82);
	font-size: 0.82rem;
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}

.qj-news__tag {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
	padding: 0.18rem 0.55rem;
	border-radius: 4px;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	line-height: 1.25;
	color: rgba(248, 242, 232, 0.96);
	background: rgba(212, 196, 168, 0.16);
	border: 1px solid rgba(212, 196, 168, 0.38);
	white-space: nowrap;
}

.qj-news__tag[data-category="活动"],
.qj-news-page__tag[data-category="活动"] {
	color: rgba(228, 248, 236, 0.98);
	background: rgba(90, 154, 114, 0.22);
	border-color: rgba(142, 196, 160, 0.48);
}

.qj-news__tag[data-category="赛事"],
.qj-news-page__tag[data-category="赛事"] {
	color: rgba(224, 244, 252, 0.98);
	background: rgba(72, 120, 140, 0.22);
	border-color: rgba(120, 176, 196, 0.42);
}

.qj-news__item[data-category="活动"],
.qj-news-page__item[data-category="活动"] {
	border-left-color: var(--qj-jade);
}

.qj-news__item[data-category="赛事"],
.qj-news-page__item[data-category="赛事"] {
	border-left-color: #6a9aaa;
}

.qj-news__item[data-category="活动"]:hover,
.qj-news__item[data-category="活动"].is-hover,
.qj-news__item[data-category="活动"]:focus-within,
.qj-news-page__item[data-category="活动"]:hover,
.qj-news-page__item[data-category="活动"]:focus-within {
	border-left-color: var(--qj-jade-light);
}

.qj-news__item[data-category="赛事"]:hover,
.qj-news__item[data-category="赛事"].is-hover,
.qj-news__item[data-category="赛事"]:focus-within,
.qj-news-page__item[data-category="赛事"]:hover,
.qj-news-page__item[data-category="赛事"]:focus-within {
	border-left-color: #8ec0d0;
}

.qj-news__link {
	color: rgba(248, 242, 232, 0.96);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	flex: 1;
	min-width: 0;
	/* ponytail: stretched-link — 整卡可点，不依赖 queji-home.js 委托点击 */
	position: static;
	/* ponytail: 父级 item-main 设了 none，子级须显式 auto 否则 ::after 接不到点击（#74569） */
	pointer-events: auto;
}

.qj-news__link::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

.qj-news__link:hover { color: var(--qj-gold-light); }

.qj-news__more {
	display: inline-block;
	align-self: flex-end;
	margin: 0.85rem 0 0;
	text-align: right;
	width: auto;
	color: rgba(240, 235, 227, 0.86);
	border-bottom: 1px solid rgba(166, 139, 91, 0.36);
	padding-bottom: 0.15rem;
	transition: color 0.2s ease, border-color 0.2s ease;
}

.qj-news__more:hover {
	color: var(--qj-jade-light);
	border-bottom-color: var(--qj-jade-light);
}

/* ── 雀士（#74413 深色 + 背景立绘联动，区别于新闻区） ── */
.qj-characters {
	position: relative;
	background: linear-gradient(168deg, #1a1410 0%, #221a28 42%, #2a1838 100%);
	color: var(--qj-ivory);
	overflow: hidden;
}

.qj-characters__ambient {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	overflow: hidden;
}

.qj-characters__bg-layer {
	position: absolute;
	inset: -5%;
	background-size: 260%;
	background-position: center 6%;
	opacity: 0;
	transition: opacity 1.3s ease;
	filter: saturate(1.05) brightness(0.55) blur(2px);
}

.qj-characters__bg-layer.is-active {
	opacity: 0.38;
}

.qj-characters__scrim {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(26, 20, 16, 0.82) 0%, rgba(34, 26, 40, 0.68) 45%, rgba(26, 20, 16, 0.86) 100%),
		linear-gradient(90deg, rgba(166, 139, 91, 0.06) 0%, transparent 42%, rgba(61, 47, 92, 0.1) 100%);
}

.qj-characters .qj-section__inner {
	position: relative;
	z-index: 1;
}

.qj-char-card {
	display: grid;
	grid-template-columns: minmax(280px, 1.05fr) minmax(300px, 420px);
	gap: 2rem;
	align-items: stretch;
	background: rgba(20, 16, 26, 0.94);
	border-radius: calc(var(--qj-radius) + 6px);
	box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
	padding: 1.75rem;
	min-height: 460px;
	border: 1px solid rgba(166, 139, 91, 0.28);
	overflow: hidden;
}

.qj-char-card__visual {
	display: flex;
	align-items: flex-end;
	justify-content: center;
	min-height: 420px;
	background: transparent;
	border-radius: var(--qj-radius);
	overflow: hidden;
}

.qj-char-card__img {
	width: auto;
	max-width: 100%;
	max-height: min(440px, 58vh);
	object-fit: contain;
	object-position: bottom center;
	filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.45));
}

.qj-char-card__info {
	display: grid;
	grid-template-rows: auto auto auto 1fr;
	gap: 0.85rem;
	align-content: start;
	padding: 0.25rem 0;
	min-height: 380px;
	width: 100%;
	max-width: 420px;
}

.qj-char-card__index {
	margin: 0;
	font-size: 0.82rem;
	letter-spacing: 0.12em;
	color: rgba(212, 196, 168, 0.72);
	font-variant-numeric: tabular-nums;
}

.qj-char-card__title-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	min-height: 3.25rem;
}

.qj-char-card__name {
	margin: 0;
	font-family: var(--qj-font-display);
	font-size: clamp(1.5rem, 2.5vw, 1.85rem);
	color: var(--qj-paper);
	line-height: 1.25;
	flex: 1;
	min-width: 0;
}

.qj-char-card__voice {
	width: 52px;
	height: 52px;
	border: 2px solid rgba(166, 139, 91, 0.65);
	border-radius: 50%;
	cursor: pointer;
	background: linear-gradient(145deg, rgba(166, 139, 91, 0.22), rgba(26, 20, 16, 0.85));
	position: relative;
	flex-shrink: 0;
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.qj-char-card__voice::before {
	content: "";
	position: absolute;
	left: 54%;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 7px 0 7px 12px;
	border-color: transparent transparent transparent var(--qj-gold-light);
}

.qj-char-card__voice:hover {
	transform: scale(1.08);
	border-color: var(--qj-gold-light);
	box-shadow: 0 6px 22px rgba(166, 139, 91, 0.25);
	background: linear-gradient(145deg, rgba(212, 196, 168, 0.28), rgba(26, 20, 16, 0.9));
}

.qj-char-card__voice:active,
.qj-char-card__voice.is-pressed {
	transform: scale(0.92);
}

.qj-char-card__voice.is-playing {
	border-color: var(--qj-gold-light);
	animation: qj-voice-pulse 1.4s ease-in-out infinite;
}

.qj-char-card__voice.is-playing::before {
	left: 50%;
	top: 50%;
	transform: translate(calc(-50% - 5px), -50%);
	width: 4px;
	height: 14px;
	border: none;
	background: var(--qj-gold-light);
	box-shadow: none;
}

.qj-char-card__voice.is-playing::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(calc(-50% + 5px), -50%);
	width: 4px;
	height: 14px;
	background: var(--qj-gold-light);
}

@keyframes qj-voice-pulse {
	0%, 100% { box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35), 0 0 0 0 rgba(212, 196, 168, 0.35); }
	50% { box-shadow: 0 6px 22px rgba(166, 139, 91, 0.3), 0 0 0 8px rgba(212, 196, 168, 0); }
}

.qj-char-card__cv {
	display: inline-block;
	margin: 0;
	padding: 0.4rem 1.15rem;
	align-self: start;
	background: linear-gradient(135deg, var(--qj-gold), var(--qj-gold-deep));
	color: #1a1208;
	border-radius: 999px;
	font-size: 0.88rem;
	letter-spacing: var(--qj-ls-wide);
	font-weight: 600;
}

.qj-char-card__desc {
	margin: 0;
	color: rgba(226, 219, 210, 0.82);
	font-size: 1rem;
	line-height: 1.85;
	min-height: 9.25em;
	max-height: 9.25em;
	overflow-y: auto;
	align-self: start;
}

.qj-characters__nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1.25rem;
	margin-top: 2rem;
}

.qj-characters__prev,
.qj-characters__next {
	width: 52px;
	height: 52px;
	border: 0;
	cursor: pointer;
	background: center/contain no-repeat;
	opacity: 0.9;
	transition: transform 0.2s, opacity 0.2s;
}

.qj-characters__prev:hover,
.qj-characters__next:hover {
	transform: scale(1.08);
	opacity: 1;
}

.qj-characters__prev {
	background-image: url("https://cos.52queji.com/web/queji-cn/website/images/queshi-prev.png");
}

.qj-characters__next {
	background-image: url("https://cos.52queji.com/web/queji-cn/website/images/queshi-next.png");
}

.qj-characters__thumbs {
	display: flex;
	gap: 0.85rem;
	flex-wrap: wrap;
	justify-content: center;
	max-width: min(100%, 720px);
}

.qj-characters__thumb {
	border: 3px solid rgba(255, 255, 255, 0.22);
	border-radius: 14px;
	padding: 0;
	background: rgba(255, 255, 255, 0.08);
	cursor: pointer;
	transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
	overflow: hidden;
	width: 72px;
	height: 96px;
	flex-shrink: 0;
}

.qj-characters__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
}

.qj-characters__thumb.active {
	border-color: var(--qj-gold-light);
	transform: translateY(-8px);
	box-shadow: 0 8px 24px rgba(166, 139, 91, 0.45);
}

/* ── 视听 ── */
.qj-media__panel {
	background: var(--qj-glass);
	border: 1px solid var(--qj-glass-border);
	border-radius: calc(var(--qj-radius) + 6px);
	backdrop-filter: blur(12px);
	padding: 2rem;
	min-height: 400px;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
	display: grid;
	align-items: center;
}

.qj-media__tab { display: none; grid-row: 1; grid-column: 1; }
.qj-media__tab.active { display: block; }

.qj-media__music {
	display: grid;
	grid-template-columns: min(280px, 38%) minmax(0, 1fr);
	gap: 2.5rem;
	align-items: center;
}

.qj-media__music--compact {
	grid-template-columns: auto auto;
	justify-content: center;
	gap: clamp(2rem, 4vw, 3.5rem);
}

.qj-media__playlist--compact {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 0;
}

.qj-media__tracks {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	width: 260px;
	margin: 0;
}

.qj-media__track {
	display: grid;
	grid-template-columns: 48px minmax(0, 1fr);
	align-items: center;
	gap: 0.75rem;
	width: 100%;
	min-height: 60px;
	padding: 0.55rem 0.85rem;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 12px;
	background: rgba(0, 0, 0, 0.22);
	color: inherit;
	font: inherit;
	text-align: left;
	cursor: pointer;
	transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.qj-media__track:hover {
	border-color: rgba(166, 139, 91, 0.45);
}

.qj-media__track.is-active {
	border-color: var(--qj-gold-light);
	background: rgba(166, 139, 91, 0.14);
	box-shadow: 0 4px 16px rgba(166, 139, 91, 0.18);
}

.qj-media__track-thumb {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.qj-media__track-name {
	font-size: 1.05rem;
	color: rgba(255, 255, 255, 0.72);
	line-height: 1.35;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.qj-media__track.is-active .qj-media__track-name {
	color: var(--qj-gold-light);
	font-weight: 600;
}

.qj-media__cover-wrap {
	position: relative;
	width: 250px;
	height: 250px;
	margin: 0 auto;
	background: url("https://cos.52queji.com/web/queji-cn/website/images/music-pic-bg.png") center/contain no-repeat;
}

.qj-media__cover {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 66%;
	transform: translate(-50%, -50%);
	border-radius: 50%;
}

.qj-media__cover.is-spinning {
	animation: qj-spin 24s linear infinite;
}

@keyframes qj-spin { to { transform: translate(-50%, -50%) rotate(360deg); } }

.qj-media__play {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 15%;
	transform: translate(-50%, -50%);
	border: 0;
	padding: 0;
	cursor: pointer;
	background: url("https://cos.52queji.com/web/queji-cn/website/images/shiting-music-play.png") center/contain no-repeat;
	aspect-ratio: 1;
}

.qj-media__play.is-paused {
	background-image: url("https://cos.52queji.com/web/queji-cn/website/images/shiting-music-pause.png");
}

.qj-media__playlist .swiper-slide {
	font-size: 1.05rem;
	color: rgba(255, 255, 255, 0.55);
	cursor: pointer;
	padding: 0.55rem 0;
	transition: color 0.2s;
}

.qj-media__playlist .swiper-slide-active {
	color: var(--qj-gold-light);
	font-size: 1.3rem;
	font-weight: 600;
}

.qj-chahua {
	display: grid;
	grid-template-columns: 1.4fr repeat(2, 1fr);
	grid-template-rows: repeat(2, 1fr);
	gap: 0.85rem;
	min-height: 340px;
}

.qj-chahua img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 10px;
	border: 2px solid rgba(166, 139, 91, 0.4);
	transition: transform 0.3s, border-color 0.2s, box-shadow 0.2s;
}

.qj-chahua img.qj-chahua__thumb {
	cursor: zoom-in;
}

.qj-chahua img.qj-chahua__thumb:hover {
	transform: scale(1.02);
	border-color: rgba(166, 139, 91, 0.75);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.qj-lightbox {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 9999;
	align-items: center;
	justify-content: center;
	padding: 2rem;
	background: rgba(0, 0, 0, 0.82);
}

.qj-lightbox.is-open {
	display: flex;
}

.qj-lightbox__backdrop {
	position: absolute;
	inset: 0;
	border: 0;
	padding: 0;
	background: transparent;
	cursor: zoom-out;
}

.qj-lightbox__img {
	position: relative;
	z-index: 1;
	width: min(88vw, 680px);
	max-height: 85vh;
	height: auto;
	border-radius: 12px;
	border: 2px solid rgba(166, 139, 91, 0.55);
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
	object-fit: contain;
}

.qj-lightbox__close {
	position: absolute;
	top: 1.25rem;
	right: 1.25rem;
	z-index: 2;
	width: 44px;
	height: 44px;
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.45);
	color: #fff;
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
}

.qj-chahua img.qj-chahua__main { grid-row: 1 / span 2; }

.qj-chahua__refresh {
	grid-column: 3;
	justify-self: end;
	align-self: end;
	width: 44px;
	height: 44px;
	border: 0;
	cursor: pointer;
	background: url("https://cos.52queji.com/web/queji-cn/website/images/shiting-refresh.png") center/contain no-repeat;
	transition: transform 0.3s;
}

.qj-chahua__refresh:hover { transform: rotate(180deg); }

.qj-video { position: relative; min-height: 360px; }

.qj-video__deco {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: left center;
	pointer-events: none;
}

.qj-video__frame {
	position: absolute;
	right: clamp(1.25rem, 6%, 2.5rem);
	top: clamp(1rem, 12%, 1.75rem);
	width: min(44%, 400px);
	border: 2px solid rgba(166, 139, 91, 0.5);
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.qj-video__frame img { width: 100%; height: auto; display: block; }

.qj-video__new {
	position: absolute;
	top: 0;
	right: 0;
	width: 52px;
	transform: translate(30%, -30%);
}

.qj-video__more {
	position: absolute;
	right: clamp(1rem, 5%, 2rem);
	bottom: 1rem;
	display: inline-block;
	margin: 0;
	width: auto;
	color: rgba(255, 255, 255, 0.6);
	border-bottom: 1px solid rgba(255, 255, 255, 0.25);
	text-decoration: none;
}

.qj-media__tabs {
	display: flex;
	justify-content: center;
	gap: 1.5rem;
	margin-top: 1.5rem;
}

.qj-media__tabs button {
	border: 0;
	background: none;
	padding: 0;
	cursor: pointer;
	opacity: 0.5;
	transition: transform 0.25s, opacity 0.25s;
}

.qj-media__tabs button.active {
	opacity: 1;
	transform: translateY(-10px);
	filter: drop-shadow(0 4px 12px rgba(166, 139, 91, 0.4));
}

.qj-media__tabs img { width: 68px; height: auto; }

/* ── 特色（#74417 新闻下方 + 背景图联动） ── */
.qj-features {
	position: relative;
	background: linear-gradient(168deg, var(--qj-night) 0%, var(--qj-night-soft) 50%, var(--qj-violet) 100%);
	color: var(--qj-ivory);
	overflow: hidden;
}

.qj-features__ambient {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	overflow: hidden;
}

.qj-features__bg-layer {
	position: absolute;
	inset: -2%;
	background-size: cover;
	background-position: center;
	opacity: 0;
	transition: opacity 1.4s ease;
	filter: blur(3px) saturate(1.08) brightness(0.78);
	transform: scale(1.01);
}

.qj-features__bg-layer.is-active {
	opacity: 1;
}

.qj-features__scrim {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(13, 10, 20, 0.36) 0%, rgba(13, 10, 20, 0.2) 50%, rgba(13, 10, 20, 0.32) 100%),
		linear-gradient(90deg, rgba(18, 16, 28, 0.38) 0%, rgba(18, 16, 28, 0.1) 50%, rgba(18, 16, 28, 0.06) 100%);
}

.qj-features .qj-section__inner {
	position: relative;
	z-index: 1;
}

.qj-features__carousel {
	overflow: hidden;
	padding: 1.5rem 0 2.5rem;
}

.qj-features__carousel .swiper-slide {
	width: min(680px, 88vw);
	opacity: 0.35;
	transform: scale(0.85);
	transition: transform 0.4s, opacity 0.4s;
}

.qj-features__carousel .swiper-slide-active {
	opacity: 1;
	transform: scale(1);
}

.qj-features__carousel img {
	width: 100%;
	border-radius: var(--qj-radius);
	box-shadow: var(--qj-shadow);
	object-fit: contain;
	max-height: 380px;
	margin: 0 auto;
}

.qj-features__controls {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: -0.5rem;
}

.fun-pages {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.65rem;
}

.fun-pages .swiper-pagination-bullet {
	width: 10px;
	height: 10px;
	margin: 0 !important;
	border-radius: 50%;
	background: rgba(166, 139, 91, 0.35);
	border: 1px solid rgba(166, 139, 91, 0.55);
	opacity: 1;
	transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.fun-pages .swiper-pagination-bullet-active {
	transform: scale(1.25);
	background: var(--qj-gold);
	border-color: var(--qj-gold-light);
	box-shadow: 0 0 12px rgba(166, 139, 91, 0.45);
}

/* ── 联系（暗色） ── */
.qj-contact__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.5rem;
	align-items: stretch;
}

.qj-contact__card {
	display: flex;
	flex-direction: column;
	align-items: center;
	background: var(--qj-glass);
	border: 1px solid var(--qj-glass-border);
	border-radius: var(--qj-radius);
	padding: 1.5rem 1.25rem;
	text-align: center;
	backdrop-filter: blur(8px);
	transition: transform 0.3s ease, border-color 0.3s, box-shadow 0.3s;
}

.qj-contact__card:hover {
	transform: translateY(-6px) scale(1.04);
	border-color: rgba(166, 139, 91, 0.45);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.qj-contact__card h3 {
	margin: 0 0 1rem;
	flex: 0 0 auto;
	min-height: 1.5em;
	color: var(--qj-gold-light);
	font-size: 1rem;
	letter-spacing: var(--qj-ls-nav);
}

.qj-contact__card img {
	width: 120px;
	height: 120px;
	object-fit: contain;
	margin: 0 0 0.85rem;
	border-radius: 10px;
	flex: 0 0 auto;
	transition: transform 0.3s ease;
}

.qj-contact__card:hover img {
	transform: scale(1.08);
}

.qj-contact__meta {
	margin-top: auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.25rem;
	width: 100%;
}

.qj-contact__card p {
	margin: 0;
	font-size: 0.88rem;
	color: rgba(255, 255, 255, 0.65);
	line-height: 1.45;
}

.qj-contact__card a {
	color: var(--qj-gold-light);
	text-decoration: none;
	transition: color 0.2s;
}

.qj-contact__card a:hover {
	color: var(--qj-gold);
}

/* ── Footer ── */
.qj-footer {
	position: relative;
	padding: 2.75rem 1.5rem 3.25rem;
	text-align: center;
	background: linear-gradient(180deg, var(--qj-night-soft) 0%, var(--qj-ink) 100%);
	color: rgba(255, 255, 255, 0.62);
	font-size: 0.8rem;
	line-height: 1.65;
	border-top: 1px solid rgba(212, 175, 95, 0.18);
}

.qj-footer::before {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: min(10rem, 36%);
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(212, 196, 168, 0.55), transparent);
}

.qj-footer a { color: rgba(255, 255, 255, 0.76); }
.qj-footer a:hover { color: var(--qj-gold-light); }

.qj-footer__inner {
	max-width: 40rem;
	margin: 0 auto;
}

.qj-footer__links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	margin-bottom: 1.35rem;
}

.qj-footer__links a {
	font-size: 0.84rem;
	letter-spacing: 0.02em;
	padding: 0.15rem 0;
	transition: color 0.2s;
}

.qj-footer__links a + a::before {
	content: "·";
	margin: 0 0.65rem;
	color: rgba(212, 175, 95, 0.42);
	font-weight: 400;
	pointer-events: none;
}

.qj-footer__meta {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.38rem;
	padding-top: 1.1rem;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.qj-footer__license {
	margin: 0;
	font-size: 0.82rem;
	color: rgba(255, 255, 255, 0.72);
	line-height: 1.6;
}

.qj-footer__license strong {
	font-weight: 600;
	color: rgba(255, 255, 255, 0.88);
}

.qj-footer__sep {
	margin: 0 0.35rem;
	color: rgba(212, 175, 95, 0.38);
}

.qj-footer__icp {
	margin: 0.2rem 0 0;
	font-size: 0.78rem;
}

.qj-footer__legal,
.qj-footer__corp {
	margin: 0;
	font-size: 0.74rem;
	color: rgba(255, 255, 255, 0.48);
}

.qj-totop {
	position: fixed;
	right: 1.5rem;
	bottom: 1.5rem;
	width: 52px;
	height: 52px;
	border: 0;
	border-radius: 50%;
	cursor: pointer;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.25s, transform 0.25s;
	background: url("https://cos.52queji.com/web/queji-cn/website/images/totop-active.png") center/contain no-repeat;
	z-index: 900;
	filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.qj-totop.is-visible {
	opacity: 1;
	pointer-events: auto;
}

.qj-totop:hover { transform: translateY(-3px); }

/* ── 左侧浮动 BGM（#74448） ── */
.qj-bgm {
	position: fixed;
	left: max(1rem, env(safe-area-inset-left));
	top: 50%;
	transform: translateY(-50%);
	z-index: 850;
	display: flex;
	align-items: center;
	gap: 0.65rem;
	pointer-events: none;
}

.qj-bgm__fab,
.qj-bgm__panel,
.qj-bgm__mute {
	pointer-events: auto;
}

.qj-bgm__side {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.45rem;
}

.qj-bgm__fab {
	width: 56px;
	height: 56px;
	border: 0;
	border-radius: 50%;
	padding: 0;
	cursor: pointer;
	background: rgba(18, 14, 28, 0.72);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35), inset 0 0 0 1px rgba(166, 139, 91, 0.35);
	transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
}

.qj-bgm__fab img {
	width: 36px;
	height: auto;
	display: block;
	margin: 0 auto;
}

.qj-bgm__fab:hover,
.qj-bgm.is-open .qj-bgm__fab {
	transform: scale(1.06);
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4), 0 0 0 2px rgba(166, 139, 91, 0.45);
}

.qj-bgm.is-autoplay-blocked .qj-bgm__fab {
	animation: qj-bgm-pulse 1.4s ease-in-out infinite;
}

@keyframes qj-bgm-pulse {
	0%, 100% { transform: scale(1); opacity: 1; }
	50% { transform: scale(1.06); opacity: 0.88; }
}

.qj-bgm.is-playing .qj-bgm__fab {
	background: rgba(28, 22, 40, 0.88);
	filter: drop-shadow(0 0 8px rgba(166, 139, 91, 0.35));
}

.qj-bgm__mute {
	width: 36px;
	height: 36px;
	border: 0;
	border-radius: 50%;
	padding: 0;
	cursor: pointer;
	display: grid;
	place-items: center;
	color: rgba(232, 220, 200, 0.9);
	background: rgba(18, 14, 28, 0.72);
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3), inset 0 0 0 1px rgba(166, 139, 91, 0.28);
	transition: transform 0.2s, background 0.2s, color 0.2s;
}

.qj-bgm__mute:hover {
	transform: scale(1.06);
	background: rgba(28, 22, 40, 0.88);
}

.qj-bgm__mute-icon {
	width: 18px;
	height: 18px;
	display: block;
}

.qj-bgm__mute-icon--off {
	display: none;
}

.qj-bgm.is-muted .qj-bgm__mute {
	color: rgba(166, 139, 91, 0.95);
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35), 0 0 0 2px rgba(166, 139, 91, 0.4);
}

.qj-bgm.is-muted .qj-bgm__mute-icon--on {
	display: none;
}

.qj-bgm.is-muted .qj-bgm__mute-icon--off {
	display: block;
}

.qj-bgm__panel {
	width: min(240px, calc(100vw - 5rem));
	padding: 0.85rem;
	border-radius: 14px;
	background: rgba(18, 14, 28, 0.92);
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45), inset 0 0 0 1px rgba(166, 139, 91, 0.25);
	backdrop-filter: blur(10px);
}

.qj-bgm__now {
	display: grid;
	grid-template-columns: 72px 1fr;
	gap: 0.65rem;
	align-items: center;
	margin-bottom: 0.75rem;
}

.qj-bgm__cover-wrap {
	position: relative;
	width: 72px;
	height: 72px;
	background: url("https://cos.52queji.com/web/queji-cn/website/images/music-pic-bg.png") center/contain no-repeat;
}

.qj-bgm__cover {
	width: 56px;
	height: 56px;
	object-fit: cover;
	border-radius: 8px;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.qj-bgm__cover.is-spinning {
	animation: qj-bgm-spin 8s linear infinite;
}

@keyframes qj-bgm-spin {
	to { transform: translate(-50%, -50%) rotate(360deg); }
}

.qj-bgm__play {
	position: absolute;
	inset: 0;
	margin: auto;
	width: 32px;
	height: 32px;
	border: 0;
	cursor: pointer;
	background: url("https://cos.52queji.com/web/queji-cn/website/images/shiting-music-play.png") center/contain no-repeat;
}

.qj-bgm__play.is-paused {
	background-image: url("https://cos.52queji.com/web/queji-cn/website/images/shiting-music-pause.png");
}

.qj-bgm__title {
	margin: 0;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--qj-gold-light, #e8dcc8);
	line-height: 1.35;
}

.qj-bgm__tracks {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
}

.qj-bgm__track {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	width: 100%;
	padding: 0.4rem 0.5rem;
	border: 0;
	border-radius: 8px;
	cursor: pointer;
	background: rgba(255, 255, 255, 0.04);
	color: rgba(255, 255, 255, 0.75);
	text-align: left;
	transition: background 0.2s;
}

.qj-bgm__track:hover {
	background: rgba(166, 139, 91, 0.15);
}

.qj-bgm__track.is-active {
	background: rgba(166, 139, 91, 0.22);
	color: var(--qj-gold-light, #e8dcc8);
}

.qj-bgm__track-thumb {
	width: 32px;
	height: 32px;
	border-radius: 6px;
	object-fit: cover;
	flex-shrink: 0;
}

.qj-bgm__track-name {
	font-size: 0.82rem;
	line-height: 1.3;
}

/* Hero 底部装饰线 */
.qj-hero::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--qj-gold-dim), transparent);
}

/* ── 新闻列表 / 详情（Flask 子页） ── */
body.queji-home.queji-news-page {
	background: linear-gradient(165deg, var(--qj-night) 0%, var(--qj-night-soft) 55%, var(--qj-violet) 100%);
	color: var(--qj-ivory);
}

.qj-news-page {
	position: relative;
	padding-top: var(--qj-header-h);
	min-height: 100vh;
	overflow: hidden;
}

.qj-news-page__hero {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
	pointer-events: none;
}

.qj-news-page__hero-bg {
	position: absolute;
	inset: -2%;
	background-size: cover;
	background-position: center 18%;
	filter: blur(3px) saturate(1.1) brightness(0.82);
	transform: scale(1.01);
}

.qj-news-page__hero-scrim {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(13, 10, 20, 0.32) 0%, rgba(13, 10, 20, 0.18) 50%, rgba(13, 10, 20, 0.28) 100%),
		linear-gradient(90deg, rgba(18, 16, 28, 0.42) 0%, rgba(18, 16, 28, 0.12) 48%, rgba(18, 16, 28, 0.06) 100%);
}

/* 详情页：压暗背景图，避免正文与 banner 抢对比（#74456） */
.qj-news-page__hero--detail .qj-news-page__hero-bg {
	filter: blur(4px) saturate(0.92) brightness(0.58);
}

.qj-news-page__hero--detail .qj-news-page__hero-scrim {
	background:
		linear-gradient(180deg, rgba(10, 8, 16, 0.58) 0%, rgba(10, 8, 16, 0.74) 45%, rgba(10, 8, 16, 0.82) 100%),
		linear-gradient(90deg, rgba(14, 12, 22, 0.55) 0%, rgba(14, 12, 22, 0.28) 50%, rgba(14, 12, 22, 0.18) 100%);
}

.qj-news-page__inner {
	position: relative;
	z-index: 1;
	max-width: 760px;
	margin: 0 auto;
	padding: 2.5rem 1.5rem 4rem;
}

.qj-news-page__crumb {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	font-size: 0.85rem;
	color: rgba(240, 235, 227, 0.78);
	margin-bottom: 1.25rem;
}

.qj-news-page__crumb a { color: var(--qj-gold); text-decoration: none; }
.qj-news-page__crumb a:hover { color: var(--qj-gold-light); }

.qj-news-page__title,
.qj-news-page__article-title {
	margin: 30px 0 0.75rem;
	color: var(--qj-gold-light);
	font-family: var(--qj-font-display);
	font-weight: 600;
	letter-spacing: var(--qj-ls-title, 0.04em);
	line-height: var(--qj-lh-tight, 1.25);
}

.qj-news-page__title { font-size: clamp(1.75rem, 4vw, 2.25rem); }
.qj-news-page__article-title { font-size: clamp(1.5rem, 3.5vw, 2rem); }

.qj-news-page__lead {
	margin: 0 0 2rem;
	color: rgba(240, 235, 227, 0.86);
}

.qj-news-page__list {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
}

.qj-news-page__item {
	padding: 1.1rem 1.2rem;
	border-bottom: none;
	background: rgba(18, 16, 28, 0.72);
	border: 1px solid rgba(166, 139, 91, 0.22);
	border-left: 3px solid var(--qj-gold);
	border-radius: var(--qj-radius);
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	transition: box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
	cursor: pointer;
	position: relative;
}

.qj-news-page__item:hover,
.qj-news-page__item:focus-within {
	background: rgba(18, 16, 28, 0.84);
	border-color: rgba(212, 196, 168, 0.38);
	border-left-color: var(--qj-gold-light);
	border-left-width: 4px;
	box-shadow:
		0 12px 36px rgba(0, 0, 0, 0.38),
		0 0 0 1px rgba(212, 196, 168, 0.22);
}

.qj-news-page__item-head,
.qj-news-page__item-title,
.qj-news-page__excerpt {
	/* ponytail: 让点击穿透到 .qj-news-page__item-title a::after，整卡可点（#74569） */
	pointer-events: none;
}

.qj-news-page__item-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 0.75rem;
	margin-bottom: 0.55rem;
}

.qj-news-page__tag {
	display: inline-flex;
	align-items: center;
	padding: 0.18rem 0.55rem;
	border-radius: 4px;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	line-height: 1.25;
	color: rgba(248, 242, 232, 0.96);
	background: rgba(212, 196, 168, 0.16);
	border: 1px solid rgba(212, 196, 168, 0.38);
	white-space: nowrap;
}

.qj-news-page__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.35rem;
	height: 1.35rem;
	padding: 0 0.35rem;
	border-radius: 4px;
	font-size: 0.72rem;
	font-weight: 700;
	line-height: 1;
	color: #1a1208;
	background: linear-gradient(135deg, var(--qj-gold-light) 0%, var(--qj-gold) 100%);
	box-shadow: 0 2px 8px rgba(166, 139, 91, 0.35);
}

.qj-news-page__date {
	font-size: 0.85rem;
	color: rgba(240, 235, 227, 0.8);
	font-variant-numeric: tabular-nums;
}

.qj-news-page__item-title {
	margin: 0;
	font-size: 1.1rem;
	font-weight: 500;
}

.qj-news-page__item-title a {
	color: rgba(248, 242, 232, 0.96);
	text-decoration: none;
	transition: color 0.2s;
	/* ponytail: stretched-link — /latest/ 列表整卡可点（#74569） */
	position: static;
	pointer-events: auto;
}

.qj-news-page__item-title a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

.qj-news-page__item-title a:hover { color: var(--qj-gold-light); }

.qj-news-page__excerpt {
	margin: 0.5rem 0 0;
	font-size: 0.92rem;
	color: rgba(240, 235, 227, 0.82);
	line-height: 1.65;
}

.qj-news-page__article-head { margin-bottom: 1.5rem; }

/* 详情页正文卡片：与法务页 qj-legal-doc 同思路，正文与背景图分离（#74456） */
.qj-news-page__article--panel {
	background: rgba(14, 12, 22, 0.82);
	border: 1px solid rgba(166, 139, 91, 0.24);
	border-radius: 14px;
	padding: clamp(1.35rem, 3vw, 2.25rem) clamp(1.25rem, 3vw, 2rem);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.34);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}

/* 详情页：短正文时面板不过矮（#74565） */
.qj-news-page__hero--detail ~ .qj-news-page__inner {
	display: flex;
	flex-direction: column;
	min-height: calc(100vh - var(--qj-header-h));
}

.qj-news-page__hero--detail ~ .qj-news-page__inner .qj-news-page__article--panel {
	flex: 1 1 auto;
	min-height: clamp(280px, 42vh, 460px);
}

.qj-news-page__body {
	font-size: 1rem;
	line-height: 1.85;
	color: rgba(240, 235, 227, 0.92);
}

.qj-news-page__body p {
	margin: 0 0 1rem;
}

.qj-news-page__body--md h3,
.qj-news-page__body--md h4 {
	margin: 1.35rem 0 0.75rem;
	font-family: var(--qj-font-display);
	font-size: 1.05rem;
	font-weight: 600;
	color: var(--qj-gold-light);
	line-height: var(--qj-lh-tight);
}

.qj-news-page__body--md h3:first-child,
.qj-news-page__body--md h4:first-child {
	margin-top: 0;
}

.qj-news-page__body--md ul,
.qj-news-page__body--md ol {
	margin: 0 0 1rem;
	padding-left: 1.35rem;
}

.qj-news-page__body--md li {
	margin: 0.35rem 0;
}

.qj-news-page__body--md hr {
	margin: 1.25rem 0;
	border: none;
	border-top: 1px solid rgba(166, 139, 91, 0.28);
}

.qj-news-page__body--md a {
	color: var(--qj-gold-light);
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.qj-news-page__body--md strong {
	color: rgba(248, 240, 228, 0.98);
	font-weight: 600;
}

.qj-news-page__body--md img {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 1rem 0;
	border-radius: 4px;
}

/* 法务页（/terms/、后续可复用于 /privacy/） */
.qj-legal-doc {
	background: rgba(14, 12, 22, 0.72);
	border: 1px solid rgba(166, 139, 91, 0.22);
	border-radius: 14px;
	padding: clamp(1.35rem, 3vw, 2.25rem) clamp(1.25rem, 3vw, 2rem);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
	font-size: 0.98rem;
	line-height: 1.9;
	color: rgba(236, 230, 220, 0.94);
	letter-spacing: var(--qj-ls-wide);
}

.qj-legal-doc__section + .qj-legal-doc__section {
	margin-top: 2.25rem;
	padding-top: 2rem;
	border-top: 1px solid rgba(166, 139, 91, 0.16);
}

.qj-legal-doc__heading {
	margin: 0 0 1.1rem;
	font-family: var(--qj-font-display);
	font-size: clamp(1.05rem, 2.2vw, 1.2rem);
	font-weight: 600;
	color: var(--qj-gold-light);
	letter-spacing: var(--qj-ls-title);
	line-height: var(--qj-lh-tight);
}

.qj-legal-doc__list {
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: legal-item;
}

.qj-legal-doc__item {
	position: relative;
	margin: 0 0 1rem;
	padding-left: 2rem;
	counter-increment: legal-item;
}

.qj-legal-doc__item::before {
	content: counter(legal-item) ".";
	position: absolute;
	left: 0;
	top: 0.12em;
	min-width: 1.5rem;
	font-weight: 600;
	color: var(--qj-gold);
	font-variant-numeric: tabular-nums;
}

.qj-legal-doc__item > p,
.qj-legal-doc__para {
	margin: 0 0 0.85rem;
	color: rgba(236, 230, 220, 0.92);
}

.qj-legal-doc__sublist {
	margin: 0.35rem 0 0.15rem;
	padding: 0 0 0 1.1rem;
	list-style: none;
}

.qj-legal-doc__sublist li {
	position: relative;
	margin: 0 0 0.45rem;
	padding-left: 0.85rem;
	color: rgba(226, 219, 210, 0.82);
	font-size: 0.96rem;
	line-height: 1.75;
}

.qj-legal-doc__sublist li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.62em;
	width: 0.35rem;
	height: 0.35rem;
	border-radius: 50%;
	background: rgba(201, 162, 93, 0.55);
}

.qj-legal-doc a {
	color: var(--qj-gold-light);
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.qj-legal-doc a:hover { color: var(--qj-gold); }

.qj-news-page__external a {
	color: var(--qj-gold-light);
}

.qj-news-page__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem 1.5rem;
	margin-top: 2.5rem;
}

.qj-news-page__back {
	display: inline-block;
	color: var(--qj-gold);
	text-decoration: none;
	font-size: 0.95rem;
}

.qj-news-page__back:hover { color: var(--qj-gold-light); }

.qj-news-page__empty {
	color: rgba(240, 235, 227, 0.78);
}

.qj-news-page__pager {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.75rem 1.25rem;
	margin: 2rem 0 1.5rem;
}

.qj-news-page__pager-info {
	color: rgba(240, 235, 227, 0.86);
	font-size: 0.9rem;
}

.qj-news-page__pager-btn {
	display: inline-block;
	padding: 0.45rem 1rem;
	border: 1px solid rgba(201, 162, 93, 0.45);
	border-radius: 4px;
	color: var(--qj-gold);
	text-decoration: none;
	font-size: 0.9rem;
	transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.qj-news-page__pager-btn:hover {
	color: var(--qj-gold-light);
	border-color: var(--qj-gold);
	background: rgba(201, 162, 93, 0.08);
}

.qj-news-page__pager-btn.is-disabled {
	opacity: 0.35;
	cursor: default;
	pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
	.qj-news__bg-layer { transition: none; }
	.qj-features__bg-layer { transition: none; }
}

@media (max-width: 900px) {
	:root {
		--qj-header-h: 176px;
		--qj-download-w: 168px;
	}

	/* ponytail: 移动端首屏落地 + 保留页脚；#74424 @markho；#74506 #note-3 仅剩首页入口时整栏隐藏 nav */
	body.queji-home:not(.queji-news-page) {
		--qj-header-h: 96px;
	}

	body.queji-home.queji-news-page:not(.queji-download-page) {
		--qj-header-h: 88px;
	}

	body.queji-home:not(.queji-news-page) #news,
	body.queji-home:not(.queji-news-page) #features,
	body.queji-home:not(.queji-news-page) #characters,
	body.queji-home:not(.queji-news-page) #media,
	body.queji-home:not(.queji-news-page) #contact,
	body.queji-home:not(.queji-news-page) .qj-totop,
	body.queji-home:not(.queji-news-page) .qj-bgm {
		display: none !important;
	}

	/* ponytail: 首页移动端无有效锚点导航，整栏隐藏（#74506 #note-3 @markho） */
	body.queji-home:not(.queji-news-page) .qj-header__nav {
		display: none !important;
	}

	/* ponytail: 下载落地页移动端同样隐藏顶栏导航（#74506 #note-1 @markho） */
	body.queji-home.queji-download-page {
		--qj-header-h: 96px;
	}

	body.queji-home.queji-download-page .qj-header__nav {
		display: none !important;
	}

	.qj-hero {
		min-height: 100dvh;
		max-height: none;
		align-items: center;
	}

	body.queji-home:not(.queji-news-page) .qj-footer {
		padding: 1.25rem max(1rem, env(safe-area-inset-left)) max(1.25rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-right));
		font-size: 0.72rem;
		line-height: 1.55;
	}

	body.queji-home:not(.queji-news-page) .qj-footer__links {
		margin-bottom: 1rem;
	}

	body.queji-home:not(.queji-news-page) .qj-footer__links a {
		font-size: 0.76rem;
	}

	body.queji-home:not(.queji-news-page) .qj-footer__links a + a::before {
		margin: 0 0.45rem;
	}

	body.queji-home:not(.queji-news-page) .qj-footer__license {
		font-size: 0.74rem;
	}

	body.queji-home:not(.queji-news-page) .qj-footer__sep {
		display: none;
	}

	body.queji-home:not(.queji-news-page) .qj-footer__license span:not(.qj-footer__sep) {
		display: block;
	}

	body.queji-home:not(.queji-news-page) .qj-footer__license strong {
		display: block;
		margin-bottom: 0.15rem;
	}

	.qj-header__inner {
		flex-wrap: wrap;
		justify-content: center;
		align-items: center;
		padding: 0.4rem 1rem 0.5rem;
		gap: 0.3rem 0.45rem;
	}

	.qj-header__logo {
		display: flex;
		justify-content: center;
		flex: 1 1 100%;
	}

	.qj-header__logo img {
		height: 130px;
	}

	.qj-header__toggle { display: none; }

	.qj-header__nav {
		display: flex !important;
		flex: 1 1 100%;
		justify-content: center;
		flex-wrap: wrap;
		gap: 0.18rem 0.53rem;
	}

	.qj-header__nav a {
		font-size: 1.58rem;
		padding: 0.44rem 0.98rem;
		border-bottom-width: 3px;
	}

	/* ponytail: 子页（新闻/牌谱等）移动端顶栏收进右上角菜单（#74575） */
	body.queji-home.queji-news-page:not(.queji-download-page) {
		--qj-header-h: 56px;
	}

	body.queji-home.queji-news-page:not(.queji-download-page) .qj-header__inner {
		flex-wrap: nowrap;
		justify-content: flex-start;
		align-items: center;
		padding: 0.35rem max(0.75rem, env(safe-area-inset-left)) 0.35rem max(0.75rem, env(safe-area-inset-right));
		gap: 0.45rem;
	}

	body.queji-home.queji-news-page:not(.queji-download-page) .qj-header__logo {
		flex: 1 1 auto;
		justify-content: flex-start;
	}

	body.queji-home.queji-news-page:not(.queji-download-page) .qj-header__logo img {
		height: 44px;
	}

	body.queji-home.queji-news-page:not(.queji-download-page) .qj-header__account {
		order: 2;
		margin-left: auto;
		flex-shrink: 0;
	}

	body.queji-home.queji-news-page:not(.queji-download-page) .qj-header__account-login,
	body.queji-home.queji-news-page:not(.queji-download-page) .qj-header__account-user {
		font-size: 0.82rem;
		padding: 0.35rem 0.65rem;
	}

	body.queji-home.queji-news-page:not(.queji-download-page) .qj-header__toggle {
		display: block;
		order: 3;
		flex-shrink: 0;
		margin-left: 0.15rem;
	}

	body.queji-home.queji-news-page:not(.queji-download-page) .qj-header.is-open .qj-header__toggle {
		background-image: none;
	}

	body.queji-home.queji-news-page:not(.queji-download-page) .qj-header.is-open .qj-header__toggle::before,
	body.queji-home.queji-news-page:not(.queji-download-page) .qj-header.is-open .qj-header__toggle::after {
		content: "";
		position: absolute;
		left: 50%;
		top: 50%;
		width: 20px;
		height: 2px;
		margin-left: -10px;
		margin-top: -1px;
		background: var(--qj-gold-light, #e8c896);
		border-radius: 1px;
	}

	body.queji-home.queji-news-page:not(.queji-download-page) .qj-header.is-open .qj-header__toggle::before {
		transform: rotate(45deg);
	}

	body.queji-home.queji-news-page:not(.queji-download-page) .qj-header.is-open .qj-header__toggle::after {
		transform: rotate(-45deg);
	}

	body.queji-home.queji-news-page:not(.queji-download-page) .qj-header__toggle {
		position: relative;
	}

	body.queji-home.queji-news-page:not(.queji-download-page) .qj-header__nav {
		display: none !important;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		flex: none;
		flex-direction: column;
		align-items: stretch;
		flex-wrap: nowrap;
		justify-content: flex-start;
		gap: 0.15rem;
		padding: 0.45rem 0.65rem 0.65rem;
		background: rgba(13, 10, 20, 0.96);
		backdrop-filter: blur(12px);
		-webkit-backdrop-filter: blur(12px);
		border-bottom: 1px solid rgba(232, 200, 150, 0.16);
		box-shadow: 0 10px 28px rgba(0, 0, 0, 0.38);
		max-height: min(70dvh, 420px);
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
	}

	body.queji-home.queji-news-page:not(.queji-download-page) .qj-header.is-open .qj-header__nav {
		display: flex !important;
	}

	body.queji-home.queji-news-page:not(.queji-download-page) .qj-header__nav a {
		font-size: 1.05rem;
		padding: 0.65rem 0.85rem;
		border-bottom: none;
		border-radius: 8px;
	}

	.qj-hero__content {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		flex: 1;
		text-align: center;
		padding-bottom: max(2rem, env(safe-area-inset-bottom));
	}

	.qj-hero__headline {
		align-items: center;
		width: 100%;
		margin-inline: auto;
		margin-bottom: 1rem;
	}

	.qj-hero__title-img {
		display: none;
	}

	.qj-hero__pitch {
		display: flex;
		flex-direction: column;
		align-items: center;
		width: 80vw;
		max-width: 80vw;
		margin-inline: auto;
		text-align: center;
	}

	.qj-hero__headline .qj-hero__pitch-line {
		text-align: center;
	}

	.qj-hero__headline .qj-hero__pitch-line:first-child {
		font-size: clamp(1.08rem, 5.1vw, 1.86rem);
		font-weight: 700;
		letter-spacing: 0.05em;
		color: #fff6ea;
		background: none;
		-webkit-background-clip: border-box;
		background-clip: border-box;
		filter: none;
		text-shadow:
			0 0 2px rgba(0, 0, 0, 1),
			0 1px 0 rgba(0, 0, 0, 0.95),
			0 3px 10px rgba(0, 0, 0, 0.82),
			0 0 28px rgba(212, 196, 168, 0.4);
	}

	.qj-hero__headline .qj-hero__pitch-line:first-child::after {
		width: 4.5rem;
		height: 2px;
		margin: 0.65rem auto 0.55rem;
		opacity: 1;
	}

	.qj-hero__headline .qj-hero__pitch-line:last-child {
		font-size: clamp(0.86rem, 3.72vw, 1.26rem);
		font-weight: 600;
		color: #fff;
		letter-spacing: 0.08em;
		text-shadow:
			0 0 2px rgba(0, 0, 0, 1),
			0 2px 6px rgba(0, 0, 0, 0.88),
			0 0 24px rgba(212, 196, 168, 0.32);
	}

	body.queji-home:not(.queji-news-page) .qj-hero__badge {
		display: none; /* #74556 #note-4: 移动端隐藏 16+ 标 */
	}

	.qj-hero__cta-row {
		display: flex;
		width: min(100%, 440px);
		margin-inline: auto;
		margin-top: 100px; /* #74556 #note-5: 下载区下移 */
		flex-direction: column;
		align-items: center;
		gap: 0;
	}

	.qj-hero__downloads {
		width: min(100%, 440px);
		max-width: 100%;
		margin-inline: auto;
		flex-direction: row;
		align-items: center;
		justify-content: center;
		gap: 1rem 1.25rem;
		padding: 1.25rem 1.35rem;
	}

	.qj-hero__qr,
	.qj-hero__stores {
		flex: 1 1 0;
		width: auto;
		min-width: 0;
		max-width: var(--qj-download-w);
	}

	.qj-hero__stores {
		align-self: stretch;
		justify-content: center;
	}

	.qj-btn-store {
		min-height: 56px;
		padding: 0.55rem 0.75rem;
	}

	.qj-news__grid,
	.qj-char-card,
	.qj-media__music { grid-template-columns: 1fr; }

	.qj-char-card {
		min-height: auto;
		padding: 1.25rem;
	}

	.qj-char-card__visual { min-height: 280px; }
	.qj-char-card__img { max-height: 280px; }
	.qj-char-card__info { min-height: 0; }
	.qj-news__item { grid-template-columns: 1fr; }
	.qj-news__item-meta { justify-content: flex-start; }
	.qj-chahua { grid-template-columns: 1fr 1fr; }
	.qj-chahua img.qj-chahua__main { grid-row: auto; grid-column: 1 / span 2; }

	.qj-video { min-height: 240px; }
	.qj-video__frame {
		position: relative;
		right: auto;
		top: auto;
		width: 100%;
		max-width: 360px;
		margin: 0.75rem auto 0;
	}
	.qj-video__more { right: 0.75rem; bottom: 0.75rem; }

	.qj-features__carousel .swiper-slide { width: min(88vw, 340px); }
	.qj-pv__carousel .swiper-slide { width: min(88vw, 340px); }
	.qj-media__music--compact .qj-media__tracks { flex-wrap: wrap; justify-content: center; }

	.qj-contact__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
	:root {
		--qj-header-h: 162px;
		--qj-download-w: 148px;
	}

	body.queji-home:not(.queji-news-page) {
		--qj-header-h: 88px;
	}

	body.queji-home.queji-news-page:not(.queji-download-page) {
		--qj-header-h: 56px;
	}

	body.queji-home.queji-download-page {
		--qj-header-h: 88px;
	}

	.qj-header__inner {
		padding-inline: max(1rem, env(safe-area-inset-left)) max(1rem, env(safe-area-inset-right));
	}

	.qj-header__logo img { height: 115px; }

	.qj-header__nav a {
		font-size: 1.5rem;
		padding: 0.39rem 0.89rem;
	}

	.qj-hero__downloads {
		width: min(100%, 380px);
		padding: 1.1rem 1.15rem;
		gap: 0.85rem 1rem;
	}

	.qj-hero__content {
		padding-inline: max(1rem, env(safe-area-inset-left)) max(1rem, env(safe-area-inset-right));
	}

	.qj-hero__headline {
		margin-bottom: 0.85rem;
	}

	.qj-hero__pitch {
		width: 80vw;
		max-width: 80vw;
	}

	.qj-hero__headline .qj-hero__pitch-line:first-child {
		font-size: clamp(1.03rem, 4.8vw, 1.54rem);
		letter-spacing: 0.04em;
	}

	.qj-hero__headline .qj-hero__pitch-line:last-child {
		font-size: clamp(0.91rem, 3.84vw, 1.26rem);
		letter-spacing: 0.06em;
	}

	.qj-btn-store__name { font-size: 0.95rem; }

	.qj-char-card__visual { min-height: 240px; }
	.qj-char-card__img { max-height: 240px; }
	.qj-totop { right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom)); }

	.qj-contact__grid {
		grid-template-columns: 1fr;
		max-width: 280px;
		margin-inline: auto;
	}
}

/* 扫码下载落地页 (#74504) */
.qj-download-page {
	display: flex;
	justify-content: center;
	align-items: flex-start;
	min-height: calc(100vh - var(--qj-header-h) - 4rem);
	padding: 1.5rem 1.25rem 3rem;
}

.qj-download-page__card {
	width: min(100%, 520px);
	padding: 2rem 1.75rem 1.75rem;
	border-radius: calc(var(--qj-radius) + 4px);
	background: rgba(13, 10, 20, 0.82);
	border: 1px solid rgba(212, 196, 168, 0.28);
	box-shadow: 0 16px 48px rgba(0, 0, 0, 0.42);
	text-align: center;
}

.qj-download-page__badge {
	display: inline-block;
	margin: 0 0 0.85rem;
	padding: 0.25rem 0.75rem;
	border-radius: 999px;
	font-size: 0.78rem;
	letter-spacing: 0.08em;
	color: var(--qj-gold-light);
	border: 1px solid rgba(212, 196, 168, 0.45);
	background: rgba(166, 139, 91, 0.12);
}

.qj-download-page__title {
	margin: 0 0 0.75rem;
	font-family: var(--qj-font-display);
	font-size: clamp(1.35rem, 4vw, 1.65rem);
	color: var(--qj-gold-light);
	line-height: 1.25;
}

.qj-download-page__lead {
	margin: 0 0 0.65rem;
	font-size: 1rem;
	line-height: 1.65;
	color: rgba(255, 250, 245, 0.88);
}

.qj-download-page__hint {
	margin: 0 0 1.35rem;
	font-size: 0.88rem;
	color: rgba(255, 250, 245, 0.58);
}

.qj-download-page__actions {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0.85rem;
	margin-bottom: 1.5rem;
}

.qj-download-page__cta {
	justify-content: center;
	width: 100%;
	max-width: 320px;
	margin-inline: auto;
}

.qj-download-page__stores {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0.85rem;
}

.qj-download-page__stores .qj-btn-store {
	justify-content: center;
	width: 100%;
}

.qj-download-page__nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.35rem 0.5rem;
	padding-top: 1.25rem;
	border-top: 1px solid rgba(212, 196, 168, 0.18);
	font-size: 0.92rem;
}

.qj-download-page__nav-link {
	color: var(--qj-gold-light);
	text-decoration: none;
}

.qj-download-page__nav-link:hover {
	text-decoration: underline;
}

.qj-download-page__nav-sep {
	color: rgba(255, 250, 245, 0.35);
}

.qj-download-page__nav-soon {
	color: rgba(255, 250, 245, 0.42);
	cursor: not-allowed;
}

@media (max-width: 600px) {
	.qj-download-page {
		padding-inline: max(1rem, env(safe-area-inset-left)) max(1rem, env(safe-area-inset-right));
	}

	.qj-download-page__card {
		padding: 1.5rem 1.15rem 1.35rem;
	}
}

/* 雀士资料页 (#74466) */
.qj-players-page {
	position: relative;
	min-height: calc(100vh - var(--qj-header-h));
	/* ponytail: main.qj-news-page 已有 padding-top: header-h，此处勿重复（#74466 #note-11） */
	padding: 0.15rem 0 2.5rem;
	background: linear-gradient(168deg, #1a1410 0%, #221a28 42%, #2a1838 100%);
	color: var(--qj-ivory);
	overflow: hidden;
}

.qj-players-page__ambient {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	overflow: hidden;
}

.qj-players-page__bg-layer {
	position: absolute;
	inset: -8%;
	background-size: cover;
	background-position: center 10%;
	opacity: 0;
	will-change: opacity;
	filter: saturate(1.08) brightness(0.78) blur(2px);
}

.qj-players-page__bg-layer.is-active {
	opacity: 0.58;
}

@media (prefers-reduced-motion: no-preference) {
	.qj-players-page--gsap-bg .qj-players-page__bg-layer {
		transition: none;
	}
}

.qj-players-page__scrim {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(26, 20, 16, 0.42) 0%, rgba(34, 26, 40, 0.28) 45%, rgba(26, 20, 16, 0.52) 100%),
		linear-gradient(90deg, rgba(166, 139, 91, 0.1) 0%, transparent 38%, rgba(61, 47, 92, 0.14) 100%);
}

.qj-players-page__inner {
	position: relative;
	z-index: 1;
	width: min(100%, var(--qj-max));
	margin: 0 auto;
	padding: 0 1.25rem;
}

.qj-players-page .qj-news-page__crumb {
	margin-bottom: 0.35rem;
}

.qj-players-page__header {
	margin-bottom: 0.65rem;
	text-align: center;
}

.qj-players-page__title {
	margin: 0 0 0.65rem;
	font-family: var(--qj-font-display);
	font-size: clamp(1.5rem, 3vw, 1.85rem);
	font-weight: 600;
	color: var(--qj-gold-light);
	text-align: center;
	line-height: 1.2;
	letter-spacing: var(--qj-ls-title, 0.04em);
}

.qj-players-page__lead {
	margin: 0;
	color: rgba(255, 250, 245, 0.72);
	font-size: 0.95rem;
}

.qj-players-page__layout {
	display: grid;
	grid-template-columns: minmax(0, 400px) minmax(0, 1fr);
	gap: 1.5rem;
	align-items: stretch;
}

.qj-players-grid {
	min-height: 0;
	border-radius: calc(var(--qj-radius) + 2px);
	background: rgba(13, 10, 20, 0.78);
	border: 1px solid rgba(212, 196, 168, 0.24);
	box-shadow: 0 12px 36px rgba(0, 0, 0, 0.32);
	overflow: hidden;
}

.qj-players-grid__scroll {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.75rem;
	padding: 1rem;
	max-height: min(74vh, 680px);
	overflow-y: auto;
	overscroll-behavior: contain;
	scrollbar-width: thin;
	scrollbar-color: rgba(166, 139, 91, 0.62) rgba(13, 10, 20, 0.55);
}

.qj-players-grid__scroll::-webkit-scrollbar {
	width: 9px;
}

.qj-players-grid__scroll::-webkit-scrollbar-track {
	margin: 4px 0;
	background: rgba(13, 10, 20, 0.55);
	border-radius: 999px;
	border: 1px solid rgba(212, 196, 168, 0.08);
}

.qj-players-grid__scroll::-webkit-scrollbar-thumb {
	background: linear-gradient(180deg, rgba(212, 196, 168, 0.72), rgba(166, 139, 91, 0.92));
	border-radius: 999px;
	border: 1px solid rgba(13, 10, 20, 0.35);
}

.qj-players-grid__item {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0.4rem;
	width: 100%;
	padding: 0;
	border: none;
	border-radius: 0;
	background: transparent;
	cursor: pointer;
	transition: transform 0.15s ease;
}

.qj-players-grid__frame {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 1;
	padding: 4px;
	border-radius: 12px;
	border: 2px solid rgba(212, 196, 168, 0.22);
	background:
		linear-gradient(145deg, rgba(166, 139, 91, 0.14), rgba(13, 10, 20, 0.55));
	box-shadow: inset 0 0 0 1px rgba(255, 250, 245, 0.06);
	overflow: hidden;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.qj-players-grid__frame img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border-radius: 8px;
}

.qj-players-grid__avatar:not([src]) {
	opacity: 0;
}

.qj-players-grid__avatar[src] {
	opacity: 1;
	transition: opacity 0.15s ease;
}

.qj-players-grid__item:hover {
	transform: translateY(-2px);
}

.qj-players-grid__item:hover .qj-players-grid__frame {
	border-color: rgba(212, 196, 168, 0.52);
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.28), inset 0 0 0 1px rgba(255, 250, 245, 0.08);
}

.qj-players-grid__item.is-active .qj-players-grid__frame {
	border-color: var(--qj-gold);
	box-shadow:
		0 0 0 1px rgba(166, 139, 91, 0.45),
		0 8px 22px rgba(0, 0, 0, 0.38),
		inset 0 0 0 1px rgba(255, 250, 245, 0.1);
}

.qj-players-grid__name {
	display: block;
	text-align: center;
	font-family: var(--qj-font-display);
	font-size: 0.76rem;
	line-height: 1.3;
	letter-spacing: 0.06em;
	color: rgba(226, 219, 210, 0.72);
	padding: 0 0.1rem;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	transition: color 0.2s ease, text-shadow 0.2s ease;
}

.qj-players-grid__item:hover .qj-players-grid__name {
	color: rgba(255, 250, 245, 0.9);
}

.qj-players-grid__item.is-active .qj-players-grid__name {
	color: var(--qj-gold-light);
	text-shadow: 0 0 10px rgba(212, 196, 168, 0.4);
}

.qj-players-grid__item.is-active .qj-players-grid__frame::after {
	content: '';
	position: absolute;
	left: 12%;
	right: 12%;
	bottom: 0;
	height: 2px;
	background: linear-gradient(90deg, transparent, var(--qj-gold-light), transparent);
	opacity: 0.85;
}

.qj-players-detail {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(280px, 380px);
	gap: 1.5rem;
	padding: 1.5rem;
	border-radius: calc(var(--qj-radius) + 2px);
	background: rgba(20, 16, 26, 0.92);
	border: 1px solid rgba(212, 196, 168, 0.26);
	box-shadow: 0 16px 48px rgba(0, 0, 0, 0.42);
	min-height: 560px;
}

.qj-players-detail__visual {
	display: flex;
	align-items: flex-end;
	justify-content: center;
	height: min(560px, 62vh);
	min-height: 500px;
	padding: 0.5rem;
	background:
		radial-gradient(ellipse 80% 70% at 50% 100%, rgba(166, 139, 91, 0.12), transparent 70%);
	border-radius: var(--qj-radius);
	position: relative;
	overflow: hidden;
}

.qj-players-detail__visual.is-loading .qj-players-detail__lihui {
	opacity: 0.55;
	transition: opacity 0.25s ease;
}

.qj-players-detail__visual.is-loading::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 1;
	background: rgba(13, 10, 20, 0.18);
	opacity: 1;
	transition: opacity 0.25s ease;
	pointer-events: none;
}

.qj-players-detail__visual.is-loading::after {
	content: '';
	position: absolute;
	left: 50%;
	bottom: 38%;
	z-index: 2;
	width: 2rem;
	height: 2rem;
	margin-left: -1rem;
	border: 2px solid rgba(212, 196, 168, 0.2);
	border-top-color: var(--qj-gold-light);
	border-radius: 50%;
	animation: qj-players-spin 0.85s linear infinite;
	opacity: 0.85;
	transition: opacity 0.25s ease;
}

@keyframes qj-players-spin {
	to { transform: rotate(360deg); }
}

.qj-players-detail__lihui {
	height: 100%;
	width: auto;
	max-width: none;
	max-height: 100%;
	object-fit: contain;
	object-position: bottom center;
	filter: drop-shadow(0 12px 32px rgba(0, 0, 0, 0.5));
	transition: opacity 0.3s ease;
	flex-shrink: 0;
}

.qj-players-detail__profile {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	min-width: 0;
	height: min(560px, 62vh);
	min-height: 500px;
	overflow: hidden;
}

.qj-players-detail__profile-title {
	margin: 0;
	font-family: var(--qj-font-display);
	font-size: 1.15rem;
	color: var(--qj-gold-light);
	letter-spacing: 0.06em;
	padding-bottom: 0.5rem;
	border-bottom: 1px solid rgba(212, 196, 168, 0.22);
	flex-shrink: 0;
}

.qj-players-profile__meta {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.45rem 0.65rem;
	margin: 0;
	padding: 0.65rem 0.75rem;
	border: 1px solid rgba(212, 196, 168, 0.18);
	border-radius: 10px;
	background: rgba(13, 10, 20, 0.45);
	flex-shrink: 0;
}

.qj-players-profile__meta-row {
	display: contents;
}

.qj-players-profile__meta dt {
	margin: 0;
	font-size: 0.78rem;
	font-weight: 600;
	color: rgba(212, 196, 168, 0.78);
	letter-spacing: 0.04em;
}

.qj-players-profile__meta dd {
	margin: 0;
	font-size: 0.92rem;
	color: rgba(255, 250, 245, 0.9);
	min-height: 1.35rem;
}

.qj-players-profile__sections {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
	flex: 1;
	min-height: 0;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding-right: 0.15rem;
	scrollbar-width: thin;
	scrollbar-color: rgba(166, 139, 91, 0.55) rgba(13, 10, 20, 0.45);
}

.qj-players-profile__sections::-webkit-scrollbar {
	width: 8px;
}

.qj-players-profile__sections::-webkit-scrollbar-track {
	background: rgba(13, 10, 20, 0.45);
	border-radius: 999px;
}

.qj-players-profile__sections::-webkit-scrollbar-thumb {
	background: linear-gradient(180deg, rgba(212, 196, 168, 0.65), rgba(166, 139, 91, 0.85));
	border-radius: 999px;
}

.qj-players-profile__section {
	display: flex;
	flex-direction: column;
	border: 1px solid rgba(212, 196, 168, 0.18);
	border-radius: 10px;
	background: rgba(13, 10, 20, 0.45);
	flex-shrink: 0;
}

.qj-players-profile__section-title {
	margin: 0;
	padding: 0.55rem 0.75rem;
	font-size: 0.84rem;
	font-weight: 600;
	color: rgba(212, 196, 168, 0.88);
	background: rgba(13, 10, 20, 0.55);
	border-bottom: 1px solid rgba(212, 196, 168, 0.18);
}

/* ponytail: 仅 .qj-players-profile__sections 滚动，分区 body 自然高度（#74670 打回） */
.qj-players-profile__section-body {
	padding: 0.65rem 0.75rem;
}

.qj-players-profile__section-body p {
	margin: 0;
	font-size: 0.92rem;
	line-height: 1.7;
	color: rgba(255, 250, 245, 0.82);
}

.qj-players-skins__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
}

.qj-players-skins__item {
	display: flex;
	flex-direction: column;
	gap: 0.28rem;
	padding-bottom: 0.55rem;
	border-bottom: 1px solid rgba(212, 196, 168, 0.12);
}

.qj-players-skins__item:last-child {
	padding-bottom: 0;
	border-bottom: none;
}

.qj-players-skins__name {
	font-size: 0.9rem;
	font-weight: 600;
	color: rgba(255, 250, 245, 0.92);
	line-height: 1.4;
}

.qj-players-skins__access .qj-players-access__item {
	font-size: 0.84rem;
}

.qj-players-skins__empty {
	margin: 0;
	font-size: 0.88rem;
	color: rgba(212, 196, 168, 0.62);
}

.qj-players-access__list {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
}

.qj-players-access__item {
	display: flex;
	flex-wrap: nowrap;
	align-items: baseline;
	gap: 0.15rem;
	line-height: 1.45;
	white-space: nowrap;
}

.qj-players-access__label {
	flex: 0 1 auto;
}

.qj-players-access__note {
	flex: 0 0 auto;
	opacity: 0.92;
}

.qj-players-access__item.is-unavailable,
.qj-players-access__item.is-unavailable .qj-players-access__label {
	color: rgba(212, 196, 168, 0.62);
}

.qj-players-access__item.is-available,
.qj-players-access__item.is-available .qj-players-access__label {
	color: #8fd98f;
}

.qj-players-grid__obtain-badge,
.qj-players-grid__limit-badge {
	position: absolute;
	white-space: nowrap;
	pointer-events: none;
	z-index: 2;
}

.qj-players-grid__obtain-badge {
	top: 0.16rem;
	right: 0.12rem;
	padding: 0.02rem 0.2rem;
	border-radius: 4px;
	font-size: 0.48rem;
	line-height: 1.25;
	font-weight: 500;
	letter-spacing: 0;
	color: rgba(168, 214, 160, 0.82);
	background: rgba(10, 14, 12, 0.52);
	border: 1px solid rgba(143, 217, 143, 0.18);
	box-shadow: none;
	opacity: 0.9;
}

.qj-players-grid__limit-badge {
	top: 0.16rem;
	left: 0.12rem;
	padding: 0.04rem 0.24rem;
	border-radius: 999px;
	font-size: 0.5rem;
	line-height: 1.2;
	font-weight: 500;
	letter-spacing: 0.02em;
	color: rgba(255, 248, 225, 0.88);
	background: rgba(40, 28, 8, 0.55);
	border: 1px solid rgba(255, 213, 128, 0.22);
	box-shadow: none;
}


/* ponytail: 旧 .qj-players-profile__bio 已由分区卡片替代（#74670） */

.qj-players-detail__voice {
	flex-shrink: 0;
}

@media (max-width: 900px) {
	.qj-players-page {
		padding-bottom: 1.75rem;
	}

	.qj-players-page__inner {
		padding-inline: max(0.85rem, env(safe-area-inset-left)) max(0.85rem, env(safe-area-inset-right));
	}

	.qj-players-page__layout {
		grid-template-columns: 1fr;
		gap: 1rem;
	}

	.qj-players-grid__scroll {
		max-height: 220px;
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 0.55rem;
		padding: 0.75rem;
	}

	.qj-players-grid__name {
		font-size: 0.68rem;
		line-height: 1.25;
	}

	.qj-players-detail {
		grid-template-columns: 1fr;
		min-height: 0;
		padding: 1rem;
		gap: 1rem;
	}

	.qj-players-detail__visual {
		height: auto;
		min-height: 0;
		max-height: min(320px, 42vh);
		padding: 0.35rem;
	}

	.qj-players-detail__lihui {
		max-width: 100%;
		max-height: min(300px, 40vh);
	}

	.qj-players-detail__profile {
		height: auto;
		min-height: 0;
		overflow: visible;
	}

	.qj-players-profile__sections {
		overflow: visible;
	}
}

@media (max-width: 600px) {
	.qj-players-grid__scroll {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		max-height: 240px;
	}

	.qj-players-detail__visual {
		max-height: min(280px, 38vh);
	}

	.qj-players-detail__lihui {
		max-height: min(260px, 36vh);
	}

	.qj-players-profile__table th,
	.qj-players-profile__table td {
		padding: 0.45rem 0.35rem;
		font-size: 0.86rem;
	}
}

/* 玩家账号登录 / 个人中心 (#74463) */
.qj-header__account {
	display: flex;
	align-items: center;
	gap: 0.5rem 0.75rem;
	flex-shrink: 0;
}

.qj-header__account-login,
.qj-header__account-user {
	color: #fff;
	font-family: var(--qj-font-display);
	font-size: 0.95rem;
	font-weight: 600;
	padding: 0.45rem 0.85rem;
	border: 1px solid var(--qj-nav-border);
	border-radius: 999px;
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.65);
	transition: color 0.2s, border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.qj-header__account-login:hover,
.qj-header__account-user:hover {
	color: var(--qj-nav-text-hover);
	border-color: var(--qj-nav-border-strong);
	background: var(--qj-nav-pill-hover);
}

.qj-header__account-logout {
	margin: 0;
}

.qj-header__account-logout button {
	color: rgba(255, 250, 245, 0.82);
	font-size: 0.82rem;
	padding: 0.35rem 0.65rem;
	border: 1px solid var(--qj-nav-border);
	border-radius: 999px;
	background: rgba(13, 10, 20, 0.35);
	cursor: pointer;
}

.qj-header__account-logout button:hover {
	border-color: var(--qj-nav-border-strong);
	color: var(--qj-nav-text-hover);
}

/* ── 账号登录 / 个人中心（Flask 子页 #74509） ── */
body.queji-home.queji-account-page {
	background: linear-gradient(165deg, var(--qj-night) 0%, var(--qj-night-soft) 55%, var(--qj-violet) 100%);
	color: var(--qj-ivory);
}

body.queji-home.queji-account-page:not(.queji-account-page--login) {
	overflow: hidden;
}

.qj-account-page__ambient {
	position: fixed;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	overflow: hidden;
}

.qj-account-page__bg {
	position: absolute;
	inset: -4%;
	background-size: cover;
	background-position: center 22%;
	filter: blur(4px) saturate(1.05) brightness(0.62);
	transform: scale(1.02);
}

.qj-account-page__scrim {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(13, 10, 20, 0.45) 0%, rgba(13, 10, 20, 0.28) 42%, rgba(13, 10, 20, 0.55) 100%),
		linear-gradient(90deg, rgba(18, 16, 28, 0.5) 0%, rgba(18, 16, 28, 0.15) 50%, rgba(18, 16, 28, 0.35) 100%);
}

.qj-account-main {
	position: relative;
	z-index: 1;
	height: 100vh;
	box-sizing: border-box;
	min-height: 0;
	padding: calc(var(--qj-header-h) + 2rem) 1.5rem 2rem;
	display: flex;
	justify-content: center;
	align-items: stretch;
}

body.queji-account-page--login .qj-account-main {
	align-items: center;
	min-height: 100vh;
	padding-top: calc(var(--qj-header-h) + 1.5rem);
	padding-bottom: 2.5rem;
}

.qj-account-crumb {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	font-size: 0.85rem;
	color: rgba(226, 219, 210, 0.62);
	margin: 0 0 1rem;
}

.qj-account-crumb a {
	color: var(--qj-gold);
	text-decoration: none;
}

.qj-account-crumb a:hover { color: var(--qj-gold-light); }

.qj-account-card {
	width: min(100%, 546px);
	padding: 2rem 1.75rem;
	border-radius: 16px;
	background: rgba(13, 10, 20, 0.82);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border: 1px solid rgba(212, 196, 168, 0.28);
	box-shadow: 0 20px 56px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 250, 245, 0.06);
}

.qj-account-card--login::before {
	content: "";
	display: block;
	height: 3px;
	margin: -2rem -1.75rem 1.25rem;
	border-radius: 16px 16px 0 0;
	background: linear-gradient(90deg, transparent, var(--qj-gold-light), var(--qj-gold), transparent);
	opacity: 0.85;
}

.qj-account-card--wide { width: min(100%, 936px); }

.qj-account-card--hub {
	display: flex;
	flex-direction: column;
	flex: 0 1 auto;
	width: min(100%, 936px);
	min-height: 0;
	max-height: 100%;
	margin: 0 auto;
	padding: 0;
	overflow: hidden;
}

.qj-account-card--hub .qj-account-card__header {
	flex-shrink: 0;
	padding: 1.75rem 1.75rem 0;
}

.qj-account-card--hub h1 {
	margin: 0 0 0.35rem;
}

.qj-account-card--hub .qj-account-card__foot {
	flex-shrink: 0;
	margin: 0;
	padding: 0.85rem 1.75rem 1.35rem;
	border-top: 1px solid rgba(212, 196, 168, 0.14);
}

.qj-account-scroll {
	flex: 1 1 auto;
	min-height: 0;
	overflow-x: hidden;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
	scrollbar-gutter: stable;
	scrollbar-width: thin;
	scrollbar-color: rgba(166, 139, 91, 0.62) rgba(13, 10, 20, 0.55);
}

.qj-account-scroll.is-loading {
	opacity: 0.72;
	pointer-events: none;
}

.qj-account-scroll::-webkit-scrollbar {
	width: 9px;
}

.qj-account-scroll::-webkit-scrollbar-track {
	margin: 4px 0;
	background: rgba(13, 10, 20, 0.55);
	border-radius: 999px;
	border: 1px solid rgba(212, 196, 168, 0.08);
}

.qj-account-scroll::-webkit-scrollbar-thumb {
	background: linear-gradient(180deg, rgba(212, 196, 168, 0.72), rgba(166, 139, 91, 0.92));
	border-radius: 999px;
	border: 1px solid rgba(13, 10, 20, 0.35);
}

.qj-account-scroll__inner {
	padding: 1rem 1.75rem 1.5rem;
}

.qj-account-subnav {
	position: sticky;
	top: 0;
	z-index: 2;
	margin: 0 -1.75rem;
	padding: 0 1.75rem 0.35rem;
	background:
		linear-gradient(180deg, rgba(13, 10, 20, 0.98) 0%, rgba(13, 10, 20, 0.94) 72%, rgba(13, 10, 20, 0) 100%);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

.qj-account-subnav .qj-account-ach-tabs {
	margin: 0;
}

.qj-account-card--login {
	width: min(100%, 546px);
}

.qj-account-card--login .qj-account-form {
	gap: 1rem;
}

.qj-account-card h1 {
	margin: 0 0 0.5rem;
	font-family: var(--qj-font-display);
	font-size: 1.6rem;
	color: var(--qj-gold-light);
}

.qj-account-card__hint,
.qj-account-card__foot {
	margin: 0.75rem 0 0;
	color: rgba(255, 250, 245, 0.72);
	font-size: 0.92rem;
}

.qj-account-card__foot a { color: var(--qj-gold-light); }

.qj-account-flash {
	margin: 1rem 0 0;
	padding: 0.65rem 0.85rem;
	border-radius: 8px;
	font-size: 0.9rem;
}

.qj-account-flash--error {
	background: rgba(180, 60, 60, 0.25);
	border: 1px solid rgba(255, 120, 120, 0.35);
	color: #ffd4d4;
}

.qj-account-flash--success {
	background: rgba(60, 140, 90, 0.2);
	border: 1px solid rgba(100, 180, 120, 0.35);
	color: #d4ffe0;
}

.qj-account-form {
	display: grid;
	gap: 1rem;
	margin-top: 1.25rem;
}

.qj-account-form label {
	display: grid;
	gap: 0.35rem;
}

.qj-account-form label span {
	font-size: 0.88rem;
	color: rgba(255, 250, 245, 0.78);
}

.qj-account-form input,
.qj-account-form select {
	width: 100%;
	padding: 0.65rem 0.85rem;
	border-radius: 10px;
	border: 1px solid rgba(212, 196, 168, 0.28);
	background: rgba(255, 255, 255, 0.06);
	color: #fff;
	font: inherit;
}

.qj-account-form select {
	padding-right: 2.25rem;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23d4c4a8' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.85rem center;
}

.qj-account-form select option {
	background: #2a2220;
	color: #fffaf5;
}

.qj-account-form__submit {
	margin-top: 0.25rem;
	padding: 0.7rem 1rem;
	border: none;
	border-radius: 10px;
	font-weight: 700;
	color: #1a1410;
	background: linear-gradient(180deg, var(--qj-gold-light), var(--qj-gold));
	cursor: pointer;
}

.qj-account-login-tabs {
	display: flex;
	flex-wrap: nowrap;
	gap: 0;
	margin: 0.5rem 0 0;
	border-bottom: 1px solid rgba(212, 196, 168, 0.22);
}

.qj-account-login-tabs__btn {
	flex: 1 1 0;
	min-width: 0;
	padding: 0.75rem 0.35rem 0.65rem;
	border: none;
	border-radius: 0;
	border-bottom: 2px solid transparent;
	margin-bottom: -1px;
	background: transparent;
	color: rgba(255, 250, 245, 0.52);
	font-size: 0.9rem;
	font-weight: 500;
	letter-spacing: 0.02em;
	cursor: pointer;
	transition: color 0.2s, border-color 0.2s;
}

.qj-account-login-tabs__btn:hover {
	color: rgba(255, 250, 245, 0.82);
}

.qj-account-login-tabs__btn.is-active {
	border-bottom-color: var(--qj-gold-light);
	color: var(--qj-gold-light);
	background: transparent;
}

.qj-account-login-panel { display: none; }
.qj-account-login-panel.is-active {
	display: grid;
	gap: 0.85rem;
	padding-top: 1.1rem;
}

.qj-account-form__captcha {
	margin-top: 0.15rem;
	padding-top: 0.85rem;
	border-top: 1px solid rgba(212, 196, 168, 0.14);
}

.qj-account-form__captcha-row {
	display: grid;
	grid-template-columns: auto auto 1fr;
	gap: 0.55rem;
	align-items: center;
	margin-top: 0.45rem;
}

.qj-account-form__captcha-img {
	display: block;
	border-radius: 8px;
	border: 1px solid rgba(212, 196, 168, 0.35);
	background: #f5efe4;
}

.qj-account-form__captcha-refresh {
	padding: 0.45rem 0.65rem;
	border: 1px solid rgba(212, 196, 168, 0.45);
	border-radius: 10px;
	background: rgba(166, 139, 91, 0.12);
	color: var(--qj-gold-light);
	font-size: 0.82rem;
	white-space: nowrap;
	cursor: pointer;
}

.qj-account-form__captcha-row input {
	min-width: 0;
}

.qj-account-form__verify-row {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 0.5rem;
	align-items: end;
}

.qj-account-form__verify-row span { grid-column: 1 / -1; }

.qj-account-form__code-btn {
	padding: 0.55rem 0.75rem;
	border: 1px solid rgba(212, 196, 168, 0.45);
	border-radius: 10px;
	background: rgba(166, 139, 91, 0.12);
	color: var(--qj-gold-light);
	font-size: 0.85rem;
	white-space: nowrap;
	cursor: pointer;
}

.qj-account-support-list {
	list-style: none;
	margin: 1rem 0;
	padding: 0;
	display: grid;
	gap: 1rem;
}

.qj-account-support-list li {
	padding: 0.85rem 1rem;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(212, 196, 168, 0.18);
}

.qj-account-support-list a { color: var(--qj-gold-light); }

.qj-account-dl {
	display: grid;
	gap: 0.85rem;
	margin: 1.25rem 0;
}

.qj-account-dl div {
	display: grid;
	grid-template-columns: 6.5rem 1fr;
	gap: 0.75rem;
	align-items: baseline;
}

.qj-account-dl dt {
	margin: 0;
	color: rgba(255, 250, 245, 0.65);
	font-size: 0.88rem;
}

.qj-account-dl dd {
	margin: 0;
	color: #fff;
	word-break: break-all;
}

.qj-account-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 0;
	margin: 0.35rem 0 0;
	padding: 0;
	border-bottom: 1px solid rgba(212, 196, 168, 0.22);
	overflow: visible;
}

.qj-account-nav--tabs {
	margin-left: -1.75rem;
	margin-right: -1.75rem;
	padding-left: 1.75rem;
	padding-right: 1.75rem;
}

.qj-account-nav span {
	padding: 0.4rem 0.75rem;
	border-radius: 999px;
	font-size: 0.82rem;
	border: 1px solid rgba(212, 196, 168, 0.22);
	color: rgba(255, 250, 245, 0.45);
	flex-shrink: 0;
}

.qj-account-nav span.is-disabled { cursor: not-allowed; }

.qj-account-nav__link {
	flex: 1 1 auto;
	min-width: 4.5rem;
	padding: 0.72rem 0.65rem 0.62rem;
	text-align: center;
	border-radius: 0;
	border: none;
	border-bottom: 2px solid transparent;
	margin-bottom: -1px;
	font-size: 0.88rem;
	font-weight: 500;
	color: rgba(255, 250, 245, 0.58);
	text-decoration: none;
	white-space: nowrap;
	transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.qj-account-nav__link:hover,
.qj-account-nav__link.is-active {
	color: var(--qj-gold-light);
	border-bottom-color: var(--qj-gold-light);
	background: transparent;
}

.qj-account-ach-tabs {
	margin-bottom: 0.75rem;
}

.qj-account-ach-tabs .qj-account-login-tabs__btn {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 0.15rem;
	line-height: 1.2;
}

.qj-account-ach-tabs__label {
	font-size: inherit;
}

.qj-account-ach-tabs__pct {
	font-size: 0.72rem;
	font-weight: 400;
	color: rgba(255, 250, 245, 0.45);
}

.qj-account-ach-tabs .qj-account-login-tabs__btn.is-active .qj-account-ach-tabs__pct {
	color: rgba(212, 184, 134, 0.85);
}

.qj-account-ach-panel {
	display: none;
}

.qj-account-ach-panel.is-active {
	display: block;
}

.qj-account-ach-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.qj-account-ach-group {
	margin-bottom: 1rem;
}

.qj-account-ach-group h2 {
	font-size: 0.95rem;
	margin: 0 0 0.5rem;
	color: var(--qj-gold-light);
}

.qj-account-ach-group ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.35rem;
}

.qj-account-ach-task {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.5rem 1rem;
	padding: 0.55rem 0.75rem;
	border-radius: 8px;
	background: rgba(0, 0, 0, 0.22);
	font-size: 0.85rem;
}

.qj-account-ach-task__check {
	flex-shrink: 0;
	width: 1.35rem;
	height: 1.35rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	background: rgba(120, 200, 140, 0.22);
	color: rgba(160, 235, 175, 0.95);
	font-weight: 700;
	font-size: 0.82rem;
	line-height: 1;
}

.qj-account-ach-task__main {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	min-width: 0;
	flex: 1 1 12rem;
}

.qj-account-ach-task__title {
	color: rgba(255, 250, 245, 0.92);
	font-weight: 500;
}

.qj-account-ach-task__desc {
	margin: 0;
	color: rgba(255, 250, 245, 0.62);
	font-size: 0.8rem;
	line-height: 1.45;
	max-width: 42rem;
}

.qj-account-ach-task__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem 0.5rem;
	flex-shrink: 0;
}

.qj-account-ach-progress {
	font-size: 0.78rem;
	color: rgba(255, 250, 245, 0.55);
}

.qj-account-ach-task.is-done { border-left: 3px solid rgba(120, 200, 140, 0.75); }

.qj-account-ach-badge {
	font-size: 0.72rem;
	padding: 0.1rem 0.45rem;
	border-radius: 999px;
	background: rgba(166, 139, 91, 0.35);
}

.qj-account-subtitle {
	margin: 1.25rem 0 0.65rem;
	font-size: 1rem;
	font-weight: 600;
	color: var(--qj-gold-light);
}

.qj-account-form--inline {
	flex-direction: row;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 0.75rem;
	margin-bottom: 0.5rem;
}

.qj-account-match-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.75rem;
}

.qj-account-match {
	padding: 0.85rem 1rem;
	border-radius: 10px;
	background: rgba(0, 0, 0, 0.22);
	border: 1px solid rgba(166, 139, 91, 0.2);
}

.qj-account-match__head {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1rem;
	font-size: 0.85rem;
	color: rgba(255, 255, 255, 0.75);
}

.qj-account-match__meta,
.qj-account-match__fan { opacity: 0.9; }

.qj-account-match__players,
.qj-account-match__scores {
	margin: 0.45rem 0 0;
	font-size: 0.92rem;
}

.qj-account-match__actions {
	margin: 0.55rem 0 0;
	font-size: 0.88rem;
}

.qj-account-match__actions a { color: var(--qj-gold-light); }

.qj-account-paipu-id {
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
	font-size: 0.78rem;
	color: var(--qj-gold-light);
	word-break: break-all;
}

.qj-account-table-wrap {
	overflow-x: auto;
	margin: 0.35rem 0 0.75rem;
}

.qj-account-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.84rem;
}

.qj-account-table th,
.qj-account-table td {
	padding: 0.55rem 0.65rem;
	border-bottom: 1px solid rgba(166, 139, 91, 0.18);
	text-align: left;
	vertical-align: top;
}

.qj-account-table th {
	color: rgba(255, 250, 245, 0.72);
	font-weight: 600;
	white-space: nowrap;
}

.qj-account-table__mono {
	font-size: 0.76rem;
	word-break: break-all;
}

.qj-account-pager {
	display: flex;
	gap: 1rem;
	align-items: center;
	margin-top: 1rem;
	font-size: 0.9rem;
}

.qj-account-pager a { color: var(--qj-gold-light); }

.qj-account-kv {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
	gap: 0.75rem 1.25rem;
	margin: 0.75rem 0 1.25rem;
	padding: 0.85rem 1rem;
	border-radius: 10px;
	background: rgba(0, 0, 0, 0.22);
	border: 1px solid rgba(166, 139, 91, 0.2);
}

.qj-account-kv dt {
	margin: 0;
	font-size: 0.78rem;
	color: rgba(255, 250, 245, 0.58);
}

.qj-account-kv dd {
	margin: 0.2rem 0 0;
	font-size: 0.92rem;
	color: #fff;
	word-break: break-word;
}

.qj-account-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem 1rem;
	margin: 0 0 0.35rem;
	padding: 0.85rem 1rem;
	border-radius: 10px;
	background: rgba(0, 0, 0, 0.18);
	border: 1px solid rgba(166, 139, 91, 0.18);
}

.qj-account-toolbar__hint {
	margin: 0;
	font-size: 0.88rem;
	color: rgba(255, 250, 245, 0.78);
}

.qj-account-toolbar__hint strong { color: var(--qj-gold-light); }

.qj-account-toolbar__btn {
	margin: 0;
	white-space: nowrap;
	text-decoration: none;
	display: inline-block;
	text-align: center;
}

.qj-account-toolbar__limit {
	font-size: 0.86rem;
	color: rgba(255, 210, 180, 0.88);
}

.qj-account-back {
	margin: 0 0 0.75rem;
	font-size: 0.88rem;
}

.qj-account-back a { color: var(--qj-gold-light); }

.qj-account-ticket-status {
	display: inline-block;
	padding: 0.12rem 0.55rem;
	border-radius: 999px;
	font-size: 0.76rem;
	font-weight: 600;
	line-height: 1.35;
	white-space: nowrap;
}

.qj-account-ticket-status--pending {
	background: rgba(220, 160, 60, 0.22);
	color: #ffd89a;
	border: 1px solid rgba(220, 160, 60, 0.35);
}

.qj-account-ticket-status--processing {
	background: rgba(80, 150, 220, 0.22);
	color: #b8dcff;
	border: 1px solid rgba(80, 150, 220, 0.35);
}

.qj-account-ticket-status--resolved {
	background: rgba(80, 180, 110, 0.22);
	color: #b8f0c8;
	border: 1px solid rgba(80, 180, 110, 0.35);
}

.qj-account-ticket-status--closed {
	background: rgba(160, 160, 170, 0.18);
	color: rgba(255, 250, 245, 0.72);
	border: 1px solid rgba(160, 160, 170, 0.28);
}

.qj-account-table a {
	color: var(--qj-gold-light);
	text-decoration: none;
}

.qj-account-table a:hover { text-decoration: underline; }

.qj-account-ticket-thread {
	display: grid;
	gap: 0.85rem;
	margin: 0.5rem 0 1.25rem;
}

.qj-account-ticket-msg {
	padding: 0.85rem 1rem;
	border-radius: 10px;
	border: 1px solid rgba(166, 139, 91, 0.2);
	background: rgba(0, 0, 0, 0.22);
}

.qj-account-ticket-msg--user {
	border-left: 3px solid rgba(166, 139, 91, 0.55);
}

.qj-account-ticket-msg--admin {
	border-left: 3px solid rgba(100, 180, 220, 0.65);
	background: rgba(40, 70, 90, 0.28);
}

.qj-account-ticket-msg header {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.35rem 0.75rem;
	margin-bottom: 0.55rem;
	font-size: 0.84rem;
	color: rgba(255, 250, 245, 0.72);
}

.qj-account-ticket-msg header strong { color: var(--qj-gold-light); }

.qj-account-ticket-msg--admin header strong { color: #a8d8ff; }

.qj-account-ticket-msg header time {
	font-size: 0.78rem;
	opacity: 0.85;
}

.qj-account-ticket-msg__body {
	margin: 0;
	font-size: 0.92rem;
	line-height: 1.55;
	white-space: pre-wrap;
	word-break: break-word;
}

.qj-account-ticket-msg__imgs {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
	margin: 0.65rem 0 0;
	padding: 0;
	list-style: none;
}

.qj-account-ticket-msg__imgs img {
	display: block;
	max-width: min(100%, 220px);
	max-height: 160px;
	border-radius: 8px;
	border: 1px solid rgba(166, 139, 91, 0.25);
	object-fit: cover;
	background: rgba(0, 0, 0, 0.35);
}

.qj-account-form textarea {
	width: 100%;
	min-height: 6.5rem;
	padding: 0.65rem 0.85rem;
	border-radius: 10px;
	border: 1px solid rgba(212, 196, 168, 0.28);
	background: rgba(255, 255, 255, 0.06);
	color: #fff;
	font: inherit;
	line-height: 1.5;
	resize: vertical;
}

.qj-account-form input[type="file"] {
	width: 100%;
	padding: 0.45rem 0.65rem;
	border-radius: 10px;
	border: 1px dashed rgba(212, 196, 168, 0.28);
	background: rgba(255, 255, 255, 0.04);
	color: rgba(255, 250, 245, 0.82);
	font-size: 0.84rem;
}

.qj-account-form--section {
	margin-top: 1.5rem;
	padding-top: 1.25rem;
	border-top: 1px solid rgba(166, 139, 91, 0.18);
}

.qj-account-raw {
	margin: 0.5rem 0 0;
	padding: 0.75rem;
	max-height: 280px;
	overflow: auto;
	font-size: 0.78rem;
	line-height: 1.45;
	background: rgba(0, 0, 0, 0.35);
	border-radius: 8px;
	white-space: pre-wrap;
	word-break: break-all;
}

@media (max-width: 900px) {
	.qj-header__account-login,
	.qj-header__account-user { font-size: 1.28rem; padding: 0.6rem 1.05rem; }
}

/* ponytail: Turbo 跨页时顶栏/页脚 View Transition 过渡（#74529） */
@supports (view-transition-name: none) {
	.qj-header { view-transition-name: qj-site-header; }
	.qj-footer { view-transition-name: qj-site-footer; }
}

html.queji-turbo-busy {
	background: #130f18;
}

.turbo-progress-bar {
	visibility: hidden !important;
	height: 0 !important;
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	html:has(body.queji-home #hero) { scroll-snap-type: none; }
	.qj-hero__bg { inset: 0; }
	.qj-contact__card,
	.qj-contact__card img { transition: none; }
	.qj-contact__card:hover { transform: none; box-shadow: none; }
	.qj-contact__card:hover img { transform: none; }
}
