/* ===== shared utility/component styles (migrated from inline style attrs) ===== */
.hero-title-icon {
	color: var(--c-primary);
	margin-right: 10px;
	font-size: 1.2rem;
}

.u-ml-auto {
	margin-left: auto;
}

.filter-sort-icon {
	margin-right: 4px;
}

.main-content-wide {
	width: 100%;
	padding-top: 20px;
}

/* 统一二级栏目/兄弟栏目样式（兼容现有结构） */
.subnav-tabs,
.city-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

@media (max-width: 767px) {
	/* 覆盖本文件上一段 flex-wrap:wrap，避免子栏目换行；单行横滑，隐藏滚动条仍可拖动/滑动 */
	.subnav-tabs,
	.city-tabs {
		flex-wrap: nowrap;
		gap: 0;
		column-gap: 0;
		row-gap: 0;
		justify-content: flex-start;
		align-items: center;
		max-width: 100%;
		min-width: 0;
		overflow-x: auto;
		overflow-y: hidden;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		-ms-overflow-style: none;
		overscroll-behavior-x: contain;
	}
	.subnav-tabs::-webkit-scrollbar,
	.city-tabs::-webkit-scrollbar {
		display: none;
		width: 0;
		height: 0;
	}
	.city-tabs .tab-btn,
	.subnav-tabs .tab-btn {
		flex-shrink: 0;
		white-space: nowrap;
	}
}

.subnav-tab,
.city-tabs .tab-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.subnav-panel.is-hidden,
.tab-pane-custom.is-hidden,
.trial-us-pane.is-hidden {
	display: none;
}

.icon-primary {
	color: var(--c-primary);
}

.icon-hot {
	color: #f97316;
}

.aside-list-col {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.aside-list-col-lg {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.aside-tags-wrap {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
}

.aside-link-row {
	display: flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
}

.aside-link-row:hover {
	text-decoration: none;
}

.aside-link-title {
	font-size: .8375rem;
	font-weight: 600;
	color: var(--c-text);
}

.aside-link-meta {
	font-size: .75rem;
	color: var(--c-text-3);
}

.topic-link {
	font-size: .8375rem;
	color: var(--c-text-2);
	line-height: var(--lh-normal);
	transition: color var(--ease);
}

.topic-link:hover {
	color: var(--c-primary);
}

.resource-icon-box,
.nav-logo-box {
	width: 36px;
	height: 36px;
	border-radius: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: .9rem;
	flex-shrink: 0;
}

.resource-icon-box--pdf {
	background: linear-gradient(135deg, #f97316, #ea580c);
}

.resource-icon-box--xlsx {
	background: linear-gradient(135deg, #22c55e, #16a34a);
}

.resource-icon-box--tool {
	background: linear-gradient(135deg, #06b6d4, #0891b2);
}

.nav-logo-box {
	background: var(--c-bg-soft);
	border: 1px solid var(--c-line);
	color: inherit;
}

.nav-logo-box img {
	width: 28px;
	height: 28px;
	object-fit: contain;
}

.small-title {
	font-size: .8rem;
	font-weight: 600;
	color: var(--c-text);
	line-height: 1.4;
}

.small-meta {
	font-size: .73rem;
	color: var(--c-text-3);
	margin-top: 2px;
}

.small-meta-spaced {
	margin-top: 3px;
}

.video-hint-icon {
	font-size: 4rem;
	opacity: .08;
}

.video-hint-text {
	font-size: .85rem;
	color: rgba(255, 255, 255, .3);
}

.mr-4 {
	margin-right: 4px;
}

.video-thumb-mini {
	width: 72px;
	height: 40px;
	border-radius: 5px;
	background: #e8edf5;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1rem;
	color: #b0bec5;
}

/* 暗色模式兼容：内联迁移后的浅色块在暗色下微调 */
html.io-dark-mode .video-thumb-mini {
	background: #1b2a44;
	color: #8aa0c2;
}

/* ===== index.php extracted styles ===== */
/* 热销机型与下方「推荐商家」区块间距（默认 .floor-section 36px / 移动端 18px 偏大） */
#term-hot-products.media-recommend-section {
	margin-bottom: 22px;
}

.recommend-media-wrap {
	margin-bottom: 16px;
	padding: 18px 20px;
	border: 1px solid var(--c-line);
	border-radius: 10px;
	background: transparent;
	box-sizing: border-box;
}

.recommend-media-layout {
	display: grid;
	grid-template-columns: 104px minmax(0, 1fr);
	column-gap: var(--layout-split-gap);
	row-gap: 12px;
	align-items: stretch;
	width: 100%;
	box-sizing: border-box;
	/* 左右留白对称：侧栏与卡片区相对白框边距一致 */
	padding: 0 4px;
}

.recommend-media-layout > div:last-child {
	height: 100%;
	min-width: 0;
	width: 100%;
	box-sizing: border-box;
	/* 切换 Tab 时避免右侧高度忽高忽低，左侧竖栏 space-between 跟着大幅跳动 */
	min-height: 360px;
}

.tab-pane-custom {
	height: 100%;
	width: 100%;
	min-width: 0;
	box-sizing: border-box;
}

.recommend-media-wrap .recommend-banner-row {
	min-height: 348px;
}

.recommend-media-wrap .recommend-card-title {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	max-width: 100%;
}

.recommend-media-wrap .recommend-card-row {
	min-width: 0;
	gap: 8px;
}

.recommend-media-wrap .recommend-card-value {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	min-width: 0;
	max-width: 58%;
	flex-shrink: 1;
}

.recommend-media-layout > .recommend-side-tabs {
	align-self: stretch;
	min-height: 0;
}

.recommend-side-tabs {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	height: 100%;
	gap: 0;
	padding: 0;
}

.recommend-side-tab.tab-btn {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: auto;
	flex: 0 0 auto;
	padding: 4px 4px;
	gap: 10px;
	border-radius: 8px;
	font-size: inherit;
	color: var(--c-text-2);
	background: transparent;
	border: none;
	writing-mode: horizontal-tb;
	text-orientation: initial;
	letter-spacing: .02em;
	box-shadow: none;
	cursor: pointer;
	transition: color .15s ease, opacity .15s ease;
}

.recommend-side-tab.tab-btn:hover {
	color: var(--c-text);
}

.recommend-tab-icon {
	font-size: 1.5rem;
	color: var(--c-text-3);
	line-height: 1;
	margin-bottom: 0;
}

.recommend-tab-label {
	display: block;
	font-size: 0.875rem;
	font-weight: 500;
	line-height: 1.25;
	text-align: center;
	white-space: nowrap;
}

.recommend-side-tab.tab-btn.active .recommend-tab-icon,
.recommend-side-tab.tab-btn.active .recommend-tab-label {
	color: var(--c-text);
}

.recommend-side-tab.tab-btn.active {
	background: transparent;
	border: none;
	font-weight: 600;
	box-shadow: none;

}

.recommend-side-tab.tab-btn::after,
.recommend-side-tab.tab-btn.active::after {
	content: none !important;
	display: none !important;
}

.recommend-banner-row {
	display: flex;
	flex-wrap: nowrap;
	gap: 10px;
	height: 100%;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	align-items: stretch;
	overflow-x: auto;
	overflow-y: hidden;
	padding-bottom: 4px;
	scroll-snap-type: x proximity;
	-webkit-overflow-scrolling: touch;
}

.recommend-banner-row-wrap {
	display: flex;
	align-items: stretch;
	gap: 10px;
	width: 100%;
	max-width: 100%;
}

.recommend-scrollbar {
	width: 10px;
	border: 1px solid var(--c-line);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.04);
	position: relative;
	flex: 0 0 10px;
	opacity: 0;
	pointer-events: none;
	transition: opacity .2s ease;
}

.recommend-scrollbar-thumb {
	position: absolute;
	left: 1px;
	right: 1px;
	top: 1px;
	height: 40px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.22);
	cursor: pointer;
}

.recommend-banner-row-wrap.is-scrollable .recommend-scrollbar {
	opacity: 1;
	pointer-events: auto;
}

.recommend-banner-card {
	display: flex;
	flex-direction: column;

	border: 1px solid var(--c-line);

	overflow: hidden;
	min-height: 308px;
	min-width: 340px;
	padding: 12px;
	color: var(--c-text);
	background: transparent;
	position: relative;
	height: 100%;
	box-shadow: none;
	scroll-snap-align: start;
	flex: 0 0 340px;
}

.recommend-card-top {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 10px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--c-line);
}

.recommend-card-title {
	margin: 0;
	font-size: 1rem;
	font-weight: 600;
	color: var(--c-text);
}

.recommend-card-chip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 26px;
	padding: 0 10px;
	border-radius: 13px;
	font-size: .9rem;
	color: var(--c-text-2);
	background: transparent;
	border: 1px solid var(--c-line);
	font-weight: 500;
}

.recommend-card-specs {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin-bottom: 10px;
}

.recommend-card-spec-col {
	padding: 8px 10px;
	background: transparent;
	border: 1px solid var(--c-line);
	border-radius: var(--r-sm);
}

.recommend-card-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 34px;
	border-bottom: 1px dashed var(--c-line);
}

.recommend-card-row:last-child {
	border-bottom: 0;
}

.recommend-card-label {
	font-size: .8125rem;
	color: var(--c-text-2);
}

.recommend-card-value {
	font-size: 0.8125rem;
	color: var(--c-text);
	margin-left: 10px;
	text-align: right;
}

.recommend-card-price {
	margin-top: 2px;
	margin-bottom: 10px;
	padding-top: 6px;
	border-top: 1px dashed var(--c-line);
}

.recommend-card-price .recommend-card-value {
	font-size: .8125rem;
	color: var(--c-text-2);
}

.recommend-card-actions {
	margin-top: auto;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

/* 首页热销卡：与 mall 一致，单按钮右对齐并贴底 */
.recommend-banner-card .trial-actions {
	margin-top: auto;
}

.recommend-card-btn {
	height: 40px;
	border-radius: 10px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	font-size: .8125rem;
	font-weight: 500;
}

.recommend-card-btn.primary {
	background: linear-gradient(90deg, #ff8a24 0%, #ff7a2f 100%);
	color: #fff;
	border: 1px solid transparent;
}

.recommend-card-btn.ghost {
	background: transparent;
	color: var(--trial-accent-deep);
	border: 1px solid var(--trial-accent);
}

@media (max-width: 1200px) {
	.recommend-banner-card {
		min-width: 320px;
		flex-basis: 320px;
	}

	/* 热销机型横滑：隐藏滚动条，仍可拖动/滑动 */
	.recommend-media-wrap .recommend-banner-row {
		scrollbar-width: none;
		-ms-overflow-style: none;
		padding-bottom: 0;
	}

	.recommend-media-wrap .recommend-banner-row::-webkit-scrollbar {
		display: none;
		width: 0;
		height: 0;
	}
}

/* 宽屏：按屏幕宽度自动减少列数，避免小屏电脑端卡片过窄 */
@media (min-width: 1201px) and (max-width: 1599px) {
	/* 维持父容器高度不变：单行横向滚动 + 右侧进度条 */
	.recommend-banner-row-wrap {
		--recommend-gap: 10px;
		--recommend-cols: 4;
	}

	@media (min-width: 1201px) and (max-width: 1399px) {
		.recommend-banner-row-wrap {
			--recommend-cols: 3;
		}
	}

	.recommend-banner-row {
		flex: 1 1 auto;
		overflow-x: auto;
		overflow-y: hidden;
		/* 强制吸附到整卡，避免出现半张卡 */
		scroll-snap-type: x mandatory;
		scroll-padding-left: 0;
		scroll-padding-right: 0;
		scrollbar-width: none;
		-ms-overflow-style: none;
		padding-bottom: 0;
		gap: var(--recommend-gap);
	}

	.recommend-banner-row::-webkit-scrollbar {
		display: none;
		width: 0;
		height: 0;
	}

	.recommend-banner-card {
		min-width: 0;
		flex: 0 0 calc(
			(100% - (var(--recommend-gap) * (var(--recommend-cols) - 1))) /
				var(--recommend-cols)
		);
		scroll-snap-align: start;
		scroll-snap-stop: always;
	}
}

@media (min-width: 1600px) {
	.recommend-banner-row {
		display: grid;
		grid-template-columns: repeat(5, minmax(0, 1fr));
		gap: 12px;
		overflow-x: visible;
		overflow-y: visible;
		scroll-snap-type: none;
		-webkit-overflow-scrolling: auto;
	}

	.recommend-banner-card {
		width: 100%;
		min-width: 0;
		flex: none;
		flex-basis: auto;
		scroll-snap-align: none;
	}

	/* 宽屏铺满时不需要进度条 */
	.recommend-scrollbar {
		display: none;
	}
}

@media (max-width: 767px) {
	#term-hot-products.media-recommend-section {
		margin-bottom: 8px;
	}

	.recommend-media-layout {
		grid-template-columns: 1fr;
		padding: 0;
		column-gap: 0;
		row-gap: 6px;
	}

	.recommend-media-layout > div:last-child {
		min-height: 0;
		height: auto;
	}

	/* Grid 横滑比 flex+100% 在 iOS/WebKit 上更稳定，避免「滑不动、内容不变化」 */
	.recommend-media-wrap .recommend-banner-row {
		display: grid;
		grid-auto-flow: column;
		grid-auto-columns: 100%;
		grid-auto-rows: auto;
		align-items: stretch;
		min-height: 0;
		min-width: 0;
		height: auto;
		width: 100%;
		overflow-x: auto;
		overflow-y: hidden;
		gap: 0;
		scroll-snap-type: x mandatory;
		scroll-behavior: smooth;
		padding-bottom: 0;
		scrollbar-width: none;
		-ms-overflow-style: none;
		-webkit-overflow-scrolling: touch;
		touch-action: pan-x;
		overscroll-behavior-x: contain;
	}

	.recommend-media-wrap .recommend-banner-row::-webkit-scrollbar {
		display: none;
		width: 0;
		height: 0;
	}

	/* 解除 height:100% 传递链，避免卡片区被父级裁切、底部按钮看不到 */
	.tab-pane-custom {
		height: auto;
		min-height: 0;
		min-width: 0;
	}

	/* 抵消 .main-content 左右 padding，拉宽产品卡父容器；内边距略收紧 */
	.recommend-media-wrap {
		margin-left: calc(-1 * max(var(--layout-main-pad-x-xs), env(safe-area-inset-left, 0px)));
		margin-right: calc(-1 * max(var(--layout-main-pad-x-xs), env(safe-area-inset-right, 0px)));
		width: calc(
			100% + max(var(--layout-main-pad-x-xs), env(safe-area-inset-left, 0px)) +
				max(var(--layout-main-pad-x-xs), env(safe-area-inset-right, 0px))
		);
		max-width: none;
		box-sizing: border-box;
		padding: 12px max(6px, env(safe-area-inset-left, 0px)) 12px max(6px, env(safe-area-inset-right, 0px));
		margin-bottom: 6px;
		border-radius: var(--r-md);
		box-shadow: none;
		background: transparent;
		border: none;
	}

	/* 每列即一张卡，宽度与可视区一致 */
	.recommend-media-wrap .recommend-banner-card {
		width: 100%;
		min-width: 0;
		max-width: none;
		scroll-snap-align: start;
		scroll-snap-stop: always;
		height: auto;
		min-height: 0;
		padding: 10px;
		box-sizing: border-box;
	}

	.recommend-card-specs {
		gap: 8px;
	}

	.recommend-card-spec-col {
		padding: 6px 8px;
	}

	.recommend-card-row {
		flex-wrap: wrap;
		align-items: flex-start;
		gap: 4px 8px;
		min-height: 0;
	}

	.recommend-media-wrap .recommend-card-value {
		max-width: 100%;
		margin-left: 0;
		flex: 1 1 auto;
		white-space: normal;
		word-break: break-word;
		text-align: right;
		font-size: 0.78rem;
	}

	.recommend-card-label {
		font-size: 0.78rem;
		flex-shrink: 0;
	}

	.recommend-card-actions {
		gap: 8px;
	}

	.recommend-card-btn {
		font-size: 0.72rem;
		height: 38px;
	}

	.recommend-media-wrap .trial-btn {
		font-size: 0.72rem;
	}

	.recommend-card-top {
		margin-bottom: 8px;
		padding-bottom: 8px;
		gap: 6px;
	}

	.recommend-media-wrap .recommend-card-title {
		font-size: 0.9375rem;
		font-weight: 600;
	}

	.recommend-side-tabs {
		flex-direction: row;
		justify-content: flex-start;
		align-items: stretch;
		height: auto;
		width: 100%;
		padding: 2px 2px 4px;
		overflow-x: auto;
		overflow-y: hidden;
		-webkit-overflow-scrolling: touch;
		scroll-snap-type: x proximity;
		gap: 8px;
		scrollbar-width: none;
	}

	.recommend-side-tabs::-webkit-scrollbar {
		display: none;
	}

	.recommend-side-tab.tab-btn {
		flex: 0 0 auto;
		min-width: 62px;
		max-width: none;
		padding: 4px 8px;
		gap: 10px;
		border-radius: 12px;
		scroll-snap-align: start;
		transition: background 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
	}

	.recommend-side-tab.tab-btn.active {
		background: transparent;
		box-shadow: none;
		color: var(--c-primary);
	}

	.recommend-side-tab.tab-btn.active .recommend-tab-icon,
	.recommend-side-tab.tab-btn.active .recommend-tab-label {
		color: var(--c-primary);
	}

	.recommend-tab-icon {
		font-size: 1.55rem;
		margin-bottom: 0;
	}

	.recommend-tab-label {
		font-size: 0.9rem;
		font-weight: 600;
		line-height: 1.28;
		max-width: none;
		margin-left: auto;
		margin-right: auto;
		white-space: nowrap;
	}
}

/* resource-detail: same full-bleed width as layout-body + main-content pages */
.detail-layout-wide {
	display: flex;
	gap: var(--layout-split-gap);
	align-items: flex-start;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

@media (max-width: 900px) {
	.detail-layout-wide {
		flex-direction: column;
		gap: var(--layout-split-gap);
	}
}

/* ===== resource-detail.php extracted styles ===== */
.resource-hero {
	background: #fff;
	border: 1px solid var(--c-line);
	border-radius: var(--r-lg);
	padding: 28px 32px;
	margin-bottom: 24px;
	display: flex;
	gap: 24px;
	align-items: flex-start;
}

.resource-hero-icon {
	width: 72px;
	height: 72px;
	border-radius: var(--r-md);
	background: linear-gradient(135deg, #06b6d4, #0891b2);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.75rem;
	color: #fff;
	flex-shrink: 0;
}

.resource-hero-info {
	flex: 1;
	min-width: 0;
}

.resource-hero-info h1 {
	font-size: 1.375rem;
	font-weight: 800;
	color: var(--c-text);
	margin-bottom: 8px;
	line-height: 1.35;
}

.resource-hero-info p {
	font-size: .875rem;
	color: var(--c-text-2);
	line-height: 1.65;
	margin-bottom: 14px;
}

.res-stats {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
}

.res-stat-item {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: .8125rem;
	color: var(--c-text-3);
}

.res-stat-item i {
	color: var(--c-primary);
	width: 14px;
}

.res-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin-top: 12px;
}

.dl-panel {
	background: var(--c-bg-soft);
	border: 1px solid var(--c-line);
	border-radius: var(--r-md);
	padding: 20px 22px;
	margin-bottom: 24px;
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
}

.dl-panel .dl-info {
	flex: 1;
	min-width: 0;
}

.dl-panel .dl-info p {
	font-size: .8125rem;
	color: var(--c-text-2);
	margin: 0;
}

.dl-panel .dl-info strong {
	font-size: .9375rem;
	color: var(--c-text);
}

.btn-download {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 28px;
	background: var(--c-primary);
	color: #fff;
	border-radius: 999px;
	font-size: .9rem;
	font-weight: 700;
	border: none;
	cursor: pointer;
	transition: background var(--ease), box-shadow var(--ease);
	text-decoration: none;
	white-space: nowrap;
}

.btn-download:hover {
	background: var(--c-primary-h);
	box-shadow: 0 4px 14px rgba(26, 108, 245, .3);
	color: #fff;
}

/* ===== resources.php extracted styles ===== */
.resource-card {
	background: var(--c-bg-card);
	border: 1px solid var(--c-line);
	border-radius: var(--r-md);
	padding: 18px 20px;
	display: flex;
	align-items: flex-start;
	gap: 16px;
	transition: box-shadow var(--ease), transform var(--ease), border-color var(--ease);
	text-decoration: none;
	color: inherit;
}

.resource-card:hover {
	box-shadow: var(--s-card);
	transform: translateY(-2px);
	border-color: rgba(0, 0, 0, .18);
	color: inherit;
}

.res-icon {
	width: 48px;
	height: 48px;
	border-radius: var(--r-sm);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.25rem;
	flex-shrink: 0;
	color: #fff;
}

.res-icon.pdf {
	background: linear-gradient(135deg, #f97316, #ea580c);
}

.res-icon.zip {
	background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.res-icon.doc {
	background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.res-icon.xls {
	background: linear-gradient(135deg, #22c55e, #16a34a);
}

.res-icon.exe {
	background: linear-gradient(135deg, #ef4444, #dc2626);
}

.res-icon.tool {
	background: linear-gradient(135deg, #06b6d4, #0891b2);
}

.res-info {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	min-height: 0;
}

.res-name {
	font-size: .9375rem;
	font-weight: 700;
	color: var(--c-text);
	margin-bottom: 5px;
	line-height: 1.4;
}

.res-desc {
	font-size: .8125rem;
	color: var(--c-text-2);
	line-height: 1.6;
	margin-bottom: 8px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.res-meta {
	font-size: .75rem;
	color: var(--c-text-3);
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	margin-top: auto;
}

.res-dl-btn {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 4px 12px;
	border-radius: 999px;
	background: #fff;
	color: var(--c-text-2);
	font-size: .75rem;
	font-weight: 500;
	border: 1px solid var(--c-line);
	transition: background var(--ease), color var(--ease), border-color var(--ease), box-shadow var(--ease);
	white-space: nowrap;
	flex-shrink: 0;
	align-self: flex-start;
	box-shadow: 0 1px 2px rgba(0, 0, 0, .03);
}

.res-dl-btn:hover {
	background: var(--c-bg-soft);
	color: var(--c-text);
	border-color: var(--c-line-strong);
	box-shadow: 0 2px 6px rgba(0, 0, 0, .05);
}

/* resources list: equal-height cards per row, undo global 25% col rule */
.resources-page .main-content .row.resources-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
	margin-left: 0;
	margin-right: 0;
}

.resources-page .main-content .row.resources-grid > [class*="col-"] {
	width: 100%;
	max-width: none;
	flex: none;
	padding-left: 0;
	padding-right: 0;
	margin-bottom: 0;
	display: flex;
	flex-direction: column;
}

.resources-page .main-content .row.resources-grid .resource-card {
	flex: 1 1 auto;
	min-height: 100%;
	align-self: stretch;
}

@media (max-width: 1199px) {
	.resources-page .main-content .row.resources-grid {
		grid-template-columns: 1fr;
	}
}

/* 移动端：隐藏左侧类型方块缩图，文案与下载按钮占满整行 */
@media (max-width: 767px) {
	.resources-page .resource-card {
		flex-direction: row;
		flex-wrap: nowrap;
		align-items: flex-start;
		gap: 12px;
		padding: 14px 16px;
		min-width: 0;
	}

	.resources-page .res-icon {
		display: none;
	}

	.resources-page .res-info {
		flex: 1 1 0%;
		min-width: 0;
	}

	.resources-page .res-dl-btn {
		flex-shrink: 0;
		align-self: flex-start;
		padding: 5px 11px;
		font-size: 0.74rem;
	}
}

/* ===== index.php: resources switch section (home) ===== */
.home-resources .row.home-resources-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 1rem;
	margin-left: 0;
	margin-right: 0;
}

.home-resources .row.home-resources-grid > [class*="col-"] {
	width: 100%;
	max-width: none;
	flex: none;
	padding-left: 0;
	padding-right: 0;
	margin-bottom: 0;
	display: flex;
}

.home-resources .resource-card.home-resource-card {
	flex: 1 1 auto;
	min-height: 100%;
	padding: 16px 16px;
	gap: 12px;
	align-items: center;
}

.home-resources .resource-card.home-resource-card .res-icon {
	width: 44px;
	height: 44px;
	font-size: 1.15rem;
}

.home-resources .resource-card.home-resource-card .res-name {
	font-size: .9rem;
	margin-bottom: 6px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.home-resources .resource-card.home-resource-card .res-meta {
	gap: 10px;
}

.home-resources .resource-card.home-resource-card .res-dl-btn {
	align-self: center;
}

@media (max-width: 1100px) {
	.home-resources .row.home-resources-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.home-resources .row.home-resources-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.home-resources .row.home-resources-grid {
		grid-template-columns: minmax(0, 1fr);
	}
	.home-resources .resource-card.home-resource-card .res-icon {
		display: none;
	}
}

/* ===== videos.php extracted styles ===== */
.video-thumb {
	aspect-ratio: 16/9;
	background: var(--c-bg-soft);
	position: relative;
	overflow: hidden;
}

.video-play {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 44px;
	height: 44px;
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	background: rgba(0, 0, 0, .45);
	border: 1px solid rgba(255, 255, 255, .22);
	box-shadow: 0 6px 18px rgba(0, 0, 0, .22);
	backdrop-filter: blur(6px);
	pointer-events: none;
	z-index: 2;
}

.video-play i {
	font-size: 14px;
	transform: translateX(1px);
}

.video-duration {
	position: absolute;
	right: 10px;
	bottom: 10px;
	padding: 3px 8px;
	border-radius: 999px;
	background: rgba(0, 0, 0, .55);
	border: 1px solid rgba(255, 255, 255, .18);
	color: #fff;
	font-size: .72rem;
	font-weight: 700;
	line-height: 1;
	letter-spacing: .2px;
	pointer-events: none;
	z-index: 2;
}

.video-thumb-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	z-index: 0;
}

.video-body {
	padding: 14px 16px 16px;
}

.video-title {
	font-size: .9rem;
	font-weight: 700;
	color: var(--c-text);
	line-height: 1.45;
	margin-bottom: 6px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.video-meta {
	font-size: .75rem;
	color: var(--c-text-2);
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

/* 视频列表卡：与 articles 同用 content-card + 缩略图顶边无内边距 */
.videos-page .content-card.videos-list-card {
	padding: 0;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	height: 100%;
}
.videos-page .content-card.videos-list-card .videos-list-card__link {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	min-height: 0;
	color: inherit;
}
.videos-page .content-card.videos-list-card .videos-list-card__link:hover {
	color: inherit;
}
.videos-page .content-card.videos-list-card .card-tags {
	padding: 0 16px 14px;
	margin-top: 0;
}
.videos-page .content-card.videos-list-card .card-title {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* videos.php：满行四列均分（左右贴齐）；末行不满时从左顺排，不拉到最后一张靠右 */
.videos-page .main-content .row.videos-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1rem;
	margin-left: 0;
	margin-right: 0;
}

.videos-page .main-content .row.videos-grid > [class*="col-"] {
	width: 100%;
	max-width: none;
	flex: none;
	padding-left: 0;
	padding-right: 0;
	margin-bottom: 0;
	box-sizing: border-box;
}

@media (max-width: 900px) {
	.videos-page .main-content .row.videos-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.videos-page .main-content .row.videos-grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* ===== index.php: video switch section (home) ===== */
.home-videos .content-card.videos-list-card {
	padding: 0;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	height: 100%;
}

.home-videos .content-card.videos-list-card .videos-list-card__link {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	min-height: 0;
	color: inherit;
}

.home-videos .content-card.videos-list-card .videos-list-card__link:hover {
	color: inherit;
}

.home-videos .content-card.videos-list-card .card-tags {
	padding: 0 16px 14px;
	margin-top: 0;
}

.home-videos .content-card.videos-list-card .card-title {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.home-videos .row.home-videos-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1rem;
	margin-left: 0;
	margin-right: 0;
}

.home-videos .row.home-videos-grid > [class*="col-"] {
	width: 100%;
	max-width: none;
	flex: none;
	padding-left: 0;
	padding-right: 0;
	margin-bottom: 0;
	box-sizing: border-box;
}

@media (max-width: 900px) {
	.home-videos .row.home-videos-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.home-videos .row.home-videos-grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* ===== mall.php extracted styles ===== */
:root {
	--trial-border: var(--c-line);
	--trial-surface: var(--c-bg-card);
	--trial-bg: var(--c-bg-soft);
}

/* 与全站 theme 一致：主内容区与页头同为 --c-bg */
body {
	background: var(--c-bg);
}

.trial-main {
	width: 100%;
	max-width: none;
	margin: 0;
	background: var(--c-bg);
	box-sizing: border-box;
}

html.io-dark-mode .trial-main {
	background: var(--c-bg);
}

.trial-layout {
	display: grid;
	grid-template-columns: var(--layout-sidebar-w) minmax(0, 1fr);
	gap: var(--layout-split-gap);
	align-items: start;
}

.trial-left-nav.nav-sidebar {
	width: 100%;
	min-width: 0;
	max-width: none;
	position: sticky;
	top: var(--header-h);
	height: calc(100vh - var(--header-h));
}

.trial-right-content {
	width: 100%;
	max-width: none;
	min-width: 0;
	padding: var(--layout-main-pad-y-top) var(--layout-main-pad-x) 0 0;
}

.trial-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
}

.trial-category-nav {
	display: flex;
	gap: 0;
	margin: 16px 0 22px;
	flex-wrap: wrap;
	background: var(--c-bg-card);
	border-radius: 6px;
	overflow: hidden;
	border: none;
}

.trial-category-link {
	position: relative;
	display: inline-block;
	align-items: center;
	justify-content: center;
	padding: 8px 18px;
	border: none;
	border-radius: 0;
	background: none;
	color: var(--c-text-2);
	font-size: .8125rem;
	font-weight: 500;
	text-decoration: none;
	transition: color .16s ease, background .16s ease;
}

.trial-category-link:hover {
	color: var(--c-text);
	background: var(--c-bg-soft);
}

.trial-category-link.is-active {
	color: var(--c-text);
	background: var(--c-bg-card);
	font-weight: 600;
	text-decoration: none;
	text-decoration-line: underline;
	text-decoration-color: #e14b4b;
	text-decoration-thickness: 1px;
	text-underline-offset: 8px;
}

.trial-category-link.is-physical {
	color: var(--c-text);
	background: var(--c-bg-card);
}

.trial-category-link.is-physical:hover {
	color: var(--c-text);
	background: var(--c-bg-soft);
}

.trial-section {
	margin-bottom: 26px;
}

.trial-section-title {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 12px;
	padding-bottom: 8px;
	border-bottom: 1px solid var(--trial-border);
	font-size: 1.12rem;
	font-weight: 800;
	color: var(--c-text);
}

.trial-section-title:before {
	content: "";
	width: 4px;
	height: 16px;
	border-radius: 2px;
	background: var(--c-text-3);
}

.trial-section-more {
	margin-left: auto;
	font-size: 0.86rem;
	font-weight: 600;
	color: var(--c-text-3);
	text-decoration: none;
}

.trial-section-more:hover {
	color: var(--trial-accent-deep);
}

.trial-card {
	background: var(--trial-surface);
	border: 1px solid var(--trial-border);
	border-radius: 10px;
	box-shadow: var(--s-xs);
	overflow: hidden;
	transition: transform .2s ease, box-shadow .2s ease;
	color: var(--c-text);
}

.trial-card:hover {
	transform: translateY(-1px);
	box-shadow: var(--s-sm);
}

.trial-card-top {
	padding: 14px 14px 10px;
	border-bottom: 1px solid var(--c-line);
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.trial-card-title {
	margin: 0;
	font-size: .95rem;
	line-height: 1.1;
	font-weight: 600;
	color: var(--c-text);
}

.trial-chip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 30px;
	padding: 0 12px;
	border-radius: 15px;
	font-size: 0.75rem;
	color: var(--c-text-2);
	background: var(--c-bg-soft);
	font-weight: 600;
	border: 1px solid var(--c-line);
}

.trial-card-body {
	padding: 10px 14px 14px;
}

.trial-specs {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px 16px;
	margin-bottom: 12px;
}

.trial-specs-col {
	border: 1px solid var(--c-line);
	border-radius: 10px;
	padding: 2px 12px;
	background: var(--trial-bg);
}

.trial-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 38px;
	border-bottom: 1px dashed var(--c-line);
}

.trial-row:last-child {
	border-bottom: 0;
}

.trial-label {
	color: var(--c-text-2);
	font-weight: 600;
	font-size: 0.9rem;
}

.trial-value {
	color: var(--c-text);
	font-size: 0.75rem;
	margin-left: 12px;
	text-align: right;
}

.trial-price {
	margin-top: 2px;
	padding-top: 3px;
}

.trial-price .trial-value {
	color: var(--c-text-2);
	font-weight: 800;
	font-size: .75rem;
	letter-spacing: .2px;
}

.trial-actions {
	margin-top: 12px;
	display: flex;
	justify-content: flex-end;
}

.trial-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 34px;
	border-radius: 8px;
	padding: 0 14px;
	font-size: 0.82rem;
	font-weight: 600;
	border: 1px solid transparent;
	cursor: pointer;
	transition: all .2s ease;
	box-sizing: border-box;
}

a.trial-btn {
	text-decoration: none;
}

.trial-btn-apply {
	color: var(--c-text);
	background: var(--c-bg-soft);
	border-color: var(--c-line);
	min-width: 88px;
}

.trial-btn-apply:hover {
	background: var(--c-primary-soft);
	color: var(--c-primary);
	transform: translateY(-1px);
}

@media (max-width: 1199px) {
	.trial-layout {
		grid-template-columns: 210px minmax(0, 1fr);
	}

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

@media (min-width: 1440px) {
	.trial-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (max-width: 991px) {
	.trial-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.trial-layout {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.trial-left-nav {
		position: static;
	}

	.trial-grid {
		grid-template-columns: 1fr;
	}

	/* 仅一层横向留白，避免与 .trial-right-content 重复叠加成「左右过宽」 */
	.trial-main {
		margin-top: 14px;
		padding-left: max(var(--layout-main-pad-x-xs), env(safe-area-inset-left, 0px));
		padding-right: max(var(--layout-main-pad-x-xs), env(safe-area-inset-right, 0px));
		padding-top: 0;
		padding-bottom: 0;
	}

	.trial-right-content {
		padding-top: var(--layout-main-pad-y-top-sm);
		padding-left: 0;
		padding-right: 0;
		padding-bottom: 0;
	}

	.trial-card-title {
		font-size: 1.32rem;
	}

	.trial-specs {
		grid-template-columns: 1fr;
	}

	.trial-price .trial-value {
		font-size: 1.54rem;
	}
}

/* ===== 404.php ===== */
.error-404-page .page-main {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 0;
}

.error-404-wrap {
	max-width: 520px;
	margin: 0 auto;
	padding: 48px 24px 64px;
	text-align: center;
}

.error-404-visual {
	position: relative;
	display: inline-block;
	margin-bottom: 20px;
}

.error-404-code {
	display: block;
	font-size: clamp(4.5rem, 14vw, 6.5rem);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.06em;
	color: var(--c-text);
	opacity: .12;
	user-select: none;
}

.error-404-icon {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	font-size: 2.75rem;
	color: var(--c-text-3);
}

.error-404-title {
	font-size: 1.35rem;
	font-weight: 700;
	color: var(--c-text);
	margin: 0 0 12px;
	line-height: 1.35;
}

.error-404-desc {
	font-size: .9375rem;
	color: var(--c-text-2);
	line-height: var(--lh-normal);
	margin: 0 0 28px;
}

.error-404-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
	align-items: center;
}

.error-404-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 10px 22px;
	border-radius: 10px;
	font-size: .9rem;
	font-weight: 600;
	text-decoration: none;
	transition: background var(--ease), color var(--ease), border-color var(--ease);
}

.error-404-btn-primary {
	background: var(--c-text);
	color: #fff;
	border: 1px solid var(--c-text);
}

.error-404-btn-primary:hover {
	background: var(--c-primary-h);
	color: #fff;
	border-color: var(--c-primary-h);
}

.error-404-btn-ghost {
	background: transparent;
	color: var(--c-text-2);
	border: 1px solid var(--c-line-strong);
}

.error-404-btn-ghost:hover {
	color: var(--c-text);
	border-color: var(--c-text-3);
	background: var(--c-bg-soft);
}

html.io-dark-mode .error-404-code {
	opacity: .18;
	color: var(--c-text);
}

html.io-dark-mode .error-404-btn-primary {
	background: #dbe8ff;
	color: #0f172a;
	border-color: #dbe8ff;
}

html.io-dark-mode .error-404-btn-primary:hover {
	background: #fff;
	color: #0f172a;
	border-color: #fff;
}

@media (max-width: 767px) {
	.error-404-wrap {
		padding: 28px 16px 40px;
	}
	.error-404-actions {
		flex-direction: column;
		width: 100%;
		max-width: 280px;
		margin-left: auto;
		margin-right: auto;
	}
	.error-404-btn {
		width: 100%;
	}
}

/* ===== show.php 商家/外链详情（结构参考跨境类导航详情页，配色走全站令牌） ===== */
.merchant-show-hero {
	background: #fff;
	border: 1px solid var(--c-line);
	border-radius: var(--r-lg);
	padding: 28px 32px;
	margin-bottom: 24px;
	display: flex;
	gap: 24px;
	align-items: flex-start;
}

.merchant-show-logo-wrap {
	width: 400px;
	max-width: 100%;
	aspect-ratio: 400 / 300;
	min-width: 0;
	flex-shrink: 1;
	border-radius: var(--r-md);
	border: 1px solid var(--c-line);
	background: var(--c-bg-soft);
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

.merchant-show-logo-wrap img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.merchant-show-hero-main {
	flex: 1;
	min-width: 0;
}

.merchant-show-hero-main h1 {
	font-size: 1.375rem;
	font-weight: 800;
	color: var(--c-text);
	margin: 0 0 10px;
	line-height: 1.35;
	letter-spacing: -0.02em;
}

.merchant-show-lead { font-size: .875rem; line-height: 1.7; color: var(--c-text-2); margin: 0 0 14px; }

.merchant-show-meta {
	margin-bottom: 10px;
}

.merchant-show-features {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin-bottom: 14px;
}

.merchant-show-features .tag-chip {
	cursor: default;
}

.merchant-show-actions {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	max-width: 360px;
}

.merchant-show-actions .recommend-card-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.merchant-show-intro.article-body {
	padding-top: 28px;
}

.merchant-show-intro .merchant-intro-section + .merchant-intro-section {
	margin-top: 1.35rem;
	padding-top: 1.2rem;
	border-top: 1px dashed var(--c-line);
}

.merchant-show-intro .merchant-intro-heading {
	font-size: 1.0625rem;
	font-weight: 700;
	color: var(--c-text);
	margin: 0 0 10px;
	line-height: 1.35;
}

.merchant-show-intro .merchant-intro-note {
	font-size: .8125rem;
	color: var(--c-text-3);
	margin: 0 0 10px;
	line-height: 1.55;
}

.merchant-show-intro .merchant-intro-list {
	margin: 0 0 0.2em;
	padding-left: 1.25em;
}

.merchant-show-intro .merchant-intro-list li {
	font-size: .9375rem;
	line-height: 1.65;
	color: var(--c-text);
	margin-bottom: 0.45em;
}

.show-panel {
	background: #fff;
	border: 1px solid var(--c-line);
	border-radius: var(--r-lg);
	padding: 22px 24px 26px;
	margin-bottom: 20px;
}

.show-panel-title {
	font-size: 1.0625rem;
	font-weight: 700;
	color: var(--c-text);
	margin: 0 0 16px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--c-line);
}

.show-notice {
	font-size: .8125rem;
	color: var(--c-text-2);
	line-height: 1.55;
	margin: 0 0 18px;
	padding: 10px 12px;
	background: var(--c-bg-soft);
	border-radius: var(--r-sm);
	border: 1px dashed var(--c-line);
}

.show-notice .fa-info-circle {
	color: var(--c-primary);
	margin-right: 6px;
}

.show-rating-summary {
	display: flex;
	gap: 28px;
	flex-wrap: wrap;
	align-items: flex-start;
	margin-bottom: 22px;
}

.show-rating-score {
	min-width: 120px;
}

.show-rating-num {
	font-size: 2rem;
	font-weight: 800;
	color: var(--c-text);
	line-height: 1;
}

.show-rating-max {
	font-size: 1rem;
	color: var(--c-text-3);
}

.show-rating-caption {
	font-size: .75rem;
	color: var(--c-text-3);
	margin-top: 6px;
}

.show-rating-bars {
	flex: 1;
	min-width: 200px;
	max-width: 360px;
}

.show-rating-row {
	display: grid;
	grid-template-columns: 36px 1fr 36px;
	align-items: center;
	gap: 8px;
	font-size: .75rem;
	color: var(--c-text-2);
	margin-bottom: 6px;
}

.show-rating-track {
	height: 8px;
	background: var(--c-bg-soft);
	border-radius: 4px;
	overflow: hidden;
	border: 1px solid var(--c-line);
}

.show-rating-fill {
	display: block;
	height: 100%;
	background: linear-gradient(90deg, var(--c-primary), var(--c-primary-h, #2563eb));
	border-radius: 3px;
}

.show-rating-pct {
	text-align: right;
	color: var(--c-text-3);
}

.show-comment-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.show-comment-item {
	display: flex;
	gap: 12px;
	padding: 14px 0;
	border-bottom: 1px solid var(--c-line);
}

.show-comment-item:last-child {
	border-bottom: none;
}

.show-comment-avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--c-bg-soft);
	border: 1px solid var(--c-line);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: .85rem;
	font-weight: 600;
	color: var(--c-text-2);
	flex-shrink: 0;
}

.show-comment-head {
	display: flex;
	align-items: baseline;
	gap: 10px;
	margin-bottom: 6px;
	flex-wrap: wrap;
}

.show-comment-name {
	font-size: .8125rem;
	font-weight: 600;
	color: var(--c-text);
}

.show-comment-time {
	font-size: .72rem;
	color: var(--c-text-3);
}

.show-comment-text {
	font-size: .8125rem;
	line-height: 1.6;
	color: var(--c-text-2);
	margin: 0;
}

.show-more-comments {
	margin: 8px 0 0;
	font-size: .8125rem;
}

.show-more-comments a {
	color: var(--c-primary);
}

.show-related-links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 18px;
}

.show-related-links a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: .875rem;
	color: var(--c-text-2);
	text-decoration: none;
}

.show-related-links a:hover {
	color: var(--c-primary);
}

.show-related-links .fas {
	color: var(--c-primary);
	opacity: 0.85;
	font-size: .85rem;
}

@media (max-width: 640px) {
	.merchant-show-hero {
		flex-direction: column;
		align-items: center;
		text-align: center;
		padding: 22px 18px;
	}

	.merchant-show-hero-main {
		width: 100%;
	}

	.merchant-show-meta {
		justify-content: center;
	}

	.res-stats.merchant-show-meta {
		justify-content: center;
	}

	.merchant-show-features {
		justify-content: center;
	}

	.merchant-show-actions {
		max-width: none;
		width: 100%;
	}

	.show-rating-summary {
		flex-direction: column;
	}
}

html.io-dark-mode .merchant-show-hero,
html.io-dark-mode .show-panel {
	background: var(--c-bg-card);
	border-color: var(--c-line);
}