/**
 * 前台样式。所有选择器限定在 yxs- 前缀内，不覆盖主题全局规则。
 */
.yxs-page,
.yxs-lab,
.yxs-detail,
.yxs-hero,
.yxs-section,
.yxs-preview {
	color: var(--yxs-ink);
	box-sizing: border-box;
}

.yxs-page *,
.yxs-lab *,
.yxs-detail *,
.yxs-hero *,
.yxs-section *,
.yxs-preview * {
	box-sizing: border-box;
}

/* 表单控件跟随站点字体，避免浏览器 UA 字体族破坏一致性。 */
.yxs-page button,
.yxs-page input,
.yxs-page select,
.yxs-page textarea,
.yxs-lab button,
.yxs-lab input,
.yxs-lab select,
.yxs-lab textarea,
.yxs-detail button,
.yxs-detail input,
.yxs-detail select,
.yxs-detail textarea,
.yxs-share-dialog button,
.yxs-share-dialog input,
.yxs-lightbox button,
.yxs-lightbox input,
.yxs-toast button {
}

.yxs-page {
	width: 100%;
	background: transparent;
	padding: var(--yxs-page-pad-top, var(--yxs-space-6)) 0 var(--yxs-page-pad-bottom, var(--yxs-space-12));
	color: var(--yxs-ink);
	font-size: var(--yxs-body-size, 16px);
	line-height: var(--yxs-body-line-height, 1.6);
}

.yxs-container {
	max-width: var(--yxs-container-width, var(--yxs-max-width));
	margin: 0 auto;
	padding: var(--yxs-container-padding, 0 var(--yxs-space-6));
}

.yxs-empty {
	color: var(--yxs-muted);
}

/* ---------- 卡片墙 ---------- */
/* 列表容器回到页面内容宽度，左右与正文栏对齐；满屏只保留在详情页页头。 */
.yxs-lab {
	width: auto;
	max-width: 100%;
	padding: 0;
	overflow-x: clip;
	/* 卡片圆角只在列表内生效，详情页继续沿用主题桥接的 0 */
	--yxs-card-radius: 28px;
}

.yxs-lab__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: var(--yxs-space-6);
	margin-bottom: var(--yxs-head-gap, var(--yxs-space-6));
	border-bottom: 0;
	padding-bottom: var(--yxs-head-pad, var(--yxs-space-4));
}

.yxs-lab__head :is(h1, h2) {
	margin: 0;
	font-size: var(--yxs-h1-size, 24px);
	line-height: var(--yxs-heading-line-height, 1.2);
	letter-spacing: var(--yxs-heading-spacing, -0.01em);
	font-weight: var(--yxs-heading-weight, 700);
}

.yxs-lab__head p {
	margin: 0;
	color: var(--yxs-muted);
	font-size: var(--yxs-small-size, 13px);
	line-height: var(--yxs-body-line-height, 1.5);
}

.yxs-grid {
	display: grid;
	grid-template-columns: repeat(var(--yxs-cols, 3), minmax(0, 1fr));
	gap: var(--yxs-grid-gap, var(--yxs-space-6));
}

.yxs-grid--2 {
	--yxs-cols: 2;
}

.yxs-grid--3 {
	--yxs-cols: 3;
}

.yxs-grid--4 {
	--yxs-cols: 4;
}

/* 已开启众筹的新品：整行一张卡，桌面/移动端都独占一行 */
.yxs-grid > .yxs-card--cf {
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: clamp(200px, 30%, 360px) minmax(0, 1fr);
	align-items: stretch;
	gap: var(--yxs-space-6);
	padding: var(--yxs-space-5, 20px);
	background: #ffffff;
	border: 1px solid #e9e9e9;
	border-radius: var(--yxs-card-radius);
	box-shadow: none;
}

.yxs-grid > .yxs-card--cf:hover {
	transform: none;
}

.yxs-card--cf .yxs-card__media {
	aspect-ratio: auto;
	height: 100%;
	min-height: 225px;
	overflow: hidden;
	border-radius: var(--yxs-card-radius);
}

.yxs-card--cf .yxs-card__media img {
	height: 100%;
}

.yxs-card--cf .yxs-card__body {
	padding: 0;
}

/* 整卡可点：标题链接的伪元素铺满卡片；底部按钮靠 z-index 保持在热区之上。 */

.yxs-card--cf__numbers {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: var(--yxs-space-3);
	font-size: 13px;
	line-height: 1.5;
}

.yxs-card--cf__pct {
	color: var(--yxs-muted);
	font-variant-numeric: tabular-nums;
}

.yxs-card--cf__bar {
	height: 10px;
	margin: var(--yxs-space-3) 0 var(--yxs-space-2);
	background: var(--yxs-track, #d7dbe0);
	border-radius: 999px;
	overflow: hidden;
}

.yxs-card--cf__bar > span {
	display: block;
	height: 100%;
	background: var(--yxs-state, var(--yxs-ink));
	border-radius: inherit;
	transition: width var(--yxs-duration-slow) ease;
}

.yxs-card--cf__tiers {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 10px;
	margin: 0 0 var(--yxs-space-2);
	padding: 0;
	list-style: none;
}

/*
 * 主题与 Astra 的 `ul` 内距（20/40px）会覆盖单类名规则，导致档位文字左侧缩进、
 * 右侧贴边。提升一级选择器权重并把左右显式归零，保证长标题换行与 390 窄屏同样对称。
 */
.yxs-card--cf .yxs-card--cf__tiers {
	padding-left: 0;
	padding-right: 0;
	margin-left: 0;
}

/* 档位做成浅灰圆角块：无描边，宽度随内容，靠底色区分。 */
.yxs-card--cf__tier {
	display: inline-flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 4px 8px;
	max-width: 100%;
	min-width: 0;
	padding: 7px 12px;
	border: 0;
	background: #f8f8f8;
	border-radius: 6px;
	font-size: 13px;
	line-height: 1.5;
}

.yxs-card--cf__tier-name {
	color: var(--yxs-muted);
}

.yxs-card--cf__tier-price {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 2px 6px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

/* 0.11.63：列表卡折扣档显示零售价删除线；零售价缺失或低于档位价时不输出。 */
.yxs-card--cf__retail {
	color: var(--yxs-muted);
	font-weight: 500;
	text-decoration: line-through;
}

.yxs-card--cf__tier-left {
	color: var(--yxs-muted);
	font-size: 12px;
}

/* 列表卡档位：售罄整块变淡 + 显示"已售罄" flag */
.yxs-card--cf__tier.is-soldout {
	opacity: 0.45;
}

.yxs-card--cf__tier-flag {
	color: var(--yxs-muted);
	font-size: 12px;
	font-weight: 500;
}

/* 列表卡档位「含运费」徽章：跟价格同一行，留出呼吸空间，不挤价格与名额。 */
.yxs-card--cf__tier-ship {
	display: inline-flex;
	align-items: center;
	margin-left: 2px;
	padding: 1px 7px;
	border: 1px solid #e5e7eb;
	border-radius: 999px;
	background: #ffffff;
	color: var(--yxs-muted, #6b7280);
	font-size: 11px;
	font-weight: 500;
	line-height: 1.7;
	white-space: nowrap;
}

/* 0.11.70：列表卡单独一行「零售价」，与档位价分开，不换行不溢出。 */
.yxs-card--cf__retail-line {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 6px;
	margin: 0 0 var(--yxs-space-2);
	font-size: 12px;
	line-height: 1.5;
}

.yxs-card--cf__retail-line-label {
	color: var(--yxs-muted);
	font-size: 12px;
	white-space: nowrap;
}

.yxs-card--cf__retail-line-value {
	color: var(--yxs-ink);
	font-size: 16px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.yxs-card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	background: transparent;
	border: var(--yxs-card-border, 0);
	border-radius: var(--yxs-card-radius, 0);
	box-shadow: none;
	transition: transform var(--yxs-duration) ease;
}

.yxs-card:hover {
	transform: translateY(-1px);
}

.yxs-card:hover .yxs-card__title a {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.yxs-card__media {
	display: block;
	position: relative;
	aspect-ratio: var(--yxs-cover-ratio, 1 / 1);
	overflow: hidden;
	background: transparent;
	border-bottom: var(--yxs-card-media-border, 0);
	border-radius: var(--yxs-card-radius, 0) var(--yxs-card-radius, 0) 0 0;
}

/* 列表卡片：封面四角固定 20px，卡片本体 24px（外层更圆、图片略收） */
.yxs-lab .yxs-card__media {
	border-radius: 20px;
}

.yxs-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform var(--yxs-duration-slow) ease;
}

.yxs-card:hover .yxs-card__media img {
	transform: scale(1.02);
}

.yxs-card__body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	padding: var(--yxs-card-pad, 12px 0 0);
}

.yxs-card__badges {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--yxs-space-2);
	margin-bottom: var(--yxs-space-3);
}

.yxs-card__type {
	font-size: var(--yxs-badge-size, 11px);
	line-height: var(--yxs-badge-line-height, 1.4);
	color: var(--yxs-muted);
	padding: 2px 6px;
	border: var(--yxs-badge-border, 0);
	border-radius: var(--yxs-chip-radius, 0);
}

.yxs-card__title {
	margin: 0 0 var(--yxs-space-2);
	font-size: var(--yxs-h4-size, 19px);
	line-height: var(--yxs-card-title-line-height, 1.35);
	font-weight: var(--yxs-heading-weight, 600);
	letter-spacing: var(--yxs-heading-spacing, -0.01em);
}

.yxs-card__title a {
	color: var(--yxs-ink);
	text-decoration: none;
}

/* 整张卡片可点：链接热区覆盖卡片主体 */
.yxs-card__title a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

.yxs-card__title a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.yxs-card__tagline {
	margin: 0;
	color: var(--yxs-muted);
	font-size: var(--yxs-small-size, 13px);
	line-height: var(--yxs-body-line-height, 1.6);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	overflow-wrap: anywhere;
}

.yxs-card__dev {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 8px;
	margin-top: 8px;
	padding-top: 8px;
	border-top: 1px dashed var(--yxs-border, rgba(0, 0, 0, 0.1));
	font-size: 12px;
	line-height: 1.4;
}

.yxs-card__dev-stage {
	font-weight: 600;
	color: var(--yxs-text, #222);
}

.yxs-card__dev-date {
	color: var(--yxs-muted);
}

.yxs-card__dev-state {
	padding: 1px 6px;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.06);
	color: var(--yxs-muted);
}

.yxs-card__dev-state--doing {
	background: rgba(240, 120, 60, 0.12);
	color: #c2551d;
}

.yxs-card__dev-state--done {
	background: rgba(40, 160, 120, 0.12);
	color: #1f7a5c;
}

.yxs-card__dev-note {
	flex-basis: 100%;
	margin: 0;
	color: var(--yxs-muted);
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.yxs-card__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--yxs-space-3);
	margin-top: auto;
	padding-top: var(--yxs-card-foot-pad, var(--yxs-space-3));
	border-top: var(--yxs-card-foot-border, 0);
	min-height: var(--yxs-card-foot-height, 48px);
	position: relative;
	z-index: 2;
}

/* 状态徽标 */
.yxs-badge {
	display: inline-flex;
	align-items: center;
	min-height: var(--yxs-badge-height, 22px);
	padding: var(--yxs-badge-pad, 1px 8px);
	font-size: var(--yxs-badge-size, 11px);
	font-weight: 600;
	line-height: var(--yxs-badge-line-height, 1.4);
	letter-spacing: 0.02em;
	border: 0;
	border-radius: var(--yxs-chip-radius, 0);
	color: var(--yxs-ink);
	background: transparent;
	white-space: nowrap;
}

.yxs-badge[data-status] {
	color: #3d4650;
}

/* ---------- 按钮 ---------- */
.yxs-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: var(--yxs-btn-height, 44px);
	padding: var(--yxs-btn-padding, 0 var(--yxs-space-4));
	border: var(--yxs-btn-border, 1px solid var(--yxs-ink));
	border-radius: var(--yxs-btn-radius, var(--yxs-radius));
	background: var(--yxs-btn-bg, var(--yxs-ink));
	color: var(--yxs-btn-color, var(--yxs-paper));
	font-size: var(--yxs-btn-size, 14px);
	font-weight: var(--yxs-btn-weight, 600);
	line-height: var(--yxs-btn-line-height, 1.2);
	text-decoration: none;
	cursor: pointer;
	box-shadow: none;
	transition: background-color var(--yxs-duration) ease, color var(--yxs-duration) ease, border-color var(--yxs-duration) ease;
}

.yxs-btn:hover {
	background: var(--yxs-btn-bg-hover, var(--yxs-paper));
	color: var(--yxs-btn-color-hover, var(--yxs-ink));
	border-color: var(--yxs-btn-border-hover, var(--yxs-ink));
	box-shadow: none;
}

.yxs-btn--ghost {
	background: var(--yxs-btn-ghost-bg, var(--yxs-paper));
	color: var(--yxs-btn-ghost-color, var(--yxs-ink));
	border-color: var(--yxs-btn-ghost-border-color, transparent);
	border-style: solid;
	border-width: var(--yxs-btn-ghost-border-width, 0);
}

.yxs-btn--ghost:hover {
	background: var(--yxs-btn-ghost-bg-hover, var(--yxs-ink));
	color: var(--yxs-btn-ghost-color-hover, var(--yxs-paper));
	border-color: var(--yxs-btn-ghost-border-color-hover, var(--yxs-ink));
}

/* 行动点对齐工具：默认靠右，必要时居中；新增界面直接复用。 */
.yxs-actions--end {
	justify-content: flex-end;
}

.yxs-actions--center {
	justify-content: center;
}

.yxs-btn--xs {
	min-height: var(--yxs-btn-xs-height, 32px);
	padding: var(--yxs-btn-xs-padding, 0 var(--yxs-space-3));
	font-size: var(--yxs-btn-xs-size, 12px);
}

.yxs-btn:focus-visible,
.yxs-like:focus-visible,
.yxs-tab:focus-visible,
.yxs-link-btn:focus-visible,
.yxs-share__card:focus-visible,
.yxs-gallery__item:focus-visible {
	outline: 2px solid var(--yxs-ink);
	outline-offset: 2px;
}

.yxs-link-btn {
	border: 0;
	background: none;
	padding: 0;
	color: var(--yxs-ink);
	font: inherit;
	font-size: 12px;
	text-decoration: underline;
	cursor: pointer;
}

/* ---------- 点赞 ---------- */
.yxs-like {
	display: inline-flex;
	align-items: center;
	gap: var(--yxs-space-2);
	min-height: 44px;
	padding: var(--yxs-space-1) 0;
	border: 0;
	background: none;
	color: var(--yxs-ink);
	font-size: 13px;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	cursor: pointer;
	transition: opacity var(--yxs-duration) ease;
}

.yxs-like:hover {
	opacity: 0.7;
}

.yxs-like.is-busy {
	opacity: 0.5;
	cursor: wait;
}

.yxs-like__icon {
	display: block;
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.5;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.yxs-like[aria-pressed="true"] .yxs-like__icon {
	fill: var(--yxs-ink);
}

.yxs-likes-inline {
	display: inline-block;
}

/* ---------- 详情 ---------- */
/* 左右留白交给主题页面容器（.ast-container 20px），插件不再叠加 */
.yxs-detail {
	max-width: var(--yxs-detail-width, var(--yxs-max-width));
	margin: 0 auto;
	padding: 0;
	overflow-wrap: anywhere;
}

.yxs-detail__topbar {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: var(--yxs-space-4);
	margin-bottom: var(--yxs-space-6);
}

.yxs-detail__back {
	display: inline-block;
	margin-bottom: 0;
	color: var(--yxs-muted);
	font-size: 13px;
	text-decoration: none;
}

.yxs-detail__back:hover {
	color: var(--yxs-ink);
	text-decoration: underline;
}

/* 详情页右上角的管理员入口：桌面平铺，移动端折叠为「管理」 */
.yxs-detail__admin {
	position: relative;
	flex: 0 0 auto;
	margin-left: auto;
}

.yxs-detail__admin-toggle {
	display: none;
	align-items: center;
	min-height: 32px;
	padding: 0 var(--yxs-space-2);
	color: var(--yxs-muted);
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
}

.yxs-detail__admin-cb {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}

.yxs-detail__admin-cb:focus-visible + .yxs-detail__admin-toggle {
	outline: 2px solid var(--yxs-ink);
	outline-offset: 2px;
}

.yxs-detail__admin-list {
	display: flex;
	align-items: center;
	gap: var(--yxs-space-1);
	flex-wrap: wrap;
}

.yxs-detail__admin-link {
	padding: 8px 14px;
	color: var(--yxs-muted);
	font-size: 13px;
	line-height: 1;
	text-decoration: none;
}

.yxs-detail__admin-link:hover {
	color: var(--yxs-ink);
	text-decoration: underline;
}

.yxs-detail__admin-sep {
	color: var(--yxs-line);
	font-size: 12px;
}

/* 管理员入口统一用小尺寸文字按钮 */
.yxs-detail__admin .yxs-btn {
	min-height: 32px;
	padding: 8px 14px;
	border: 0;
	background: transparent;
	color: var(--yxs-muted);
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
	box-shadow: none;
	text-decoration: none;
}

.yxs-detail__admin .yxs-btn:hover {
	background: transparent;
	color: var(--yxs-ink);
	text-decoration: underline;
}

.yxs-detail__admin .yxs-convert-note {
	display: block;
	padding: 0 14px;
	color: var(--yxs-muted);
	font-size: 11px;
}

/* 卡片右上角的管理员快捷入口 */
.yxs-card__admin {
	position: absolute;
	top: var(--yxs-space-2);
	right: var(--yxs-space-2);
	z-index: 3;
	display: flex;
}

.yxs-card__admin .yxs-btn,
.yxs-card__admin .yxs-convert-link {
	display: inline-flex;
	align-items: center;
	min-height: 30px;
	padding: 4px 10px;
	border-radius: var(--yxs-radius-sm);
	background: var(--yxs-btn-ghost-bg, var(--yxs-paper));
	color: var(--yxs-ink);
	font-size: 12px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
}

@media (min-width: 641px) {
	/* 桌面端始终平铺，折叠开关只对移动端生效 */
	.yxs-detail__admin-list {
		display: flex;
	}
}

@media (max-width: 640px) {
	.yxs-detail__admin-toggle {
		display: inline-flex;
	}

	.yxs-detail__admin-list {
		display: none;
		position: absolute;
		right: 0;
		top: calc(100% + 6px);
		z-index: 20;
		flex-direction: column;
		align-items: stretch;
		min-width: 148px;
		padding: var(--yxs-space-2);
		background: var(--yxs-paper);
	box-shadow: none;
	}

	.yxs-detail__admin-cb:checked ~ .yxs-detail__admin-list {
		display: flex;
	}

	.yxs-detail__admin-sep {
		display: none;
	}

	.yxs-detail__admin .yxs-btn,
	.yxs-detail__admin-link {
		justify-content: flex-end;
		text-align: right;
	}

	.yxs-card__admin .yxs-btn {
		min-height: 28px;
		padding: 2px 8px;
	}
}

/* 0.11.5：页头满宽底色需要溢出到容器外，横向裁剪交给 html/body（见文件末尾） */
.yxs-page {
	overflow-x: visible;
}

.yxs-detail__head {
	margin-bottom: var(--yxs-space-6);
}

/* z-index 让分享面板（+30）所在的页头层级高于后续众筹区块，
 * 避免进度条与档位卡压住微信二维码弹层；isolation 保留，兜住满屏底色伪元素。 */
.yxs-detail__hero {
	position: relative;
	z-index: 2;
	isolation: isolate;
}

/* 页头底色只包封面、图集、标题/标签、简介；顶部操作行与购买区在色块之外 */
.yxs-detail__hero.is-tinted {
	padding-block: var(--yxs-space-6);
}

/* 色块满屏宽铺满：内容仍在内容区左对齐；100vw 溢出由 .yxs-page 裁掉，不产生横向滚动 */
.yxs-detail__hero.is-tinted::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	width: 100vw;
	transform: translateX(-50%);
	background: var(--yxs-head-bg, transparent);
	pointer-events: none;
	z-index: -1;
}

.yxs-detail__kicker {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--yxs-space-2);
	margin-bottom: var(--yxs-space-3);
	color: var(--yxs-muted);
	font-size: var(--yxs-kicker-size, 12px);
	letter-spacing: var(--yxs-kicker-spacing, 0.08em);
	text-transform: uppercase;
}

.yxs-detail__type {
	letter-spacing: 0.04em;
}

.yxs-detail__title {
	margin: 0 0 var(--yxs-space-3);
	font-size: var(--yxs-title-size, clamp(30px, 4.4vw, 52px));
	line-height: var(--yxs-title-line-height, 1.1);
	font-weight: var(--yxs-title-weight, 700);
	letter-spacing: var(--yxs-title-spacing, -0.02em);
	overflow-wrap: anywhere;
}

.yxs-detail__tagline {
	margin: 0;
	max-width: 60ch;
	color: var(--yxs-muted);
	font-size: var(--yxs-lead-size, 16px);
	line-height: var(--yxs-lead-line-height, 1.7);
}

.yxs-detail__body {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--yxs-detail-gap, var(--yxs-space-12));
	margin-top: var(--yxs-block-gap-lg, var(--yxs-space-10));
}

.yxs-detail__body.is-single {
	grid-template-columns: minmax(0, 1fr);
	max-width: 820px;
}

/* ---------- 样机展示 ---------- */
.yxs-hero {
	margin: 0;
	background: #ffffff;
}

.yxs-hero__stage {
	position: relative;
	height: var(--yxs-stage-h, 70vh);
	min-height: 420px;
	background: #ffffff;
	border: 0;
	border-radius: 0;
	overflow: hidden;
}

.yxs-hero__fallback {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
	background: #ffffff;
	z-index: 0;
}

.yxs-hero__viewer {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	background: #ffffff;
	--poster-color: #ffffff;
	z-index: 1;
}

.yxs-hero__flat {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
	background: #ffffff;
	z-index: 1;
}

.yxs-hero__flat[hidden],
.yxs-hero__viewer[hidden] {
	display: none;
}

.yxs-hero__stage[data-yxs-view="flat"] .yxs-hero__viewer {
	display: none;
}

.yxs-hero__stage[data-yxs-view="flat"] .yxs-hero__loader {
	display: none;
}

.yxs-hero.is-no-webgl .yxs-hero__viewer,
.yxs-hero.is-model-error .yxs-hero__viewer {
	display: none;
}

.yxs-hero__loader {
	position: absolute;
	left: 50%;
	bottom: var(--yxs-space-5);
	transform: translateX(-50%);
	display: flex;
	align-items: center;
	gap: var(--yxs-space-3);
	padding: var(--yxs-space-2) var(--yxs-space-3);
	background: var(--yxs-paper);
	border: 0;
	border-radius: var(--yxs-radius);
	color: var(--yxs-muted);
	font-size: 12px;
	line-height: 1.4;
	max-width: calc(100% - 32px);
}

.yxs-hero__loader[hidden] {
	display: none;
}

.yxs-hero__reset {
	position: absolute;
	right: var(--yxs-space-3);
	top: var(--yxs-space-3);
	min-height: 32px;
	padding: 0 var(--yxs-space-2);
	background: var(--yxs-paper);
	border: 0;
	border-radius: var(--yxs-radius-sm);
	color: var(--yxs-muted);
	font-size: 12px;
	cursor: pointer;
}

.yxs-hero__reset:hover {
	color: var(--yxs-ink);
	font-weight: 700;
}

.yxs-hero__bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--yxs-space-3);
	margin-top: var(--yxs-space-3);
	padding-bottom: var(--yxs-space-3);
	border-bottom: 0;
}

.yxs-hero__tabs {
	display: flex;
	flex-wrap: wrap;
	gap: var(--yxs-space-2);
}

.yxs-tab {
	min-height: 36px;
	padding: 0 var(--yxs-space-4);
	background: transparent;
	border: 0;
	border-radius: var(--yxs-radius);
	color: var(--yxs-muted);
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	text-decoration: underline transparent;
	text-underline-offset: 4px;
}

.yxs-tab:hover:not(:disabled) {
	color: var(--yxs-ink);
	text-decoration-color: currentColor;
}

.yxs-tab.is-active {
	background: var(--yxs-ink);
	color: var(--yxs-paper);
}

.yxs-tab:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

.yxs-hero__hint {
	color: var(--yxs-muted);
	font-size: 12px;
}

.yxs-hero__type {
	font-size: 12px;
	padding: 2px 8px;
	border: 0;
	border-radius: 999px;
	color: var(--yxs-muted);
	white-space: nowrap;
}

.yxs-gallery {
	display: flex;
	gap: var(--yxs-space-2);
	margin-top: var(--yxs-space-3);
	padding-bottom: var(--yxs-space-1);
	overflow-x: auto;
	scroll-snap-type: x proximity;
	-webkit-overflow-scrolling: touch;
}

.yxs-gallery__item {
	display: block;
	flex: 0 0 112px;
	width: 112px;
	aspect-ratio: 1 / 1;
	padding: 0;
	border: 0;
	border-radius: var(--yxs-radius-sm);
	overflow: hidden;
	background: transparent;
	box-shadow: none;
	scroll-snap-align: start;
	cursor: zoom-in;
}

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

.yxs-gallery__item:hover {
	opacity: 0.82;
	transform: translateY(-1px);
}

/* 封面容器内的就地查看器 */
.yxs-gallery-viewer {
	position: absolute;
	inset: 0;
	z-index: 5;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--yxs-ink);
}

.yxs-gallery-viewer[hidden] {
	display: none;
}

.yxs-gallery-viewer > img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.yxs-gallery-viewer__bar {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: var(--yxs-space-3);
	padding: var(--yxs-space-2) var(--yxs-space-3);
	background: rgba(17, 17, 17, 0.72);
	color: var(--yxs-paper);
}

.yxs-gallery-viewer__nav,
.yxs-gallery-viewer__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0;
	background: rgba(255, 255, 255, 0.12);
	border: 0;
	border-radius: 50%;
	color: var(--yxs-paper);
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
}

.yxs-gallery-viewer__nav:hover,
.yxs-gallery-viewer__close:hover {
	background: rgba(255, 255, 255, 0.24);
}

.yxs-gallery-viewer__nav:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

.yxs-gallery-viewer__count {
	min-width: 56px;
	font-size: 12px;
	font-variant-numeric: tabular-nums;
	text-align: center;
	letter-spacing: 0.04em;
}

/* ---------- 封面与图集（关闭样机时的首段） ---------- */
.yxs-media {
	max-width: 100%;
}

.yxs-media__stage {
	position: relative;
	overflow: hidden;
	background: transparent;
	border: var(--yxs-media-border, 0);
	border-radius: var(--yxs-media-radius, var(--yxs-card-radius, 0));
}

.yxs-media__cover {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	max-height: 70vh;
	object-fit: cover;
}

/* ---------- 通用区块 ---------- */
.yxs-section {
	margin: 0;
	min-width: 0;
}

.yxs-section__head {
	margin-bottom: var(--yxs-section-head-gap, var(--yxs-space-5));
}

.yxs-section__head h2 {
	margin: 0 0 var(--yxs-space-1);
	font-size: var(--yxs-section-size, 24px);
	line-height: var(--yxs-heading-line-height, 1.3);
	font-weight: var(--yxs-heading-weight, 700);
	letter-spacing: var(--yxs-heading-spacing, -0.01em);
}

.yxs-section__head p {
	margin: 0;
	color: var(--yxs-muted);
	font-size: var(--yxs-small-size, 12px);
	line-height: var(--yxs-body-line-height, 1.5);
}

/* ---------- 时间轴 ---------- */
.yxs-timeline {
	--yxs-timeline-gutter: 48px;
	position: relative;
	width: 100%;
	max-width: var(--yxs-timeline-width, 920px);
	margin: 0 auto;
	padding: var(--yxs-space-2) 0;
	list-style: none;
}

.yxs-timeline::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 0;
	bottom: 0;
	width: 1px;
	transform: translateX(-0.5px);
	background: var(--yxs-timeline-line, var(--yxs-line));
}

.yxs-timeline__item {
	position: relative;
	width: 50%;
	padding: 0 var(--yxs-timeline-gutter) var(--yxs-space-8) 0;
	min-width: 0;
}

.yxs-timeline__item.is-right {
	margin-left: 50%;
	padding: 0 0 var(--yxs-space-8) var(--yxs-timeline-gutter);
}

.yxs-timeline__item:last-child {
	padding-bottom: 0;
}

.yxs-timeline__marker {
	position: absolute;
	top: 18px;
	width: 11px;
	height: 11px;
	border: 1px solid var(--yxs-line);
	border-radius: 50%;
	background: var(--yxs-surface, var(--yxs-paper));
}

.yxs-timeline__item.is-left .yxs-timeline__marker {
	right: 0;
	transform: translateX(50%);
}

.yxs-timeline__item.is-right .yxs-timeline__marker {
	left: 0;
	transform: translateX(-50%);
}

.yxs-timeline__item.is-done .yxs-timeline__marker,
.yxs-timeline__item.is-doing .yxs-timeline__marker {
	background: var(--yxs-surface, var(--yxs-paper));
	border-color: var(--yxs-ink);
}

.yxs-timeline__item.is-todo .yxs-timeline__marker {
	background: var(--yxs-surface, var(--yxs-paper));
	border-color: var(--yxs-line);
	border-style: dashed;
}

/* 当前节点实心高亮，其余为空心点 */
.yxs-timeline__item.is-current .yxs-timeline__marker {
	background: var(--yxs-accent, var(--yxs-ink));
	border-color: var(--yxs-accent, var(--yxs-ink));
	outline: 2px solid var(--yxs-accent, var(--yxs-ink));
	outline-offset: 3px;
}

.yxs-timeline__content {
	position: relative;
	padding: var(--yxs-timeline-card-pad, 0 0 var(--yxs-space-1));
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

.yxs-timeline__item.is-current .yxs-timeline__content {
	border-color: transparent;
}

.yxs-timeline__item.is-current .yxs-timeline__stage {
	color: var(--yxs-accent, var(--yxs-ink));
	font-weight: 700;
}

@media (prefers-reduced-motion: no-preference) {
	.yxs-timeline__item {
		animation: yxs-timeline-in 0.4s ease both;
	}

	.yxs-timeline__item:nth-child(2) {
		animation-delay: 0.06s;
	}

	.yxs-timeline__item:nth-child(3) {
		animation-delay: 0.12s;
	}

	.yxs-timeline__item:nth-child(4) {
		animation-delay: 0.18s;
	}

	.yxs-timeline__item:nth-child(n + 5) {
		animation-delay: 0.24s;
	}
}

@keyframes yxs-timeline-in {
	from {
		opacity: 0;
		transform: translateY(8px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.yxs-timeline__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: var(--yxs-space-2);
	margin-bottom: var(--yxs-space-1);
	color: var(--yxs-muted);
	font-size: var(--yxs-timeline-meta-size, 12px);
	font-variant-numeric: tabular-nums;
}

.yxs-timeline__estimated {
	padding: 1px 0;
	border: 0;
	font-size: 10px;
	letter-spacing: 0.04em;
	text-decoration: underline dotted;
	text-underline-offset: 2px;
}

.yxs-timeline__stage {
	color: var(--yxs-ink);
	font-size: var(--yxs-timeline-stage-size, 15px);
	font-weight: 600;
	line-height: 1.4;
}

.yxs-timeline__item.is-todo .yxs-timeline__stage {
	color: var(--yxs-muted);
	font-weight: 500;
}

.yxs-timeline__current {
	padding: 1px 6px;
	background: var(--yxs-ink);
	color: var(--yxs-paper);
	border-radius: var(--yxs-radius-sm);
	font-size: 10px;
	letter-spacing: 0.04em;
}

.yxs-timeline__note {
	margin: 0;
	color: var(--yxs-muted);
	font-size: 13px;
	line-height: 1.7;
	overflow-wrap: anywhere;
}

/* 时间轴图片跟随卡片列宽：宽度 100%、高度自适应，左右留白一致 */
.yxs-timeline__image {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	margin-top: var(--yxs-space-2);
	border: 0;
	border-radius: 0;
}

.yxs-timeline__figure {
	display: block;
	width: 100%;
	max-width: 100%;
	margin: var(--yxs-space-2) 0 0;
	padding: 0;
	background: transparent;
	border: 0;
	cursor: zoom-in;
}

.yxs-timeline__figure .yxs-timeline__image {
	margin-top: 0;
}

.yxs-timeline__figure:focus-visible {
	outline: 2px solid var(--yxs-ink);
	outline-offset: 2px;
}

/* 节点配图 lightbox */
.yxs-lightbox {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: var(--yxs-space-6);
	background: rgba(17, 17, 17, 0.82);
}

.yxs-lightbox[hidden] {
	display: none;
}

.yxs-lightbox img {
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 100%;
	background: var(--yxs-paper);
	border-radius: var(--yxs-radius-sm);
}

.yxs-lightbox__close {
	position: absolute;
	top: var(--yxs-space-4);
	right: var(--yxs-space-4);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	background: rgba(255, 255, 255, 0.12);
	border: 0;
	border-radius: 50%;
	color: var(--yxs-paper);
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
}

.yxs-lightbox__close:hover {
	background: rgba(255, 255, 255, 0.22);
}

.yxs-timeline__empty {
	margin: 0;
	color: var(--yxs-muted);
	font-size: 13px;
}

/* ---------- 互动 ---------- */
.yxs-interact {
	border: 0;
	border-radius: 0;
	padding: 0;
	background: transparent;
	align-self: start;
}

.yxs-interact .yxs-section__head {
	padding-bottom: 0;
	border-bottom: 0;
}

.yxs-interact__actions {
	display: grid;
	gap: var(--yxs-space-5);
}

.yxs-interact__like {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--yxs-space-3);
	flex-wrap: wrap;
}

.yxs-interact__label {
	color: var(--yxs-muted);
	font-size: 13px;
}

.yxs-interact__suggest,
.yxs-interact__share {
	margin-top: var(--yxs-space-5);
}

/* ---------- 建议提交条 ---------- */
.yxs-suggest__intro {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: var(--yxs-space-2);
	margin-bottom: var(--yxs-space-3);
}

.yxs-suggest__title {
	margin: 0;
	font-size: var(--yxs-suggest-title-size, 16px);
	line-height: var(--yxs-heading-line-height, 1.3);
	font-weight: var(--yxs-heading-weight, 600);
}

.yxs-suggest__hint {
	margin: 0;
	color: var(--yxs-muted);
	font-size: var(--yxs-small-size, 13px);
	line-height: var(--yxs-body-line-height, 1.5);
}

.yxs-suggest-form {
	display: grid;
	gap: var(--yxs-space-2);
	max-width: var(--yxs-suggest-width, 760px);
}

.yxs-suggest__cats {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--yxs-space-2);
	margin: 0;
	padding: 0;
	border: 0;
}

.yxs-suggest__legend {
	margin-right: var(--yxs-space-1);
	color: var(--yxs-muted);
	font-size: var(--yxs-help-size, 12px);
	font-weight: 600;
}

.yxs-chip--option {
	position: relative;
	padding: 0 var(--yxs-space-3);
	cursor: pointer;
}

.yxs-chip--option input {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: 0;
	opacity: 0;
	pointer-events: none;
}

.yxs-chip--option:has(input:checked) {
	background: var(--yxs-chip-active-bg, var(--yxs-ink));
	border-color: var(--yxs-chip-active-border, var(--yxs-ink));
	color: var(--yxs-chip-active-color, var(--yxs-paper));
}

.yxs-chip--option:has(input:focus-visible) {
	outline: 2px solid var(--yxs-ink);
	outline-offset: 2px;
}

.yxs-suggest__compose {
	display: flex;
	align-items: flex-end;
	gap: var(--yxs-space-2);
}

.yxs-suggest__field {
	flex: 1 1 auto;
	min-width: 0;
}

.yxs-suggest__textarea {
	height: 64px;
	min-height: var(--yxs-suggest-min-height, 64px);
	padding: var(--yxs-input-padding, 10px var(--yxs-space-3));
	line-height: var(--yxs-body-line-height, 1.5);
	resize: none;
	overflow-y: auto;
}

.yxs-suggest__compose .yxs-btn {
	flex: 0 0 auto;
}

.yxs-suggest__foot {
	display: flex;
	justify-content: space-between;
	gap: var(--yxs-space-2);
}

.yxs-suggest__foot .yxs-form__help {
	display: inline;
}

@media (max-width: 560px) {
	.yxs-suggest__compose {
		flex-direction: column;
		align-items: stretch;
	}

	.yxs-suggest__compose .yxs-btn {
		width: 100%;
	}
}

.yxs-interact__like .yxs-like {
	font-size: 15px;
	padding: var(--yxs-space-1) 0;
	border: 0;
	border-radius: 0;
}

.yxs-interact__like .yxs-like:hover {
	opacity: 1;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.yxs-share__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--yxs-space-2);
}

.yxs-share__card {
	display: block;
	max-width: var(--yxs-share-card-width, 420px);
	margin-top: var(--yxs-space-3);
	border: 0;
	border-radius: var(--yxs-media-radius, 0);
	overflow: hidden;
	color: var(--yxs-muted);
	text-decoration: none;
	background: transparent;
}

.yxs-share__card img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1200 / 630;
	object-fit: cover;
}

.yxs-share__card span {
	display: block;
	padding: var(--yxs-space-2) var(--yxs-space-3);
	font-size: 12px;
	line-height: 1.4;
}

.yxs-share__card:hover span {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.yxs-share-dialog {
	position: fixed;
	inset: 0;
	z-index: 9990;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: var(--yxs-space-4);
	background: var(--yxs-overlay);
}

.yxs-share-dialog[hidden] {
	display: none;
}

.yxs-share-dialog__panel {
	position: relative;
	width: 100%;
	max-width: 420px;
	max-height: 90vh;
	overflow: auto;
	background: var(--yxs-paper);
	border: 0;
	border-radius: 0;
	padding: var(--yxs-space-6);
	color: var(--yxs-ink);
}

.yxs-share-dialog__panel h3 {
	margin: 0 0 var(--yxs-space-2);
	font-size: 14px;
}

.yxs-share-dialog__panel p {
	margin: 0 0 var(--yxs-space-4);
	color: var(--yxs-muted);
	font-size: 13px;
	line-height: 1.6;
}

.yxs-share-dialog__panel img {
	display: block;
	width: 100%;
	height: auto;
	border: 0;
}

.yxs-share-dialog__close {
	position: absolute;
	right: var(--yxs-space-2);
	top: var(--yxs-space-2);
	width: 40px;
	height: 40px;
	border: 0;
	background: none;
	color: var(--yxs-ink);
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
}

.yxs-interact__admin {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: var(--yxs-space-3);
	margin-top: var(--yxs-space-5);
	padding-top: 0;
	border-top: 0;
}

.yxs-interact__admin-label {
	color: var(--yxs-muted);
	font-size: 11px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* ---------- 转换按钮 ---------- */
.yxs-convert-form {
	display: inline-flex;
	margin: 0;
}

.yxs-convert-link {
	color: var(--yxs-muted);
	font-size: 12px;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.yxs-convert-link:hover {
	color: var(--yxs-ink);
}

.yxs-convert-disabled {
	display: inline-flex;
	align-items: center;
	gap: var(--yxs-space-2);
	flex-wrap: wrap;
}

.yxs-convert-disabled .yxs-btn {
	opacity: 0.45;
	cursor: not-allowed;
}

.yxs-convert-note {
	color: var(--yxs-muted);
	font-size: 11px;
}

/* ---------- 提示 ---------- */
.yxs-notice {
	margin: 0 0 var(--yxs-space-6);
	padding: 0;
	border: 0;
	border-radius: 0;
	color: var(--yxs-ink);
	font-size: 13px;
	line-height: 1.5;
	font-weight: 600;
	background: transparent;
}

.yxs-notice--warning {
	font-style: italic;
}

.yxs-notice--error {
	color: var(--yxs-error-color, var(--yxs-ink));
}

.yxs-lab__empty {
	border: 0;
	border-radius: 0;
	padding: var(--yxs-space-10) var(--yxs-space-6);
	text-align: center;
	background: transparent;
}

.yxs-lab__empty-title {
	margin: 0 0 var(--yxs-space-2);
	font-size: 18px;
	font-weight: 600;
}

.yxs-lab__empty-text {
	margin: 0;
	color: var(--yxs-muted);
	font-size: 13px;
}

.yxs-toast {
	position: fixed;
	left: 50%;
	bottom: var(--yxs-space-6);
	transform: translate(-50%, 8px);
	z-index: 9999;
	max-width: calc(100vw - 48px);
	padding: var(--yxs-space-2) var(--yxs-space-4);
	background: var(--yxs-ink);
	color: var(--yxs-paper);
	border-radius: var(--yxs-radius);
	font-size: 13px;
	line-height: 1.4;
	opacity: 0;
	pointer-events: none;
	transition: opacity var(--yxs-duration) ease, transform var(--yxs-duration) ease;
}

.yxs-toast[hidden] {
	display: none;
}

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

/* ---------- 静态预览 ---------- */
.yxs-preview {
	margin: 0;
	max-width: 100%;
}

.yxs-preview--sm {
	max-width: 320px;
}

.yxs-preview--md {
	max-width: 640px;
}

.yxs-preview--lg {
	max-width: 100%;
}

.yxs-preview picture,
.yxs-preview a {
	display: block;
}

.yxs-preview img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--yxs-radius);
	background: transparent;
}

.yxs-preview--bg-transparent img {
	border: 0;
	background: transparent;
}

.yxs-preview--bg-solid img {
	border: 0;
	background: var(--yxs-paper-2);
}

.yxs-preview--bg-scene {
	background: var(--yxs-paper-2);
	border: 0;
	border-radius: var(--yxs-radius);
	padding: var(--yxs-space-6);
}

.yxs-preview--bg-scene img {
	border: 0;
	background: transparent;
}

.yxs-preview__note {
	margin: var(--yxs-space-2) 0 0;
	color: var(--yxs-muted);
	font-size: 11px;
	line-height: 1.4;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
	.yxs-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.yxs-detail__body {
		grid-template-columns: minmax(0, 1fr);
		gap: var(--yxs-detail-gap, var(--yxs-space-8));
	}

	.yxs-hero__stage {
		height: 60vh;
		min-height: 360px;
		max-height: 62vh;
	}
}

@media (max-width: 720px) {
	.yxs-container {
		padding: 0 var(--yxs-space-2);
	}

	.yxs-page {
		padding-top: var(--yxs-space-3);
	}

	.yxs-lab {
		padding-inline: var(--yxs-space-4);
	}

	.yxs-lab__head {
		display: block;
	}

	.yxs-lab__head p {
		margin-top: var(--yxs-space-2);
	}

	.yxs-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: var(--yxs-space-4);
	}

	.yxs-detail__title {
		font-size: 22px;
		line-height: 1.25;
	}

	.yxs-detail__tagline {
		font-size: 13px;
	}

	.yxs-detail__head .yxs-interact__actions,
	.yxs-detail__head .yxs-interact__like,
	.yxs-detail__head .yxs-interact__share {
		justify-content: flex-start;
		align-items: center;
		gap: var(--yxs-space-2);
	}

	.yxs-detail__head .yxs-like,
	.yxs-detail__head .yxs-interact__share .yxs-btn {
		min-height: 30px;
		padding: 0 10px;
		font-size: 12px;
	}

	.yxs-hero__stage {
		min-height: 300px;
		max-height: 62vh;
	}

	.yxs-hero__bar {
		align-items: flex-start;
	}

	.yxs-section__head h2 {
		font-size: 20px;
	}

	.yxs-timeline__image {
		max-width: 100%;
	}

	.yxs-lightbox {
		padding: var(--yxs-space-3);
	}

	.yxs-gallery__item {
		flex-basis: 88px;
		width: 88px;
	}
}

/* 移动端：竖线移到左侧，所有节点单列堆叠 */
@media (max-width: 767px) {
	.yxs-timeline::before {
		left: 5px;
		transform: none;
	}

	.yxs-timeline__item,
	.yxs-timeline__item.is-right {
		width: 100%;
		margin-left: 0;
		padding: 0 0 var(--yxs-space-6) 28px;
	}

	.yxs-timeline__item:last-child {
		padding-bottom: 0;
	}

	.yxs-timeline__item.is-left .yxs-timeline__marker,
	.yxs-timeline__item.is-right .yxs-timeline__marker {
		left: 0;
		right: auto;
		transform: none;
	}
}

@media (max-width: 420px) {
	.yxs-card__foot {
		flex-wrap: wrap;
	}
}

@media (prefers-reduced-motion: reduce) {
	.yxs-card__media img,
	.yxs-card,
	.yxs-btn,
	.yxs-toast {
		transition: none;
	}

	.yxs-card:hover .yxs-card__media img {
		transform: none;
	}
}

/* ---------- 评论与建议 ---------- */
.yxs-detail__engagement {
	display: grid;
	gap: var(--yxs-space-10);
	margin-top: var(--yxs-detail-gap, var(--yxs-space-10));
	padding-top: 0;
	border-top: 0;
}

.yxs-comments__count {
	margin-left: var(--yxs-space-2);
	color: var(--yxs-muted);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0;
}

.yxs-comments__list,
.yxs-comment__replies {
	margin: 0;
	padding: 0;
	list-style: none;
}

.yxs-comments__list {
	display: grid;
	gap: var(--yxs-comment-gap, 28px);
	border-top: 0;
}

.yxs-comment {
	display: grid;
	grid-template-columns: 36px minmax(0, 1fr);
	gap: var(--yxs-space-3);
	padding: 0;
	border-bottom: 0;
}

.yxs-comment.is-reply {
	padding: 0;
	border-bottom: 0;
}

.yxs-comment__avatar-img {
	display: block;
	width: 36px;
	height: 36px;
	border: 0;
	border-radius: var(--yxs-radius-sm);
	background: transparent;
}

.yxs-comment__main {
	min-width: 0;
}

.yxs-comment__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: var(--yxs-space-2);
}

.yxs-comment__author {
	font-size: 13px;
	font-weight: 700;
}

.yxs-comment__time {
	color: var(--yxs-muted);
	font-size: 11px;
}

.yxs-comment__content {
	margin-top: var(--yxs-space-2);
	color: var(--yxs-ink);
	font-size: var(--yxs-body-size, 16px);
	line-height: var(--yxs-body-line-height, 1.65);
	overflow-wrap: anywhere;
}

.yxs-comment__content > :first-child {
	margin-top: 0;
}

.yxs-comment__content > :last-child {
	margin-bottom: 0;
}

.yxs-comment__actions {
	margin-top: var(--yxs-space-2);
}

.yxs-comment__reply {
	color: var(--yxs-muted);
	font-size: 12px;
	text-decoration: underline;
}

.yxs-comment__reply:hover {
	color: var(--yxs-ink);
}

.yxs-comment__replies {
	display: grid;
	gap: var(--yxs-space-3);
	margin-top: var(--yxs-space-3);
	padding-left: var(--yxs-space-5);
	border-left: 0;
}

.yxs-comments__empty {
	margin: var(--yxs-space-2) 0;
	padding: 0;
	border: 0;
	color: var(--yxs-muted);
	font-size: 13px;
	text-align: center;
}

.yxs-comments__login {
	margin-top: var(--yxs-space-5);
	padding: 0;
	background: transparent;
	border: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--yxs-space-3);
}

.yxs-comments__login p {
	margin: 0;
	font-size: 13px;
}

.yxs-comment-form-wrap {
	margin-top: var(--yxs-space-8);
	padding-top: 0;
	border-top: 0;
	scroll-margin-top: 96px;
}

/* 评论输入区限宽，避免主题宽版容器（1200px）下拉成超长单行 */
.yxs-comment-form {
	width: 100%;
	max-width: var(--yxs-comment-form-width, 820px);
}

.yxs-comment-form__title {
	margin: 0 0 var(--yxs-space-3);
	font-size: 16px;
	font-weight: 600;
}

.yxs-comment-form__as {
	display: flex;
	align-items: center;
	gap: var(--yxs-space-2);
	margin: 0;
	color: var(--yxs-muted);
	font-size: 13px;
}

.yxs-comment-form__as img {
	border-radius: var(--yxs-radius-sm);
}

.yxs-reply-note {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--yxs-space-2);
	margin-bottom: var(--yxs-space-2);
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--yxs-muted);
	font-size: 12px;
	font-weight: 600;
}

.yxs-form {
	display: grid;
	gap: var(--yxs-form-gap, var(--yxs-space-4));
}

.yxs-form [hidden] {
	display: none !important;
}

.yxs-form__row {
	display: grid;
	gap: var(--yxs-space-4);
}

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

.yxs-form__row--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.yxs-form__field {
	display: grid;
	gap: var(--yxs-space-2);
	min-width: 0;
}

.yxs-form__field label {
	color: var(--yxs-ink);
	font-size: var(--yxs-label-size, 12px);
	font-weight: 600;
	letter-spacing: 0.02em;
}

.yxs-input,
.yxs-select,
.yxs-textarea,
.yxs-file {
	width: 100%;
	min-height: var(--yxs-input-height, 44px);
	box-sizing: border-box;
	padding: var(--yxs-input-padding, 10px var(--yxs-space-3));
	border: var(--yxs-input-border, 1px solid #e5e7eb);
	border-radius: var(--yxs-input-radius, var(--yxs-radius));
	background: var(--yxs-input-bg, var(--yxs-paper));
	color: var(--yxs-ink);
	font-size: var(--yxs-input-size, 14px);
	line-height: var(--yxs-body-line-height, 1.5);
	box-shadow: none;
}

.yxs-textarea {
	min-height: 120px;
	resize: vertical;
}

.yxs-select {
	appearance: none;
	background-image: linear-gradient(45deg, transparent 50%, var(--yxs-ink) 50%),
		linear-gradient(135deg, var(--yxs-ink) 50%, transparent 50%);
	background-position: calc(100% - 18px) 19px, calc(100% - 13px) 19px;
	background-size: 5px 5px, 5px 5px;
	background-repeat: no-repeat;
	padding-right: 36px;
}

.yxs-file {
	padding: 8px var(--yxs-space-3);
	font-size: 12px;
	cursor: pointer;
}

.yxs-input::placeholder,
.yxs-textarea::placeholder {
	color: var(--yxs-muted);
	opacity: 1;
}

.yxs-input:focus-visible,
.yxs-select:focus-visible,
.yxs-textarea:focus-visible,
.yxs-file:focus-visible,
.yxs-chip:focus-visible,
.yxs-comment__reply:focus-visible,
.yxs-form .yxs-btn:focus-visible {
	outline: 2px solid var(--yxs-ink);
	outline-offset: 2px;
}

.yxs-input:focus,
.yxs-select:focus,
.yxs-textarea:focus,
.yxs-file:focus {
	border-color: #cbd5e1;
	box-shadow: 0 0 0 3px rgba(4, 107, 210, 0.1);
}

.yxs-form__help {
	display: flex;
	justify-content: space-between;
	gap: var(--yxs-space-2);
	color: var(--yxs-muted);
	font-size: var(--yxs-help-size, 11px);
	line-height: var(--yxs-body-line-height, 1.5);
}

.yxs-form__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--yxs-space-3);
}

.yxs-form__error,
.yxs-form__status {
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--yxs-error-color, var(--yxs-ink));
	font-size: var(--yxs-help-size, 12px);
	font-weight: 600;
	line-height: var(--yxs-body-line-height, 1.5);
}

.yxs-form__status:empty {
	display: none;
}

.yxs-chip {
	display: inline-flex;
	align-items: center;
	min-height: var(--yxs-chip-height, 32px);
	padding: 0 var(--yxs-space-3);
	border: var(--yxs-chip-border, 0);
	border-radius: var(--yxs-chip-radius, 0);
	color: var(--yxs-muted);
	font-size: var(--yxs-chip-size, 12px);
	font-weight: 600;
	text-decoration: none;
	background: transparent;
}

.yxs-chip:hover {
	color: var(--yxs-ink);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.yxs-chip.is-active {
	background: var(--yxs-chip-active-bg, var(--yxs-ink));
	border-color: var(--yxs-chip-active-border, var(--yxs-ink));
	color: var(--yxs-chip-active-color, var(--yxs-paper));
}

.yxs-pagination {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--yxs-space-2);
	margin-top: var(--yxs-space-5);
}

.yxs-pagination ul {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--yxs-space-2);
	margin: 0;
	padding: 0;
	list-style: none;
}

.yxs-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 32px;
	min-height: 32px;
	padding: 0 var(--yxs-space-2);
	border: 0;
	border-radius: var(--yxs-radius);
	color: var(--yxs-ink);
	font-size: 12px;
	text-decoration: none;
}

.yxs-pagination .page-numbers.is-active,
.yxs-pagination .page-numbers.current {
	background: var(--yxs-ink);
	color: var(--yxs-paper);
}

.yxs-pagination .page-numbers:hover {
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
}

@media (max-width: 720px) {
	.yxs-form__row--2,
	.yxs-form__row--3 {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 420px) {
	.yxs-comment {
		grid-template-columns: 30px minmax(0, 1fr);
	}

	.yxs-comment__avatar-img {
		width: 30px;
		height: 30px;
	}
}

/* ============================================================
 * 0.8.x 卡片式区块（B 方案）
 * 页面本身保持 transparent，卡片是浮在主题底色上的独立表面：
 * 白底 + 6px 圆角 + 0 1px 2px 的极轻阴影，不加描边。
 * ============================================================ */

/* 详情页六段：页头 / 新品说明 / 众筹 / 进度 / 互动 / 评论 */
.yxs-detail__head {
	margin-bottom: 0;
}

.yxs-detail__body {
	gap: 24px;
	margin-top: 24px;
}

.yxs-detail__body > .yxs-section,
.yxs-detail__body > section {
	background: var(--yxs-surface, #ffffff);
	border: 0;
	border-radius: 6px;
	box-shadow: none;
	padding: 24px;
	margin: 0;
	min-width: 0;
}

.yxs-detail__cover {
	display: block;
	width: 100%;
	height: auto;
	max-height: 560px;
	margin-bottom: 20px;
	border-radius: 6px;
	object-fit: cover;
}

.yxs-media__stage {
	border-radius: 6px;
	overflow: hidden;
}

/* 列表卡：图、标题、摘要、点赞都在卡内 */
.yxs-card {
	background: var(--yxs-surface, #ffffff);
	border: 0;
	border-radius: 6px;
	box-shadow: none;
	padding: 16px;
	transition: box-shadow var(--yxs-duration) ease, transform var(--yxs-duration) ease;
}

.yxs-card:hover {
	box-shadow: none;
	transform: translateY(-1px);
}

.yxs-card__media {
	border-radius: 6px;
	overflow: hidden;
}

.yxs-card__body {
	padding: 14px 0 0;
}

.yxs-card__foot {
	min-height: 0;
	padding-top: 12px;
}

.yxs-card__admin {
	top: 16px;
	right: 16px;
}

/* tab / 切换控件：未选中也要看得出是可点的控件 */
.yxs-tab {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 34px;
	padding: 0 12px;
	background: #ffffff;
	border: 1px solid var(--yxs-line);
	border-radius: 6px;
	color: #4b5563;
	font-size: 13px;
	font-weight: 500;
	line-height: 1;
	cursor: pointer;
	text-decoration: none;
	transition: background-color var(--yxs-duration) ease, color var(--yxs-duration) ease, border-color var(--yxs-duration) ease;
}

.yxs-tab:hover:not(:disabled) {
	background: #f5f6f8;
	border-color: #c5cbd3;
	color: var(--yxs-ink);
}

.yxs-tab.is-active,
.yxs-tab.is-active:hover {
	background: #046bd2;
	border-color: #046bd2;
	color: #ffffff;
}

.yxs-tab:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

.yxs-tab:focus-visible,
.yxs-gallery__item:focus-visible,
.yxs-cf-tier-card:focus-visible,
.yxs-pagination .page-numbers:focus-visible,
.yxs-chip:focus-visible {
	outline: 2px solid #046bd2;
	outline-offset: 2px;
}

/* 图集缩略图：默认白底 + 描边，选中强调色 */
.yxs-gallery__item {
	background: #ffffff;
	border: 1px solid var(--yxs-line);
	border-radius: 6px;
	padding: 0;
	overflow: hidden;
	cursor: pointer;
}

.yxs-gallery__item:hover {
	border-color: #c5cbd3;
}

.yxs-gallery__item.is-active {
	border-color: #046bd2;
	box-shadow: 0 0 0 2px rgba(4, 107, 210, 0.16);
}

/* 分页 */
.yxs-pagination .page-numbers {
	background: #ffffff;
	border: 1px solid var(--yxs-line);
	border-radius: 6px;
	color: #4b5563;
	font-size: 13px;
	font-weight: 500;
}

.yxs-pagination .page-numbers:hover {
	background: #f5f6f8;
	font-weight: 500;
	text-decoration: none;
}

.yxs-pagination .page-numbers.current {
	background: #046bd2;
	border-color: #046bd2;
	color: #ffffff;
}

.yxs-pagination .page-numbers.current:hover {
	background: #046bd2;
}

/* 标签胶囊：颜色由 includes/copy.php 注入的 CSS 变量提供 */
.yxs-badge,
.yxs-card__type,
.yxs-tag,
.yxs-detail__type {
	display: inline-flex;
	align-items: center;
	min-height: 0;
	padding: 4px 10px;
	border: 0;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.5;
	letter-spacing: 0;
	white-space: nowrap;
}

/* 0.11.72：状态标签统一视觉，不再按状态使用不同配色。 */
.yxs-badge[data-status] {
	background: #f1f2f4;
	color: #3d4650;
	border-radius: 999px;
	padding: 2px 10px;
}

.yxs-tag--meta {
	background: #f1f2f4;
	color: #3d4650;
}

.yxs-card__type {
	background: #f1f2f4;
	color: #3d4650;
}

.yxs-tag--type {
	background: #f1f2f4;
	color: #3d4650;
}

/* 开发进度：节点卡片 + 箭头 + 实心圆点 */
.yxs-timeline__item {
	padding-bottom: 36px;
}

.yxs-timeline__content {
	background: var(--yxs-surface, #ffffff);
	border: 0;
	border-radius: 6px;
	box-shadow: none;
	padding: 16px 18px;
}

.yxs-timeline__item:not(:last-child) .yxs-timeline__content::after {
	content: "→";
	position: absolute;
	right: -28px;
	bottom: 4px;
	color: #9aa2ab;
	font-size: 14px;
	line-height: 1;
	pointer-events: none;
}

.yxs-timeline__item.is-right:not(:last-child) .yxs-timeline__content::after {
	content: "←";
	right: auto;
	left: -28px;
}

.yxs-timeline__item.is-done .yxs-timeline__marker,
.yxs-timeline__item.is-doing .yxs-timeline__marker {
	background: var(--yxs-accent, #046bd2);
	border-color: var(--yxs-accent, #046bd2);
}

.yxs-timeline__item.is-todo .yxs-timeline__marker {
	background: var(--yxs-surface, #ffffff);
	border: 1px solid #b9c0c8;
}

.yxs-timeline__item.is-current .yxs-timeline__marker {
	background: var(--yxs-accent, #046bd2);
	border-color: var(--yxs-accent, #046bd2);
	outline: 2px solid var(--yxs-accent, #046bd2);
	outline-offset: 3px;
}

/* 样机折叠卡：默认收起，点开再加载 */
.yxs-model-fold {
	background: var(--yxs-surface, #ffffff);
	border: 0;
	border-radius: 6px;
	box-shadow: none;
	margin: 0;
	overflow: hidden;
}

.yxs-model-fold__summary {
	display: flex;
	align-items: center;
	gap: 12px;
	/* 详情页区块标题一律与正文左边缘对齐，不再额外缩进 24px。 */
	padding: 18px 0;
	cursor: pointer;
	list-style: none;
}

.yxs-model-fold__summary::-webkit-details-marker {
	display: none;
}

.yxs-model-fold__summary::after {
	content: "⌄";
	margin-left: auto;
	color: var(--yxs-muted);
	font-size: 14px;
	line-height: 1;
}

.yxs-model-fold[open] .yxs-model-fold__summary::after {
	transform: rotate(180deg);
}

.yxs-model-fold__title {
	font-size: 15px;
	font-weight: 600;
	color: var(--yxs-ink);
}

.yxs-model-fold__meta {
	color: var(--yxs-muted);
	font-size: 12px;
}

.yxs-model-fold__body {
	padding: 0 0 24px;
}

.yxs-model-fold__body .yxs-hero {
	margin: 0;
}

/* 互动区：点赞 + 提建议 */
.yxs-interact__row {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 24px;
}

.yxs-interact__row .yxs-like {
	flex: 0 0 auto;
}

.yxs-interact__suggest {
	flex: 1 1 320px;
	min-width: 0;
}

.yxs-suggest--compact .yxs-suggest__title {
	margin: 0 0 10px;
	font-size: 14px;
	font-weight: 600;
}

.yxs-suggest__compose {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 12px;
}

.yxs-suggest__field {
	flex: 1 1 260px;
	min-width: 0;
}

.yxs-suggest__textarea {
	display: block;
	width: 100%;
	min-height: 84px;
	padding: 10px 12px;
	background: #ffffff;
	border: 1px solid var(--yxs-line);
	border-radius: 6px;
	color: var(--yxs-ink);
	font-size: 14px;
	line-height: 1.6;
	resize: vertical;
}

.yxs-suggest__textarea:focus {
	outline: 2px solid #046bd2;
	outline-offset: 2px;
}

.yxs-suggest__foot {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	margin-top: 6px;
}

/* 更窄屏：卡片间距 16px，内边距 20px */
@media (max-width: 640px) {
	.yxs-detail__body {
		gap: 16px;
		margin-top: 16px;
	}

	.yxs-detail__body > .yxs-section,
	.yxs-detail__body > section {
		padding: 20px;
	}

	.yxs-card {
		padding: 16px;
	}

	.yxs-timeline__item,
	.yxs-timeline__item.is-right {
		padding-bottom: 28px;
	}
}

@media (max-width: 767px) {
	.yxs-timeline__item:not(:last-child) .yxs-timeline__content::after,
	.yxs-timeline__item.is-right:not(:last-child) .yxs-timeline__content::after {
		content: "↓";
		left: auto;
		right: 16px;
		bottom: -24px;
	}
}

/* 0.8.x：点赞/感兴趣也是可点控件，需要默认控件外观（未选中白底描边）。 */
.yxs-like {
	min-height: 34px;
	padding: 0 12px;
	gap: 6px;
	border: 1px solid var(--yxs-line, #d1d5db);
	border-radius: 6px;
	background: #ffffff;
	color: var(--yxs-ink);
	font-weight: 500;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.yxs-like:hover {
	opacity: 1;
	background: #f5f6f8;
}

.yxs-like[aria-pressed="true"] {
	border-color: var(--yxs-accent, #046bd2);
	background: var(--yxs-accent, #046bd2);
	color: #ffffff;
}

.yxs-like[aria-pressed="true"]:hover {
	background: color-mix(in srgb, var(--yxs-accent, #046bd2) 88%, #000000);
}

.yxs-like[aria-pressed="true"] .yxs-like__icon {
	fill: currentColor;
	stroke: currentColor;
}

.yxs-like:focus-visible {
	outline: 2px solid var(--yxs-accent, #046bd2);
	outline-offset: 2px;
}

.yxs-like[hidden],
.yxs-like__count[hidden],
.yxs-like__unit[hidden] {
	display: none;
}

/* ============================================================
 * 0.8.5：板块透明无影、统一板块标题、时间轴三行节点与箭头
 * ============================================================ */

/* 板块：透明、无阴影、无边框，只靠标题层级与间距区分 */
.yxs-detail__body {
	gap: 32px;
	margin-top: 32px;
}

.yxs-detail__body > .yxs-section,
.yxs-detail__body > section,
.yxs-detail__body > .yxs-model-fold {
	background: transparent;
	background-color: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	padding: 0;
	margin: 0;
	min-width: 0;
	/* 不要设 margin: 0 auto —— grid 容器里会把 item 收缩到内容宽度。
	 * grid cell 本身就是 detailBody 的宽度，item 默认 stretch 填满即可。 */
}

.yxs-detail__head {
	background: transparent;
	background-color: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	padding: 0;
	margin: 0;
	min-width: 0;
}

.yxs-detail__body .yxs-model-fold__title {
	font-size: 16px;
	font-weight: 600;
	line-height: 1.4;
}

/* 详情页返回/导航靠左、行动点靠右（全站原则，PC 与移动端一致）；
 * 游客态只有返回链接时贴左，管理员态由 space-between 分列两端。 */
.yxs-detail__topbar.is-single {
	justify-content: flex-start;
}

.yxs-detail__back {
	margin-bottom: 0;
	font-size: 13px;
	text-decoration: none;
}

.yxs-detail__back:hover {
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* 统一板块标题：24px / 700，与内容间距 16px */
.yxs-detail__body > .yxs-section .yxs-section__head h2,
.yxs-detail__body > section .yxs-section__head h2,
.yxs-detail__body > .yxs-section .yxs-cf__title,
.yxs-detail__body > section .yxs-cf__title,
.yxs-detail__body > .yxs-section .yxs-media__head h2,
.yxs-detail__body > section .yxs-media__head h2 {
	margin: 0;
	font-size: var(--yxs-section-size, 24px);
	font-weight: var(--yxs-heading-weight, 700);
	line-height: var(--yxs-heading-line-height, 1.3);
	letter-spacing: var(--yxs-heading-spacing, -0.01em);
}

.yxs-detail__body > .yxs-section .yxs-section__head,
.yxs-detail__body > section .yxs-section__head,
.yxs-detail__body > .yxs-section .yxs-cf__head,
.yxs-detail__body > section .yxs-cf__head,
.yxs-detail__body > .yxs-section .yxs-media__head,
.yxs-detail__body > section .yxs-media__head {
	margin: 0 0 16px;
	padding-top: 4px;
}

/* 0.11.72：列表卡众筹状态胶囊与统一徽标一致，不再按状态配色。 */

/* 板块内的小卡保留阴影：档位卡 / 图集缩略图 / 分享卡 */
.yxs-cf-tier-card,
.yxs-gallery__item {
	box-shadow: none;
}

.yxs-share__card {
	background: #ffffff;
	border-radius: 6px;
	box-shadow: none;
}

/* 时间轴节点卡：三行结构 */
.yxs-timeline__titleline {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.yxs-timeline__stage {
	margin: 0;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
}

.yxs-timeline__item.is-todo .yxs-timeline__stage {
	font-weight: 600;
}

.yxs-timeline__meta {
	display: block;
	margin: 4px 0 0;
	font-size: 12px;
	line-height: 1.5;
	color: var(--yxs-muted);
	font-variant-numeric: tabular-nums;
}

.yxs-timeline__note {
	margin: 8px 0 0;
	font-size: 14px;
	line-height: 1.65;
	color: var(--yxs-ink);
}

/* 圆点统一实心：已完成/当前为墨色，未开始降透明度 */
.yxs-timeline__item .yxs-timeline__marker,
.yxs-timeline__item.is-done .yxs-timeline__marker,
.yxs-timeline__item.is-doing .yxs-timeline__marker {
	background: var(--yxs-ink, #111111);
	border: 0;
	border-radius: 50%;
	opacity: 1;
}

.yxs-timeline__item.is-todo .yxs-timeline__marker {
	background: var(--yxs-ink, #111111);
	border: 0;
	opacity: 0.35;
}

.yxs-timeline__item.is-current .yxs-timeline__marker {
	background: var(--yxs-ink, #111111);
	border: 0;
	opacity: 1;
	outline: 2px solid var(--yxs-ink, #111111);
	outline-offset: 3px;
}

/* 箭头指向轴上的圆点，而不是卡片 */
.yxs-timeline__item .yxs-timeline__content::after {
	content: none;
}

.yxs-timeline__item:not(:last-child) .yxs-timeline__marker::after {
	content: "→";
	position: absolute;
	top: 50%;
	right: 100%;
	margin-right: 8px;
	transform: translateY(-50%);
	color: #9aa2ab;
	font-size: 14px;
	line-height: 1;
	pointer-events: none;
}

.yxs-timeline__item.is-right:not(:last-child) .yxs-timeline__marker::after {
	content: "←";
	right: auto;
	left: 100%;
	margin-right: 0;
	margin-left: 8px;
}

/* 众筹结束后的购买入口 */
.yxs-buy {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
	margin: 16px 0 0;
}

.yxs-buy__cta.is-disabled {
	opacity: 0.5;
	cursor: not-allowed;
	pointer-events: none;
}

.yxs-buy__reason {
	margin: 0;
	font-size: 13px;
	line-height: 1.4;
	color: var(--yxs-muted);
}

.yxs-cf__buy-note {
	margin: 12px 0 0;
	color: var(--yxs-muted);
	font-size: 12px;
	line-height: 1.5;
}

/* 进度分批加载控件 */
.yxs-progress__actions {
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 16px 0 0;
}

.yxs-progress__actions[hidden],
.yxs-progress__more[hidden],
.yxs-progress__done[hidden] {
	display: none;
}

.yxs-progress__done {
	margin: 0;
	color: var(--yxs-muted);
	font-size: 12px;
	line-height: 1.5;
}

@media (max-width: 640px) {
	.yxs-detail__body {
		gap: 20px;
		margin-top: 20px;
	}
}

@media (max-width: 767px) {
	.yxs-timeline__item:not(:last-child) .yxs-timeline__marker::after,
	.yxs-timeline__item.is-right:not(:last-child) .yxs-timeline__marker::after {
		content: "←";
		top: 50%;
		right: auto;
		left: 100%;
		margin-right: 0;
		margin-left: 6px;
	}
}

/* ==========================================================================
   0.8.5 时间轴：按 Cool Timeline 参考骨架纯 CSS 复刻
   竖线 3px（#000 + opacity .4、首尾 40px 渐隐）／实心 20px 圆点／
   左右交错 465px 白卡（10px 圆角、0 10px 40px 阴影、20px 内边距）／
   卡片连接三角 + 指向圆点的中性灰小箭头。
   ========================================================================== */

.yxs-timeline {
	max-width: 1040px;
	padding: 25px 15px;
	box-sizing: border-box;
	animation: none;
}

.yxs-timeline::before {
	top: 0;
	bottom: 0;
	left: 50%;
	width: 2px;
	transform: translateX(-50%);
	background: linear-gradient(
		to bottom,
		rgba(0, 0, 0, 0) 0,
		#000 40px,
		#000 calc(100% - 40px),
		rgba(0, 0, 0, 0) 100%
	);
	opacity: 0.4;
}

.yxs-timeline__item {
	position: relative;
	display: flex;
	align-items: flex-start;
	width: 50%;
	margin: 0 0 60px;
	padding: 0 40px 0 0;
	min-width: 0;
	box-sizing: border-box;
	animation: none;
}

.yxs-timeline__item.is-left {
	justify-content: flex-end;
}

.yxs-timeline__item.is-right {
	width: 50%;
	margin: 0 0 60px 50%;
	padding: 0 0 0 40px;
	justify-content: flex-start;
}

.yxs-timeline__item:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
}

/* 圆点：16px 实心，压在中线上，垂直对齐卡片标题行 */
.yxs-timeline__marker {
	top: 24px;
	width: 16px;
	height: 16px;
	border: 0;
	border-radius: 50%;
	background: var(--yxs-ink, #111111);
	opacity: 1;
}

.yxs-timeline__item.is-left .yxs-timeline__marker {
	right: 0;
	left: auto;
	transform: translateX(50%);
}

.yxs-timeline__item.is-right .yxs-timeline__marker {
	left: 0;
	right: auto;
	transform: translateX(-50%);
}

.yxs-timeline__item.is-todo .yxs-timeline__marker {
	background: var(--yxs-ink, #111111);
	border: 0;
	opacity: 0.35;
}

.yxs-timeline__item.is-done .yxs-timeline__marker,
.yxs-timeline__item.is-doing .yxs-timeline__marker {
	background: var(--yxs-ink, #111111);
	border: 0;
	opacity: 1;
}

.yxs-timeline__item.is-current .yxs-timeline__marker {
	background: var(--yxs-ink, #111111);
	border: 0;
	opacity: 1;
	outline: 2px solid var(--yxs-accent, #046bd2);
	outline-offset: 3px;
}

/* 节点卡：白底、10px 圆角、参考页阴影 */
.yxs-timeline__content {
	position: relative;
	width: 100%;
	max-width: 465px;
	padding: 20px;
	border: 4px solid #ffffff;
	border-radius: 10px;
	background: #ffffff;
	box-shadow: none;
	box-sizing: border-box;
}

/* 卡片连接三角（30×30），指向中线 */
.yxs-timeline__content::before {
	content: "";
	position: absolute;
	top: 16px;
	left: -32px;
	width: 0;
	height: 0;
	border: 15px solid transparent;
	border-right-color: #ffffff;
}

.yxs-timeline__item.is-left .yxs-timeline__content::before {
	left: auto;
	right: -32px;
	border-right-color: transparent;
	border-left-color: #ffffff;
}

/* 清理旧版挂在卡片上的箭头（避免与圆点箭头重复） */
.yxs-timeline__item:not(:last-child) .yxs-timeline__content::after,
.yxs-timeline__item.is-right:not(:last-child) .yxs-timeline__content::after {
	content: none;
}

/* 小箭头：从卡片指向圆点（12px 中性灰），随左右方向翻转 */
.yxs-timeline__item:not(:last-child) .yxs-timeline__marker::after {
	font-size: 12px;
	color: #9aa2ab;
}

.yxs-timeline__item.is-right:not(:last-child) .yxs-timeline__marker::after {
	color: #9aa2ab;
}

/* 移动：单列，竖线固定在视口左侧约 48px；卡片左缘离线 41px */
@media (max-width: 768px) {
	/* 众筹整行卡：移动端改为上下堆叠 */
	.yxs-grid > .yxs-card--cf {
		grid-template-columns: minmax(0, 1fr);
		gap: var(--yxs-space-3);
		padding: var(--yxs-space-3);
	}

	.yxs-card--cf__tiers {
		flex-direction: column;
		align-items: flex-start;
	}

	.yxs-timeline {
		max-width: 100%;
		padding: 25px 15px 25px 24px;
	}

	.yxs-timeline::before {
		left: 24px;
		width: 2px;
		transform: none;
	}

	.yxs-timeline__item,
	.yxs-timeline__item.is-right {
		display: block;
		width: 100%;
		margin: 0 0 32px;
		padding: 0 0 0 41px;
	}

	.yxs-timeline__item:last-child {
		margin-bottom: 0;
	}

	.yxs-timeline__content {
		width: min(281px, calc(100vw - 100px));
		max-width: none;
	}

	/* 三角统一挂在卡片左侧，指向左侧竖线 */
	.yxs-timeline__item .yxs-timeline__content::before,
	.yxs-timeline__item.is-left .yxs-timeline__content::before {
		left: -32px;
		right: auto;
		border-right-color: #ffffff;
		border-left-color: transparent;
	}

	.yxs-timeline__item.is-left .yxs-timeline__marker,
	.yxs-timeline__item.is-right .yxs-timeline__marker {
		left: -8px;
		right: auto;
		transform: none;
	}

	.yxs-timeline__item:not(:last-child) .yxs-timeline__marker::after,
	.yxs-timeline__item.is-right:not(:last-child) .yxs-timeline__marker::after {
		content: "←";
		top: 50%;
		right: auto;
		left: 100%;
		margin-right: 0;
		margin-left: 6px;
	}
}

/* ==========================================================================
   0.8.6 样式修整
   A. 「产品开发过程」标题 18px/600，与内容间距 20px
   B. 时间轴去掉所有箭头；圆点纯黑无透明度；竖线贯穿全高
   C. 建议表单改为上下堆叠：整宽输入框 + 下一行按钮
   ========================================================================== */

.yxs-timeline-section .yxs-section__head {
	margin-bottom: 20px;
}

.yxs-timeline-section .yxs-section__head h2 {
	font-size: 18px;
	font-weight: 600;
	line-height: 1.4;
}

/* 竖线：2px 黑色 62% 透明度（轻微通透感），从容器顶部到底部连续贯穿 */
.yxs-timeline::before {
	top: 0;
	bottom: 0;
	height: auto;
	background: rgba(0, 0, 0, 0.62);
	opacity: 1;
	-webkit-mask-image: none;
	mask-image: none;
}

/* 圆点：一律纯黑实心，不带透明度 */
.yxs-timeline .yxs-timeline__item .yxs-timeline__marker {
	background: #000000;
	opacity: 1;
}

.yxs-timeline .yxs-timeline__item.is-todo .yxs-timeline__marker,
.yxs-timeline .yxs-timeline__item.is-done .yxs-timeline__marker,
.yxs-timeline .yxs-timeline__item.is-doing .yxs-timeline__marker,
.yxs-timeline .yxs-timeline__item.is-current .yxs-timeline__marker {
	background: #000000;
	opacity: 1;
}

/* 删除卡片指向圆点的箭头（保留卡片 30×30 白色三角连接件） */
.yxs-timeline .yxs-timeline__item .yxs-timeline__marker::after,
.yxs-timeline .yxs-timeline__item .yxs-timeline__marker::before,
.yxs-timeline .yxs-timeline__item .yxs-timeline__content::after {
	content: none;
}

/* 建议表单：输入框整宽在上，按钮独立一行在下 */
.yxs-suggest__compose {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	align-items: stretch;
	gap: 12px;
}

.yxs-suggest__field {
	display: block;
	width: 100%;
	min-width: 0;
}

.yxs-suggest__textarea {
	display: block;
	width: 100%;
	height: auto;
	min-height: 96px;
}

.yxs-suggest__compose .yxs-btn {
	justify-self: start;
	width: auto;
	flex: none;
}

@media (max-width: 560px) {
	.yxs-suggest__compose .yxs-btn {
		justify-self: stretch;
		width: 100%;
	}
}

/* ==========================================================================
   0.8.7 / 0.8.8 / 0.9.0
   A. 标题层级（唯一 H1、区块 H2）
   B. 时间轴移动端满宽、无箭头
   C. 封面与图集合并、视频、切换动效
   D. 按钮令牌、字体、列表卡封面铺满与筛选
   ========================================================================== */

/* ---------- 按钮令牌与字体（以商品页实测基线为准） ---------- */
.yxs-page,
.yxs-lab,
.yxs-detail,
.yxs-hero,
.yxs-section,
.yxs-cf {
	--yxs-btn-bg: #333333;
	--yxs-btn-color: #ffffff;
	--yxs-btn-bg-hover: #333333;
	--yxs-btn-color-hover: #ffffff;
	--yxs-btn-radius: 999px;
	--yxs-btn-padding: 15px 20px;
	--yxs-btn-size: 14px;
	--yxs-btn-weight: 500;
	--yxs-btn-height: 48px;
	--yxs-btn-line-height: 1;
	--yxs-btn-border: 1px solid #000000;
	--yxs-btn-border-hover: #222222;
}

.yxs-page {
	font-size: 14px;
	line-height: 1.6;
}

/* 页面已嵌套在主题容器内（.ast-container 自带左右留白），插件不再叠加内边距 */
.yxs-container {
	padding: 0;
}

/* 详情页内容区 1000px，列表页保持 1200px */
.yxs-detail {
	max-width: 1000px;
}

/* 页面主标题：26px / 700 */
.yxs-detail__title,
.yxs-lab__head h1 {
	font-size: 26px;
	font-weight: 700;
	line-height: 1.2;
}

/* 区块标题统一 H2：28px / 700 */
.yxs-detail__body > .yxs-section .yxs-section__head h2,
.yxs-detail__body > .yxs-section .yxs-cf__title,
.yxs-detail__body .yxs-model-fold__title,
.yxs-detail__head .yxs-media__head {
	margin: 0;
	font-size: var(--yxs-section-size, 24px);
	font-weight: var(--yxs-heading-weight, 700);
	line-height: var(--yxs-heading-line-height, 1.3);
	letter-spacing: var(--yxs-heading-spacing, -0.01em);
}

.yxs-detail__body > .yxs-section.yxs-timeline-section .yxs-section__head {
	margin: 0 0 20px;
	padding-top: 4px;
}

.yxs-detail__body > .yxs-section .yxs-section__head p,
.yxs-detail__body > .yxs-section .yxs-cf__sub {
	margin: 4px 0 0;
	font-size: 13px;
	line-height: 1.6;
	color: var(--yxs-muted);
}

/* ---------- 时间轴：彻底移除箭头 ---------- */
.yxs-timeline .yxs-timeline__item .yxs-timeline__marker::after,
.yxs-timeline .yxs-timeline__item .yxs-timeline__marker::before,
.yxs-timeline .yxs-timeline__item .yxs-timeline__content::after,
.yxs-timeline .yxs-timeline__item.is-left .yxs-timeline__marker::after,
.yxs-timeline .yxs-timeline__item.is-right .yxs-timeline__marker::after,
.yxs-timeline .yxs-timeline__item.is-left .yxs-timeline__content::after,
.yxs-timeline .yxs-timeline__item.is-right .yxs-timeline__content::after {
	content: none;
	display: none;
}

/* ---------- 页头内的封面 + 缩略图 ---------- */
.yxs-detail__head .yxs-media {
	margin-top: 24px;
}

.yxs-media__stage {
	background: #ffffff;
	border-radius: 5px;
	overflow: hidden;
}

.yxs-media__stage.is-switching > .yxs-media__figure,
.yxs-media__stage.is-switching > .yxs-media__embed {
	animation: yxs-media-in 200ms cubic-bezier(0.2, 0.6, 0.2, 1);
}

@keyframes yxs-media-in {
	from {
		opacity: 0;
		transform: scale(0.98);
	}

	to {
		opacity: 1;
		transform: scale(1);
	}
}

.yxs-media__figure {
	display: block;
	width: 100%;
	height: auto;
	max-width: 100%;
	object-fit: contain;
	border-radius: 5px;
	background: #ffffff;
	transition: opacity 200ms cubic-bezier(0.2, 0.6, 0.2, 1), transform 200ms cubic-bezier(0.2, 0.6, 0.2, 1);
}

/* ---------- 详情页图集比例（自由/1:1/4:3/3:4/21:9） ---------- */
/* free 是默认行为，保持 height:auto + object-fit:contain 不变。 */
/* 非 free 时：stage 固定 aspect-ratio，内部 figure/embed 用 cover 居中裁切。 */
.yxs-detail__hero[data-yxs-gallery-ratio="1:1"] .yxs-media__stage { aspect-ratio: 1 / 1; }
.yxs-detail__hero[data-yxs-gallery-ratio="4:3"] .yxs-media__stage { aspect-ratio: 4 / 3; }
.yxs-detail__hero[data-yxs-gallery-ratio="3:4"] .yxs-media__stage { aspect-ratio: 3 / 4; }
.yxs-detail__hero[data-yxs-gallery-ratio="21:9"] .yxs-media__stage { aspect-ratio: 21 / 9; }

.yxs-detail__hero[data-yxs-gallery-ratio="1:1"] .yxs-media__figure,
.yxs-detail__hero[data-yxs-gallery-ratio="4:3"] .yxs-media__figure,
.yxs-detail__hero[data-yxs-gallery-ratio="3:4"] .yxs-media__figure,
.yxs-detail__hero[data-yxs-gallery-ratio="21:9"] .yxs-media__figure {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
}

.yxs-detail__hero[data-yxs-gallery-ratio="1:1"] .yxs-media__embed,
.yxs-detail__hero[data-yxs-gallery-ratio="4:3"] .yxs-media__embed,
.yxs-detail__hero[data-yxs-gallery-ratio="3:4"] .yxs-media__embed,
.yxs-detail__hero[data-yxs-gallery-ratio="21:9"] .yxs-media__embed {
	aspect-ratio: auto; /* 覆盖 embed 原本的 16:9 */
	height: 100%;
}

.yxs-detail__hero[data-yxs-gallery-ratio="1:1"] .yxs-media__embed iframe,
.yxs-detail__hero[data-yxs-gallery-ratio="4:3"] .yxs-media__embed iframe,
.yxs-detail__hero[data-yxs-gallery-ratio="3:4"] .yxs-media__embed iframe,
.yxs-detail__hero[data-yxs-gallery-ratio="21:9"] .yxs-media__embed iframe {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.yxs-media__embed {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	background: #ffffff;
	border-radius: 5px;
	overflow: hidden;
}

.yxs-media__embed iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	background: #ffffff;
}

/* 缩略图条：第一张为封面，其后为图集；72×72、间距 8、可换行 */
.yxs-gallery {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 12px;
	padding: 0;
	overflow: visible;
	scroll-snap-type: none;
}

.yxs-gallery__item {
	position: relative;
	display: block;
	flex: 0 0 72px;
	width: 72px;
	height: 72px;
	padding: 0;
	border: 2px solid transparent;
	border-radius: 4px;
	background: #ffffff;
	overflow: hidden;
	cursor: pointer;
	box-shadow: none;
	opacity: 0.88;
	transition: border-color 150ms ease, opacity 150ms ease, transform 150ms ease;
}

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

.yxs-gallery__item:hover {
	opacity: 1;
	transform: none;
}

.yxs-gallery__item.is-active {
	border-color: #333333;
	opacity: 1;
	box-shadow: 0 0 0 2px rgba(51, 51, 51, 0.14);
}

.yxs-gallery__ph {
	display: block;
	width: 100%;
	height: 100%;
	background: #f1f2f4;
}

.yxs-gallery__play {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 24px;
	height: 24px;
	margin: -12px 0 0 -12px;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.55);
	pointer-events: none;
}

.yxs-gallery__play::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 0;
	height: 0;
	margin: -5px 0 0 -3px;
	border-top: 5px solid transparent;
	border-bottom: 5px solid transparent;
	border-left: 8px solid #ffffff;
}

/* 旧图集查看器彻底停用（若主题缓存残留旧标记，也不显示任何控件） */
.yxs-gallery-viewer {
	display: none !important;
}

/* ---------- 列表卡：封面铺满 + 图上压信息 ---------- */
.yxs-lab {
	background: transparent;
}

.yxs-lab__head {
	padding: 8px 0 20px;
	background: transparent;
}

/* 0.11.5：列表区块不铺底色，左右留白统一交给 .yxs-lab 的内边距 */
.yxs-lab__body {
	padding: 0;
	background: transparent;
	border-radius: 0;
}

.yxs-grid {
	gap: 30px;
}

.yxs-card {
	display: block;
	aspect-ratio: 21 / 9;
	border-radius: var(--yxs-card-radius);
	background: transparent;
	overflow: hidden;
	box-shadow: none;
	transition: none;
}

.yxs-card:hover {
	transform: none;
	box-shadow: none;
}

.yxs-card__media {
	position: absolute;
	inset: 0;
	display: block;
	aspect-ratio: auto;
	border-radius: var(--yxs-card-radius);
	background: transparent;
}

.yxs-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 200ms ease-in-out;
}

.yxs-card:hover .yxs-card__media img {
	transform: scale(1.05);
}

.yxs-card::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background: linear-gradient(
		to top,
		rgba(0, 0, 0, var(--yxs-cover-overlay, 0.55)) 0%,
		rgba(0, 0, 0, calc(var(--yxs-cover-overlay, 0.55) * 0.5)) 45%,
		rgba(0, 0, 0, calc(var(--yxs-cover-overlay, 0.55) * 0.09)) 100%
	);
}

.yxs-card__body {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 16px;
	color: #ffffff;
	text-align: left;
	pointer-events: none;
}

.yxs-card__badges {
	position: absolute;
	top: 16px;
	left: 16px;
	margin: 0;
}

.yxs-card__foot {
	position: absolute;
	top: 16px;
	right: 16px;
	margin: 0;
	padding: 0;
	border: 0;
	min-height: 0;
	flex-direction: column;
	align-items: flex-end;
	gap: 6px;
	pointer-events: auto;
}

.yxs-card__type {
	padding: 2px 8px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.18);
	color: #ffffff;
}

.yxs-card__title {
	margin: 0 0 6px;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.35;
	color: #ffffff;
	text-align: left;
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.yxs-lab .yxs-card .yxs-card__title a,
.yxs-lab .yxs-card .yxs-card__title a:hover {
	color: #ffffff;
	text-decoration: none;
}

.yxs-card__tagline {
	margin: 0;
	font-size: 13px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.8);
	text-align: left;
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.yxs-lab .yxs-card__dev {
	border-top-color: rgba(255, 255, 255, 0.14);
}

.yxs-lab .yxs-card__dev-stage {
	color: #ffffff;
}

.yxs-lab .yxs-card__dev-date,
.yxs-lab .yxs-card__dev-note {
	color: rgba(255, 255, 255, 0.72);
}

.yxs-lab .yxs-card__dev-state {
	background: rgba(255, 255, 255, 0.12);
	color: rgba(255, 255, 255, 0.8);
}

.yxs-lab .yxs-card__dev-state--doing {
	background: rgba(255, 170, 90, 0.2);
	color: #ffd0a8;
}

.yxs-lab .yxs-card__dev-state--done {
	background: rgba(90, 220, 170, 0.18);
	color: #b9f0dc;
}

.yxs-card__body .yxs-like {
	padding: 8px 16px;
	min-height: 38px;
	border-color: rgba(255, 255, 255, 0.55);
	background: rgba(255, 255, 255, 0.14);
	color: #ffffff;
}

.yxs-card__body .yxs-like:hover {
	background: rgba(255, 255, 255, 0.24);
	color: #ffffff;
}

.yxs-card__body .yxs-like[aria-pressed="true"] {
	border-color: #ffffff;
	background: rgba(255, 255, 255, 0.92);
	color: #111111;
}

/* 筛选胶囊：选中实心、未选白底细描边，窄屏横向滚动 */
.yxs-filters {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 8px;
	margin: 0 0 20px;
	padding: 0 0 2px;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}

.yxs-filters::-webkit-scrollbar {
	display: none;
}

.yxs-filters__item {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	min-height: 40px;
	padding: 0 18px;
	border: 1px solid #c9ced6;
	border-radius: 4px;
	background: #ffffff;
	color: #333a44;
	font-size: 16px;
	font-weight: 500;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}

.yxs-filters__item:hover {
	border-color: #9aa3af;
	background: #f7f8fa;
}

.yxs-filters__item.is-active {
	border-color: #046bd2;
	background: #046bd2;
	color: #ffffff;
}

.yxs-filters__item:focus-visible {
	outline: 2px solid #046bd2;
	outline-offset: 2px;
}

.yxs-lab__empty-title {
	margin: 0;
	padding: 24px 0;
	color: var(--yxs-muted);
	font-size: 14px;
	text-align: center;
}

/* ---------- 全站按钮：深灰胶囊令牌（参考商品页实测） ---------- */
.yxs-btn,
.yxs-like,
.yxs-tab,
.yxs-filters__item,
.yxs-pagination .page-numbers,
.yxs-progress__more {
	border-radius: var(--yxs-btn-radius, 999px);
	min-height: var(--yxs-btn-height, 48px);
	height: var(--yxs-btn-height, 48px);
	padding: var(--yxs-btn-padding, 15px 20px);
	border: var(--yxs-btn-border, 1px solid #000000);
	background: var(--yxs-btn-bg, #333333);
	color: var(--yxs-btn-color, #ffffff);
	font-size: var(--yxs-btn-size, 14px);
	font-weight: var(--yxs-btn-weight, 500);
	line-height: var(--yxs-btn-line-height, 1);
	box-shadow: none;
	text-decoration: none;
	transition: none;
}

/* 主按钮与次按钮同款：hover 不改变颜色，仅保留可达性补充 */
.yxs-btn:hover,
.yxs-like:hover,
.yxs-tab:hover:not(:disabled),
.yxs-filters__item:hover,
.yxs-pagination .page-numbers:hover,
.yxs-progress__more:hover {
	background: var(--yxs-btn-bg-hover, #333333);
	border-color: var(--yxs-btn-border-hover, #222222);
	color: var(--yxs-btn-color-hover, #ffffff);
	transform: none;
	box-shadow: none;
	text-decoration: none;
}

.yxs-btn:active,
.yxs-like:active,
.yxs-tab:active:not(:disabled),
.yxs-filters__item:active,
.yxs-pagination .page-numbers:active,
.yxs-progress__more:active {
	transform: translateY(1px);
}

/* 次要按钮（描边/白底）仍使用同一套尺寸、圆角与字重 */
.yxs-tab,
.yxs-filters__item,
.yxs-pagination .page-numbers {
	background: #ffffff;
	border-color: #c9ced6;
	color: #333333;
}

.yxs-tab.is-active,
.yxs-tab.is-active:hover,
.yxs-filters__item.is-active,
.yxs-filters__item.is-active:hover,
.yxs-pagination .page-numbers.current,
.yxs-pagination .page-numbers.current:hover {
	background: var(--yxs-btn-bg, #333333);
	border-color: var(--yxs-btn-bg, #333333);
	color: #ffffff;
}

/* 幽灵按钮在参考体系里与主按钮同款胶囊 */
.yxs-btn--ghost,
.yxs-btn--ghost:hover {
	background: var(--yxs-btn-bg, #333333);
	border-color: var(--yxs-btn-border, 1px solid #000000);
	color: var(--yxs-btn-color, #ffffff);
}

/* 后台专用的小号操作按钮保持小尺寸 */
.yxs-btn--xs,
.yxs-btn--xs:hover {
	min-height: 32px;
	height: 32px;
	padding: 0 var(--yxs-space-3);
	border-radius: var(--yxs-btn-radius, 999px);
	font-size: 12px;
}

/* 图上感兴趣按钮：保持令牌颜色，仅加一圈浅描边保证深色蒙版上可辨 */
.yxs-card__body .yxs-like {
	height: var(--yxs-btn-height, 48px);
	min-height: var(--yxs-btn-height, 48px);
	padding: var(--yxs-btn-padding, 15px 20px);
	border-radius: var(--yxs-btn-radius, 999px);
	background: var(--yxs-btn-bg, #333333);
	border-color: rgba(255, 255, 255, 0.45);
	color: var(--yxs-btn-color, #ffffff);
	font-size: var(--yxs-btn-size, 14px);
	font-weight: var(--yxs-btn-weight, 500);
}

.yxs-card__body .yxs-like:hover {
	background: var(--yxs-btn-bg, #333333);
	color: var(--yxs-btn-color, #ffffff);
}

.yxs-card__body .yxs-like[aria-pressed="true"] {
	border-color: #ffffff;
	color: #ffffff;
}

/* 0.11.12：卡片按钮是深色底，人数改用按钮前景色 + 降透明度；浅底仍走默认 muted */
.yxs-card__body .yxs-like--text {
	--yxs-like-count-color: var(--yxs-btn-color, #ffffff);
	--yxs-like-count-opacity: 0.72;
}

/* 0.11.17：已感兴趣不反白，保持与未点态一致的深色/透明底；选中感靠文字、描边与实心图标。 */
.yxs-card__body .yxs-like--text[aria-pressed="true"] {
	border-color: rgba(255, 255, 255, 0.82);
	background: var(--yxs-btn-bg, #333333);
	color: var(--yxs-btn-color, #ffffff);
}

.yxs-card__body .yxs-like--text[aria-pressed="true"] .yxs-icon path {
	fill: currentColor;
}

/* 文字链接：黑色、默认无下划线，hover 出下划线（可用性补充） */
.yxs-detail__back {
	display: inline-flex;
	align-items: center;
	min-height: 0;
	height: auto;
	padding: 0;
	border: 0;
	background: transparent;
	color: #000000;
	font-size: var(--yxs-btn-size, 14px);
	font-weight: var(--yxs-btn-weight, 500);
	line-height: 1.6;
	text-decoration: none;
	transition: none;
}

.yxs-detail__back:hover {
	background: transparent;
	color: #000000;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.yxs-btn:focus-visible,
.yxs-like:focus-visible,
.yxs-tab:focus-visible,
.yxs-filters__item:focus-visible,
.yxs-pagination .page-numbers:focus-visible,
.yxs-detail__back:focus-visible,
.yxs-gallery__item:focus-visible {
	outline: 2px solid #333333;
	outline-offset: 2px;
}

/* ---------- 移动端：时间轴满宽 ---------- */
@media (max-width: 768px) {
	.yxs-timeline {
		max-width: 100%;
		padding: 25px 0 25px 24px;
	}

	.yxs-timeline::before {
		left: 24px;
		transform: none;
	}

	.yxs-timeline__item,
	.yxs-timeline__item.is-right {
		width: 100%;
		margin: 0 0 32px;
		padding: 0 0 0 41px;
	}

	.yxs-timeline__content {
		width: 100%;
		max-width: none;
	}

	.yxs-timeline__item.is-left .yxs-timeline__marker,
	.yxs-timeline__item.is-right .yxs-timeline__marker {
		left: -8px;
		right: auto;
		transform: none;
	}

	.yxs-timeline .yxs-timeline__item .yxs-timeline__marker::after {
		content: none;
		display: none;
	}

	.yxs-lab__body {
		padding: 0;
	}

	.yxs-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 30px;
	}

	.yxs-card__body {
		padding: 16px;
	}
}

/* ---------- 建议表单：提示在上、「添加图片」在左、「提交建议」在右 ---------- */
.yxs-suggest__hint {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px;
	margin: 0 0 6px;
	color: var(--yxs-muted);
	font-size: 12px;
	line-height: 1.5;
}

.yxs-suggest__field {
	display: block;
	width: 100%;
	min-width: 0;
}

.yxs-suggest__textarea {
	display: block;
	width: 100%;
	min-height: 96px;
	font-size: 16px;
	line-height: 1.6;
}

.yxs-suggest__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 12px;
}

.yxs-suggest__actions .yxs-btn {
	flex: 0 0 auto;
	margin-left: auto;
}

.yxs-suggest__actions .yxs-suggest__attach {
	margin-top: 0;
}

@media (max-width: 560px) {
	.yxs-suggest__actions .yxs-btn {
		min-height: 44px;
		height: 44px;
		padding: 0 20px;
	}
}

/* ---------- 0.9.1：页头合并（封面 → 标题+感兴趣 → 介绍） ---------- */

/* 封面成为页头第一块，标题与介绍紧随其后 */
.yxs-detail__head .yxs-media {
	margin: 0 0 20px;
}

.yxs-detail__kicker {
	margin-bottom: 8px;
}

/* 标题行：标题左对齐，感兴趣贴右端；移动端长标题换行后感兴趣右对齐 */
.yxs-detail__title-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	column-gap: 16px;
	row-gap: 8px;
	flex-wrap: wrap;
	margin: 0;
}

.yxs-detail__title-row .yxs-detail__title {
	margin: 0;
	min-width: 0;
}

/* 页头「感兴趣」：纯文字，无底色、无边框、无胶囊 */
.yxs-detail__title-row .yxs-like--plain,
.yxs-detail__title-row .yxs-like--plain:hover,
.yxs-detail__title-row .yxs-like--plain:active {
	margin-left: auto;
	min-height: 0;
	height: auto;
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	color: var(--yxs-muted);
	font-size: 13px;
	font-weight: 400;
	line-height: 1.4;
	white-space: nowrap;
	transform: none;
	text-decoration: none;
	transition: none;
}

.yxs-detail__title-row .yxs-like--plain:hover {
	text-decoration: underline;
	text-underline-offset: 2px;
}

.yxs-detail__title-row .yxs-like--plain[aria-pressed="true"],
.yxs-detail__title-row .yxs-like--plain[aria-pressed="true"]:hover {
	background: transparent;
	color: var(--yxs-accent, #046bd2);
}

.yxs-detail__title-row .yxs-like--plain .yxs-like__label {
	font-size: 13px;
}

.yxs-detail__title-row .yxs-like--plain .yxs-like__sep {
	color: var(--yxs-muted);
	margin: 0 2px;
}

.yxs-detail__title-row .yxs-like--plain .yxs-like__count {
	font-size: 12px;
	color: var(--yxs-muted);
}

.yxs-detail__title-row .yxs-like--plain[aria-pressed="true"] .yxs-like__count {
	color: var(--yxs-accent, #046bd2);
}

/* 感兴趣 tips —— 详情页标题行下方 */
.yxs-like__tips {
	margin: 6px 0 0;
	font-size: 12px;
	line-height: 1.5;
	color: var(--yxs-muted);
}

.yxs-detail__title-row .yxs-like--plain:focus-visible {
	outline: 2px solid var(--yxs-accent, #046bd2);
	outline-offset: 2px;
}

/* 介绍紧跟标题，间距 12px */
.yxs-detail__tagline {
	margin: 12px 0 0;
	max-width: none;
}

/* 各区块标题、正文、按钮统一左边缘：区块自身不留额外内缩 */
.yxs-detail__body > .yxs-section .yxs-section__head,
.yxs-detail__body > section .yxs-section__head,
.yxs-detail__body > .yxs-section .yxs-cf__head,
.yxs-detail__body > section .yxs-cf__head {
	padding-left: 0;
	padding-right: 0;
	margin-left: 0;
	margin-right: 0;
}

.yxs-detail__body > .yxs-section .yxs-section__head h2,
.yxs-detail__body > section .yxs-section__head h2 {
	text-align: left;
}

/* 区块间距：桌面 32px，移动端 20px */
.yxs-detail__body {
	gap: 32px;
}

@media (max-width: 767px) {
	.yxs-detail__body {
		gap: 20px;
		margin-top: 20px;
	}
}

/* ---------- 动效降级 ---------- */
@media (prefers-reduced-motion: reduce) {
	.yxs-media__stage,
	.yxs-media__figure,
	.yxs-gallery__item,
	.yxs-card__media img,
	.yxs-btn,
	.yxs-like,
	.yxs-tab,
	.yxs-filters__item,
	.yxs-pagination .page-numbers {
		transition-duration: 0s;
		animation: none;
	}

	.yxs-card:hover .yxs-card__media img {
		transform: none;
	}

	.yxs-media__stage.is-switching > .yxs-media__figure,
	.yxs-media__stage.is-switching > .yxs-media__embed {
		animation: none;
	}
}

/* ============================================================
   0.11.0 列表分组 / 封面比例 / 状态块 / 感兴趣图标
   ============================================================ */

:root {
	--yxs-card-min: 260px;
	--yxs-cover-ratio: 1 / 1;
}

/* 列数统一由 .yxs-grid 的 --yxs-cols 控制（设置项 list_columns / 简码 columns），
   这里不再用 auto-fill 覆盖，避免桌面端又变回 4 列或其它数量。 */

.yxs-lab__group {
	margin-top: 32px;
}

.yxs-lab__group:first-child {
	margin-top: 0;
}

.yxs-lab__group-title {
	margin: 0 0 20px;
	font-size: 20px;
	font-weight: 700;
	letter-spacing: 0.01em;
	line-height: 1.3;
}

/* ---------- 0.11.52：列表页分组统一节奏 ----------
 * /xinpin/ 的卡片墙按七状态分组输出，外层包着 Gutenberg 的
 * .wp-block-group。此前分组间距完全由主题给该容器的上下 padding
 * （桌面 42px、移动端 38.3px）相加得到，属于「碰巧撑开」；这里改为插件
 * 固定节奏，与主题 padding 无关：分组之间 64px（移动端 48px），
 * 组内 标题→说明 8px、说明→卡片 20px（移动端 16px）。 */
.entry-content .wp-block-group:has(.yxs-lab) {
	margin-block: 0;
	padding-top: 0;
	padding-bottom: 0;
}

.entry-content .wp-block-group:has(> .yxs-lab) {
	padding-top: var(--yxs-lab-group-gap, 64px);
	padding-bottom: 0;
}

/* 首个分组前还有一个 3px 的 Gutenberg 间隔块，统一节奏时把组前距离扣掉 3px。 */
.entry-content > .wp-block-spacer + .wp-block-group:has(.yxs-lab) {
	padding-top: calc(var(--yxs-lab-group-gap, 64px) - 3px);
}

.entry-content .wp-block-group:has(> .yxs-lab) > .wp-block-heading {
	margin-block: 0;
}

.entry-content .wp-block-group:has(> .yxs-lab) > .wp-block-heading + p {
	margin-block: 8px 0;
}

.entry-content .wp-block-group:has(> .yxs-lab) > .wp-block-heading + .yxs-lab,
.entry-content .wp-block-group:has(> .yxs-lab) > p + .yxs-lab {
	margin-block-start: 20px;
}

@media (max-width: 767px) {
	.entry-content .wp-block-group:has(> .yxs-lab) {
		padding-top: var(--yxs-lab-group-gap-mobile, 48px);
	}

	/*
	 * 首个分组是整宽（alignfull）布局，Gutenberg 用 1.5em（≈19.15px）做左右内边距，
	 * 与主题容器 20px 差 0.86px，导致众筹卡比后面的普通卡宽 1.7px、整体左移。
	 * 这里把左右内边距对齐到主题容器，三组回到同一条 20px gutter。
	 */
	.entry-content .wp-block-group.alignfull:has(.yxs-lab),
	.entry-content .wp-block-group.alignfull:has(> .wp-block-group:has(.yxs-lab)) {
		padding-left: 20px;
		padding-right: 20px;
	}

	.entry-content > .wp-block-spacer + .wp-block-group:has(.yxs-lab) {
		padding-top: calc(var(--yxs-lab-group-gap-mobile, 48px) - 3px);
	}

	.entry-content .wp-block-group:has(> .yxs-lab) > .wp-block-heading + .yxs-lab,
	.entry-content .wp-block-group:has(> .yxs-lab) > p + .yxs-lab {
		margin-block-start: 16px;
	}
}

.yxs-card,
.yxs-card__media {
	aspect-ratio: var(--yxs-cover-ratio, 1 / 1);
}

.yxs-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* 状态标签：纯色块，不可点击、无 hover */
.yxs-badge,
.yxs-card__type,
.yxs-detail__type,
.yxs-status {
	display: inline-flex;
	align-items: center;
	padding: 3px 8px;
	border: 0;
	border-radius: 2px;
	font-size: 12px;
	line-height: 1.5;
	cursor: default;
	pointer-events: none;
	text-decoration: none;
	background: #eef1f6;
	color: #33415c;
	box-shadow: none;
}

/* 0.11.72：众筹状态徽标同样统一视觉。 */
.yxs-badge--cf {
	background: #f1f2f4;
	color: #3d4650;
}

/* 感兴趣：图标 + 数字，可点击 */
.yxs-like,
.yxs-like--icon {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	min-height: 44px;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	box-shadow: none;
	color: var(--yxs-muted, #6b7280);
	font-size: 12px;
	line-height: 1;
	cursor: pointer;
}

.yxs-like--icon .yxs-like__icon {
	width: 16px;
	height: 16px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
	transition: color 0.15s ease, fill 0.15s ease;
}

.yxs-like--icon .yxs-like__count {
	min-width: 1ch;
	font-variant-numeric: tabular-nums;
}

.yxs-like--icon:hover,
.yxs-like--icon:focus-visible,
.yxs-like--icon[aria-pressed="true"] {
	color: var(--yxs-accent, var(--yxs-ink, #111));
}

.yxs-like--icon[aria-pressed="true"] .yxs-like__icon path {
	fill: currentColor;
}

/* ========== 列表卡 footer 感兴趣按钮 — 两套独立样式 ========== */

/* A. 非众筹卡（普通卡）：图标 + 数字紧凑模式，跟 kicker 标签同尺寸 */
.yxs-action-btn.yxs-like--card,
.yxs-like--text.yxs-like--card {
	gap: 3px;
	min-height: 0 !important;
	height: auto !important;
	padding: 2px 8px !important;
	font-size: 12px !important;
	font-weight: 500;
	line-height: 1.4;
	font-variant-numeric: normal;
	border-radius: 999px;
}

.yxs-like--card .yxs-like__label {
	display: none !important;
}

.yxs-like--card .yxs-like__icon {
	width: 10px;
	height: 10px;
	stroke-width: 1.6;
}

/* B. 众筹卡（.yxs-card--cf）：完整按钮模式，跟 .yxs-btn--xs "立即支持"对齐 */
.yxs-card--cf .yxs-like--card {
	gap: 6px;
	min-height: var(--yxs-btn-xs-height, 32px) !important;
	height: auto !important;
	padding: 0 var(--yxs-btn-xs-padding-inline, 12px) !important;
	font-size: var(--yxs-btn-xs-size, 12px) !important;
	font-weight: 500;
	line-height: 1.4;
	border-radius: var(--yxs-btn-radius, 6px);
}

.yxs-card--cf .yxs-like--card .yxs-like__label {
	display: inline !important;
}

.yxs-card--cf .yxs-like--card .yxs-like__icon {
	width: 14px;
	height: 14px;
	stroke-width: 1.5;
}

/* 众筹卡：关注与「立即支持」完全同规格（深色实心胶囊、同高/同内距/同字号）。 */
.yxs-grid > .yxs-card--cf .yxs-card__foot .yxs-like.yxs-like--card {
	gap: 8px;
	height: 44px !important;
	min-height: 44px !important;
	padding: 0 18px !important;
	border: 1px solid #000000 !important;
	border-radius: 999px;
	background: var(--yxs-btn-bg, #333333) !important;
	color: var(--yxs-btn-color, #ffffff) !important;
	font-size: 13px !important;
	font-weight: 600;
	line-height: 1;
}

.yxs-grid > .yxs-card--cf .yxs-card__foot .yxs-like.yxs-like--card .yxs-like__label {
	display: inline !important;
	font-size: 13px;
}

.yxs-grid > .yxs-card--cf .yxs-card__foot .yxs-like.yxs-like--card .yxs-icon {
	width: 16px;
	height: 16px;
	flex-basis: 16px;
}

/* 卡片/详情中的图标版覆盖按钮令牌，确保只是图标 + 数字 */
.yxs-card__body .yxs-like--icon,
.yxs-card__foot .yxs-like--icon,
.yxs-card .yxs-like--icon,
.yxs-detail__title-row .yxs-like--icon {
	display: inline-flex;
	align-items: center;
	width: auto;
	height: auto;
	min-height: 44px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
	color: var(--yxs-muted, #6b7280);
	font-size: 12px;
	font-weight: 400;
	line-height: 1;
}

.yxs-card__body .yxs-like--icon:hover,
.yxs-card__foot .yxs-like--icon:hover,
.yxs-card .yxs-like--icon:hover,
.yxs-card__body .yxs-like--icon[aria-pressed="true"],
.yxs-card__foot .yxs-like--icon[aria-pressed="true"],
.yxs-card .yxs-like--icon[aria-pressed="true"] {
	background: none;
	border: 0;
	color: var(--yxs-accent, var(--yxs-ink, #111));
}

.yxs-card__foot {
	margin-top: auto;
}

@media (max-width: 640px) {
	.yxs-lab .yxs-grid {
		grid-template-columns: minmax(0, 1fr);
	}
	.yxs-lab__group {
		margin-top: 20px;
	}
}

/* 移动端评论：单列、16px 输入、整宽按钮、32px 头像、44px 回复触控区 */
@media (max-width: 767px) {
	.yxs-comments__list {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}

	.yxs-comment {
		grid-template-columns: 32px minmax(0, 1fr);
		gap: 12px;
	}

	.yxs-comment__avatar-img,
	.yxs-comments .avatar {
		width: 32px;
		height: 32px;
	}

	.yxs-comment__content,
	.yxs-comment__content * {
		max-width: 100%;
		overflow-wrap: anywhere;
		word-break: break-word;
	}

	.yxs-comment__replies {
		padding-left: 12px;
	}

	.yxs-comment__reply {
		display: inline-flex;
		align-items: center;
		min-height: 44px;
		padding: 0 10px;
	}

	.yxs-comment-form__as img {
		width: 32px;
		height: 32px;
	}

	.yxs-comment-form .yxs-input,
	.yxs-comment-form .yxs-textarea {
		font-size: 16px;
	}

	.yxs-comment-form .yxs-form__row--3,
	.yxs-comment-form .yxs-form__row--2 {
		grid-template-columns: minmax(0, 1fr);
	}

	.yxs-comment-form .yxs-form__foot {
		display: grid;
		gap: 8px;
	}

	.yxs-comment-form .yxs-form__foot .yxs-btn {
		width: 100%;
		justify-content: center;
		min-height: 48px;
	}
}

/* ---------- 0.11.4：感兴趣文字按钮（未点描边、已点实心） ---------- */
.yxs-like--text {
	/* 0.11.12：人数颜色/透明度按按钮所在背景取值，默认浅底用 muted */
	--yxs-like-count-color: var(--yxs-muted);
	--yxs-like-count-opacity: 1;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-left: auto;
	min-height: 0;
	height: auto;
	padding: 3px 10px;
	border: 1px solid rgba(17, 17, 17, 0.18);
	border-radius: 999px;
	background: transparent;
	box-shadow: none;
	color: var(--yxs-ink);
	font-size: 12px;
	font-weight: 500;
	line-height: 1.4;
	white-space: nowrap;
	transform: none;
	transition: background-color var(--yxs-duration) ease, border-color var(--yxs-duration) ease, color var(--yxs-duration) ease;
}

.yxs-like--text:hover,
.yxs-like--text:active {
	background: transparent;
	border-color: rgba(17, 17, 17, 0.4);
	color: var(--yxs-ink);
}

.yxs-like--text[aria-pressed="true"],
.yxs-like--text[aria-pressed="true"]:hover,
.yxs-like--text[aria-pressed="true"]:active {
	background: var(--yxs-ink);
	border-color: var(--yxs-ink);
	color: var(--yxs-paper);
}

.yxs-like--text .yxs-like__label {
	font-size: 12px;
	font-weight: 500;
}

/* 0.11.11：人数始终显示；未点赞时 muted + 小一号，不抢按钮文案 */
/* 0.11.12：颜色与透明度由 --yxs-like-count-* 决定，随按钮背景作用域变化 */
.yxs-like--text .yxs-like__count {
	font-size: 12px;
	font-weight: 400;
	line-height: 1;
	color: var(--yxs-like-count-color);
	font-variant-numeric: tabular-nums;
	opacity: var(--yxs-like-count-opacity);
}

.yxs-like--text[aria-pressed="true"] .yxs-like__count {
	font-size: 13px;
	color: inherit;
	opacity: 1;
}

.yxs-like--text:focus-visible {
	outline: 2px solid var(--yxs-accent, #046bd2);
	outline-offset: 2px;
}

@media (max-width: 560px) {
	/* 移动端关注/分享与标题分行后靠左，不再被 auto 推到右侧。 */
	.yxs-detail__title-row .yxs-like--text {
		margin-left: 0;
	}
}

/* 0.11.4：标题右侧动作组（感兴趣 + 立即购买），移动端换行后整体右对齐 */
.yxs-detail__title-actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex-wrap: wrap;
	gap: 10px;
	margin-left: auto;
}

.yxs-detail__title-actions .yxs-like--text {
	margin-left: 0;
}

/* 移动端：关注/分享另起一行靠左，立即购买再单独一行拉满宽度。 */
@media (max-width: 720px) {
	.yxs-detail__title-actions {
		width: 100%;
		margin-left: 0;
		justify-content: flex-start;
	}

	.yxs-detail__title-actions .yxs-buy {
		flex: 1 1 100%;
	}

	.yxs-detail__title-actions .yxs-buy .yxs-btn {
		width: 100%;
	}
}

.yxs-detail__title-actions .yxs-buy {
	margin: 0;
	gap: 8px;
}

/* PC：立即购买与关注/分享同高、同内距、同字号。 */
.yxs-detail__title-actions .yxs-buy .yxs-btn {
	min-height: 44px;
	height: 44px;
	padding: 0 16px;
	font-size: 14px;
	line-height: 1;
}

/* ---------- 0.11.5：标题右侧动作按钮（感兴趣 / 分享）统一规格 ---------- */
.yxs-action-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 40px;
	height: 40px;
	padding: 0 16px;
	border: 1px solid rgba(17, 17, 17, 0.18);
	border-radius: 999px;
	background: transparent;
	box-shadow: none;
	color: var(--yxs-ink);
	font-size: 14px;
	font-weight: 500;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transform: none;
}

.yxs-action-btn:hover,
.yxs-action-btn:active {
	background: transparent;
	border-color: rgba(17, 17, 17, 0.4);
	color: var(--yxs-ink);
}

.yxs-action-btn[aria-pressed="true"],
.yxs-action-btn[aria-pressed="true"]:hover,
.yxs-action-btn[aria-pressed="true"]:active {
	background: var(--yxs-ink);
	border-color: var(--yxs-ink);
	color: var(--yxs-paper);
}

.yxs-icon {
	display: block;
	width: 18px;
	height: 18px;
	flex: 0 0 18px;
}

.yxs-like--text .yxs-like__label {
	font-size: 14px;
	line-height: 1;
}

/* 列表卡片：封面上按钮字号保持可读，图标略大一号 */
.yxs-card__body .yxs-like .yxs-icon {
	width: 20px;
	height: 20px;
	flex-basis: 20px;
}

/* 0.11.16：列表卡片「感兴趣」整体小一号（高度 34、内边距 0 12、图标 18、字号 13）。
   人数始终显示；深色按钮上维持白色 + 0.72 透明度。 */
.yxs-card__body .yxs-like--card {
	gap: 6px;
	min-height: 34px;
	height: 34px;
	padding: 0 12px;
	font-size: 13px;
}

.yxs-card__body .yxs-like--card .yxs-like__label {
	font-size: 13px;
}

.yxs-card__body .yxs-like--card .yxs-icon {
	width: 18px;
	height: 18px;
	flex-basis: 18px;
}

/* 普通卡右上角的关注图标再小一档：18 → 9。 */
.yxs-card:not(.yxs-card--cf) .yxs-card__body .yxs-like--card .yxs-icon {
	width: 9px;
	height: 9px;
	flex-basis: 9px;
}

.yxs-card__body .yxs-like--card .yxs-like__count {
	font-size: 12px;
}

.yxs-card__body .yxs-like--card[aria-pressed="true"] .yxs-like__count {
	font-size: 12px;
	color: #ffffff;
	opacity: 0.72;
}

/* 卡片底板已透明，补一圈淡描边 + 轻阴影，避免边界消失 */
.yxs-lab .yxs-card {
	border-radius: var(--yxs-card-radius);
	box-shadow: none;
}

/* 管理员「转为商品草稿」下移到按钮下方，避免压住卡片上的「感兴趣」 */
.yxs-card__admin {
	top: 72px;
}

/* ---------- 0.11.5：详情页分享面板（默认收起） ---------- */
.yxs-share--inline {
	position: relative;
	display: inline-flex;
	flex: 0 0 auto;
}

.yxs-share__toggle {
	flex: 0 0 auto;
}

.yxs-share__panel {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	z-index: 30;
	display: flex;
	flex-direction: column;
	gap: 4px;
	width: 232px;
	padding: 8px;
	background: var(--yxs-surface);
	border: 1px solid var(--yxs-line);
	border-radius: var(--yxs-radius-lg);
	box-shadow: none;
}

.yxs-share__panel[hidden] {
	display: none;
}

.yxs-share__option {
	display: flex;
	align-items: center;
	gap: 8px;
	width: 100%;
	min-height: 40px;
	padding: 0 12px;
	border: 0;
	border-radius: var(--yxs-space-2);
	background: transparent;
	color: var(--yxs-ink);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.2;
	text-align: left;
	cursor: pointer;
	white-space: nowrap;
}

.yxs-share__option:hover,
.yxs-share__option:focus-visible {
	background: rgba(17, 17, 17, 0.06);
}

.yxs-share__option .yxs-icon {
	width: 18px;
	height: 18px;
	flex-basis: 18px;
}

.yxs-share__qr {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	margin-top: 4px;
	padding: 10px 8px 6px;
	border-top: 1px solid var(--yxs-line);
}

.yxs-share__qr[hidden] {
	display: none;
}

.yxs-share__qr canvas {
	display: block;
	width: 200px;
	height: auto;
	max-width: 100%;
	image-rendering: pixelated;
}

.yxs-share__qr p {
	margin: 0;
	font-size: 12px;
	line-height: 1.5;
	color: var(--yxs-muted);
	text-align: center;
}

@media (max-width: 560px) {
	.yxs-share__panel {
		width: min(232px, calc(100vw - 32px));
	}
}

/* 页头 100vw 底色会带来约一个滚动条的溢出；在根元素裁剪，不创建滚动容器 */
html:has(.yxs-page),
body:has(.yxs-page),
html:has(.yxs-lab),
body:has(.yxs-lab) {
	overflow-x: clip;
}

/* ---------- 0.11.5：建议输入框桌面端与内容同宽 ---------- */
.yxs-suggest-form {
	width: 100%;
	max-width: none;
}

/* ---------- 0.11.5 → 0.12.12：去掉「开发过程」上方黑色分隔线，标题上方留白保留 ---------- */
.yxs-detail__body > .yxs-section.yxs-timeline-section .yxs-section__head {
	border-top: 0;
	padding-top: 50px;
	margin: 0 0 20px;
}

/* 0.11.17：列表卡片「感兴趣」文字与人数严格同号（12px），未点/已点一致；
   图标尺寸与按钮高度保持不变。 */
.yxs-card__body .yxs-like--card .yxs-like__label,
.yxs-card__body .yxs-like--card[aria-pressed="true"] .yxs-like__label,
.yxs-card__body .yxs-like--card .yxs-like__count,
.yxs-card__body .yxs-like--card[aria-pressed="true"] .yxs-like__count {
	font-size: 12px;
}

/* ---------- 0.11.23：移动端保留主题页面留白，只清插件重复内边距 ----------
 * Astra 的 .ast-container 左右各 20px 是页面本身的留白，必须保留。
 * 0.11.19 用 width:100vw + calc(50% - 50vw) 负外边距贴边，
 * 把主题这层 20px 也一并抵消了，这是「两边没有留白」的根因。
 * 列表页的受限布局块（.is-layout-constrained）会层层叠加约 19px，
 * 这里只清掉紧贴 .yxs-lab 的最后一层，避免出现 38px 的双倍留白。 */
@media (max-width: 768px) {
	.entry-content .is-layout-constrained:has(> .yxs-lab) {
		padding-left: 0;
		padding-right: 0;
	}

	/* 插件容器不再加左右留白，全部交给主题页面容器 */
	.yxs-container,
	.yxs-lab {
		padding-left: 0;
		padding-right: 0;
	}

	/* 详情页样机展示折叠卡自带 24px 内边距，会把大图/3D 预览缩进，
	   清零后大图跟随页面左右留白，只保留下方 24px 间距。 */
	.yxs-model-fold__body {
		padding-left: 0;
		padding-right: 0;
	}

	/* 详情页返回链接固定在左侧。 */
	.yxs-detail__topbar.is-single {
		justify-content: flex-start;
	}
}

/* 精简众筹短代码：只保留标题、进度、名额、倒计时与支持按钮。 */
.yxs-cf--compact .yxs-cf__head {
	margin-bottom: 12px;
}

.yxs-cf--compact .yxs-cf__actions {
	margin-top: 12px;
}

/*
 * 众筹整行卡：真正启用两栏布局。
 *
 * 后段的通用卡片样式把 media/body 设为 absolute 铺满整卡，导致前面声明的
 * `grid-template-columns: 300px minmax(0,1fr)` 从未生效，标题/文案贴边，
 * 窄屏还会因内容超出行高被压成 0 高。这里用更高权重把两者恢复为常规流：
 * 左侧 300px 封面、右侧正文；移动端上下堆叠，卡片高度随内容增长。
 */
.yxs-grid > .yxs-card--cf {
	display: grid;
	grid-template-columns: clamp(200px, 30%, 360px) minmax(0, 1fr);
	align-items: stretch;
	gap: 24px;
	padding: 30px;
	aspect-ratio: auto;
	overflow: hidden;
	background: #ffffff !important;
	border: 1px solid #e5e7eb;
	border-radius: var(--yxs-card-radius);
	box-shadow: none;
}

.yxs-grid > .yxs-card--cf:hover {
	transform: none;
	box-shadow: none;
}

/* 去掉整卡遮罩渐变，两栏卡不使用封面叠加层。 */
.yxs-grid > .yxs-card--cf::after {
	content: none;
	background: none;
}

.yxs-grid > .yxs-card--cf .yxs-card__media {
	position: static;
	inset: auto;
	display: block;
	/* 宽卡：图片填满左列并与正文同高，靠 object-fit:cover 裁切。
	 * 这里不能保留 aspect-ratio：网格 stretch 会把高度拉满，aspect-ratio 再按高度
	 * 反推宽度，图片就会撑出列宽压到右侧文字上。 */
	align-self: stretch;
	width: 100%;
	height: 100%;
	aspect-ratio: auto;
	min-width: 0;
	min-height: 0;
	border-radius: var(--yxs-card-radius);
	overflow: hidden;
}

.yxs-grid > .yxs-card--cf .yxs-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.yxs-grid > .yxs-card--cf .yxs-card__body {
	position: static;
	inset: auto;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	min-width: 0;
	padding: 0;
	color: var(--yxs-ink, #111827);
	text-align: left;
	pointer-events: auto;
}

.yxs-grid > .yxs-card--cf .yxs-card__badges {
	position: static;
	top: auto;
	left: auto;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0 0 10px;
}

.yxs-grid > .yxs-card--cf .yxs-card__type {
	background: #eef1f4;
	color: #4b5563;
}

.yxs-grid > .yxs-card--cf .yxs-card__title {
	margin: 0 0 6px;
	color: var(--yxs-ink, #111827);
	-webkit-line-clamp: 2;
}

.yxs-lab .yxs-grid > .yxs-card--cf .yxs-card__title a,
.yxs-lab .yxs-grid > .yxs-card--cf .yxs-card__title a:hover {
	color: var(--yxs-ink, #111827);
}

.yxs-grid > .yxs-card--cf .yxs-card__tagline {
	margin: 0;
	color: var(--yxs-muted, #6b7280);
	-webkit-line-clamp: 2;
}

.yxs-grid > .yxs-card--cf .yxs-card__foot {
	position: static;
	top: auto;
	right: auto;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-end;
	gap: 12px;
	margin: auto 0 0;
	padding: 12px 0 0;
	border-top: 0;
	pointer-events: auto;
}

/* 立即支持与感兴趣：同一高度、同一胶囊圆角、同一字号。 */
.yxs-grid > .yxs-card--cf .yxs-card__foot .yxs-like,
.yxs-grid > .yxs-card--cf .yxs-card__foot .yxs-btn {
	height: 38px;
	min-height: 38px;
	padding: 0 18px;
	border-radius: 999px;
	font-size: 13px;
	line-height: 1;
}

/* 移动端：上下堆叠，正文回到常规流，标题/文案不再被压成 0 高。 */
@media (max-width: 768px) {
	.yxs-grid > .yxs-card--cf {
		grid-template-columns: minmax(0, 1fr);
		gap: 12px;
		padding: 25px;
	}

	.yxs-grid > .yxs-card--cf .yxs-card__media {
		aspect-ratio: var(--yxs-cover-ratio, 1 / 1);
		height: auto;
		min-height: 0;
	}

	.yxs-grid > .yxs-card--cf .yxs-card--cf__tiers {
		flex-direction: column;
	}
}

/* 0.11.29 建议附件：可选 1 张图片，选择后显示缩略图 */
.yxs-suggest__attach {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--yxs-space-2, 8px);
	margin-top: var(--yxs-space-2, 8px);
}

.yxs-suggest__attach-label {
	cursor: pointer;
	display: inline-flex;
}

.yxs-suggest__attach-btn {
	display: inline-flex;
	align-items: center;
	padding: 5px 12px;
	border: 1px solid var(--yxs-line, #d8d5cd);
	border-radius: 999px;
	background: var(--yxs-paper, #fff);
	color: var(--yxs-ink, #1d1d1b);
	font-size: 13px;
	line-height: 1.6;
}

.yxs-suggest__attach-label:hover .yxs-suggest__attach-btn {
	border-color: var(--yxs-ink, #1d1d1b);
}

.yxs-suggest__attach-label:focus-within .yxs-suggest__attach-btn {
	outline: 2px solid var(--yxs-ink, #1d1d1b);
	outline-offset: 2px;
}

.yxs-suggest__attach-input {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.yxs-suggest__attach-preview {
	display: flex;
	align-items: center;
	gap: var(--yxs-space-2, 8px);
}

.yxs-suggest__attach-preview[hidden] {
	display: none;
}

.yxs-suggest__attach-preview img {
	display: block;
	width: 52px;
	height: 52px;
	object-fit: cover;
	border: 1px solid var(--yxs-line, #d8d5cd);
	border-radius: 8px;
}

.yxs-suggest__attach-clear {
	padding: 4px 6px;
	border: 0;
	background: none;
	color: var(--yxs-muted, #6b6b66);
	font-size: 12px;
	line-height: 1.5;
	text-decoration: underline;
	cursor: pointer;
}

/* ---------- 0.11.63：详情头图铺满内容区（宽满 + 高自适应，不裁切不拉伸） ---------- */
/* 桌面端容器左右各有 20px 内边距，头图用等量负边距贴齐内容区边缘；
 * 720px 以下容器内边距为 0，负边距同步归零，避免横向溢出。 */
.yxs-detail__hero {
	--yxs-hero-bleed: 0px;
	margin-inline: calc(var(--yxs-hero-bleed) * -1);
}

@media (min-width: 721px) {
	/* 0.21.5：平板竖屏（768-1130）也保留与正文一致的左右留白，
	 * 头图与图集不再贴边；桌面容器本身已是 1000px，无需补偿。 */
	.yxs-detail__hero {
		--yxs-hero-bleed: 0px;
	}
}

.yxs-detail__hero .yxs-media,
.yxs-detail__hero .yxs-media__stage {
	width: 100%;
	max-width: none;
}

/* 0.21.3：hero 左右贴边时，文字区补回与页面一致的内边距；
 * 头图用等量负边距继续铺满，避免标题、标签、关注提示顶到屏幕边缘。 */
.yxs-detail__hero {
	padding-inline: var(--yxs-hero-bleed);
}

.yxs-detail__hero > .yxs-media {
	margin-inline: calc(var(--yxs-hero-bleed) * -1);
	/* width:100% 只按内容区计算，需把负边距补回来，否则右侧会留出 bleed 宽的空档。 */
	width: calc(100% + var(--yxs-hero-bleed) * 2);
}

.yxs-detail__hero .yxs-media__cover,
.yxs-detail__hero .yxs-media__figure > img,
.yxs-detail__hero .yxs-media__stage > img {
	display: block;
	width: 100%;
	height: auto;
	max-height: none;
	aspect-ratio: auto;
	object-fit: contain;
	object-position: center;
}

/* 旧版详情封面类（若主题/模板仍在用）：同步取消 560px 限高与裁切 */
.yxs-detail__cover {
	width: 100%;
	height: auto;
	max-height: none;
	object-fit: contain;
	object-position: center;
}

/* 列表卡封面：填满图列并居中裁切（与详情头图“宽满高自适应”刻意不同：
 * 卡片图列是固定比例容器，需要裁切保持网格整齐；详情图需要完整展示内容）。 */
.yxs-card__media img,
.yxs-card--cf .yxs-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

/* ---------- 0.11.63：主题 chrome 胶囊化（第 4 批） ---------- */
/* 全部限定在 Astra 主题下，且仅在加载插件样式的页面生效，避免影响其他主题。
 * 只改圆角，不动高度、内边距、颜色；focus-visible 轮廓保留主题原样，仅加偏移。 */
body[class*="theme-astra"] .ast-mobile-menu-trigger-minimal,
body[class*="theme-astra"] .main-header-menu-toggle,
body[class*="theme-astra"] .menu-toggle,
body[class*="theme-astra"] #ast-scroll-top {
	border-radius: var(--yxs-btn-radius, 999px);
}

body[class*="theme-astra"] .ast-mobile-menu-trigger-minimal:focus-visible,
body[class*="theme-astra"] .main-header-menu-toggle:focus-visible,
body[class*="theme-astra"] .menu-toggle:focus-visible,
body[class*="theme-astra"] #ast-scroll-top:focus-visible {
	outline-offset: 2px;
}

/* ---------- 0.11.67：按钮高度两档（44 / 48）与触控区 ---------- */
/* 主操作沿用 48（.yxs-btn / .yxs-btn--solid / .yxs-cf__cta）；
 * 以下次级控件统一 44，清除 32/34/38/40 等第三、第四种高度。 */
.yxs-btn--xs,
.yxs-card--cf__cta,
.yxs-grid > .yxs-card--cf .yxs-card__foot .yxs-like,
.yxs-grid > .yxs-card--cf .yxs-card__foot .yxs-btn,
.yxs-action-btn,
.yxs-like,
.yxs-card__body .yxs-like,
.yxs-card__body .yxs-like--card,
.yxs-filters__item,
.yxs-tab,
.yxs-hero__reset,
.yxs-pagination .page-numbers,
.yxs-progress__more {
	height: 44px;
	min-height: 44px;
}

/* 触控区补足：文字型小控件不窄于 44 */
.yxs-like,
.yxs-action-btn,
.yxs-btn--xs,
.yxs-filters__item,
.yxs-tab,
.yxs-pagination .page-numbers {
	min-width: 44px;
}

/* 图标型控件保持方形命中区 */
.yxs-share__toggle,
.yxs-like--icon {
	min-width: 44px;
}

/* ---------- 众筹状态封面角标（详情页 + 列表卡） ----------
   迁入 lab.css 确保详情页头部封面必定加载（crowdfund.css 按 section 懒加载）。 */
.yxs-cf__cover-badge {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	padding: 0 12px;
	border: 0;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	background: var(--yxs-state, #1c7c46);
	color: #ffffff;
	box-shadow: none;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.yxs-cf__cover-badge:hover {
	transform: translateY(-1px);
	box-shadow: none;
}

.yxs-cf__cover-badge--upcoming,
.yxs-cf__cover-badge--sold_out {
	background: var(--yxs-muted, #6b7280);
}

.yxs-cf__cover-badge--card {
	top: 12px;
	right: 12px;
	min-height: 22px;
	padding: 0 8px;
	font-size: 10px;
	font-weight: 600;
	line-height: 1;
	border-radius: 999px;
	box-shadow: none;
}

/* 列表卡：未开始众筹的倒计时小胶囊放到标题右侧，浅灰底、次字号，弱化存在感。 */
.yxs-grid > .yxs-card--cf .yxs-card__title {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 8px;
}

.yxs-card__flag {
	display: inline-flex;
	align-items: center;
	padding: 2px 8px;
	border-radius: 999px;
	background: #f3f4f6;
	color: #6b7280;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.7;
	letter-spacing: 0;
	white-space: nowrap;
}
