/**
 * Review Carousel：评分栏 + 卡片轮播
 */
.rc {
	--rc-gap: 16px;
	--rc-radius: 12px;
}

/* ── 顶部评分 + 导航 ── */
.rc__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 30px;
}

/* 品牌区：Logo + 评分 */
.rc__brands {
	display: flex;
	align-items: center;
	gap: 1.2rem;
	flex-shrink: 0;
}

.rc__brand {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	border-bottom: 2px solid #222;
	padding-bottom: 5px;
}

.rc__brand {}

.rc__brand-icon {
	font-size: 1rem;
	line-height: 1;
}

.rc__brand .rc__brand-logo {
	height: 25px;
	width: auto;
	object-fit: contain;
	display: block;
}

.rc__brand-logo--platform {
	height: 20px;
}

.rc__brand-name {
	font-weight: 700;
	font-size: 0.95rem;
}

.rc__brand-score {
	font-weight: 700;
	font-size: 1rem;
}

/* 轮播进度条 */
.rc__progress {
	flex: 1;
	height: 6px;
	background: #e5e7eb;
	border-radius: 3px;
	overflow: hidden;
	margin: 0 1.5rem;
	min-width: 60px;
}

.rc__progress-fill {
	height: 100%;
	background-color: #ef4444;
	border-radius: 3px;
	width: 0%;
	transition: width 0.4s ease;
}

/* 导航箭头 */
.rc__nav {
	display: flex;
	gap: 6px;
}

.rc__nav-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 2px solid #f97316;
	border-radius: 50%;
	background: #fff;
	color: #f97316;
	cursor: pointer;
	transition: background 0.2s, color 0.2s;
}

.rc__nav-btn:hover {
	background: #f97316;
	color: #fff !important;
}

/* ── 轮播视口 ── */
.rc__viewport {
	overflow: hidden;
}

.rc__track {
	display: flex;
	gap: var(--rc-gap);
	transition: transform 0.4s ease;
}

/* ── 卡片 ── */
.rc__card {
	flex: 0 0 calc((100% - var(--rc-gap) * 3) / 4);
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: var(--rc-radius);
	padding: 20px;
	box-sizing: border-box;
	min-width: 0;
	min-height: 260px;
}

/* 星星 */
.rc__stars {
	margin-bottom: 0.5rem;
	font-size: 1.1rem;
	letter-spacing: 1px;
	line-height: 1;
}

.rc__star--filled {
	color: #ff9800;
}

.rc__star--empty {
	color: #d1d5db;
}

/* 评价正文 */
.rc__text {
	font-size: 0.9rem;
	line-height: 1.55;
	color: #1f2937;
	flex: 1;
	display: -webkit-box;
	-webkit-line-clamp: 5;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.rc__text.is-expanded {
	-webkit-line-clamp: unset;
}

.rc__read-more {
	background: none;
	border: none;
	padding: 0;
	color: #f97316;
	font-size: 0.85rem;
	cursor: pointer;
	text-align: left;
	margin-top: 4px;
}

.rc__read-more:hover {
	text-decoration: underline;
}

/* 原文提示 */
.rc__original {
	display: flex;
	align-items: center;
	gap: 4px;
	font-size: 0.78rem;
	color: #6b7280;
	margin-top: 0.5rem;
}

.rc__globe {
	flex-shrink: 0;
}

/* ── 评论者信息 ── */
.rc__reviewer {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	margin-top: auto;
	padding-top: 0.75rem;
	border-top: 1px solid #f3f4f6;
}

.rc__avatar {
	flex-shrink: 0;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	overflow: hidden;
	background: #e5e7eb;
	display: flex;
	align-items: center;
	justify-content: center;
}

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

.rc__initial {
	font-weight: 700;
	font-size: 0.95rem;
	color: #6b7280;
}

.rc__info {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.rc__name {
	display: flex;
	align-items: center;
	gap: 4px;
	font-weight: 600;
	font-size: 0.85rem;
	color: #111827;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* 已验证图标 */
.rc__verified {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}

.rc__verified img {
	width: 16px;
	height: 16px;
	object-fit: contain;
	display: block;
}

.rc__verified-svg {
	color: #ef4444;
}

.rc__verified-svg svg {
	width: 100%;
	height: 100%;
	display: block;
	fill: currentColor;
}

.rc__meta {
	font-size: 0.75rem;
	color: #9ca3af;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.rc__meta strong {
	color: #374151;
}

/* ── 响应式 ── */
@media (max-width: 1024px) {
	.rc__card {
		flex: 0 0 calc((100% - var(--rc-gap)) / 2);
	}
}

@media (max-width: 640px) {
	.rc__card {
		flex: 0 0 100%;
	}

	.rc__header {
		flex-wrap: wrap;
		gap: 0.5rem;
	}

	.rc__bar {
		width: 80px;
	}
}
