/*!
 * 花乱开语录 — 前台样式
 *
 * 只有一种外观：一行小字标题 + 一句正文。无边框、无阴影、无装饰线、无背景块。
 * 标题字小、颜色淡蓝，正文随站点正文排版，不与文章抢。
 */

.hlk-quote {
	--hlk-accent: #1a73e8;
	--hlk-muted: #80868b;

	position: relative;
	box-sizing: border-box;
	width: 100%;
	margin: 0;
	padding: 0;
	text-align: left;
	font-family: inherit;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

/* ---------- 标题（小字，紧贴正文上方） ---------- */

.hlk-quote__title {
	margin: 0 0 10px;
	padding: 0;
	font-family: inherit;
	font-size: 11px;
	font-weight: 400;
	line-height: 1.35;
	letter-spacing: 0.02em;
	color: var(--hlk-accent);
	text-transform: none;
}

.hlk-quote__title a {
	color: inherit;
	text-decoration: none;
	box-shadow: none;
	border: 0;
}

.hlk-quote__title a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* ---------- 正文 ---------- */

.hlk-quote__inner {
	position: relative;
	z-index: 1;
	margin: 0;
	padding: 0;
}

.hlk-quote__text {
	display: block;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	box-shadow: none;
	quotes: none;
	font-family: inherit;
	font-style: normal;
	font-weight: 400;
	font-size: 14px;
	line-height: 1.9;
	letter-spacing: 0.01em;
	color: inherit;
	text-decoration: none;
	text-align: inherit;
	text-indent: 0;
	white-space: pre-wrap;
	word-break: break-word;
	overflow-wrap: break-word;
	-webkit-text-size-adjust: 100%;
	text-wrap: pretty;
}

/* ---------- 出处（默认不显示） ---------- */

.hlk-quote__meta {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 10px;
	margin: 8px 0 0;
	padding: 0;
	font-family: inherit;
	font-size: 11px;
	font-style: normal;
	line-height: 1.6;
	letter-spacing: 0.04em;
	color: inherit;
	opacity: 0.55;
}

.hlk-quote__dash {
	display: block;
	flex: 0 0 auto;
	width: 18px;
	height: 1px;
	background-color: currentColor;
	opacity: 0.5;
}

.hlk-quote__source {
	display: block;
	margin: 0;
	padding: 0;
}

/* ---------- 居中 ---------- */

.hlk-quote--align-center .hlk-quote__title,
.hlk-quote--align-center .hlk-quote__text {
	text-align: center;
}

/* ---------- 空状态 ---------- */

.hlk-quote__empty {
	margin: 0;
	padding: 0;
	font-family: inherit;
	font-size: 13px;
	line-height: 1.7;
	color: var(--hlk-muted);
}

/* ---------- 窄屏 ---------- */

@media (max-width: 700px) {
	.hlk-quote__text {
		font-size: 13px;
		line-height: 1.85;
	}
}
