/* 外层容器 */
.slider-wrapper {
    width: 100%;
    overflow: hidden;
    overflow-x: auto;
}

.slider-wrapper::-webkit-scrollbar {
    display: none;
}

/* 横向滚动 */
.platform-reviews-slider {
    display: flex;
    gap: 20px;
    transition: transform 0.4s ease;
    min-width: max-content;
}

/* 卡片 */
.review-card {
    flex: 0 0 260px;
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

/* 用户区域 */
.review-user {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 12px;
}

/* 头像和评分容器 */
.avatar-wrapper {
    position: relative;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
}

.avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: block;
}

/* 首字母头像 - 绿色背景 */
.avatar-initials {
    background: #34a853;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 16px;
}

/* 评分 - 在头像下方，不影响布局 */
.rating {
    color: #00af87;
    font-size: 18px;
    letter-spacing: 1px;
    position: absolute;
    top: 46px;
    left: 0;
    white-space: nowrap;
}

.username {
    font-weight: 600;
    color: #333;
    line-height: 1.2;
    margin-bottom: 2px;
    margin-top: 6px;
}

.date {
    font-size: 12px;
    color: #999;
    line-height: 1.2;
}

/* 评论（防止撑爆） */
.review-text {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin-top: 30px;

    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 底部 */
.review-footer {
    margin-top: 10px;
    font-size: 12px;
    color: #999;
}

/* 评论链接 */
.review-link {
    color: #555;
    text-decoration: none;
    cursor: pointer;
}

.review-link:hover {
    color: #00af87;
    text-decoration: underline;
}