.reaction-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 20px;
    align-items: center;
}

.reaction-buttons button {
    display: flex;  /* フレックスボックスを使用 */
    justify-content: center;  /* 水平方向に中央揃え */
    align-items: center;  /* 垂直方向に中央揃え */
    margin: 2px;
    padding: 0;
    border: 1px solid #0b0c1d;
    border-radius: 5px;
    cursor: pointer;
    height: 3em;
    line-height: 3em;
    background: #fff;
    color: #0b0c1d;
    width: 45px;
    height: 45px;
}

.reaction-buttons button:disabled {
    cursor: not-allowed;
    opacity: 0.5;
    pointer-events: none;
}

.reaction-buttons button:active {
    background: #d4ced3;
    color:#0b0c1d;
}

.reaction-buttons img {
  width: 3em;
  height: auto;
}

.reaction-counts {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    font-size: 1em;
    flex-wrap: wrap;   
    font-family: 'Montserrat','Noto Sans JP';
}

.reaction-icon {
    display: inline-block;
    margin: 0 4px;
    max-width: 70%;
    max-height: auto;
}

.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: normal;
}

.count-item img {
  width: 1em;
  height: auto;
}