/* Zibll Hupu Rating Style */
.zibll-hupu-rating-box {
    background: #f9f9f9;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.hupu-rating-display {
    display: flex;
    align-items: center;
}

.hupu-rating-score {
    font-size: 32px;
    font-weight: 600;
    color: #ff6d28;
    margin-right: 15px;
}

.hupu-rating-stars {
    position: relative;
    display: inline-block;
    font-size: 22px;
    line-height: 22px;
}

.hupu-stars-bg {
    color: #e0e0e0;
}

.hupu-stars-fg {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    overflow: hidden;
    white-space: nowrap;
    color: #ff6d28;
}

.hupu-rating-count {
    margin-left: 15px;
    font-size: 13px;
    color: #888;
}

.hupu-rating-action {
    display: flex;
    align-items: center;
}

.hupu-action-label {
    font-size: 14px;
    color: #666;
    margin-right: 10px;
}

.hupu-input-stars {
    display: flex;
}

.hupu-input-stars .hupu-star {
    font-size: 24px;
    cursor: pointer;
    color: #d0d0d0;
    margin-right: 2px;
    transition: all 0.2s;
}

.hupu-input-stars .hupu-star:hover {
    transform: scale(1.1);
}

.hupu-voted-tip {
    font-size: 14px;
    color: #999;
    font-style: italic;
}

.hupu-loading {
    color: #888;
    font-size: 14px;
}

/* 响应式适配 */
@media screen and (max-width: 768px) {
    .zibll-hupu-rating-box {
        flex-direction: column;
        align-items: flex-start;
    }
    .hupu-rating-action {
        margin-top: 15px;
    }
}

/* 评论打分徽章样式 */
.hupu-comment-rating-badge {
    display: inline-flex;
    align-items: center;
    background: #fff4e6;
    border: 1px solid #ffcc99;
    color: #ff6d28;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 8px;
}

.hupu-badge-star {
    margin-right: 3px;
    font-size: 14px;
}