/* ==========================================================================
   几米资源网 · 首页改版样式
   设计参考 AppWK：中性 slate 底色 + 蓝色主色 + 大留白 + 卡片网格 + 圆角徽章
   仅作用于首页 (.jm-home)，不影响其它页面
   ========================================================================== */

/* ---------- 1. 基础变量 ---------- */
.jm-home {
	--jm-blue: #2563eb;
	--jm-blue-dark: #1d4ed8;
	--jm-blue-light: #eff6ff;
	--jm-blue-border: #bfdbfe;
	--jm-ink: #0f172a;
	--jm-ink-2: #334155;
	--jm-ink-3: #64748b;
	--jm-ink-4: #94a3b8;
	--jm-line: #e2e8f0;
	--jm-line-soft: #f1f5f9;
	--jm-bg: #ffffff;
	--jm-bg-soft: #f8fafc;
	--jm-radius: 16px;
	--jm-radius-sm: 12px;
	--jm-radius-xs: 8px;
	--jm-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 4px 16px -6px rgba(15, 23, 42, .08);
	--jm-shadow-hover: 0 2px 4px rgba(15, 23, 42, .04), 0 12px 28px -10px rgba(37, 99, 235, .18);

	background: var(--jm-bg);
	color: var(--jm-ink);
	font-size: 14px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}



.jm-home * {
	box-sizing: border-box;
}

.jm-home img {
	animation: none;
}

.jm-wrap {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
	/* 防止内部内容把容器撑宽(旧主题 body 有 min-width:1200px) */
	min-width: 0;
}

/* ---------- 3. Hero 区 ---------- */
.jm-hero {
	position: relative;
	overflow: hidden;
	padding: 50px 0 20px;
	background: linear-gradient(180deg, #fbfcfe 0%, #fff 100%);
}

.jm-hero::before {
	content: "";
	position: absolute;
	top: -180px;
	right: -120px;
	width: 620px;
	height: 620px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(37, 99, 235, .09) 0%, rgba(37, 99, 235, 0) 68%);
	pointer-events: none;
}

.jm-hero::after {
	content: "";
	position: absolute;
	top: -80px;
	left: -180px;
	width: 520px;
	height: 520px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(16, 185, 129, .07) 0%, rgba(16, 185, 129, 0) 68%);
	pointer-events: none;
}

.jm-hero-grid {
	position: relative;
	display: grid;
	/* 左栏占更多, 右栏固定, 两栏靠拢, 避免中间大片空白 */
	grid-template-columns: minmax(0, 1fr) 392px;
	gap: 36px;
	align-items: center;
	/* 注意: 不要在这里写 max-width, 否则会覆盖 .jm-wrap 的 max-width:1200px,
	   导致 Hero 铺满全屏而与下方区块左右不对齐。
	   防溢出靠 .jm-hero-grid > * 的 min-width:0 实现。 */
	width: 100%;
}

.jm-hero-grid > * {
	min-width: 0;
	max-width: 100%;
}

.jm-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 5px 14px 5px 11px;
	border: 1px solid var(--jm-blue-border);
	border-radius: 999px;
	background: var(--jm-blue-light);
	color: var(--jm-blue-dark);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .2px;
}

.jm-badge i {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--jm-blue);
	display: block;
}

.jm-hero h1 {
	margin: 20px 0 0;
	font-size: 46px;
	line-height: 1.16;
	font-weight: 800;
	letter-spacing: -1px;
	color: var(--jm-ink);
}

.jm-hero h1 em {
	font-style: normal;
	color: var(--jm-blue);
}

.jm-hero p {
	margin: 18px 0 0;
	max-width: 100%;
	font-size: 16.5px;
	line-height: 1.75;
	color: var(--jm-ink-3);
}

.jm-hero-search {
	position: relative;
	margin-top: 30px;
	max-width: 100%;
	width: 100%;
	min-width: 0;
}

.jm-hero-search input {
	width: 100%;
	min-width: 0;
	height: 54px;
	padding: 0 128px 0 48px;
	border: 1px solid var(--jm-line);
	border-radius: 14px;
	background: #fff;
	font-size: 14px;
	color: var(--jm-ink);
	outline: none;
	box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
	transition: border-color .15s, box-shadow .15s;
}

.jm-hero-search input::placeholder {
	color: var(--jm-ink-4);
}

.jm-hero-search input:focus {
	border-color: var(--jm-blue);
	box-shadow: 0 0 0 4px rgba(37, 99, 235, .1);
}

.jm-hero-search .jm-hs-icon {
	position: absolute;
	left: 17px;
	top: 17px;
	width: 20px;
	height: 20px;
	color: var(--jm-ink-4);
	pointer-events: none;
}

.jm-hero-search button {
	position: absolute;
	right: 6px;
	top: 6px;
	height: 42px;
	padding: 0 20px;
	border: 0;
	border-radius: 10px;
	background: var(--jm-blue);
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: background .15s, transform .15s;
}

.jm-hero-search button:hover {
	background: var(--jm-blue-dark);
}

.jm-hero-search button:active {
	transform: translateY(1px);
}

/* Hero 右侧：热门品牌快捷入口 */
.jm-hero-side {
	min-width: 0;
	max-width: 100%;
	background: #fff;
	border: 1px solid var(--jm-line);
	border-radius: var(--jm-radius);
	padding: 20px 22px;
	box-shadow: var(--jm-shadow);
}

.jm-hero-side h3 {
	margin: 0 0 4px;
	font-size: 15px;
	font-weight: 700;
	color: var(--jm-ink);
}

.jm-hero-side p {
	margin: 0 0 16px;
	font-size: 12.5px;
	color: var(--jm-ink-4);
}

.jm-brand-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.jm-brand-list li + li {
	border-top: 1px solid var(--jm-line-soft);
}

.jm-brand-list a {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 11px 2px;
	text-decoration: none;
	color: var(--jm-ink-2);
	transition: color .15s;
}

.jm-brand-list a:hover {
	color: var(--jm-blue);
}

.jm-brand-ico {
	flex-shrink: 0;
	width: 38px;
	height: 38px;
	border-radius: 10px;
	border: 1px solid var(--jm-line);
	background: var(--jm-bg-soft);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	font-weight: 700;
	color: var(--jm-blue);
}

.jm-brand-list .jm-bn {
	flex: 1;
	min-width: 0;
	width: 0;
	font-size: 14px;
	font-weight: 500;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.jm-brand-list .jm-bc {
	flex-shrink: 0;
	font-size: 12px;
	color: var(--jm-ink-4);
	font-variant-numeric: tabular-nums;
}

.jm-brand-list a:hover .jm-bc {
	color: var(--jm-blue);
}

/* ---------- 4. 通用区块 ---------- */
.jm-section {
	padding: 40px 0;
}

/* Hero 正下方的第一个区块, 顶部留白再收紧, 避免出现断层 */
.jm-hero + .jm-section {
	padding-top: 18px;
}

.jm-section + .jm-section {
	border-top: 1px solid var(--jm-line-soft);
}

.jm-section.alt {
	background: var(--jm-bg-soft);
}

.jm-sec-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 26px;
}

.jm-sec-head h2 {
	margin: 0;
	font-size: 22px;
	font-weight: 700;
	letter-spacing: -.3px;
	color: var(--jm-ink);
}

.jm-sec-head p {
	margin: 6px 0 0;
	font-size: 13.5px;
	color: var(--jm-ink-3);
}

.jm-more {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	flex-shrink: 0;
	font-size: 13px;
	font-weight: 600;
	color: var(--jm-blue);
	text-decoration: none;
	transition: gap .15s;
}

.jm-more:hover {
	gap: 7px;
	color: var(--jm-blue-dark);
}

/* ---------- 5. 驱动卡片网格 ---------- */
.jm-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.jm-grid.cols-4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.jm-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	max-width: 100%;
	background: #fff;
	border: 1px solid var(--jm-line);
	border-radius: var(--jm-radius);
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.jm-card:hover {
	transform: translateY(-3px);
	border-color: var(--jm-blue-border);
	box-shadow: var(--jm-shadow-hover);
}

.jm-card-top {
	display: flex;
	align-items: flex-start;
	gap: 13px;
	padding: 18px 18px 0;
}

.jm-card-ico {
	flex-shrink: 0;
	width: 52px;
	height: 52px;
	border-radius: var(--jm-radius-sm);
	border: 1px solid var(--jm-line);
	background: var(--jm-bg-soft);
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

.jm-card-ico img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.jm-card-ico.jm-ico-text {
	font-size: 16px;
	font-weight: 700;
	color: var(--jm-blue);
	background: var(--jm-blue-light);
	border-color: var(--jm-blue-border);
}

.jm-card-head {
	flex: 1;
	min-width: 0;
}

.jm-card-head h3 {
	margin: 0;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--jm-ink);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	transition: color .15s;
}

.jm-card:hover .jm-card-head h3 {
	color: var(--jm-blue);
}

.jm-card-head .jm-card-sub {
	margin-top: 5px;
	font-size: 12px;
	color: var(--jm-ink-4);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.jm-card-desc {
	margin: 13px 18px 0;
	font-size: 13px;
	line-height: 1.65;
	color: var(--jm-ink-3);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 43px;
}

.jm-card-foot {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	margin-top: auto;
	padding: 14px 18px;
	border-top: 1px solid var(--jm-line-soft);
	background: #fcfdfe;
}

.jm-chip {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 3px 9px;
	border-radius: 6px;
	font-size: 11.5px;
	font-weight: 500;
	line-height: 1.6;
	border: 1px solid transparent;
	white-space: nowrap;
}

.jm-chip.blue {
	background: var(--jm-blue-light);
	color: var(--jm-blue-dark);
	border-color: var(--jm-blue-border);
}

.jm-chip.gray {
	background: #f1f5f9;
	color: var(--jm-ink-3);
	border-color: var(--jm-line);
}

.jm-chip.green {
	background: #ecfdf5;
	color: #047857;
	border-color: #a7f3d0;
}

.jm-card-date {
	margin-left: auto;
	font-size: 11.5px;
	color: var(--jm-ink-4);
	font-variant-numeric: tabular-nums;
}

/* ---------- 5b. 安装指引（步骤卡片 + 报错提示） ---------- */
.jm-steps {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.jm-step {
	display: flex;
	flex-direction: column;
	min-width: 0;
	height: 100%;
	padding: 20px 20px 22px;
	background: #fff;
	border: 1px solid var(--jm-line);
	border-radius: var(--jm-radius);
	transition: border-color .18s, box-shadow .18s, transform .18s;
}

.jm-step:hover {
	transform: translateY(-3px);
	border-color: var(--jm-blue-border);
	box-shadow: var(--jm-shadow-hover);
}

.jm-step-no {
	flex-shrink: 0;
	width: 34px;
	height: 34px;
	margin-bottom: 14px;
	border-radius: 10px;
	background: var(--jm-blue-light);
	border: 1px solid var(--jm-blue-border);
	color: var(--jm-blue-dark);
	font-size: 15px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
}

.jm-step h3 {
	margin: 0;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.45;
	color: var(--jm-ink);
}

.jm-step .jm-step-sub {
	margin-top: 5px;
	font-size: 13px;
	line-height: 1.5;
	color: var(--jm-ink-4);
}

/* 描述不再截断, 完整显示 */
.jm-step .jm-step-desc {
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid var(--jm-line-soft);
	font-size: 14px;
	line-height: 1.75;
	color: var(--jm-ink-3);
	/* 顶对齐, 卡片高度一致时描述起始位置相同 */
	margin-top: auto;
	padding-top: 12px;
}

/* 描述上方的分隔线紧贴文字块, 不随卡片高度漂移 */
.jm-step .jm-step-sub {
	margin-bottom: 12px;
}

/* 报错提示 */
.jm-tips {
	margin-top: 18px;
	background: #fff;
	border: 1px solid var(--jm-line);
	border-radius: var(--jm-radius);
	overflow: hidden;
}

.jm-tip {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 17px 24px;
	border-bottom: 1px solid var(--jm-line-soft);
}

.jm-tip:last-child {
	border-bottom: 0;
}

.jm-tip-ico {
	flex-shrink: 0;
	width: 26px;
	height: 26px;
	margin-top: 1px;
	border-radius: 8px;
	background: #fff7ed;
	border: 1px solid #fed7aa;
	color: #c2410c;
	font-size: 14px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
}

.jm-tip-body {
	flex: 1;
	min-width: 0;
}

.jm-tip-title {
	font-size: 15px;
	font-weight: 600;
	line-height: 1.5;
	color: var(--jm-ink);
}

.jm-tip-desc {
	margin-top: 5px;
	font-size: 14px;
	line-height: 1.75;
	color: var(--jm-ink-3);
}

/* ---------- 6. 紧凑列表（全部驱动） ---------- */
.jm-list {
	background: #fff;
	border: 1px solid var(--jm-line);
	border-radius: var(--jm-radius);
	overflow: hidden;
}

.jm-list-row {
	display: flex;
	align-items: center;
	gap: 14px;
	min-width: 0;
	padding: 13px 20px;
	border-bottom: 1px solid var(--jm-line-soft);
	text-decoration: none;
	color: inherit;
	transition: background .15s;
}

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

.jm-list-row:hover {
	background: var(--jm-blue-light);
}

.jm-list-row .jm-lr-ico {
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	border-radius: 9px;
	border: 1px solid var(--jm-line);
	background: var(--jm-bg-soft);
	overflow: hidden;
}

.jm-list-row .jm-lr-ico img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.jm-list-row .jm-lr-main {
	flex: 1;
	min-width: 0;
	max-width: 100%;
}

.jm-list-row .jm-lr-title {
	font-size: 14px;
	font-weight: 500;
	color: var(--jm-ink);
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.jm-list-row:hover .jm-lr-title {
	color: var(--jm-blue);
}

.jm-list-row .jm-lr-meta {
	margin-top: 3px;
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	color: var(--jm-ink-4);
}

.jm-list-row .jm-lr-meta .jm-dot {
	width: 3px;
	height: 3px;
	border-radius: 50%;
	background: #cbd5e1;
}

.jm-list-row .jm-lr-act {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 6px 13px;
	border-radius: 8px;
	border: 1px solid var(--jm-blue-border);
	background: var(--jm-blue-light);
	color: var(--jm-blue-dark);
	font-size: 12.5px;
	font-weight: 600;
	text-decoration: none;
	transition: background .15s, color .15s;
}

.jm-list-row:hover .jm-lr-act {
	background: var(--jm-blue);
	color: #fff;
	border-color: var(--jm-blue);
}

/* ---------- 7. 标签页（分类切换） ---------- */
.jm-tabs {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	margin-bottom: 22px;
}

.jm-tab {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 15px;
	border: 1px solid var(--jm-line);
	border-radius: 999px;
	background: #fff;
	color: var(--jm-ink-2);
	font-size: 13px;
	font-weight: 500;
	text-decoration: none;
	transition: all .15s;
}

.jm-tab:hover {
	border-color: var(--jm-blue-border);
	color: var(--jm-blue);
	background: var(--jm-blue-light);
}

.jm-tab.on {
	background: var(--jm-blue);
	border-color: var(--jm-blue);
	color: #fff;
}

.jm-tab .jm-tab-n {
	font-size: 12px;
	opacity: .7;
	font-variant-numeric: tabular-nums;
}

/* ---------- 8. 软件网格 ---------- */
.jm-app-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
}

.jm-app {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
	padding: 14px 16px;
	background: #fff;
	border: 1px solid var(--jm-line);
	border-radius: var(--jm-radius-sm);
	text-decoration: none;
	color: inherit;
	transition: transform .18s, box-shadow .18s, border-color .18s;
}

.jm-app:hover {
	transform: translateY(-2px);
	border-color: var(--jm-blue-border);
	box-shadow: var(--jm-shadow-hover);
}

.jm-app-ico {
	flex-shrink: 0;
	width: 42px;
	height: 42px;
	border-radius: 10px;
	border: 1px solid var(--jm-line);
	background: var(--jm-bg-soft);
	overflow: hidden;
}

.jm-app-ico img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.jm-app-main {
	flex: 1;
	min-width: 0;
	max-width: 100%;
}

.jm-app-main h4 {
	margin: 0;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--jm-ink);
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	transition: color .15s;
}

.jm-app:hover .jm-app-main h4 {
	color: var(--jm-blue);
}

.jm-app-main p {
	margin: 3px 0 0;
	font-size: 11.5px;
	color: var(--jm-ink-4);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* ---------- 9. 常见问题 ---------- */
.jm-faq-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px 22px;
}

.jm-faq {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 11px 14px;
	border: 1px solid var(--jm-line);
	border-radius: var(--jm-radius-xs);
	background: #fff;
	text-decoration: none;
	color: var(--jm-ink-2);
	font-size: 13.5px;
	transition: border-color .15s, background .15s, color .15s;
}

.jm-faq:hover {
	border-color: var(--jm-blue-border);
	background: var(--jm-blue-light);
	color: var(--jm-blue-dark);
}

.jm-faq .jm-faq-q {
	flex-shrink: 0;
	width: 18px;
	height: 18px;
	margin-top: 1px;
	border-radius: 5px;
	background: var(--jm-blue-light);
	color: var(--jm-blue);
	font-size: 11px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
}

.jm-faq span:last-child {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

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

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

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

	.jm-hero-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 36px;
	}

	.jm-hero-side {
		max-width: 520px;
	}

	.jm-hero h1 {
		font-size: 38px;
	}
}

@media screen and (max-width: 860px) {
	.jm-wrap {
		padding: 0 18px;
	}

	.jm-nav-inner {
		height: 60px;
		gap: 14px;
	}

	.jm-burger {
		display: block;
		order: 3;
	}

	.jm-search {
		order: 2;
		margin-left: auto;
		width: 190px;
	}

	.jm-menu {
		order: 4;
		flex-basis: 100%;
		display: none;
		padding-bottom: 12px;
	}

	.jm-menu.on {
		display: block;
	}

	.jm-menu > ul.jm-nav-list {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.jm-menu > ul.jm-nav-list > li > a {
		padding: 10px 12px;
	}

	.jm-hero {
		padding: 42px 0 40px;
	}

	.jm-hero h1 {
		font-size: 30px;
		letter-spacing: -.5px;
	}

	.jm-hero p {
		font-size: 14.5px;
	}

	.jm-hero-search input {
		height: 50px;
		padding-right: 88px;
		font-size: 13px;
	}

	.jm-hero-search button {
		height: 38px;
		padding: 0 15px;
		font-size: 13px;
	}

	.jm-section {
		padding: 38px 0;
	}

	.jm-grid,
	.jm-grid.cols-4,
	.jm-app-grid,
	.jm-faq-grid,
	.jm-steps {
		grid-template-columns: minmax(0, 1fr);
	}

	.jm-card-desc {
		min-height: 0;
	}

	.jm-sec-head {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}

	.jm-list-row {
		padding: 12px 14px;
		gap: 11px;
	}

	.jm-list-row .jm-lr-act {
		padding: 5px 10px;
		font-size: 12px;
	}
}

@media screen and (max-width: 560px) {
	.jm-search {
		width: 44px;
	}

	.jm-search input {
		padding-left: 36px;
		padding-right: 10px;
	}

	.jm-search .jm-kbd {
		display: none;
	}

	.jm-search input:focus {
		position: absolute;
		right: 0;
		width: calc(100vw - 36px);
		z-index: 30;
	}
}

/* --------------------------------------------------------------------------
   12. 用户评价（首页 · 电脑软件区块之前）
       100 条 / 每页 10 条 / 共 10 页；数据由 template/c_reviews.json 提供
       -------------------------------------------------------------------------- */

.jm-rev-panel {
	background: #fff;
	border: 1px solid var(--jm-line);
	border-radius: var(--jm-radius);
	overflow: hidden;
}

/* 标题右侧整体评分 */
.jm-sec-head .jm-rev-stat {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
	padding-bottom: 2px;
	color: var(--jm-ink-3);
	font-size: 13px;
	white-space: nowrap;
}

.jm-rev-avg {
	font-size: 26px;
	font-weight: 700;
	line-height: 1;
	color: var(--jm-ink);
	letter-spacing: -.5px;
	font-variant-numeric: tabular-nums;
}

.jm-rev-avgstar,
.jm-rv-stars {
	display: inline-flex;
	align-items: center;
	gap: 2px;
}

/* 星星用 CSS 多边形实现, 不引入图标字体/图片 */
.jm-rev-avgstar i,
.jm-rv-stars i {
	display: block;
	width: 13px;
	height: 13px;
	background: var(--jm-line);
	clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.jm-rev-avgstar i.on,
.jm-rv-stars i.on {
	background: #f59e0b;
}

.jm-rev-total {
	color: var(--jm-ink-4);
	font-variant-numeric: tabular-nums;
}

/* 列表：两列瀑布（每页 10 条 → 左侧 5 条、右侧 5 条） */
.jm-rev-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 0;
	border-bottom: 1px solid var(--jm-line-soft);
}

.jm-rv {
	display: flex;
	align-items: flex-start;
	gap: 13px;
	min-width: 0;
	padding: 18px 22px;
	border-bottom: 1px solid var(--jm-line-soft);
}

/* 左列卡片都带右边框，形成中间分隔线 */
.jm-rev-list > .jm-rv:nth-child(odd) {
	border-right: 1px solid var(--jm-line-soft);
}

/* 最后一行的两条去掉底边框，避免与列表底部边框叠成双线 */
.jm-rev-list > .jm-rv:nth-last-child(1),
.jm-rev-list > .jm-rv:nth-last-child(2) {
	border-bottom: 0;
}

.jm-rv-av {
	flex-shrink: 0;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
	user-select: none;
}

.jm-rv-main {
	flex: 1;
	min-width: 0;
}

.jm-rv-top {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
}

.jm-rv-name {
	min-width: 0;
	font-size: 14px;
	font-weight: 600;
	color: var(--jm-ink);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.jm-rv-when {
	margin-left: auto;
	flex-shrink: 0;
	font-size: 12px;
	color: var(--jm-ink-4);
	font-variant-numeric: tabular-nums;
}

/* 评价对象：产品/型号标签 */
.jm-rv-tgt {
	display: inline-block;
	max-width: 100%;
	margin-top: 7px;
	padding: 2px 8px;
	border-radius: 6px;
	background: var(--jm-blue-light);
	color: var(--jm-blue-dark);
	font-size: 12px;
	line-height: 1.6;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	vertical-align: top;
}

.jm-rv-text {
	margin-top: 8px;
	font-size: 13.5px;
	line-height: 1.75;
	color: var(--jm-ink-3);
	word-break: break-word;
}

/* 底部：区间文案 + 分页 + 总页数 */
.jm-rev-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 14px 22px;
}

.jm-rev-range,
.jm-rev-pages {
	flex-shrink: 0;
	font-size: 12.5px;
	color: var(--jm-ink-4);
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.jm-rev-pager {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
	min-width: 0;
}

.jm-rev-pg {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 30px;
	height: 30px;
	padding: 0 8px;
	border: 1px solid var(--jm-line);
	border-radius: var(--jm-radius-xs);
	background: #fff;
	color: var(--jm-ink-2);
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
	cursor: pointer;
	transition: background .15s, border-color .15s, color .15s;
	font-variant-numeric: tabular-nums;
}

.jm-rev-pg:hover:not(:disabled) {
	border-color: var(--jm-blue-border);
	background: var(--jm-blue-light);
	color: var(--jm-blue-dark);
}

.jm-rev-pg.on {
	border-color: var(--jm-blue);
	background: var(--jm-blue);
	color: #fff;
}

.jm-rev-pg:disabled {
	opacity: .45;
	cursor: default;
}

.jm-rev-pg[data-page="prev"],
.jm-rev-pg[data-page="next"] {
	font-size: 16px;
	font-weight: 400;
}

@media screen and (max-width: 860px) {
	.jm-rev-list {
		grid-template-columns: minmax(0, 1fr);
	}

	.jm-rev-list > .jm-rv:nth-child(odd) {
		border-right: 0;
	}

	/* 单列时恢复每条的底边框，只让最后一条去掉 */
	.jm-rev-list > .jm-rv:nth-last-child(2) {
		border-bottom: 1px solid var(--jm-line-soft);
	}

	.jm-rv {
		padding: 16px 18px;
	}

	.jm-rev-foot {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
		padding: 14px 18px 16px;
	}

	.jm-sec-head .jm-rev-stat {
		padding-bottom: 0;
	}
}

@media screen and (max-width: 560px) {
	.jm-rev-pager {
		gap: 5px;
	}

	.jm-rev-pg {
		min-width: 27px;
		height: 27px;
		padding: 0 6px;
		font-size: 12.5px;
	}
}

/* ===== 示例内容标注 =====
   100 条评价是虚构展示内容: 必须显著标注, 避免 LLM 把「4.7 分 / 100 条用户反馈」
   当成真实事实写进答案, 也避免评价摘要的政策风险。 */
.jm-rev-demo {
	display: inline-block;
	margin-left: 8px;
	padding: 2px 8px;
	border-radius: 4px;
	background: #fef3c7;
	color: #92400e;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.5;
	vertical-align: 3px;
}
.jm-rev-demo-label {
	color: var(--jm-ink-4);
	font-size: 12px;
}
@media screen and (max-width: 560px) {
	.jm-rev-demo-label { display: none; }
}
