.review-reply-icon{
 position: absolute;
 top:19px;
 left: 15px;
 width:12px;
}
.review-reply-container{
    position:relative;
    background:#f9f9f9;
    padding:15px 40px;
    border-radius:4px;
    margin-top:15px;
    font-size:14px;
    line-height:1.4;
    border-left: 2px solid #00b67a;
}
@media screen and (max-width:741px) {
    .review-reply-container{
        padding:15px 15px 15px 40px;
    }
}

/* 主体内容布局 */
.moonkie-summary-main {
    display: flex;
    align-items: center;
    gap: 8px;
}
.moonkie-summary-text {
    display: flex;
    align-items: center;
    gap: 8px;
}

.moonkie-rating-num { font-weight: 600; color: #333; }
.moonkie-review-count { color: #767676; text-decoration: underline; font-size: 14px; }
.moonkie-arrow-icon { width: 12px; height: 12px; color: #767676; transition: transform 0.2s; }


.moonkie-summary-container:hover .moonkie-arrow-icon { transform: rotate(180deg); }


/* 容器：扩充感应区域 */
.moonkie-summary-container {
    position: relative;
    display: inline-block;
    cursor: pointer;
    padding-bottom: 10px; /* 增加底部填充，缩小与弹窗的物理距离 */
    margin-bottom: -10px;
}

/* 弹窗：允许交互 */
.moonkie-summary-popover {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 34px; /* 紧贴容器底部 */
    left: 0;
    width: 300px;
    background: #fff;
    border: 1px solid #e5e5e5;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    padding: 10px 15px;
    z-index: 999;
    border-radius: 4px;
    transition: opacity 0.2s ease, transform 0.2s ease;
    transform: translateY(10px);
    pointer-events: auto; /* 关键：允许鼠标在弹窗内活动 */
}

/* 关键：“安全垫” 伪元素 */
/* 在弹窗上方创建一个透明区域，连接星星和弹窗，防止鼠标滑出 */
.moonkie-summary-popover::before {
    content: "";
    position: absolute;
    top: -15px; /* 向上延伸覆盖间隙 */
    left: 0;
    width: 100%;
    height: 15px;
    background: transparent;
}

/* 悬停逻辑 */
.moonkie-summary-container:hover .moonkie-summary-popover {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

/* 弹窗内容样式 */
.moonkie-dist-row { display: flex; align-items: center; gap: 8px;}
.progress-bar-bg { flex: 1; height: 5px; background: #f0f0f0; overflow: hidden; }
.progress-bar-fill { height: 100%; background: #e2b28a; }
.star-label { width: 55px; font-size: 13px; color: #444; }
.count-label { font-size: 13px; color: #767676; text-align: right; }
.moonkie-popover-title { font-weight: bold; font-size: 15px; margin-bottom: 6px; color: #333; }
.tp-moonkie-reviews-header{display: flex;justify-content: space-between;}
.tp-moonkie-reviews-header svg{width:120px;height: auto;}
.tp-moonkie-reviews-items-container{max-height: 800px;overflow-y: auto;}
/* 确保 Header 左右布局 */
.tp-moonkie-reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center; /* 垂直居中 */
    padding: 30px 0;
    border-bottom: 1px solid #ececec;
}
.tp-moonkie-reviews-header .tp-header-left svg{
    width: 200px;
}
/* 左侧容器 */
.tp-header-left {
    display: flex;
    gap: 10px;
}

.tp-header-text {
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: inherit;
    font-size: 16px;
    color: #191919;
    font-weight: 500;
}

.tp-score-val {
    font-weight: 700;
    font-size: 18px;
}

.tp-score-max {
    color: #6c7378;
}

.tp-dot {
    margin: 0 2px;
    color: #b4b4b4;
}

/* 右侧 Logo */
.tp-header-right {
    flex-shrink: 0;
}

/* 移动端处理 */
@media (max-width: 600px) {
    .tp-moonkie-reviews-header {
        align-items: flex-start;
        gap: 24px;
    }
    .tp-header-right {
        align-self: flex-start;
    }
    
    .tp-moonkie-reviews-header .tp-header-left svg{
        width: 140px;
    }
    .tp-header-left{
        flex-direction: column;
    }
    .tp-moonkie-reviews-header {
        padding: 15px 0;
    }
    .moonkie-review-item{
        padding: 15px 0;
    }
}
/*  */
.tp-pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 30px;
    padding-bottom: 40px;
}

.tp-page-btn {
    border: 1px solid #dcdce6;
    background: white;
    padding: 8px 14px;
    cursor: pointer;
    font-size: 14px;
    border-radius: 4px;
    transition: all 0.2s;
}

.tp-page-btn:hover:not(:disabled) {
    background: #f5f5f7;
    border-color: #191919;
}

.tp-page-btn.active {
    background: #00b67a;
    color: white;
    border-color: #00b67a;
}

.tp-page-btn:disabled {
    color: #b4b4b4;
    cursor: not-allowed;
    border-color: #ececec;
}

.tp-page-dots {
    color: #6c7378;
}

#tp-items-wrapper {
    transition: opacity 0.3s ease;
}
.moonkie-collection-stars-wrapper{
    display:flex;
    align-items:center;
    gap:5px;
    line-height:1
}
@media screen and (min-width:741px) {
    .moonkie-collection-stars-wrapper{
        justify-content:center;
    }
}