/* Answer-First / SEO 介绍卡 · 全站对读者隐藏（不再展示白色介绍块） */

/* 机器标签 + 全部介绍卡：肉眼不可见 */
.lx-ai-only,
.lx-answer-first__label,
.lx-ddc__tag,
.lx-answer-first,
.lx-answer-first--tool,
div[data-ai-block="answer-first"],
section[data-ai-block="answer-first"],
.lx-seo-lead,
.lx-seo-tool-extra,
.lx-seo-ilink,
.lx-seo-ilink-inline {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	clip-path: inset(50%) !important;
	white-space: nowrap !important;
	border: 0 !important;
	pointer-events: none !important;
	display: block !important;
	visibility: hidden !important;
}

/* 概览卡样式保留类名兼容，实际已被上规则隐藏 */
.lx-answer-first {
	position: absolute;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	box-shadow: none;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
}
.lx-answer-first::before {
	content: "";
	position: absolute;
	left: 0;
	top: 14px;
	bottom: 14px;
	width: 3px;
	border-radius: 0 3px 3px 0;
	background: linear-gradient(180deg, #00fff0, #8b5cff);
	opacity: 0.85;
	pointer-events: none;
}

.lx-answer-first p,
.lx-ddc__def,
.lx-ddc__data,
.lx-ddc__ctx {
	margin: 0 0 0.65rem;
	line-height: 1.7;
	font-size: 1.02rem;
}
.lx-answer-first p:last-child,
.lx-ddc__ctx:last-child {
	margin-bottom: 0;
}

/* 定义主文突出；数据/上下文更轻 */
.lx-ddc__def {
	font-size: 1.05rem;
	font-weight: 500;
	color: #f1f7fc;
}
.lx-ddc__data {
	font-size: 0.92rem;
	color: #a8b8cc;
	padding: 0.55rem 0.7rem;
	border-radius: 10px;
	background: rgba(0, 0, 0, 0.18);
	border: 1px solid rgba(148, 163, 184, 0.12);
}
.lx-ddc__ctx {
	font-size: 0.9rem;
	color: #94a3b8;
}

.lx-answer-first--tool {
	max-width: 1120px;
	margin: 1rem auto 0;
	padding-left: 1.15rem;
	padding-right: 1.15rem;
}

/* 小节答案区：左侧强调条，无标签字 */
.lx-ddc-sec {
	margin: 1.5rem 0 1.75rem;
	padding-bottom: 0.25rem;
	border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}
.lx-ddc__answer {
	margin: 0.35rem 0 0.85rem;
	padding: 0.75rem 0.9rem;
	border-radius: 12px;
	border-left: 3px solid #22d3ee;
	background: rgba(8, 47, 73, 0.22);
}
.lx-ddc__data-block {
	margin: 0.5rem 0 0.85rem;
}
.lx-ddc__context {
	margin: 0.25rem 0;
}

/* 旧「可提取摘要卡」：读者端彻底隐藏 */
.lx-extract-card {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	clip-path: inset(50%) !important;
	white-space: nowrap !important;
	border: 0 !important;
	pointer-events: none !important;
}
.lx-extract-card__h {
	display: none !important;
}

/* 机器可读层：读者看不见，源码/爬虫仍可解析 */
.lx-machine-meta {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	clip-path: inset(50%) !important;
	white-space: nowrap !important;
	border: 0 !important;
	pointer-events: none !important;
}
.lx-machine-meta__inner {
	display: block;
}
.lx-machine-meta__row {
	margin: 0;
}
.lx-machine-meta__k::after {
	content: ": ";
}

/* 结构化小表 */
.lx-extract-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.9rem;
	margin: 0.35rem 0 0.5rem;
}
.lx-extract-table th,
.lx-extract-table td {
	border: 1px solid rgba(148, 163, 184, 0.22);
	padding: 0.5rem 0.6rem;
	text-align: left;
	vertical-align: top;
}
.lx-extract-table th {
	width: 28%;
	background: rgba(15, 23, 42, 0.35);
	font-weight: 600;
	color: #94a3b8;
}

/* 浅色正文区适配 */
.lx-ai-auth .lx-answer-first {
	margin-top: 0.5rem;
}
.entry-content .lx-answer-first,
.wp-block-post-content .lx-answer-first {
	color: inherit;
	background:
		linear-gradient(135deg, rgba(14, 165, 233, 0.07), rgba(99, 102, 241, 0.05)),
		rgba(248, 250, 252, 0.92);
	border-color: rgba(14, 165, 233, 0.22);
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}
.entry-content .lx-ddc__def {
	color: #0f172a;
}
.entry-content .lx-ddc__data {
	color: #475569;
	background: rgba(241, 245, 249, 0.9);
}
.entry-content .lx-ddc__ctx {
	color: #64748b;
}
.entry-content .lx-ddc__answer {
	background: rgba(14, 165, 233, 0.06);
	border-left-color: #0ea5e9;
	color: inherit;
}

/* 引用脚注：全站隐藏（不再展示「由龙虾PRO整理…」署名） */
.lx-cite-line,
.lx-cite-footer,
p.lx-seo-note[data-ai-source="longxiapro.com"] {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	clip-path: inset(50%) !important;
	white-space: nowrap !important;
	border: 0 !important;
	visibility: hidden !important;
	pointer-events: none !important;
}

@media (max-width: 640px) {
	.lx-answer-first {
		font-size: 0.98rem;
		padding: 0.9rem 0.95rem;
	}
	.lx-extract-table th {
		width: 34%;
	}
}
