/* 使用场景页增强 */
.yw-scene-page--hub {
	background: linear-gradient(180deg, #f8faff 0%, var(--yw-bg) 280px);
}

/* 全部场景列表 */
.yw-scene-all-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
	margin: 0 0 18px;
}

.yw-scene-all-toolbar__sort {
	display: inline-flex;
	padding: 4px;
	background: #fff;
	border: 1px solid var(--yw-border);
	border-radius: 999px;
	gap: 4px;
}

.yw-scene-sort {
	display: inline-flex;
	padding: 8px 16px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 700;
	color: #64748b;
	text-decoration: none;
}

.yw-scene-sort:hover {
	color: var(--yw-primary);
	text-decoration: none;
}

.yw-scene-sort.is-active {
	background: #eef2ff;
	color: var(--yw-primary-dark);
}

.yw-scene-all-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin-bottom: 24px;
}

.yw-scene-page__main .navigation.pagination {
	position: relative;
	z-index: 5;
}

.yw-scene-page__main .navigation.pagination .page-numbers {
	position: relative;
	z-index: 1;
	cursor: pointer;
}

.yw-scene-archive-card {
	background: #fff;
	border: 1px solid var(--yw-border);
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
	transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.yw-scene-archive-card:hover {
	box-shadow: 0 10px 24px rgba(79, 70, 229, 0.1);
	transform: translateY(-2px);
}

.yw-scene-archive-card__link {
	display: block;
	color: inherit;
	text-decoration: none;
	height: 100%;
}

.yw-scene-archive-card__link:hover { text-decoration: none; }

.yw-scene-archive-card__media {
	position: relative;
	aspect-ratio: 16 / 10;
	background: linear-gradient(135deg, #e2e8f0, #eef2ff);
}

.yw-scene-archive-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.yw-scene-archive-card__ph {
	width: 100%;
	height: 100%;
}

.yw-scene-archive-card__badge {
	position: absolute;
	left: 10px;
	bottom: 10px;
	padding: 4px 10px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.92);
	font-size: 11px;
	font-weight: 700;
	color: #475569;
	box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.yw-scene-archive-card__body {
	padding: 14px 14px 16px;
}

.yw-scene-archive-card__title {
	margin: 0 0 6px;
	font-size: 16px;
	font-weight: 800;
	line-height: 1.35;
}

.yw-scene-archive-card__desc {
	margin: 0 0 12px;
	font-size: 13px;
	line-height: 1.5;
	color: var(--yw-muted);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 40px;
}

.yw-scene-archive-card__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.yw-scene-archive-card__stack {
	display: flex;
	align-items: center;
}

.yw-scene-archive-card__stack-item {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	border: 2px solid #fff;
	overflow: hidden;
	display: grid;
	place-items: center;
	font-size: 10px;
	font-weight: 800;
	color: #fff;
	margin-left: -8px;
	box-shadow: 0 1px 4px rgba(15, 23, 42, 0.12);
}

.yw-scene-archive-card__stack-item:first-child { margin-left: 0; }

.yw-scene-archive-card__stack-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.yw-scene-archive-card__usage {
	font-size: 12px;
	font-weight: 600;
	color: #64748b;
	white-space: nowrap;
}

@media (max-width: 1080px) {
	.yw-scene-all-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
	.yw-scene-featured__card { flex: 0 0 min(200px, 44vw); }
	.yw-scene-all-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
}
