.reaction-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
    align-items: center;
}

.reaction-buttons button {
   margin: 5px;
    padding: 0 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    height: 3em;
    line-height: 3em;
    background: #f6f6f6;
    color: #666;
}

.reaction-buttons button:disabled {
    cursor: not-allowed;
    opacity: 0.5;
    pointer-events: none;
}

.reaction-buttons button:active {
    background: #999;
    color:#f6f6f6;
}

.reaction-buttons img {
  width: 1em;
  height: auto;
}

.reaction-counts {
    display: flex;
    gap: 15px;
    margin-top: 10px;
    font-size: 0.7em;
    flex-wrap: wrap;
}

.reaction-icon {
    width: 1em;
    height: 1em;
    object-fit: contain;
}

.expand-button {
    min-width: 3em;
}

.extra-buttons {
    display: none;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.count-item {
    display: none;
    align-items: center;
    gap: 5px;
}

.count-item span {
    font-weight: bold;
}

.count-item img {
  width: 1em;
  height: auto;
}