@charset "UTF-8";

/*!
 * 设计分享页（share.html）专属补充
 * 基础版式复用 legal.css（无边框文档级排版、细线分隔、暖砂强调色）
 * 本文件只定义「资源行」与页头引言，不影响其他页面
 */

/* ---------- 页头（非大屏：直接进入正题） ---------- */
.share-head {
	margin-top: clamp(28px, 4vw, 52px);
}

.share-head h1 {
	margin: 0 0 18px;
	font-size: clamp(30px, 3.4vw, 44px);
	font-weight: 600;
	letter-spacing: .04em;
	line-height: 1.25;
	color: #fff;
}

.share-head h1 em {
	font-style: normal;
	font-size: .38em;
	font-weight: 400;
	letter-spacing: .22em;
	color: rgba(255, 255, 255, .38);
	vertical-align: .5em;
	margin-left: 14px;
	text-transform: uppercase;
}

.share-lead {
	margin: 0;
	max-width: 720px;
	font-size: clamp(15px, 1.1vw, 17px);
	line-height: 2.05;
	letter-spacing: .04em;
	color: rgba(255, 255, 255, .82);
}

/* ---------- 资源行：编号分组下的条目，无卡片边框 ---------- */
.share-list {
	margin: 18px 0 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--legal-line);
}

.share-item {
	display: grid;
	grid-template-columns: 216px minmax(0, 1fr) 30px;
	gap: 26px;
	align-items: baseline;
	padding: 21px 0;
	border-bottom: 1px solid var(--legal-line);
	text-decoration: none;
	outline: none;
}

.share-item:focus-visible {
	box-shadow: inset 2px 0 0 var(--legal-accent);
}

.share-name {
	font-size: 16.5px;
	font-weight: 600;
	letter-spacing: .03em;
	color: #fff;
	transition: color .25s ease;
}

.share-name em {
	display: block;
	margin-top: 5px;
	font-style: normal;
	font-weight: 400;
	font-size: 11px;
	letter-spacing: .1em;
	color: var(--legal-text-dim);
	text-transform: lowercase;
	font-variant-numeric: tabular-nums;
}

.share-desc {
	font-size: 14.5px;
	line-height: 1.95;
	letter-spacing: .03em;
	color: var(--legal-text);
	transition: color .25s ease;
}

.share-go {
	font-size: 15px;
	line-height: 1.6;
	color: var(--legal-text-dim);
	transition: color .25s ease, transform .3s ease;
	justify-self: end;
}

.share-item:hover .share-name,
.share-item:focus-visible .share-name {
	color: var(--legal-accent);
}

.share-item:hover .share-desc,
.share-item:focus-visible .share-desc {
	color: rgba(255, 255, 255, .85);
}

.share-item:hover .share-go,
.share-item:focus-visible .share-go {
	color: var(--legal-accent);
	transform: translate(3px, -3px);
}

/* 收录时间的行尾小注 */
.share-note {
	margin: 14px 0 0;
	font-size: 12px;
	letter-spacing: .06em;
	color: var(--legal-text-dim);
}

/* ---------- 响应式 ---------- */
@media (max-width: 767.98px) {
	/* 手机端留白：容器默认 15px 太贴边，加大左右留白 */
	.legal .container {
		padding-left: 24px;
		padding-right: 24px;
	}

	.share-head {
		margin-top: 40px;
	}

	.share-head h1 {
		font-size: clamp(27px, 7.6vw, 32px);
		letter-spacing: .03em;
	}

	.share-head h1 em {
		display: block;
		margin: 10px 0 0;
		vertical-align: baseline;
	}

	.share-lead {
		font-size: 15px;
		line-height: 2;
		letter-spacing: .02em;
	}

	.legal-sec-head {
		gap: 12px;
		margin-bottom: 20px;
	}

	.share-item {
		display: block;
		position: relative;
		padding: 20px 36px 20px 0;
	}

	.share-go {
		position: absolute;
		right: 2px;
		top: 22px;
	}

	.share-name {
		font-size: 16px;
	}

	.share-name em {
		margin-top: 4px;
		letter-spacing: .06em;
	}

	.share-desc {
		margin-top: 9px;
		font-size: 13.5px;
		line-height: 1.95;
		letter-spacing: .02em;
	}
}

@media (prefers-reduced-motion: reduce) {
	.share-name,
	.share-desc,
	.share-go {
		transition: none;
	}
}
