/**
 * 移动端增强：简约 · 高级 · 专业
 * 断点：1024 平板 / 768 手机 / 480 小屏
 */

/* —— 全局与容器 —— */
@media (max-width: 768px) {
	:root {
		--yw-radius: 14px;
		--yw-radius-sm: 10px;
		--yw-cat-pill-bg: #fff;
		--yw-cat-pill-border: #e2e8f0;
		--yw-cat-pill-text: #64748b;
		--yw-cat-pill-active-bg: linear-gradient(135deg, #eef2ff 0%, #f5f3ff 100%);
		--yw-cat-pill-active-text: var(--yw-primary-dark);
		--yw-cat-pill-active-ring: rgba(79, 70, 229, 0.14);
		--yw-cat-list-active-bg: linear-gradient(135deg, #eef2ff 0%, #f5f3ff 100%);
	}

	.yw-container {
		width: min(100% - 32px, var(--yw-container));
	}

	.yw-section {
		padding-block: 28px;
	}

	.yw-section--bottom {
		padding-block: 32px 36px;
	}

	.yw-main {
		padding-bottom: env(safe-area-inset-bottom, 0);
	}
}

@media (max-width: 480px) {
	.yw-container {
		width: min(100% - 24px, var(--yw-container));
	}

	.yw-section {
		padding-block: 24px;
	}
}

html.yw-filter-open {
	overflow: hidden;
}

@keyframes yw-filter-sheet-in {
	from {
		opacity: 0.5;
		transform: translateY(16px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* —— 页眉与导航 —— */
.yw-header__backdrop {
	position: fixed;
	inset: 0;
	z-index: 45;
	margin: 0;
	padding: 0;
	border: 0;
	background: rgba(15, 23, 42, 0.5);
	backdrop-filter: blur(4px);
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}

.yw-header__backdrop[hidden] {
	display: none;
}

html.yw-nav-locked {
	overflow: hidden;
}

html.yw-nav-locked .yw-main {
	visibility: hidden;
}

@media (max-width: 1024px) {
	.yw-header__inner {
		gap: 16px;
		min-height: 60px;
	}

	.yw-brand__en {
		display: none;
	}

	.yw-header__actions .yw-btn--ghost {
		display: none;
	}
}

@media (max-width: 768px) {
	.yw-header {
		padding-top: env(safe-area-inset-top, 0);
	}

	.yw-header__inner {
		flex-wrap: wrap;
		align-items: stretch;
		gap: 0;
		min-height: 56px;
		padding-block: 8px;
	}

	.yw-header__bar {
		display: flex;
		align-items: center;
		justify-content: space-between;
		flex: 1 1 100%;
		gap: 12px;
		min-width: 0;
	}

	.yw-brand {
		flex: 1;
		min-width: 0;
	}

	.yw-brand__name {
		font-size: 16px;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
		max-width: 52vw;
	}

	.yw-header__toggle {
		display: inline-flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		flex-shrink: 0;
		min-width: 44px;
		min-height: 44px;
		padding: 10px;
		border-radius: 12px;
		transition: background 0.15s ease;
	}

	.yw-header__toggle:hover,
	html.yw-nav-open .yw-header__toggle {
		background: #f1f5f9;
	}

	html.yw-nav-open .yw-header__toggle-bar:nth-child(1) {
		transform: translateY(6px) rotate(45deg);
	}

	html.yw-nav-open .yw-header__toggle-bar:nth-child(2) {
		transform: translateY(-6px) rotate(-45deg);
	}

	.yw-header__toggle-bar {
		transition: transform 0.2s ease;
	}

	.yw-header__panel {
		display: flex;
		flex: 0 0 100%;
		width: 100%;
		flex-direction: column;
		align-items: stretch;
		justify-content: flex-start;
		gap: 0;
		padding: 0;
		max-height: 0;
		overflow: hidden;
		opacity: 0;
		pointer-events: none;
		transition: opacity 0.2s ease;
	}

	.yw-header__panel .yw-nav {
		flex: 1 1 auto;
		min-height: 0;
		min-width: 0;
	}

	/* 全屏抽屉：遮住下方页面内容 */
	html.yw-nav-open .yw-header {
		position: fixed;
		inset: 0;
		z-index: 100;
		background: #fff;
		backdrop-filter: none;
		border-bottom: 0;
		overflow: hidden;
	}

	html.yw-nav-open .yw-header > .yw-container {
		display: flex;
		flex-direction: column;
		height: 100%;
		width: 100%;
		max-width: none;
		margin: 0;
		padding-inline: max(20px, env(safe-area-inset-left)) max(20px, env(safe-area-inset-right));
		padding-bottom: max(16px, env(safe-area-inset-bottom));
	}

	html.yw-nav-open .yw-header__inner {
		flex: 1;
		flex-wrap: nowrap;
		flex-direction: column;
		min-height: 0;
		height: 100%;
		padding-block: 12px 0;
		gap: 0;
	}

	html.yw-nav-open .yw-header__bar {
		flex: 0 0 auto;
		width: 100%;
	}

	html.yw-nav-open .yw-header__backdrop {
		display: none;
	}

	html.yw-nav-open .yw-header__panel {
		display: flex;
		flex: 1;
		flex-direction: column;
		min-height: 0;
		max-height: none;
		overflow: hidden;
		opacity: 1;
		pointer-events: auto;
		padding: 12px 0 0;
	}

	html.yw-nav-open .yw-header__panel > .yw-nav {
		flex: 1 1 auto;
		min-height: 0;
		overflow-x: hidden;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
	}

	.yw-nav__list {
		flex-direction: column;
		align-items: stretch;
		gap: 4px;
		padding: 0 0 12px;
		margin: 0;
		border-bottom: 0;
	}

	.yw-nav__list a {
		display: flex;
		align-items: center;
		min-height: 48px;
		padding: 10px 12px;
		font-size: 16px;
		font-weight: 600;
		border-bottom: 0;
		border-radius: 12px;
		color: #334155;
	}

	.yw-nav__list a:hover {
		background: #f8fafc;
		color: var(--yw-primary);
	}

	.yw-nav__list .current-menu-item > a,
	.yw-nav__list .current_page_item > a {
		background: #eef2ff;
		color: var(--yw-primary-dark);
		font-weight: 700;
	}

	.yw-nav__list .sub-menu {
		list-style: none;
		margin: 0;
		padding: 0 0 4px 8px;
	}

	.yw-nav__list .sub-menu a {
		min-height: 44px;
		font-size: 15px;
		font-weight: 500;
		color: var(--yw-muted);
	}

	.yw-header__actions {
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
		flex-shrink: 0;
	}

	html.yw-nav-open .yw-header__panel > .yw-header__actions {
		margin-top: 0;
		padding: 16px 0 max(12px, env(safe-area-inset-bottom));
		border-top: 1px solid var(--yw-border);
		background: #fff;
	}

	.yw-header__actions .yw-btn,
	.yw-header__actions .yw-header-login {
		width: 100%;
		justify-content: center;
		min-height: 48px;
		text-align: center;
	}

	.yw-header__actions .yw-btn--ghost {
		display: inline-flex;
		border-radius: 999px;
		font-weight: 700;
	}

	.yw-header-search-wrap {
		position: static !important;
		width: 100%;
	}

	.yw-header-search {
		width: 100%;
		height: 48px;
		border-radius: 12px;
		border: 1px solid var(--yw-border);
		background: #f8fafc;
		color: var(--yw-muted);
	}

	.yw-header-search.is-active {
		background: #eef2ff;
		color: var(--yw-primary);
		border-color: #c7d2fe;
	}

	.yw-header-search-panel {
		position: static !important;
		top: auto !important;
		right: auto !important;
		left: auto !important;
		z-index: auto !important;
		min-width: 0;
		width: 100%;
		margin-top: 8px;
		box-shadow: none;
		border: 1px solid var(--yw-border);
		border-radius: 14px;
		padding: 10px;
	}

	.yw-header-search-panel[hidden] {
		display: none !important;
		margin: 0 !important;
		padding: 0 !important;
		border: 0 !important;
		height: 0 !important;
		overflow: hidden !important;
	}

	.yw-header-search-panel .yw-search--header {
		flex-direction: column;
		align-items: stretch;
	}

	.yw-header-search-panel .yw-search__submit {
		width: 100%;
		min-height: 44px;
	}
}

/* —— 首页 Hero —— */
@media (max-width: 768px) {
	.yw-hero {
		padding: 28px 0 22px;
	}

	.yw-hero__copy {
		text-align: left;
		justify-self: start;
		width: 100%;
		max-width: none;
		padding-inline-start: 8px;
		padding-inline-end: 0;
	}

	.yw-hero__sub {
		margin-bottom: 20px;
		font-size: 15px;
	}

	.yw-hero__hot {
		font-size: 12px;
		line-height: 1.5;
	}
}

@media (max-width: 480px) {
	.yw-hero__art {
		display: none;
	}

	.yw-hero__title {
		font-size: clamp(26px, 7.5vw, 34px);
		letter-spacing: -0.02em;
	}

	.yw-search--hero {
		border-radius: 16px;
		padding: 10px;
	}

	.yw-search--hero .yw-search__input {
		padding: 12px 4px;
		font-size: 16px;
	}
}

/* —— 区块标题与链接 —— */
@media (max-width: 640px) {
	.yw-section__head,
	.yw-section__head--row {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
		margin-bottom: 16px;
	}

	.yw-section__head--tight {
		margin-top: 24px;
	}

	.yw-h2 {
		font-size: clamp(18px, 5vw, 22px);
	}

	.yw-link {
		white-space: normal;
		font-size: 14px;
	}

	.yw-archive__head:has(.yw-archive__title):has(.yw-archive__sub):not(:has(.yw-archive__head-row)),
	.yw-archive__head-titles,
	.yw-tools-page__titles,
	.yw-workflow-page__titles,
	.yw-prompt-page__hero-text:not(:has(.yw-archive__head-row)) {
		flex-direction: column;
		align-items: flex-start;
		gap: 6px;
	}

	.yw-archive__head-row {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 10px;
		width: 100%;
		min-width: 0;
	}

	.yw-archive__head-row .yw-archive__title {
		flex: 1;
		min-width: 0;
		margin: 0;
		font-size: clamp(20px, 5.5vw, 26px);
		line-height: 1.2;
	}

	.yw-archive__filter-slot {
		flex-shrink: 0;
		display: inline-flex;
	}

	.yw-archive__head-titles .yw-archive__sub {
		display: block;
		width: 100%;
		font-size: 13px;
		line-height: 1.55;
	}

	.yw-scene-page .yw-container,
	.yw-scene-page__grid,
	.yw-scene-page__main {
		max-width: 100%;
		min-width: 0;
	}

	.yw-scene-page {
		overflow-x: clip;
	}

	.yw-scene-cats__track,
	.yw-scene-featured__track {
		max-width: 100%;
	}
}

/* —— 首页网格：小屏双列紧凑 —— */
@media (max-width: 640px) {
	.yw-grid--scenes:not(.yw-grid--home-auto),
	.yw-grid--flows-home:not(.yw-grid--home-auto),
	.yw-grid--tools-home:not(.yw-grid--home-auto),
	.yw-grid--flows,
	.yw-grid--tools,
	.yw-grid--prompts,
	.yw-grid--prompts-home:not(.yw-grid--home-auto) {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}

	.yw-grid--home-auto {
		grid-template-columns: repeat(var(--yw-grid-cols-sm, 2), minmax(0, 1fr));
		gap: 10px;
	}

	.yw-mini-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
	}

	.yw-scene-cat {
		flex-basis: min(200px, 44vw);
	}
}

/* —— 归档侧栏与内容 —— */
@media (max-width: 768px) {
	.yw-archive-grid,
	.yw-archive-grid--triple,
	.yw-news-layout,
	.yw-tutorials-page__layout,
	.yw-tutorials-page__grid,
	.yw-community-layout,
	.yw-submit-tool-layout,
	.yw-submit-news-page .yw-submit-tool-layout {
		display: flex;
		flex-direction: column;
		gap: 16px;
	}

	/* 主内容优先：标题与搜索先出现 */
	.yw-archive-grid > .yw-archive,
	.yw-archive-grid > .yw-scene-page__main,
	.yw-archive-grid > .yw-workflow-page__main,
	.yw-archive-grid > .yw-workflow-single__main,
	.yw-archive-grid > .yw-scene-single__main,
	.yw-archive-grid > .yw-tools-page__main,
	.yw-archive-grid > .yw-prompt-page__main,
	.yw-news-layout > .yw-news-center,
	.yw-tutorials-page__layout > .yw-tutorials-page__center,
	.yw-tutorials-page__grid > .yw-tutorials-page__center,
	.yw-tutorials-page__grid > .yw-tutorials-archive__main,
	.yw-community-layout > .yw-community-center,
	.yw-submit-tool-layout > .yw-submit-tool-center,
	.yw-submit-news-page .yw-submit-tool-layout > .yw-submit-tool-center {
		order: 1;
	}

	.yw-submit-tool-layout > .yw-submit-portal-sidebar--right,
	.yw-submit-news-page .yw-submit-tool-layout > .yw-submit-portal-sidebar--right {
		order: 2;
	}

	.yw-submit-tool-layout > .yw-submit-portal-sidebar--left,
	.yw-submit-news-page .yw-submit-tool-layout > .yw-submit-portal-sidebar--left {
		order: 3;
	}

	.yw-archive-grid > .yw-aside,
	.yw-archive-grid > aside,
	.yw-news-layout > .yw-aside,
	.yw-news-layout > aside,
	.yw-tutorials-page__layout > .yw-aside,
	.yw-tutorials-page__layout > aside,
	.yw-tutorials-page__grid > .yw-aside,
	.yw-tutorials-page__grid > aside,
	.yw-community-layout > aside,
	.yw-submit-tool-layout > aside,
	.yw-submit-news-page .yw-submit-tool-layout > aside {
		order: 2;
	}

	.yw-archive-grid > aside.yw-aside--mobile-filter-host,
	.yw-news-layout > aside.yw-aside--mobile-filter-host,
	.yw-tutorials-page__layout > aside.yw-aside--mobile-filter-host,
	.yw-tutorials-page__grid > aside.yw-aside--mobile-filter-host {
		display: none !important;
		margin: 0;
		padding: 0;
		border: 0;
		min-height: 0;
	}

	.yw-aside {
		padding: 0;
		border-radius: 12px;
		background: transparent;
		border: 0;
		box-shadow: none;
	}

	.yw-aside__title {
		font-size: 14px;
	}

	.yw-cat-sidebar__link,
	.yw-aside-list__link {
		min-height: 44px;
		display: flex;
		align-items: center;
		padding-block: 10px;
	}

	/* 标题旁分类筛选按钮 */
	.yw-archive__filter-btn {
		display: inline-flex !important;
		align-items: center;
		justify-content: center;
		gap: 5px;
		width: auto !important;
		min-height: 36px;
		margin: 0;
		padding: 0 13px 0 11px !important;
		border: 1px solid #e2e8f0 !important;
		border-radius: 999px !important;
		background: linear-gradient(180deg, #fff 0%, #f8fafc 100%) !important;
		box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06) !important;
		font-size: 13px !important;
		font-weight: 600 !important;
		line-height: 1;
		letter-spacing: 0.01em;
		color: #475569 !important;
		cursor: pointer;
		-webkit-tap-highlight-color: transparent;
		white-space: nowrap;
		transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
	}

	.yw-archive__filter-btn:active {
		transform: scale(0.98);
	}

	.yw-archive__filter-btn.is-active {
		background: #eef2ff !important;
		border-color: #a5b4fc !important;
		color: var(--yw-primary-dark) !important;
		box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.14) !important;
	}

	.yw-archive__filter-btn__icon {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		color: #94a3b8;
	}

	.yw-archive__filter-btn.is-active .yw-archive__filter-btn__icon {
		color: var(--yw-primary);
	}

	.yw-archive__filter-btn .yw-aside__packed-trigger-label {
		flex: 0 0 auto;
	}

	.yw-archive__filter-btn .yw-aside__chevron {
		display: none;
	}

	/* 占位容器不占文档流高度 */
	.yw-archive__filter-drop {
		display: none !important;
		margin: 0 !important;
		padding: 0 !important;
		height: 0 !important;
		overflow: hidden !important;
		border: 0 !important;
		box-shadow: none !important;
	}

	/* 详情页：隐藏左侧栏占位，顶栏面包屑 + 导航同一行 */
	.yw-scene-single__grid > .yw-scene-single__nav,
	.yw-workflow-single__grid > .yw-workflow-single__nav {
		display: none !important;
		margin: 0 !important;
		padding: 0 !important;
		min-height: 0 !important;
		height: 0 !important;
		overflow: hidden !important;
	}

	.yw-scene-single__grid,
	.yw-workflow-single__grid {
		gap: 8px;
	}

	.yw-scene-single__main,
	.yw-workflow-single__main {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		grid-template-areas:
			"crumbs nav"
			"content content";
		gap: 8px 10px;
		align-items: center;
	}

	.yw-scene-single__main > .yw-archive__mobile-filter-bar,
	.yw-workflow-single__main > .yw-archive__mobile-filter-bar {
		grid-area: nav;
		display: flex;
		justify-content: flex-end;
		margin: 0;
		padding: 0;
	}

	.yw-scene-single__main > .yw-archive__filter-drop,
	.yw-workflow-single__main > .yw-archive__filter-drop {
		display: none !important;
		height: 0 !important;
		margin: 0 !important;
		padding: 0 !important;
		overflow: hidden !important;
	}

	.yw-scene-single__main > .yw-breadcrumbs,
	.yw-workflow-single__main > .yw-breadcrumbs {
		grid-area: crumbs;
		margin: 0;
		min-width: 0;
	}

	.yw-scene-single__main > .yw-scene-single__article,
	.yw-scene-single__main > article,
	.yw-workflow-single__main > .yw-workflow-single__article,
	.yw-workflow-single__main > article {
		grid-area: content;
		grid-column: 1 / -1;
	}

	/* 固定浮层：不挤压主内容 */
	.yw-archive__filter-overlay[hidden] {
		display: none !important;
	}

	.yw-archive__filter-overlay:not([hidden]) {
		display: flex;
		flex-direction: column;
		justify-content: flex-end;
		position: fixed;
		inset: 0;
		z-index: 95;
		padding: 0;
		pointer-events: auto;
	}

	.yw-archive__filter-backdrop {
		position: absolute;
		inset: 0;
		margin: 0;
		padding: 0;
		border: 0;
		background: rgba(15, 23, 42, 0.45);
		backdrop-filter: blur(3px);
		cursor: pointer;
		-webkit-tap-highlight-color: transparent;
	}

	.yw-archive__filter-sheet {
		position: relative;
		z-index: 1;
		width: auto;
		max-height: min(78vh, 560px);
		margin: 0 10px max(10px, env(safe-area-inset-bottom));
		padding: 14px 14px 18px;
		overflow-x: hidden;
		overflow-y: auto;
		border-radius: 18px;
		background: #fff;
		box-shadow: 0 -12px 48px rgba(15, 23, 42, 0.2);
		-webkit-overflow-scrolling: touch;
		animation: yw-filter-sheet-in 0.26s cubic-bezier(0.22, 1, 0.36, 1);
	}

	.yw-archive__filter-sheet .yw-aside__packed {
		display: block;
		margin: 0;
		padding: 0;
		border: 0;
		box-shadow: none;
		background: transparent;
	}

	.yw-archive__filter-sheet .yw-aside__block {
		border-bottom: 1px solid var(--yw-border);
		padding-bottom: 12px;
		margin-bottom: 12px;
	}

	.yw-archive__filter-sheet .yw-aside__block:last-child {
		border-bottom: 0;
		margin-bottom: 0;
		padding-bottom: 0;
	}

	/* —— 全站统一：分类 Tab / 筛选条 / 浮层列表 —— */
	.yw-scene-all-toolbar__sort,
	.yw-workflow-tabs,
	.yw-prompt-tabs,
	.yw-news-tabs,
	.yw-tools-page__filters,
	.yw-tutorials-section__tabs {
		display: inline-flex;
		align-items: center;
		flex-wrap: nowrap;
		gap: 4px;
		max-width: 100%;
		padding: 3px;
		margin: 0 0 12px;
		border: 1px solid var(--yw-cat-pill-border);
		border-radius: 999px;
		background: var(--yw-cat-pill-bg);
		box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}

	.yw-scene-all-toolbar__sort::-webkit-scrollbar,
	.yw-workflow-tabs::-webkit-scrollbar,
	.yw-prompt-tabs::-webkit-scrollbar,
	.yw-news-tabs::-webkit-scrollbar,
	.yw-tools-page__filters::-webkit-scrollbar,
	.yw-tutorials-section__tabs::-webkit-scrollbar {
		display: none;
	}

	.yw-scene-sort,
	.yw-workflow-tabs__item,
	.yw-prompt-tabs__item,
	.yw-news-tabs__link,
	.yw-tools-pill,
	.yw-pill.yw-tools-pill,
	.yw-tutorials-section__tab {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		flex-shrink: 0;
		min-height: 34px;
		padding: 6px 12px !important;
		margin: 0 !important;
		border: 0 !important;
		border-bottom: 0 !important;
		border-radius: 999px !important;
		background: transparent !important;
		box-shadow: none !important;
		font-size: 12px !important;
		font-weight: 600 !important;
		line-height: 1.2;
		color: var(--yw-cat-pill-text) !important;
		text-decoration: none !important;
		white-space: nowrap;
		-webkit-tap-highlight-color: transparent;
	}

	.yw-scene-sort.is-active,
	.yw-workflow-tabs__item.is-active,
	.yw-prompt-tabs__item.is-active,
	.yw-news-tabs__link.is-active,
	.yw-tools-pill.is-active,
	.yw-pill.yw-tools-pill.is-active,
	.yw-tutorials-section__tab.is-active {
		background: var(--yw-cat-pill-active-bg) !important;
		color: var(--yw-cat-pill-active-text) !important;
		font-weight: 700 !important;
		box-shadow: inset 0 0 0 1px var(--yw-cat-pill-active-ring) !important;
	}

	.yw-prompt-toolbar {
		border-bottom: 0;
		padding-bottom: 0;
		margin-bottom: 12px;
	}

	.yw-news-tabs {
		flex-wrap: nowrap;
	}

	/* 浮层内分类列表 */
	.yw-archive__filter-sheet .yw-aside__title,
	.yw-archive__filter-sheet .yw-cat-sidebar__section-title,
	.yw-archive__filter-sheet .yw-scene-sidebar__goals-block .yw-aside__title {
		margin: 0 0 8px;
		font-size: 12px;
		font-weight: 700;
		color: #94a3b8;
		letter-spacing: 0.03em;
	}

	.yw-archive__filter-sheet .yw-cat-sidebar .yw-aside-list,
	.yw-archive__filter-sheet .yw-cat-sidebar .yw-cat-sidebar__list,
	.yw-archive__filter-sheet .yw-scene-sidebar__goal-chips {
		gap: 4px;
	}

	.yw-archive__filter-sheet .yw-cat-sidebar .yw-aside-list__link,
	.yw-archive__filter-sheet .yw-cat-sidebar .yw-cat-sidebar__link,
	.yw-archive__filter-sheet .yw-cat-sidebar__link--sort,
	.yw-archive__filter-sheet .yw-scene-sidebar__chip {
		min-height: 44px;
		padding: 10px 12px !important;
		border: 0 !important;
		border-radius: 12px !important;
		font-size: 14px !important;
		font-weight: 500 !important;
		color: #334155 !important;
		background: transparent !important;
		box-shadow: none !important;
	}

	.yw-archive__filter-sheet .yw-cat-sidebar .yw-aside-list__link.is-active,
	.yw-archive__filter-sheet .yw-cat-sidebar .yw-cat-sidebar__link.is-active,
	.yw-archive__filter-sheet .yw-cat-sidebar__link--sort.is-active,
	.yw-archive__filter-sheet .yw-scene-sidebar__chip.is-active {
		background: var(--yw-cat-list-active-bg) !important;
		color: var(--yw-cat-pill-active-text) !important;
		font-weight: 700 !important;
		box-shadow: inset 0 0 0 1px var(--yw-cat-pill-active-ring) !important;
	}

	.yw-archive__filter-sheet .yw-cat-sidebar__ico,
	.yw-archive__filter-sheet .yw-scene-sidebar__ico,
	.yw-archive__filter-sheet .yw-scene-sidebar__chip-ico {
		width: 22px;
		height: 22px;
		display: inline-grid;
		place-items: center;
		border-radius: 8px;
		background: #f1f5f9 !important;
		font-size: 12px;
		line-height: 1;
		flex-shrink: 0;
	}

	.yw-archive__filter-sheet .yw-aside-list__link.is-active .yw-cat-sidebar__ico,
	.yw-archive__filter-sheet .yw-scene-sidebar__chip.is-active .yw-scene-sidebar__chip-ico {
		background: rgba(79, 70, 229, 0.12) !important;
	}

	.yw-archive__filter-sheet .yw-aside-list__count,
	.yw-archive__filter-sheet .yw-scene-sidebar__chip-count {
		font-size: 11px;
		font-weight: 700;
		color: #94a3b8;
		background: #f1f5f9;
		padding: 2px 7px;
		border-radius: 999px;
	}

	.yw-archive__filter-sheet .yw-aside-list__link.is-active .yw-aside-list__count,
	.yw-archive__filter-sheet .yw-scene-sidebar__chip.is-active .yw-scene-sidebar__chip-count {
		color: var(--yw-cat-pill-active-text);
		background: rgba(79, 70, 229, 0.1);
	}

	.yw-prompt-filters__select {
		min-height: 36px;
		padding: 6px 32px 6px 12px;
		border: 1px solid var(--yw-cat-pill-border);
		border-radius: 999px;
		font-size: 12px;
		font-weight: 600;
		background-color: #fff;
		box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
	}

	/* 场景首页分类卡片内链接 */
	.yw-scene-cat__link {
		border-radius: 10px;
		font-size: 12px;
		padding: 7px 8px;
	}

	.yw-scene-cat__link:hover {
		background: #f8fafc;
		color: var(--yw-primary);
	}

	[data-yw-packed] {
		padding: 0;
	}

	[data-yw-packed]:not(.yw-aside--mobile-filter-host) .yw-aside__packed-trigger {
		display: inline-flex !important;
		align-items: center;
		justify-content: center;
		gap: 5px;
		width: auto !important;
		min-height: 36px;
		margin: 0;
		padding: 0 13px 0 11px !important;
		border: 1px solid var(--yw-cat-pill-border) !important;
		border-radius: 999px !important;
		background: linear-gradient(180deg, #fff 0%, #f8fafc 100%) !important;
		box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06) !important;
		font-size: 13px !important;
		font-weight: 600 !important;
		line-height: 1;
		color: #475569 !important;
		cursor: pointer;
		-webkit-tap-highlight-color: transparent;
	}

	[data-yw-packed] .yw-aside__packed-trigger-label {
		flex: 1;
		min-width: 0;
	}

	[data-yw-packed] .yw-aside__chevron {
		flex-shrink: 0;
		width: 28px;
		height: 28px;
		border-radius: 8px;
		background: #f1f5f9;
		display: grid;
		place-items: center;
	}

	[data-yw-packed] .yw-aside__chevron::before {
		content: "";
		width: 7px;
		height: 7px;
		border-right: 2px solid #64748b;
		border-bottom: 2px solid #64748b;
		transform: rotate(45deg) translateY(-1px);
		transition: transform 0.2s ease;
	}

	[data-yw-packed].is-packed-open .yw-aside__chevron {
		background: #eef2ff;
	}

	[data-yw-packed].is-packed-open .yw-aside__chevron::before {
		transform: rotate(-135deg) translateY(1px);
		border-color: var(--yw-primary);
	}

	[data-yw-packed]:not(.is-packed-open) .yw-aside__packed {
		display: none;
	}

	[data-yw-packed].is-packed-open .yw-aside__packed {
		display: block;
		margin-top: 10px;
		padding: 12px;
		border: 1px solid var(--yw-border);
		border-radius: 14px;
		background: #fff;
		box-shadow: 0 2px 12px rgba(15, 23, 42, 0.05);
	}

	[data-yw-packed] .yw-aside__block {
		border-bottom: 1px solid var(--yw-border);
		padding-bottom: 12px;
		margin-bottom: 12px;
	}

	[data-yw-packed] .yw-aside__block:last-child {
		border-bottom: 0;
		margin-bottom: 0;
		padding-bottom: 0;
	}

	[data-yw-packed] .yw-scene-sidebar__cta,
	[data-yw-packed] .yw-aside__cta {
		margin-top: 12px;
		padding: 14px;
		border-radius: 12px;
	}

	[data-yw-packed] .yw-scene-sidebar__cta-art {
		opacity: 0.2;
		width: 56px;
		height: auto;
	}

	[data-yw-packed] .yw-scene-sidebar__cta p {
		font-size: 13px;
		margin-bottom: 8px;
	}

	.yw-scene-search {
		height: 48px;
		margin-bottom: 16px;
	}

	.yw-workflow-page__search {
		height: auto;
		min-height: 48px;
		margin-bottom: 16px;
		flex-wrap: wrap;
		padding: 8px 12px;
	}

	.yw-scene-all-toolbar {
		flex-direction: row;
		align-items: center;
		gap: 8px;
		margin-bottom: 12px;
	}

	.yw-scene-all-toolbar__sort {
		width: 100%;
		justify-content: center;
		flex-wrap: wrap;
	}

	.yw-scene-sort {
		flex: 1;
		justify-content: center;
		min-height: 40px;
		padding: 8px 12px;
		font-size: 12px;
	}

	.yw-breadcrumbs {
		font-size: 12px;
		overflow-x: auto;
		white-space: nowrap;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}

	.yw-breadcrumbs::-webkit-scrollbar {
		display: none;
	}
}

@media (min-width: 769px) {
	[data-yw-packed] .yw-aside__packed-trigger {
		display: none;
	}

	[data-yw-packed] .yw-aside__packed {
		display: block;
		margin: 0;
		padding: 0;
		border: 0;
		box-shadow: none;
		background: transparent;
	}

	[data-yw-packed].yw-aside {
		padding: 14px;
		background: var(--yw-surface);
		border: 1px solid var(--yw-border);
		box-shadow: var(--yw-shadow);
	}
}

/* —— 紧凑型列表页：双列 + 横排卡片 —— */
@media (max-width: 768px) {
	.yw-scene-page__main,
	.yw-workflow-page__main,
	.yw-tools-page__main,
	.yw-prompt-page__main,
	.yw-news-center {
		--yw-list-gap: 10px;
	}

	.yw-scene-all-grid,
	.yw-grid--workflow-archive,
	.yw-workflow-hot-track,
	.yw-workflow-highlights,
	.yw-grid--tools-archive:not(.yw-tools-grid--list),
	.yw-grid--prompt-archive,
	.yw-scene-hot-grid,
	.yw-grid--scenes:not(.yw-grid--home-auto),
	.yw-grid--flows,
	.yw-grid--flows-home:not(.yw-grid--home-auto),
	.yw-grid--tools,
	.yw-grid--tools-home:not(.yw-grid--home-auto),
	.yw-grid--prompts,
	.yw-grid--prompts-home:not(.yw-grid--home-auto),
	.yw-tutorials-grid--tutorials,
	.yw-tutorials-grid--cases {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: var(--yw-list-gap, 10px);
	}

	.yw-grid--home-auto {
		grid-template-columns: repeat(var(--yw-grid-cols-sm, 2), minmax(0, 1fr)) !important;
		gap: var(--yw-list-gap, 10px);
	}

	.yw-grid--prompts-home.yw-grid--home-auto {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}

	.yw-tools-grid--list {
		grid-template-columns: 1fr !important;
		gap: 8px;
	}

	/* —— 双列卡片：仅保留主元素（图/标 + 标题 + 必要角标） —— */
	.yw-scene-archive-card,
	.yw-workflow-page .yw-flow-card--archive,
	.yw-flow-card--home,
	.yw-flow-card--featured,
	.yw-tutorial-card,
	.yw-case-card {
		border-radius: 12px;
	}

	.yw-scene-archive-card__media,
	.yw-workflow-page .yw-flow-card--archive .yw-flow-card__media,
	.yw-flow-card--home .yw-flow-card__media,
	.yw-flow-card--featured .yw-flow-card__media,
	.yw-tutorial-card__media,
	.yw-case-card__media {
		aspect-ratio: 1 / 1;
	}

	.yw-scene-archive-card__body,
	.yw-workflow-page .yw-flow-card--archive .yw-flow-card__body,
	.yw-flow-card--home .yw-flow-card__body,
	.yw-flow-card--featured .yw-flow-card__body,
	.yw-tutorial-card__body,
	.yw-case-card__body,
	.yw-tool-card--home .yw-tool-card__body,
	.yw-grid--tools-home .yw-tool-card__body,
	.yw-grid--tools-archive:not(.yw-tools-grid--list) .yw-tool-archive-card__link {
		padding: 8px;
	}

	.yw-scene-archive-card__title,
	.yw-workflow-page .yw-flow-card--archive .yw-flow-card__title,
	.yw-flow-card--home .yw-flow-card__title,
	.yw-flow-card--featured .yw-flow-card__title,
	.yw-tutorial-card__title,
	.yw-case-card__title,
	.yw-tool-card--home .yw-tool-card__title,
	.yw-grid--tools-home .yw-tool-card__title,
	.yw-grid--tools-archive:not(.yw-tools-grid--list) .yw-tool-archive-card__title,
	.yw-scene-card__title,
	.yw-prompt-card--archive .yw-prompt-card__title {
		font-size: 12px;
		margin: 0;
		line-height: 1.35;
		display: -webkit-box;
		-webkit-line-clamp: 2;
		line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
	}

	/* 场景 / 工作流归档 */
	.yw-scene-archive-card__stack,
	.yw-workflow-page .yw-flow-card--archive .yw-flow-card__stack,
	.yw-workflow-page .yw-flow-card--archive .yw-flow-card__time-tag,
	.yw-workflow-page .yw-flow-card--archive .yw-flow-card__badge-new {
		display: none !important;
	}

	.yw-workflow-page .yw-flow-card--archive .yw-flow-card__desc {
		display: -webkit-box !important;
		margin: 0 0 6px;
		font-size: 11px;
		line-height: 1.45;
		color: #64748b;
		-webkit-line-clamp: 2;
		line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
	}

	.yw-workflow-page .yw-flow-card--archive .yw-flow-card__stats {
		display: flex;
		gap: 0;
		margin-top: 4px;
	}

	.yw-scene-archive-card__foot,
	.yw-workflow-page .yw-flow-card--archive .yw-flow-card__foot {
		margin-top: 4px;
		min-height: 0;
	}

	.yw-scene-archive-card__desc {
		display: -webkit-box !important;
		margin: 0 0 6px;
		font-size: 11px;
		line-height: 1.45;
		color: #64748b;
		-webkit-line-clamp: 2;
		line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
		min-height: 0;
	}

	.yw-scene-archive-card__usage,
	.yw-workflow-page .yw-flow-card--archive .yw-flow-card__stat:first-child {
		font-size: 10px;
		color: #94a3b8;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.yw-workflow-page .yw-flow-card--archive .yw-flow-card__stat:not(:first-child) {
		display: none !important;
	}

	.yw-scene-archive-card__badge,
	.yw-workflow-page .yw-flow-card--archive .yw-flow-card__platform {
		font-size: 10px;
		padding: 2px 7px;
		max-width: calc(100% - 16px);
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	/* 首页工作流 / 精选 */
	.yw-flow-card--home .yw-flow-card__stack,
	.yw-flow-card--home .yw-flow-card__foot,
	.yw-flow-card--featured .yw-flow-card__stack,
	.yw-flow-card--featured .yw-flow-card__foot,
	.yw-flow-card--featured .yw-flow-card__platform {
		display: none !important;
	}

	.yw-flow-card--home .yw-flow-card__desc,
	.yw-flow-card--featured .yw-flow-card__desc {
		display: -webkit-box !important;
		margin: 0 0 6px;
		font-size: 11px;
		line-height: 1.45;
		color: #64748b;
		-webkit-line-clamp: 2;
		line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
	}

	.yw-flow-card--home .yw-flow-card__tags,
	.yw-flow-card--featured .yw-flow-card__tags {
		display: flex !important;
		flex-wrap: nowrap;
		gap: 4px;
		margin: 0 0 4px;
		overflow: hidden;
	}

	.yw-flow-card--home .yw-flow-card__tags .yw-tag:nth-child(n + 2),
	.yw-flow-card--featured .yw-flow-card__tags .yw-tag:nth-child(n + 2) {
		display: none;
	}

	/* AI 工具 · 双列网格 */
	.yw-tool-archive-card {
		border-radius: 12px;
	}

	.yw-grid--tools-archive:not(.yw-tools-grid--list) .yw-tool-archive-card__link {
		display: flex;
		flex-direction: row;
		align-items: flex-start;
		text-align: left;
		gap: 10px;
		padding: 12px 10px;
		min-height: 0;
	}

	.yw-grid--tools-archive:not(.yw-tools-grid--list) .yw-tool-archive-card__top {
		flex-direction: row;
		align-items: flex-start;
		margin: 0;
		flex: 0 0 auto;
	}

	.yw-grid--tools-archive:not(.yw-tools-grid--list) .yw-tool-archive-card__logo {
		width: 42px;
		height: 42px;
		border-radius: 10px;
	}

	.yw-grid--tools-archive:not(.yw-tools-grid--list) .yw-tool-archive-card__head {
		flex: 1;
		min-width: 0;
	}

	.yw-grid--tools-archive:not(.yw-tools-grid--list) .yw-tool-archive-card__desc {
		display: -webkit-box !important;
		margin: 0 0 6px;
		font-size: 11px;
		line-height: 1.45;
		color: #64748b;
		-webkit-line-clamp: 2;
		line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
		min-height: 0;
	}

	.yw-grid--tools-archive:not(.yw-tools-grid--list) .yw-tool-archive-card__stats,
	.yw-grid--tools-archive:not(.yw-tools-grid--list) .yw-tool-archive-card__bookmark {
		display: none !important;
	}

	.yw-grid--tools-archive:not(.yw-tools-grid--list) .yw-tool-archive-card__tags {
		justify-content: center;
		margin: 0;
	}

	.yw-grid--tools-archive:not(.yw-tools-grid--list) .yw-tool-archive-card__tag {
		font-size: 10px;
		padding: 1px 6px;
	}

	.yw-grid--tools-archive:not(.yw-tools-grid--list) .yw-tool-archive-card__tag:not(:first-child) {
		display: none;
	}

	/* 首页 · 使用场景卡（横排：图标 + 标题/摘要/标签） */
	.yw-grid--scenes .yw-scene-card__link {
		min-height: 0;
		height: auto;
		padding: 12px 10px;
		gap: 10px;
		align-items: flex-start;
	}

	.yw-grid--scenes .yw-scene-card__icon {
		width: 42px;
		height: 42px;
		font-size: 17px;
		border-radius: 11px;
	}

	.yw-grid--scenes .yw-scene-card__title {
		font-size: 13px;
		margin: 0 0 4px;
	}

	.yw-grid--scenes .yw-scene-card__desc {
		display: -webkit-box !important;
		margin: 0 0 8px;
		font-size: 11px;
		line-height: 1.45;
		color: #64748b;
		-webkit-line-clamp: 2;
		line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
	}

	.yw-grid--scenes .yw-scene-card__meta {
		margin-top: 0;
	}

	.yw-grid--scenes .yw-scene-card__count {
		display: inline-flex;
		align-items: center;
		padding: 3px 8px;
		border-radius: 999px;
		background: #f1f5f9;
		color: #64748b;
		font-size: 10px;
		font-weight: 600;
	}

	/* 首页 · AI 工具卡 */
	.yw-tool-card--home .yw-tool-card__meta,
	.yw-grid--tools-home .yw-tool-card__meta {
		display: none !important;
	}

	.yw-tool-card--home .yw-tool-card__link,
	.yw-grid--tools-home .yw-tool-card__link {
		display: flex;
		flex-direction: row;
		align-items: flex-start;
		text-align: left;
		gap: 10px;
		padding: 12px 10px;
		min-height: 0;
	}

	.yw-tool-card--home .yw-tool-card__head,
	.yw-grid--tools-home .yw-tool-card__head {
		margin: 0;
		padding: 0;
		flex-shrink: 0;
	}

	.yw-tool-card--home .yw-tool-card__body,
	.yw-grid--tools-home .yw-tool-card__body {
		flex: 1;
		min-width: 0;
		padding: 0;
	}

	.yw-tool-card--home .yw-tool-card__logo,
	.yw-grid--tools-home .yw-tool-card__logo {
		width: 42px;
		height: 42px;
		border-radius: 10px;
	}

	.yw-tool-card--home .yw-tool-card__desc,
	.yw-grid--tools-home .yw-tool-card__desc {
		display: -webkit-box !important;
		margin: 0 0 6px;
		font-size: 11px;
		line-height: 1.45;
		color: #64748b;
		-webkit-line-clamp: 2;
		line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
	}

	.yw-tool-card--home .yw-tool-card__tags,
	.yw-grid--tools-home .yw-tool-card__tags {
		display: flex !important;
		justify-content: flex-start;
		margin: 0;
	}

	.yw-tool-card--home .yw-tool-card__tags .yw-pill:not(:first-child),
	.yw-grid--tools-home .yw-tool-card__tags .yw-pill:not(:first-child) {
		display: none;
	}

	.yw-scene-hot-grid .yw-scene-hot__stack {
		display: none !important;
	}

	.yw-scene-hot-grid .yw-scene-hot__desc {
		display: -webkit-box !important;
		font-size: 11px;
		margin: 0 0 6px;
		-webkit-line-clamp: 2;
		line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
		color: #64748b;
	}

	.yw-scene-hot-grid .yw-scene-hot__usage {
		font-size: 10px;
		color: #94a3b8;
	}

	.yw-scene-hot-grid .yw-scene-hot__title {
		font-size: 12px;
		-webkit-line-clamp: 2;
		line-clamp: 2;
	}

	.yw-scene-hot-grid .yw-scene-hot__media {
		aspect-ratio: 1 / 1;
	}

	/* 工具列表视图：横排一行 */
	.yw-tools-grid--list .yw-tool-archive-card__link {
		display: grid;
		grid-template-columns: 44px minmax(0, 1fr);
		grid-template-rows: auto auto;
		gap: 4px 10px;
		padding: 10px 12px;
		align-items: start;
	}

	.yw-tools-grid--list .yw-tool-archive-card__top {
		display: contents;
		margin: 0;
	}

	.yw-tools-grid--list .yw-tool-archive-card__logo {
		grid-row: 1 / span 2;
		grid-column: 1;
		width: 44px;
		height: 44px;
		align-self: center;
	}

	.yw-tools-grid--list .yw-tool-archive-card__head {
		grid-column: 2;
		grid-row: 1;
	}

	.yw-tools-grid--list .yw-tool-archive-card__bookmark {
		display: none;
	}

	.yw-tools-grid--list .yw-tool-archive-card__desc {
		grid-column: 2;
		grid-row: 2;
		margin: 0;
		-webkit-line-clamp: 1;
		line-clamp: 1;
	}

	.yw-tools-grid--list .yw-tool-archive-card__stats {
		display: none;
	}

	/* Prompt · 双列 */
	.yw-prompt-card--archive {
		padding: 8px;
		border-radius: 12px;
	}

	.yw-prompt-card--archive .yw-prompt-card__top {
		grid-template-columns: 26px minmax(0, 1fr);
		gap: 6px;
		margin: 0;
		align-items: center;
	}

	.yw-prompt-card--archive .yw-prompt-card__brand {
		width: 26px;
		height: 26px;
		font-size: 13px;
		border-radius: 8px;
	}

	.yw-prompt-card--archive .yw-prompt-card__save,
	.yw-prompt-card--archive .yw-prompt-card__tags,
	.yw-prompt-card--archive .yw-prompt-card__preview,
	.yw-prompt-card--archive .yw-prompt-card__author,
	.yw-prompt-card--archive .yw-prompt-card__date,
	.yw-prompt-card--archive .yw-prompt-card__metric--rate {
		display: none !important;
	}

	.yw-prompt-card--archive .yw-prompt-card__desc {
		display: -webkit-box !important;
		margin: 0 0 6px;
		font-size: 11px;
		line-height: 1.45;
		color: #64748b;
		-webkit-line-clamp: 2;
		line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
	}

	.yw-prompt-card--archive .yw-prompt-card__foot {
		margin-top: 4px;
		padding: 0;
		border: 0;
	}

	.yw-prompt-card--archive .yw-prompt-card__metrics {
		font-size: 10px;
		color: #94a3b8;
	}

	/* 教程 / 案例 · 双列 */
	.yw-tutorial-card__foot,
	.yw-tutorial-card__author,
	.yw-tutorial-card__lessons,
	.yw-case-card__desc,
	.yw-case-card__foot,
	.yw-case-card__author,
	.yw-case-card__metric,
	.yw-case-card__views {
		display: none !important;
	}

	.yw-tutorial-card__desc,
	.yw-case-card__desc {
		display: -webkit-box !important;
		margin: 0 0 6px;
		font-size: 11px;
		line-height: 1.45;
		color: #64748b;
		-webkit-line-clamp: 2;
		line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
	}

	.yw-tutorial-card__tag,
	.yw-case-card__tag {
		display: inline-block;
		margin-top: 4px;
		padding: 2px 7px;
		border-radius: 999px;
		font-size: 10px;
		font-weight: 600;
		color: var(--yw-primary-dark);
		background: #eef2ff;
		max-width: 100%;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.yw-tutorial-card__badge {
		font-size: 10px;
		padding: 2px 7px;
	}

	/* 资讯列表：仅标题 + 单条 meta */
	.yw-news-feed__link {
		grid-template-columns: 72px minmax(0, 1fr) !important;
		gap: 8px;
		padding: 8px 10px;
		align-items: center;
	}

	.yw-news-feed__media img,
	.yw-news-feed__ph {
		width: 72px !important;
		height: 72px !important;
		border-radius: 8px;
	}

	.yw-news-feed__excerpt {
		display: none !important;
	}

	.yw-news-feed__title {
		font-size: 13px;
		margin: 0 0 4px;
		line-height: 1.35;
		display: -webkit-box;
		-webkit-line-clamp: 2;
		line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
	}

	.yw-news-feed__cat {
		font-size: 10px;
		margin-bottom: 2px;
	}

	.yw-news-feed__meta {
		font-size: 10px;
		gap: 6px;
	}

	.yw-news-feed__meta > *:not(:first-child) {
		display: none;
	}

	.yw-news-page .yw-news-mini__link {
		grid-template-columns: 56px minmax(0, 1fr);
		gap: 8px;
		padding: 8px;
		align-items: center;
	}

	.yw-news-page .yw-news-mini__media {
		width: 56px;
		height: 56px;
	}

	.yw-news-page .yw-news-mini__body {
		min-height: 0;
	}

	.yw-news-page .yw-news-mini__title {
		font-size: 12px;
		-webkit-line-clamp: 2;
		line-clamp: 2;
		display: -webkit-box;
		-webkit-box-orient: vertical;
		overflow: hidden;
	}

	.yw-news-page .yw-news-mini__meta,
	.yw-news-page .yw-news-mini__excerpt {
		display: none !important;
	}

	.yw-news-feed-list {
		gap: 8px;
	}

	.yw-scene-hot-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: var(--yw-list-gap, 10px);
	}

	.yw-archive__toolbar,
	.yw-workflow-page__toolbar,
	.yw-tools-page__toolbar {
		gap: 8px;
		margin-bottom: 12px;
	}
}

/* —— 卡片与触控 —— */
@media (hover: none) {
	.yw-scene-archive-card:hover,
	.yw-tool-card:hover,
	.yw-flow-card:hover,
	.yw-scene-cat:hover {
		transform: none;
		box-shadow: var(--yw-shadow);
	}
}

@media (max-width: 768px) {
	.yw-btn {
		min-height: 44px;
		padding-inline: 18px;
	}
}

/* —— 页脚统计：移动端横排 2 个 —— */
@media (max-width: 768px) {
	.yw-footer-stats {
		padding-block: 20px;
	}

	.yw-footer-stats__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px 10px;
	}

	.yw-stat {
		justify-content: flex-start;
		gap: 10px;
		padding: 10px 8px;
		min-width: 0;
	}

	.yw-stat__icon {
		width: 40px;
		height: 40px;
		font-size: 18px;
		border-radius: 12px;
	}

	.yw-stat__text {
		min-width: 0;
	}

	.yw-stat__num {
		font-size: clamp(16px, 4.2vw, 20px);
	}

	.yw-stat__label {
		font-size: 11px;
		line-height: 1.35;
	}
}

@media (max-width: 640px) {
	.yw-footer__inner {
		padding-bottom: calc(28px + env(safe-area-inset-bottom, 0));
		text-align: center;
	}

	.yw-footer__menu {
		justify-content: center;
		gap: 10px 16px;
	}
}

/* —— 详情页 —— */
@media (max-width: 768px) {
	.yw-main.yw-scene-single,
	.yw-main.yw-workflow-single {
		padding-top: 12px;
		padding-bottom: 32px;
	}

	.yw-scene-single__main .yw-breadcrumbs,
	.yw-workflow-single__main .yw-breadcrumbs {
		margin-bottom: 0;
	}

	.yw-tool-single__layout {
		gap: 12px;
	}

	.yw-scene-single__hero,
	.yw-workflow-single__hero {
		padding: 20px 16px;
		border-radius: 14px;
	}

	.yw-tool-single__hero {
		padding: 24px 16px;
	}

	.yw-tool-single__tabs {
		top: calc(56px + env(safe-area-inset-top, 0));
	}
}

/* —— 分页（全站） —— */
@media (max-width: 768px) {
	.yw-pagination-bar {
		flex-direction: column;
		align-items: stretch;
		gap: 14px;
		margin-top: 22px;
	}

	.yw-pagination-bar__meta {
		text-align: center;
	}

	.yw-pagination .nav-links,
	.navigation.pagination .nav-links {
		justify-content: center;
		gap: 8px;
	}

	.yw-pagination .page-numbers:not(.prev):not(.next):not(.current),
	.navigation.pagination .page-numbers:not(.prev):not(.next):not(.current) {
		display: none;
	}

	.yw-pagination .page-numbers.prev,
	.yw-pagination .page-numbers.next,
	.yw-pagination .page-numbers.current,
	.yw-pagination .page-numbers.dots,
	.navigation.pagination .page-numbers.prev,
	.navigation.pagination .page-numbers.next,
	.navigation.pagination .page-numbers.current,
	.navigation.pagination .page-numbers.dots {
		display: inline-flex;
	}
}

@media (max-width: 480px) {
	.yw-pagination-wrap,
	.yw-pagination-bar {
		margin-top: 18px;
	}

	.yw-pagination .page-numbers,
	.navigation.pagination .page-numbers {
		min-width: 44px;
		height: 44px;
		padding: 0 10px;
		font-size: 13px;
	}

	.yw-pagination .prev.page-numbers,
	.yw-pagination .next.page-numbers,
	.navigation.pagination .prev.page-numbers,
	.navigation.pagination .next.page-numbers {
		flex: 1;
		max-width: calc(50% - 4px);
	}
}
