/* =============================================================
   澜栖主题 · 基础样式
   目录：
   01 变量与基础  02 通用组件  03 页眉  04 首屏  05 首页模块
   06 布局与卡片  07 侧栏  08 文章详情  09 页面与表单
   10 用户中心骨架  11 页脚  12 交互与动画  13 响应式  14 暗色
   ============================================================= */

/* 01 变量与基础 ------------------------------------------------ */
:root {
	--lq-accent: #4f7cff;
	--lq-accent-2: #8b5cf6;
	--lq-radius: 18px;
	--lq-container: 1200px;
	--lq-bg: #f6f7fb;
	--lq-surface: #ffffff;
	--lq-surface-2: #f1f3f9;
	--lq-surface-3: #e8ecf6;
	--lq-text: #151a26;
	--lq-text-2: #59637a;
	--lq-muted: #8c95a9;
	--lq-line: #e5e8f1;
	--lq-line-strong: #d5dae7;
	--lq-success: #12a06a;
	--lq-warning: #e08a12;
	--lq-danger: #e04b4b;
	--lq-info: #3d7cf5;
	--lq-shadow-sm: 0 6px 18px -12px rgba(21, 26, 38, 0.28);
	--lq-shadow: 0 22px 48px -30px rgba(21, 26, 38, 0.35);
	--lq-shadow-lg: 0 40px 90px -40px rgba(21, 26, 38, 0.45);
	--lq-font: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
	--lq-mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
	--lq-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
	margin: 0;
	background: var(--lq-bg);
	color: var(--lq-text);
	font-family: var(--lq-font);
	font-size: 16px;
	line-height: 1.75;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

body.lq-drawer-open {
	overflow: hidden;
}

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

a {
	color: var(--lq-accent);
	text-decoration: none;
	transition: color 0.2s var(--lq-ease);
}

a:hover {
	color: var(--lq-accent-2);
}

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 0.6em;
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: -0.01em;
	color: var(--lq-text);
}

p {
	margin: 0 0 1em;
}

ul, ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

button {
	font-family: inherit;
	cursor: pointer;
}

input, textarea, select {
	font-family: inherit;
	font-size: 15px;
}

:focus-visible {
	outline: 2px solid var(--lq-accent);
	outline-offset: 2px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.lq-skip {
	position: fixed;
	left: 16px;
	top: -60px;
	z-index: 999;
	padding: 10px 18px;
	border-radius: 999px;
	background: var(--lq-text);
	color: #fff;
	transition: top 0.2s var(--lq-ease);
}

.lq-skip:focus {
	top: 16px;
	color: #fff;
}

/* 02 通用组件 ------------------------------------------------ */
.lq-container {
	width: 100%;
	max-width: var(--lq-container);
	margin: 0 auto;
	padding: 0 24px;
}

.lq-eyebrow {
	display: inline-block;
	margin-bottom: 10px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--lq-accent);
}

.lq-link {
	font-size: 14px;
	font-weight: 600;
	color: var(--lq-accent);
	border-bottom: 1px solid transparent;
}

.lq-link:hover {
	border-bottom-color: currentColor;
}

.lq-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 22px;
	border: 1px solid transparent;
	border-radius: 999px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	white-space: nowrap;
	transition: transform 0.2s var(--lq-ease), box-shadow 0.2s var(--lq-ease), background 0.2s var(--lq-ease), color 0.2s var(--lq-ease), border-color 0.2s var(--lq-ease);
}

.lq-btn:active {
	transform: translateY(1px);
}

.lq-btn--primary {
	background: linear-gradient(135deg, var(--lq-accent), var(--lq-accent-2));
	color: #fff;
	box-shadow: 0 14px 30px -16px var(--lq-accent);
}

.lq-btn--primary:hover {
	color: #fff;
	box-shadow: 0 18px 34px -14px var(--lq-accent);
	transform: translateY(-1px);
}

.lq-btn--ghost {
	background: var(--lq-surface);
	border-color: var(--lq-line-strong);
	color: var(--lq-text);
}

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

.lq-btn--soft {
	background: color-mix(in srgb, var(--lq-accent) 12%, transparent);
	color: var(--lq-accent);
}

.lq-btn--sm {
	padding: 9px 16px;
	font-size: 13px;
}

.lq-btn--lg {
	padding: 16px 30px;
	font-size: 16px;
}

.lq-btn--block {
	display: flex;
	width: 100%;
}

.lq-btn[disabled] {
	opacity: 0.55;
	cursor: not-allowed;
	transform: none;
}

.lq-badge {
	display: inline-flex;
	align-items: center;
	padding: 4px 12px;
	border-radius: 999px;
	background: color-mix(in srgb, var(--lq-accent) 12%, transparent);
	color: var(--lq-accent);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.02em;
}

.lq-badge:hover {
	background: var(--lq-accent);
	color: #fff;
}

.lq-notice {
	padding: 14px 18px;
	border: 1px solid var(--lq-line);
	border-left: 4px solid var(--lq-info);
	border-radius: 12px;
	background: var(--lq-surface);
	font-size: 14px;
	color: var(--lq-text-2);
}

.lq-notice--info {
	border-left-color: var(--lq-info);
}

.lq-notice--success {
	border-left-color: var(--lq-success);
}

.lq-notice--warn {
	border-left-color: var(--lq-warning);
}

.lq-notice-bar {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 28px 0 0;
	padding: 14px 20px;
	border: 1px solid var(--lq-line);
	border-radius: var(--lq-radius);
	background: var(--lq-surface);
	box-shadow: var(--lq-shadow-sm);
}

.lq-notice-tag {
	flex: 0 0 auto;
	padding: 4px 10px;
	border-radius: 999px;
	background: color-mix(in srgb, var(--lq-warning) 16%, transparent);
	color: var(--lq-warning);
	font-size: 12px;
	font-weight: 700;
}

.lq-notice-bar p {
	margin: 0;
	font-size: 14px;
	color: var(--lq-text-2);
}

.lq-empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	padding: 64px 24px;
	border: 1px dashed var(--lq-line-strong);
	border-radius: var(--lq-radius);
	color: var(--lq-muted);
	text-align: center;
	background: var(--lq-surface);
}

.lq-empty-icon {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: var(--lq-surface-2);
	color: var(--lq-accent);
	font-size: 22px;
}

.lq-empty p {
	margin: 0;
	font-size: 15px;
}

.lq-scrollbar {
	position: fixed;
	inset: 0 0 auto 0;
	z-index: 120;
	height: 3px;
	background: transparent;
}

.lq-scrollbar span {
	display: block;
	width: 0;
	height: 100%;
	background: linear-gradient(90deg, var(--lq-accent), var(--lq-accent-2));
}

.lq-toast {
	position: fixed;
	left: 50%;
	bottom: 40px;
	z-index: 999;
	display: flex;
	align-items: center;
	gap: 10px;
	max-width: min(92vw, 460px);
	padding: 12px 20px;
	border-radius: 999px;
	background: rgba(21, 26, 38, 0.94);
	color: #fff;
	font-size: 14px;
	box-shadow: var(--lq-shadow);
	transform: translate(-50%, 20px);
	opacity: 0;
	pointer-events: none;
	transition: transform 0.25s var(--lq-ease), opacity 0.25s var(--lq-ease);
}

.lq-toast.is-show {
	transform: translate(-50%, 0);
	opacity: 1;
}

.lq-toast.is-error {
	background: rgba(180, 40, 40, 0.95);
}

/* 03 页眉 ---------------------------------------------------- */
.lq-topbar {
	background: var(--lq-text);
	color: rgba(255, 255, 255, 0.82);
	font-size: 13px;
}

.lq-topbar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 38px;
}

.lq-topbar-text {
	margin: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	letter-spacing: 0.02em;
}

.lq-topbar-actions {
	display: flex;
	align-items: center;
	gap: 16px;
	flex: 0 0 auto;
}

.lq-topbar-link {
	color: rgba(255, 255, 255, 0.78);
	font-size: 13px;
}

.lq-topbar-link:hover {
	color: #fff;
}

.lq-topbar-link--strong {
	padding: 3px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
}

.lq-topbar-user {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #fff;
}

.lq-topbar-user img {
	width: 24px;
	height: 24px;
	border-radius: 50%;
}

.lq-topbar-points {
	padding: 2px 10px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	font-size: 12px;
}

.lq-header {
	position: relative;
	z-index: 40;
	background: color-mix(in srgb, var(--lq-surface) 88%, transparent);
	backdrop-filter: saturate(180%) blur(16px);
	border-bottom: 1px solid var(--lq-line);
}

.lq-header--sticky {
	position: sticky;
	top: 0;
	transition: box-shadow 0.25s var(--lq-ease), background 0.25s var(--lq-ease);
}

.lq-header--sticky.is-scrolled {
	box-shadow: var(--lq-shadow-sm);
	background: color-mix(in srgb, var(--lq-surface) 96%, transparent);
}

.lq-header-inner {
	display: flex;
	align-items: center;
	gap: 28px;
	min-height: 76px;
}

.lq-branding {
	display: flex;
	align-items: center;
	gap: 14px;
	flex: 0 0 auto;
}

.lq-branding .custom-logo-link img {
	max-height: 44px;
	width: auto;
}

.lq-logo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--lq-text);
}

.lq-logo:hover {
	color: var(--lq-text);
}

.lq-logo-mark {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 13px;
	background: linear-gradient(135deg, var(--lq-accent), var(--lq-accent-2));
	color: #fff;
	font-size: 19px;
	font-weight: 700;
	box-shadow: 0 10px 24px -12px var(--lq-accent);
}

.lq-logo-text {
	font-size: 21px;
	font-weight: 800;
	letter-spacing: 0.08em;
}

.lq-site-desc {
	display: none;
	margin: 0;
	font-size: 12px;
	color: var(--lq-muted);
}

.lq-nav {
	flex: 1 1 auto;
	min-width: 0;
}

.lq-menu {
	display: flex;
	align-items: center;
	gap: 4px;
}

.lq-menu li {
	position: relative;
}

.lq-menu > li > a {
	display: inline-flex;
	align-items: center;
	padding: 10px 14px;
	border-radius: 10px;
	color: var(--lq-text-2);
	font-size: 15px;
	font-weight: 500;
	transition: background 0.2s var(--lq-ease), color 0.2s var(--lq-ease);
}

.lq-menu > li > a:hover,
.lq-menu > li.current-menu-item > a,
.lq-menu > li.current_page_item > a {
	background: var(--lq-surface-2);
	color: var(--lq-accent);
}

.lq-menu .sub-menu {
	position: absolute;
	left: 0;
	top: calc(100% + 8px);
	z-index: 30;
	min-width: 190px;
	padding: 8px;
	border: 1px solid var(--lq-line);
	border-radius: 14px;
	background: var(--lq-surface);
	box-shadow: var(--lq-shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.2s var(--lq-ease), transform 0.2s var(--lq-ease), visibility 0.2s;
}

.lq-menu li:hover > .sub-menu,
.lq-menu li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.lq-menu .sub-menu a {
	display: block;
	padding: 9px 12px;
	border-radius: 9px;
	color: var(--lq-text-2);
	font-size: 14px;
}

.lq-menu .sub-menu a:hover {
	background: var(--lq-surface-2);
	color: var(--lq-accent);
}

.lq-header-tools {
	display: flex;
	align-items: center;
	gap: 8px;
	flex: 0 0 auto;
}

.lq-icon-btn {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border: 1px solid var(--lq-line);
	border-radius: 12px;
	background: var(--lq-surface);
	color: var(--lq-text-2);
	font-size: 17px;
	transition: border-color 0.2s var(--lq-ease), color 0.2s var(--lq-ease), background 0.2s var(--lq-ease);
}

.lq-icon-btn:hover {
	border-color: var(--lq-accent);
	color: var(--lq-accent);
}

.lq-icon-moon {
	display: none;
}

[data-lq-theme="dark"] .lq-icon-sun {
	display: none;
}

[data-lq-theme="dark"] .lq-icon-moon {
	display: inline;
}

.lq-user-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 5px 14px 5px 5px;
	border: 1px solid var(--lq-line);
	border-radius: 999px;
	color: var(--lq-text);
	font-size: 13px;
	font-weight: 500;
}

.lq-user-chip:hover {
	border-color: var(--lq-accent);
	color: var(--lq-accent);
}

.lq-user-chip img {
	width: 30px;
	height: 30px;
	border-radius: 50%;
}

.lq-header-login {
	padding: 10px 20px;
}

.lq-burger {
	display: grid;
	gap: 4px;
	width: 18px;
}

.lq-burger i {
	display: block;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
	transition: transform 0.2s var(--lq-ease), opacity 0.2s;
}

.lq-menu-toggle {
	display: none;
}

.lq-search-panel {
	border-top: 1px solid var(--lq-line);
	background: var(--lq-surface);
	padding: 18px 0 22px;
}

.lq-search-hint {
	margin: 10px 0 0;
	font-size: 12px;
	color: var(--lq-muted);
}

.lq-mobile-drawer {
	position: fixed;
	inset: 0;
	z-index: 200;
	background: rgba(15, 18, 32, 0.5);
	backdrop-filter: blur(4px);
}

.lq-mobile-drawer-inner {
	width: min(88vw, 360px);
	height: 100%;
	padding: 22px;
	overflow-y: auto;
	background: var(--lq-surface);
	box-shadow: var(--lq-shadow-lg);
	animation: lq-slide-in 0.3s var(--lq-ease);
}

@keyframes lq-slide-in {
	from { transform: translateX(-24px); opacity: 0; }
	to { transform: translateX(0); opacity: 1; }
}

.lq-mobile-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 26px;
}

.lq-mobile-menu > li > a {
	display: block;
	padding: 13px 0;
	border-bottom: 1px solid var(--lq-line);
	color: var(--lq-text);
	font-size: 16px;
}

.lq-mobile-menu .sub-menu {
	padding-left: 16px;
}

.lq-mobile-menu .sub-menu a {
	display: block;
	padding: 8px 0;
	color: var(--lq-text-2);
	font-size: 14px;
}

.lq-mobile-account {
	margin-top: 24px;
}

/* 04 首屏 ---------------------------------------------------- */
.lq-hero {
	position: relative;
	overflow: hidden;
	padding: 72px 0 64px;
	background: linear-gradient(180deg, var(--lq-surface) 0%, var(--lq-bg) 100%);
	border-bottom: 1px solid var(--lq-line);
}

.lq-hero--image {
	background: var(--lq-text);
}

.lq-hero-bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	opacity: 0.34;
}

.lq-hero--image::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(120deg, rgba(15, 18, 32, 0.9), rgba(15, 18, 32, 0.45));
}

.lq-hero--image .lq-hero-title,
.lq-hero--image .lq-hero-subtitle,
.lq-hero--image .lq-hero-stats strong,
.lq-hero--image .lq-hero-stats span {
	color: #fff;
}

.lq-hero-glow {
	position: absolute;
	border-radius: 50%;
	filter: blur(70px);
	opacity: 0.5;
	pointer-events: none;
}

.lq-hero-glow--a {
	width: 520px;
	height: 520px;
	top: -220px;
	left: -120px;
	background: color-mix(in srgb, var(--lq-accent) 55%, transparent);
}

.lq-hero-glow--b {
	width: 460px;
	height: 460px;
	right: -160px;
	bottom: -220px;
	background: color-mix(in srgb, var(--lq-accent-2) 45%, transparent);
}

.lq-hero-inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
	gap: 56px;
	align-items: center;
}

.lq-hero-title {
	max-width: 15em;
	margin: 0 0 18px;
	font-size: clamp(34px, 4.2vw, 54px);
	font-weight: 800;
	line-height: 1.18;
	letter-spacing: -0.02em;
}

.lq-hero-subtitle {
	max-width: 34em;
	margin: 0 0 30px;
	font-size: 17px;
	line-height: 1.8;
	color: var(--lq-text-2);
}

.lq-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 36px;
}

.lq-hero-stats {
	display: flex;
	gap: 40px;
}

.lq-hero-stats li {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.lq-hero-stats strong {
	font-size: 26px;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -0.02em;
}

.lq-hero-stats span {
	font-size: 13px;
	color: var(--lq-muted);
}

.lq-hero-card {
	position: relative;
}

.lq-member-card {
	padding: 26px;
	border: 1px solid var(--lq-line);
	border-radius: calc(var(--lq-radius) + 6px);
	background: var(--lq-surface);
	box-shadow: var(--lq-shadow-lg);
}

.lq-member-card-head {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 20px;
}

.lq-member-card-head img {
	width: 48px;
	height: 48px;
	border-radius: 50%;
}

.lq-member-card-head strong {
	display: block;
	font-size: 17px;
}

.lq-member-level {
	font-size: 12px;
	color: var(--lq-muted);
}

.lq-member-mark {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 15px;
	background: linear-gradient(135deg, var(--lq-accent), var(--lq-accent-2));
	color: #fff;
	font-size: 22px;
	font-weight: 700;
}

.lq-member-card-body {
	padding: 18px;
	border-radius: calc(var(--lq-radius) - 4px);
	background: var(--lq-surface-2);
	margin-bottom: 18px;
}

.lq-member-points {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	margin-bottom: 14px;
}

.lq-member-points span {
	font-size: 13px;
	color: var(--lq-muted);
}

.lq-member-points strong {
	font-size: 30px;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--lq-accent);
}

.lq-member-mini {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
}

.lq-member-mini div {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 10px;
	border-radius: 10px;
	background: var(--lq-surface);
	text-align: center;
}

.lq-member-mini span {
	font-size: 11px;
	color: var(--lq-muted);
}

.lq-member-mini strong {
	font-size: 15px;
}

.lq-member-desc {
	margin: 0;
	font-size: 14px;
	line-height: 1.75;
	color: var(--lq-text-2);
}

/* 05 首页模块 ------------------------------------------------ */
.lq-section {
	margin: 56px 0;
}

.lq-section-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 26px;
}

.lq-section-title {
	margin: 0;
	font-size: clamp(24px, 2.4vw, 30px);
	font-weight: 800;
	letter-spacing: -0.02em;
}

.lq-quick-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 14px;
	margin-top: 20px;
}

.lq-quick {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px 18px;
	border: 1px solid var(--lq-line);
	border-radius: var(--lq-radius);
	background: var(--lq-surface);
	color: var(--lq-text);
	box-shadow: var(--lq-shadow-sm);
	transition: transform 0.2s var(--lq-ease), border-color 0.2s var(--lq-ease);
}

.lq-quick:hover {
	transform: translateY(-2px);
	border-color: color-mix(in srgb, var(--lq-accent) 45%, var(--lq-line));
	color: var(--lq-text);
}

.lq-quick-icon {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 12px;
	background: color-mix(in srgb, var(--lq-accent) 14%, transparent);
	color: var(--lq-accent);
	font-size: 15px;
	font-weight: 700;
}

.lq-quick-label {
	flex: 1;
	font-size: 14px;
	color: var(--lq-text-2);
}

.lq-quick strong {
	font-size: 14px;
	font-weight: 700;
}

.lq-cat-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 14px;
}

.lq-cat-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 20px 22px;
	border: 1px solid var(--lq-line);
	border-radius: var(--lq-radius);
	background: var(--lq-surface);
	color: var(--lq-text);
	transition: transform 0.2s var(--lq-ease), border-color 0.2s var(--lq-ease), box-shadow 0.2s var(--lq-ease);
}

.lq-cat-card:hover {
	transform: translateY(-3px);
	border-color: color-mix(in srgb, var(--lq-accent) 40%, var(--lq-line));
	box-shadow: var(--lq-shadow-sm);
	color: var(--lq-accent);
}

.lq-cat-name {
	font-weight: 700;
}

.lq-cat-count {
	font-size: 12px;
	color: var(--lq-muted);
}

.lq-hot-list {
	display: grid;
	gap: 2px;
	border: 1px solid var(--lq-line);
	border-radius: var(--lq-radius);
	background: var(--lq-surface);
	overflow: hidden;
}

.lq-hot-item {
	display: grid;
	grid-template-columns: 48px 1fr auto;
	gap: 18px;
	align-items: center;
	padding: 20px 22px;
	border-bottom: 1px solid var(--lq-line);
}

.lq-hot-item:last-child {
	border-bottom: 0;
}

.lq-hot-index {
	font-family: var(--lq-mono);
	font-size: 22px;
	font-weight: 700;
	color: var(--lq-line-strong);
}

.lq-hot-item:hover .lq-hot-index {
	color: var(--lq-accent);
}

.lq-hot-body h3 {
	margin: 0 0 4px;
	font-size: 16px;
	font-weight: 700;
}

.lq-hot-body h3 a {
	color: var(--lq-text);
}

.lq-hot-body h3 a:hover {
	color: var(--lq-accent);
}

.lq-hot-body p {
	margin: 0;
	font-size: 13px;
	color: var(--lq-muted);
}

.lq-hot-meta {
	font-size: 12px;
	color: var(--lq-muted);
	white-space: nowrap;
}

.lq-cta {
	margin: 64px auto;
}

.lq-cta-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
	padding: 44px;
	border-radius: calc(var(--lq-radius) + 10px);
	background:
		radial-gradient(600px 260px at 0% 0%, color-mix(in srgb, var(--lq-accent) 30%, transparent), transparent),
		radial-gradient(600px 260px at 100% 100%, color-mix(in srgb, var(--lq-accent-2) 30%, transparent), transparent),
		var(--lq-surface);
	border: 1px solid var(--lq-line);
	box-shadow: var(--lq-shadow);
}

.lq-cta-inner h2 {
	font-size: clamp(22px, 2.4vw, 30px);
	max-width: 22em;
	margin-bottom: 8px;
}

.lq-cta-inner p {
	margin: 0;
	color: var(--lq-text-2);
	font-size: 14px;
}

.lq-cta-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

/* 06 布局与卡片 ---------------------------------------------- */
.lq-main {
	padding-bottom: 40px;
}

.lq-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 40px;
	align-items: start;
	margin-top: 36px;
}

.lq-layout--single {
	margin-top: 20px;
}

.lq-no-sidebar .lq-layout {
	grid-template-columns: minmax(0, 1fr);
}

.lq-content {
	min-width: 0;
}

.lq-page-hero {
	margin: 38px 0 4px;
	padding: 34px 0 26px;
	border-bottom: 1px solid var(--lq-line);
}

.lq-page-title {
	margin: 0;
	font-size: clamp(28px, 3.6vw, 40px);
	font-weight: 800;
	letter-spacing: -0.02em;
}

.lq-page-subtitle {
	margin: 10px 0 0;
	color: var(--lq-text-2);
	font-size: 15px;
	max-width: 46em;
}

.lq-card-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
}

.lq-card-grid--three {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lq-card {
	position: relative;
	display: flex;
	flex-direction: column;
	border: 1px solid var(--lq-line);
	border-radius: calc(var(--lq-radius) + 2px);
	background: var(--lq-surface);
	overflow: hidden;
	transition: transform 0.25s var(--lq-ease), box-shadow 0.25s var(--lq-ease), border-color 0.25s var(--lq-ease);
}

.lq-card:hover {
	transform: translateY(-4px);
	border-color: color-mix(in srgb, var(--lq-accent) 34%, var(--lq-line));
	box-shadow: var(--lq-shadow);
}

.lq-card-media {
	position: relative;
	display: block;
	aspect-ratio: 16 / 10;
	background: var(--lq-surface-2);
	overflow: hidden;
}

.lq-card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s var(--lq-ease);
}

.lq-card:hover .lq-card-media img {
	transform: scale(1.04);
}

.lq-card-placeholder {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	background:
		radial-gradient(400px 200px at 20% 10%, color-mix(in srgb, var(--lq-accent) 26%, transparent), transparent),
		radial-gradient(400px 200px at 90% 90%, color-mix(in srgb, var(--lq-accent-2) 26%, transparent), transparent),
		var(--lq-surface-2);
}

.lq-card-placeholder span {
	font-size: 44px;
	font-weight: 800;
	color: color-mix(in srgb, var(--lq-accent) 60%, var(--lq-muted));
	opacity: 0.55;
}

.lq-card-body {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 20px 22px 18px;
	flex: 1;
}

.lq-card-title {
	margin: 0;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.45;
}

.lq-card-title a {
	color: var(--lq-text);
}

.lq-card-title a:hover {
	color: var(--lq-accent);
}

.lq-card-excerpt {
	margin: 0;
	font-size: 14px;
	line-height: 1.7;
	color: var(--lq-text-2);
}

.lq-card-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: auto;
	padding-top: 12px;
	border-top: 1px dashed var(--lq-line);
}

.lq-card-date {
	font-size: 12px;
	color: var(--lq-muted);
}

.lq-card-flat .lq-card {
	box-shadow: none;
	background: var(--lq-surface);
}

.lq-card-flat .lq-card:hover {
	box-shadow: var(--lq-shadow-sm);
}

.lq-card--list {
	flex-direction: row;
}

.lq-card--list .lq-card-media {
	flex: 0 0 280px;
	aspect-ratio: auto;
}

.lq-pagination {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 38px 0 0;
}

.lq-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 14px;
	border: 1px solid var(--lq-line);
	border-radius: 12px;
	background: var(--lq-surface);
	color: var(--lq-text-2);
	font-size: 14px;
}

.lq-pagination .page-numbers:hover {
	border-color: var(--lq-accent);
	color: var(--lq-accent);
}

.lq-pagination .current {
	background: var(--lq-accent);
	border-color: var(--lq-accent);
	color: #fff;
}

.lq-loadmore-wrap {
	display: flex;
	justify-content: center;
	margin-top: 30px;
}

.lq-loadmore.is-loading {
	opacity: 0.6;
	pointer-events: none;
}

.lq-breadcrumb {
	padding: 22px 0 0;
	font-size: 13px;
	color: var(--lq-muted);
}

.lq-breadcrumb ol {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.lq-breadcrumb li + li::before {
	content: "/";
	margin-right: 8px;
	color: var(--lq-line-strong);
}

.lq-breadcrumb a {
	color: var(--lq-muted);
}

.lq-breadcrumb a:hover {
	color: var(--lq-accent);
}

.lq-breadcrumb [aria-current="page"] {
	color: var(--lq-text-2);
}

/* 07 侧栏 ---------------------------------------------------- */
.lq-sidebar {
	position: sticky;
	top: 96px;
	display: grid;
	gap: 22px;
}

.lq-widget {
	padding: 22px;
	border: 1px solid var(--lq-line);
	border-radius: var(--lq-radius);
	background: var(--lq-surface);
}

.lq-widget-title {
	margin: 0 0 16px;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: -0.01em;
}

.lq-widget-title::after {
	content: "";
	display: block;
	width: 28px;
	height: 3px;
	margin-top: 10px;
	border-radius: 3px;
	background: linear-gradient(90deg, var(--lq-accent), var(--lq-accent-2));
}

.lq-rank-list {
	display: grid;
	gap: 12px;
	counter-reset: rank;
}

.lq-rank-list li {
	display: grid;
	grid-template-columns: 24px minmax(0, 1fr);
	gap: 10px;
	align-items: baseline;
	font-size: 14px;
}

.lq-rank-index {
	grid-row: span 2;
	font-family: var(--lq-mono);
	font-size: 13px;
	font-weight: 700;
	color: var(--lq-muted);
}

.lq-rank-index.is-top {
	color: var(--lq-accent);
}

.lq-rank-list a {
	display: -webkit-box;
	overflow: hidden;
	color: var(--lq-text);
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.lq-rank-list a:hover {
	color: var(--lq-accent);
}

.lq-rank-meta {
	font-size: 11px;
	color: var(--lq-muted);
}

.lq-widget-empty {
	margin: 0;
	font-size: 13px;
	color: var(--lq-muted);
}

.lq-widget-notice {
	font-size: 14px;
	line-height: 1.8;
	color: var(--lq-text-2);
}

.lq-widget-notice p:last-child {
	margin-bottom: 0;
}

.lq-stat-mini {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 10px;
	margin-bottom: 14px;
}

.lq-stat-mini li {
	display: flex;
	flex-direction: column;
	padding: 12px;
	border-radius: 12px;
	background: var(--lq-surface-2);
}

.lq-stat-mini span {
	font-size: 11px;
	color: var(--lq-muted);
}

.lq-stat-mini strong {
	font-size: 16px;
}

.lq-widget .lq-search {
	margin: 0;
}

/* 08 文章详情 ------------------------------------------------- */
.lq-single-container {
	padding-top: 0;
}

.lq-article {
	padding: 30px 38px 40px;
	border: 1px solid var(--lq-line);
	border-radius: calc(var(--lq-radius) + 4px);
	background: var(--lq-surface);
	box-shadow: var(--lq-shadow-sm);
}

.lq-article-head {
	margin-bottom: 26px;
}

.lq-article-title {
	margin: 14px 0 18px;
	font-size: clamp(28px, 3.4vw, 40px);
	font-weight: 800;
	line-height: 1.3;
	letter-spacing: -0.02em;
}

.lq-article-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 18px;
	font-size: 13px;
	color: var(--lq-muted);
}

.lq-article-author {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--lq-text-2);
	font-weight: 500;
}

.lq-article-author img {
	border-radius: 50%;
}

.lq-post-meta {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.lq-dot {
	width: 3px;
	height: 3px;
	border-radius: 50%;
	background: var(--lq-line-strong);
}

.lq-article-views {
	padding: 3px 10px;
	border-radius: 999px;
	background: var(--lq-surface-2);
	font-size: 12px;
}

.lq-article-cover {
	margin: 0 0 30px;
	overflow: hidden;
	border-radius: var(--lq-radius);
}

.lq-article-cover img {
	width: 100%;
}

.lq-prose {
	font-size: 16.5px;
	line-height: 1.95;
	color: var(--lq-text);
}

.lq-prose > * + * {
	margin-top: 1.1em;
}

.lq-prose h2 {
	margin-top: 2em;
	font-size: 25px;
	scroll-margin-top: 100px;
}

.lq-prose h3 {
	margin-top: 1.8em;
	font-size: 20px;
	scroll-margin-top: 100px;
}

.lq-prose h4 {
	font-size: 17px;
}

.lq-prose a {
	border-bottom: 1px solid color-mix(in srgb, var(--lq-accent) 40%, transparent);
}

.lq-prose a:hover {
	border-bottom-color: currentColor;
}

.lq-prose img {
	margin: 1.6em auto;
	border-radius: 14px;
}

.lq-prose blockquote {
	margin: 1.8em 0;
	padding: 18px 24px;
	border-left: 4px solid var(--lq-accent);
	border-radius: 0 14px 14px 0;
	background: var(--lq-surface-2);
	color: var(--lq-text-2);
	font-size: 16px;
}

.lq-prose blockquote p:last-child {
	margin-bottom: 0;
}

.lq-prose code {
	padding: 2px 7px;
	border-radius: 6px;
	background: var(--lq-surface-3);
	font-family: var(--lq-mono);
	font-size: 0.92em;
	color: color-mix(in srgb, var(--lq-accent) 78%, var(--lq-text));
}

.lq-prose pre {
	position: relative;
	margin: 1.8em 0;
	padding: 20px 22px;
	overflow-x: auto;
	border-radius: 14px;
	background: #161a28;
	color: #dbe3f5;
	font-size: 14px;
	line-height: 1.7;
}

.lq-prose pre code {
	padding: 0;
	background: transparent;
	color: inherit;
}

.lq-prose ul,
.lq-prose ol {
	padding-left: 1.4em;
}

.lq-prose ul {
	list-style: disc;
}

.lq-prose ol {
	list-style: decimal;
}

.lq-prose li + li {
	margin-top: 0.4em;
}

.lq-prose table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

.lq-prose th,
.lq-prose td {
	padding: 10px 14px;
	border: 1px solid var(--lq-line);
	text-align: left;
}

.lq-prose th {
	background: var(--lq-surface-2);
}

.lq-prose hr {
	margin: 2.4em 0;
	border: 0;
	border-top: 1px solid var(--lq-line);
}

.lq-article-foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	margin-top: 34px;
	padding-top: 22px;
	border-top: 1px solid var(--lq-line);
}

.lq-article-tags {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	font-size: 13px;
}

.lq-tag-label {
	color: var(--lq-muted);
}

.lq-article-tags a {
	padding: 4px 12px;
	border-radius: 999px;
	background: var(--lq-surface-2);
	color: var(--lq-text-2);
	font-size: 12px;
}

.lq-article-tags a:hover {
	background: var(--lq-accent);
	color: #fff;
}

.lq-article-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.lq-author-box {
	display: flex;
	gap: 18px;
	margin-top: 34px;
	padding: 24px;
	border: 1px solid var(--lq-line);
	border-radius: var(--lq-radius);
	background: var(--lq-surface-2);
}

.lq-author-avatar img {
	border-radius: 50%;
}

.lq-author-body h3 {
	margin: 0 0 6px;
	font-size: 16px;
}

.lq-author-body p {
	margin: 0 0 10px;
	font-size: 14px;
	color: var(--lq-text-2);
}

.lq-related {
	margin-top: 42px;
}

.lq-related-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
	margin-top: 18px;
}

.lq-related .lq-card-body {
	padding: 16px 18px;
}

.lq-related .lq-card-title {
	font-size: 15px;
}

.lq-comments {
	margin-top: 42px;
	padding-top: 30px;
	border-top: 1px solid var(--lq-line);
}

.lq-comment-list {
	display: grid;
	gap: 18px;
	margin: 20px 0;
}

.lq-comment-list .comment-body {
	padding: 18px 20px;
	border: 1px solid var(--lq-line);
	border-radius: 14px;
	background: var(--lq-surface);
}

.lq-comment-list .children {
	margin-top: 16px;
	padding-left: 28px;
	display: grid;
	gap: 16px;
}

.lq-comment-list .comment-author img {
	border-radius: 50%;
	float: left;
	margin-right: 12px;
}

.lq-comment-list .comment-meta {
	font-size: 12px;
	color: var(--lq-muted);
}

.lq-comment-list .comment-content {
	font-size: 15px;
	margin-top: 10px;
}

.lq-comment-list .reply a {
	font-size: 12px;
}

.lq-comments-closed,
.lq-comment-notes {
	font-size: 13px;
	color: var(--lq-muted);
}

.lq-comments .comment-form {
	display: grid;
	gap: 14px;
	margin-top: 20px;
}

.lq-comments .comment-form p {
	margin: 0;
}

.lq-comments .comment-form label {
	display: block;
	margin-bottom: 6px;
	font-size: 13px;
	font-weight: 600;
	color: var(--lq-text-2);
}

.lq-comments .comment-form input[type="text"],
.lq-comments .comment-form input[type="email"],
.lq-comments .comment-form input[type="url"],
.lq-comments .comment-form textarea {
	width: 100%;
	padding: 12px 16px;
	border: 1px solid var(--lq-line-strong);
	border-radius: 12px;
	background: var(--lq-surface);
	color: var(--lq-text);
	transition: border-color 0.2s var(--lq-ease), box-shadow 0.2s var(--lq-ease);
}

.lq-comments .comment-form input:focus,
.lq-comments .comment-form textarea:focus {
	border-color: var(--lq-accent);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--lq-accent) 14%, transparent);
	outline: none;
}

.lq-comments .comment-form textarea {
	min-height: 140px;
	resize: vertical;
}

/* 09 页面与表单 ------------------------------------------------ */
.lq-page-wrap {
	padding-top: 10px;
}

.lq-page-article {
	padding: 32px 36px;
	border: 1px solid var(--lq-line);
	border-radius: calc(var(--lq-radius) + 4px);
	background: var(--lq-surface);
}

.lq-page-head {
	margin-bottom: 20px;
}

.lq-404 {
	padding: 80px 24px 60px;
	text-align: center;
}

.lq-404-mark {
	font-family: var(--lq-mono);
	font-size: clamp(64px, 12vw, 130px);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.04em;
	color: transparent;
	background: linear-gradient(135deg, var(--lq-accent), var(--lq-accent-2));
	-webkit-background-clip: text;
	background-clip: text;
	opacity: 0.32;
}

.lq-404-title {
	margin: 14px 0 8px;
	font-size: clamp(24px, 3vw, 32px);
}

.lq-404-desc {
	max-width: 34em;
	margin: 0 auto 24px;
	color: var(--lq-text-2);
}

.lq-404-actions {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 12px;
}

.lq-404-search {
	max-width: 520px;
	margin: 34px auto 0;
}

.lq-404-posts {
	margin-top: 60px;
	text-align: left;
}

.lq-search-inline {
	max-width: 560px;
	margin: 22px 0 0;
}

.lq-search {
	display: flex;
	align-items: center;
	gap: 0;
	border: 1px solid var(--lq-line-strong);
	border-radius: 999px;
	background: var(--lq-surface);
	padding: 6px 6px 6px 18px;
	transition: border-color 0.2s var(--lq-ease), box-shadow 0.2s var(--lq-ease);
}

.lq-search:focus-within {
	border-color: var(--lq-accent);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--lq-accent) 12%, transparent);
}

.lq-search-icon {
	color: var(--lq-muted);
	font-size: 17px;
}

.lq-search input[type="search"] {
	flex: 1;
	min-width: 0;
	padding: 10px 12px;
	border: 0;
	background: transparent;
	color: var(--lq-text);
	font-size: 15px;
	outline: none;
}

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

.lq-search button {
	flex: 0 0 auto;
	padding: 10px 22px;
	border: 0;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--lq-accent), var(--lq-accent-2));
	color: #fff;
	font-size: 14px;
	font-weight: 600;
}

.lq-search--block {
	width: 100%;
}

.lq-search-tips {
	margin-top: 20px;
	font-size: 14px;
	color: var(--lq-text-2);
}

.lq-search-tips ul {
	display: grid;
	gap: 6px;
	padding-left: 1.2em;
	list-style: disc;
}

.lq-auth-page {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
	gap: 60px;
	align-items: start;
	padding: 60px 24px 70px;
}

.lq-auth-intro h1 {
	max-width: 14em;
	font-size: clamp(30px, 3.6vw, 44px);
	line-height: 1.25;
	margin-bottom: 20px;
}

.lq-auth-points {
	display: grid;
	gap: 12px;
	color: var(--lq-text-2);
	font-size: 15px;
}

.lq-auth-points li {
	position: relative;
	padding-left: 26px;
}

.lq-auth-points li::before {
	content: "✓";
	position: absolute;
	left: 0;
	color: var(--lq-accent);
	font-weight: 700;
}

.lq-auth-forms {
	min-width: 0;
}

.lq-auth-card {
	padding: 26px;
	border: 1px solid var(--lq-line);
	border-radius: calc(var(--lq-radius) + 2px);
	background: var(--lq-surface);
	box-shadow: var(--lq-shadow-sm);
}

.lq-form-tip {
	font-size: 13px;
	color: var(--lq-muted);
}

.lq-login-page {
	display: flex;
	justify-content: center;
	padding: 80px 24px;
}

.lq-login-card {
	width: min(100%, 520px);
	padding: 36px;
	border: 1px solid var(--lq-line);
	border-radius: calc(var(--lq-radius) + 6px);
	background: var(--lq-surface);
	box-shadow: var(--lq-shadow);
	text-align: center;
}

.lq-login-actions {
	display: grid;
	gap: 10px;
	margin-top: 22px;
}

/* 10 用户中心骨架 --------------------------------------------- */
.lq-uc-page {
	padding-top: 40px;
	padding-bottom: 60px;
}

.lq-uc-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 26px;
}

.lq-vip-badge {
	padding: 8px 16px;
	border-radius: 999px;
	background: var(--lq-surface-2);
	color: var(--lq-text-2);
	font-size: 13px;
	font-weight: 600;
}

.lq-vip-badge.is-active {
	background: linear-gradient(135deg, #f6c85f, #e9a13b);
	color: #44330d;
}

.lq-uc-shell {
	display: grid;
	grid-template-columns: 260px minmax(0, 1fr);
	gap: 26px;
	align-items: start;
}

.lq-uc-side {
	position: sticky;
	top: 96px;
	padding: 24px;
	border: 1px solid var(--lq-line);
	border-radius: var(--lq-radius);
	background: var(--lq-surface);
}

.lq-uc-profile {
	text-align: center;
	margin-bottom: 18px;
}

.lq-uc-profile img {
	margin: 0 auto 12px;
	border-radius: 50%;
}

.lq-uc-profile h2 {
	margin: 0 0 4px;
	font-size: 18px;
}

.lq-uc-role {
	margin: 0;
	font-size: 12px;
	color: var(--lq-muted);
}

.lq-uc-main {
	min-width: 0;
}

.lq-uc-panel {
	padding: 26px;
	border: 1px solid var(--lq-line);
	border-radius: var(--lq-radius);
	background: var(--lq-surface);
}

.lq-desc-list {
	display: grid;
	gap: 12px;
	margin: 0 0 18px;
}

.lq-desc-list div {
	display: grid;
	grid-template-columns: 90px minmax(0, 1fr);
	gap: 12px;
	font-size: 14px;
}

.lq-desc-list dt {
	color: var(--lq-muted);
}

.lq-desc-list dd {
	margin: 0;
}

.lq-uc-guest {
	max-width: 560px;
	margin: 40px auto;
	padding: 40px;
	border: 1px solid var(--lq-line);
	border-radius: var(--lq-radius);
	background: var(--lq-surface);
	text-align: center;
	box-shadow: var(--lq-shadow-sm);
}

/* 11 页脚 ---------------------------------------------------- */
.lq-footer {
	margin-top: 40px;
	padding: 56px 0 28px;
	border-top: 1px solid var(--lq-line);
	background: var(--lq-surface);
}

.lq-footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: 40px;
	padding-bottom: 36px;
}

.lq-footer-about {
	margin: 14px 0 18px;
	font-size: 13px;
	line-height: 1.8;
	color: var(--lq-text-2);
	max-width: 26em;
}

.lq-footer-menu {
	display: grid;
	gap: 10px;
	font-size: 14px;
}

.lq-footer-menu a {
	color: var(--lq-text-2);
}

.lq-footer-menu a:hover {
	color: var(--lq-accent);
}

.lq-social {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.lq-social a,
.lq-social span {
	padding: 5px 14px;
	border: 1px solid var(--lq-line);
	border-radius: 999px;
	font-size: 12px;
	color: var(--lq-text-2);
}

.lq-social a:hover {
	border-color: var(--lq-accent);
	color: var(--lq-accent);
}

.lq-widget--footer {
	padding: 0;
	border: 0;
	background: transparent;
}

.lq-footer-bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding-top: 22px;
	border-top: 1px solid var(--lq-line);
	font-size: 12px;
	color: var(--lq-muted);
}

.lq-copyright {
	margin: 0;
}

.lq-footer-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

.lq-footer-meta a {
	color: var(--lq-muted);
}

.lq-to-top {
	position: fixed;
	right: 24px;
	bottom: 28px;
	z-index: 60;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 1px solid var(--lq-line);
	border-radius: 14px;
	background: var(--lq-surface);
	color: var(--lq-text-2);
	font-size: 18px;
	box-shadow: var(--lq-shadow-sm);
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: opacity 0.25s var(--lq-ease), transform 0.25s var(--lq-ease), visibility 0.25s;
}

.lq-to-top.is-show {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.lq-to-top:hover {
	color: var(--lq-accent);
	border-color: var(--lq-accent);
}

/* 12 交互与动画 ---------------------------------------------- */
.lq-reveal {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.6s var(--lq-ease), transform 0.6s var(--lq-ease);
}

.lq-reveal.is-visible {
	opacity: 1;
	transform: none;
}

.lq-skeleton {
	position: relative;
	overflow: hidden;
	background: var(--lq-surface-2);
}

.lq-skeleton::after {
	content: "";
	position: absolute;
	inset: 0;
	transform: translateX(-100%);
	background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--lq-surface) 70%, transparent), transparent);
	animation: lq-shimmer 1.4s infinite;
}

@keyframes lq-shimmer {
	to { transform: translateX(100%); }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation-duration: 0.001ms !important;
		transition-duration: 0.001ms !important;
	}
	.lq-reveal { opacity: 1; transform: none; }
}

/* 13 响应式 -------------------------------------------------- */
@media (max-width: 1180px) {
	.lq-layout { grid-template-columns: minmax(0, 1fr) 292px; gap: 30px; }
	.lq-hero-inner { gap: 40px; }
	.lq-footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
}

@media (max-width: 1024px) {
	.lq-nav { display: none; }
	.lq-menu-toggle { display: grid; }
	.lq-header-login { display: none; }
	.lq-hero-inner { grid-template-columns: minmax(0, 1fr); }
	.lq-hero-card { max-width: 460px; }
	.lq-layout { grid-template-columns: minmax(0, 1fr); }
	.lq-sidebar { position: static; }
	.lq-uc-shell { grid-template-columns: 1fr; }
	.lq-uc-side { position: static; }
	.lq-auth-page { grid-template-columns: 1fr; gap: 34px; padding-top: 40px; }
	.lq-card-grid--three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
	.lq-quick-grid { grid-template-columns: repeat(2, 1fr); }
	.lq-cat-grid { grid-template-columns: repeat(2, 1fr); }
	.lq-card-grid { grid-template-columns: minmax(0, 1fr); }
	.lq-related-grid { grid-template-columns: minmax(0, 1fr); }
	.lq-cta-inner { flex-direction: column; align-items: flex-start; padding: 32px; }
	.lq-article { padding: 24px 22px 30px; }
	.lq-page-article { padding: 24px 22px; }
	.lq-hero-stats { gap: 26px; }
	.lq-topbar-points { display: none; }
	.lq-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
}

@media (max-width: 640px) {
	.lq-container { padding: 0 18px; }
	.lq-hero { padding: 46px 0 40px; }
	.lq-hero-title { font-size: 30px; }
	.lq-hero-subtitle { font-size: 15px; }
	.lq-section { margin: 40px 0; }
	.lq-section-head { align-items: flex-start; flex-direction: column; gap: 10px; }
	.lq-hot-item { grid-template-columns: 34px minmax(0, 1fr); gap: 12px; padding: 16px; }
	.lq-hot-meta { display: none; }
	.lq-card-grid--three { grid-template-columns: minmax(0, 1fr); }
	.lq-article-actions { width: 100%; }
	.lq-author-box { flex-direction: column; gap: 12px; }
	.lq-footer-grid { grid-template-columns: 1fr; }
	.lq-footer-bottom { flex-direction: column; align-items: flex-start; }
	.lq-uc-head { flex-direction: column; align-items: flex-start; }
	.lq-logo-text { font-size: 19px; }
	.lq-scrollbar { display: none; }
	.lq-to-top { right: 14px; bottom: 16px; }
}

/* 14 暗色模式 ------------------------------------------------- */
[data-lq-theme="dark"] {
	--lq-bg: #0d1020;
	--lq-surface: #151a2c;
	--lq-surface-2: #1c2238;
	--lq-surface-3: #242b45;
	--lq-text: #eef1fa;
	--lq-text-2: #a7b0c8;
	--lq-muted: #7e88a3;
	--lq-line: #242a40;
	--lq-line-strong: #333b56;
	--lq-shadow-sm: 0 8px 22px -16px rgba(0, 0, 0, 0.7);
	--lq-shadow: 0 24px 50px -30px rgba(0, 0, 0, 0.8);
	--lq-shadow-lg: 0 40px 90px -40px rgba(0, 0, 0, 0.9);
}

[data-lq-theme="dark"] .lq-header {
	background: rgba(13, 16, 32, 0.86);
}

[data-lq-theme="dark"] .lq-topbar {
	background: #080a14;
}

[data-lq-theme="dark"] .lq-hero {
	background: linear-gradient(180deg, #131829 0%, #0d1020 100%);
}

[data-lq-theme="dark"] .lq-card-placeholder {
	background:
		radial-gradient(400px 200px at 20% 10%, color-mix(in srgb, var(--lq-accent) 22%, transparent), transparent),
		var(--lq-surface-2);
}

[data-lq-theme="dark"] .lq-prose pre {
	background: #0a0d18;
}

[data-lq-theme="dark"] .lq-toast {
	background: rgba(238, 241, 250, 0.96);
	color: #151a26;
}

@media (prefers-color-scheme: dark) {
	html:not([data-lq-theme="light"]) {
		--lq-bg: #0d1020;
		--lq-surface: #151a2c;
		--lq-surface-2: #1c2238;
		--lq-surface-3: #242b45;
		--lq-text: #eef1fa;
		--lq-text-2: #a7b0c8;
		--lq-muted: #7e88a3;
		--lq-line: #242a40;
		--lq-line-strong: #333b56;
	}

	html:not([data-lq-theme="light"]) .lq-header {
		background: rgba(13, 16, 32, 0.86);
	}

	html:not([data-lq-theme="light"]) .lq-hero {
		background: linear-gradient(180deg, #131829 0%, #0d1020 100%);
	}
}