.yxyh-pc-reaction-btn {
    position: relative;
}
.yxyh-pc-reaction-btn.is-reacted {
    color: var(--ls-primary, #2196F3);
}
.yxyh-pc-reaction-icon-i {
    font-size: 18px;
    line-height: 1;
}
.yxyh-pc-reaction-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
}
.yxyh-pc-reaction-label {
    font-size: 13px;
}
.yxyh-pc-reaction-count {
    font-size: 12px;
    color: var(--ls-primary, #2196F3);
    margin-left: 2px;
}

.yxyh-pc-reaction-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    padding: 10px;
    z-index: 999;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity .3s ease, transform .3s ease;
    pointer-events: none;
}
.yxyh-pc-reaction-dropdown.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.yxyh-pc-reaction-menu {
    display: flex;
    flex-wrap: nowrap;
    gap: 4px;
}
.yxyh-pc-reaction-menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 56px;
    padding: 6px 4px;
    border-radius: 10px;
    cursor: pointer;
    transition: background .2s, transform .2s;
    flex-shrink: 0;
}
.yxyh-pc-reaction-menu-item:hover {
    background: #f0f4ff;
    transform: scale(1.08);
}
.yxyh-pc-reaction-menu-item img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}
.yxyh-pc-reaction-menu-name {
    font-size: 11px;
    color: #555;
    margin-top: 3px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 52px;
}
.yxyh-pc-reaction-menu-item.is-stats {
    border-left: 1px solid #f0f0f0;
    margin-left: 2px;
    padding-left: 6px;
    justify-content: center;
}
.yxyh-pc-reaction-stats-text {
    font-size: 12px;
    color: var(--ls-primary, #2196F3);
    text-align: center;
    line-height: 1.4;
    font-weight: 500;
}

.yxyh-pc-reaction-stats {
    min-width: 320px;
    padding: 14px;
}
.yxyh-pc-reaction-stats-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.yxyh-pc-reaction-stats-title > span:first-child {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}
.yxyh-pc-reaction-stats-title > span:last-child {
    font-size: 12px;
    color: #999;
}
.yxyh-pc-reaction-stat-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 4px;
}
.yxyh-pc-reaction-stat-row + .yxyh-pc-reaction-stat-row {
    margin-top: 10px;
}
.yxyh-pc-reaction-stat-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 50%;
}
.yxyh-pc-reaction-stat-name {
    width: 48px;
    flex-shrink: 0;
    font-size: 13px;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.yxyh-pc-reaction-stat-bar {
    flex: 1;
    height: 16px;
    border-radius: 8px;
    background: #f1f5f9;
    overflow: hidden;
}
.yxyh-pc-reaction-stat-fill {
    height: 100%;
    border-radius: 8px;
    background: var(--ls-primary, #2196F3);
    opacity: 0.7;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.yxyh-pc-reaction-stat-count {
    width: 48px;
    flex-shrink: 0;
    font-size: 12px;
    color: #999;
    text-align: right;
    white-space: nowrap;
}
.yxyh-pc-reaction-empty {
    text-align: center;
    color: #aaa;
    font-size: 13px;
    padding: 16px 0;
}
