.s4c-reactions {
    clear: both;
    margin: 48px 0 12px;
    padding: 28px;
    border: 1px solid #dfe7e2;
    border-radius: 12px;
    background: #fff;
    font-family: 'Plus Jakarta Sans', Arial, Helvetica, sans-serif;
}

.s4c-reactions > header {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 7px 18px;
    align-items: end;
    margin-bottom: 21px;
}

.s4c-reactions > header > span {
    grid-column: 1 / -1;
    color: #218b46;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .14em;
}

.s4c-reactions > header h2 {
    margin: 0;
    font-family: 'Sora', 'Plus Jakarta Sans', Arial, Helvetica, sans-serif;
    font-size: 25px;
    line-height: 1.15;
    letter-spacing: -.03em;
}

.s4c-reactions > header p {
    margin: 0 0 1px;
    color: #748092;
    font-size: 13px;
}

.s4c-reaction-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.s4c-reaction {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 10px 12px;
    border: 1px solid #e1e7e3;
    border-radius: 9px;
    background: #f9fbfa;
    color: #1e293b;
    text-align: left;
    cursor: pointer;
    transition: transform .16s ease, border-color .16s ease, background .16s ease, box-shadow .16s ease;
}

.s4c-reaction img {
    display: block;
    width: 54px;
    height: 54px;
    object-fit: contain;
}

.s4c-reaction span {
    min-width: 0;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.25;
    white-space: normal;
}

.s4c-reaction b {
    display: grid;
    place-items: center;
    min-width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #eef2ef;
    color: #667381;
    font-size: 12px;
}

.s4c-reaction:hover,
.s4c-reaction:focus-visible {
    border-color: #80cf90;
    background: #eff9f1;
    box-shadow: 0 7px 18px rgba(31, 52, 39, .08);
    transform: translateY(-2px);
    outline: 0;
}

.s4c-reaction.is-selected {
    border-color: #218b46;
    background: #eaf7ed;
    box-shadow: inset 0 0 0 1px #218b46;
}

.s4c-reaction:disabled { cursor: default; }
.s4c-reaction:disabled:not(.is-selected) { opacity: .58; }

.s4c-reaction-status {
    min-height: 18px;
    margin: 11px 0 0;
    color: #647080;
    font-size: 12px;
}

.s4c-reaction-status:empty {
    min-height: 0;
    margin-top: 0;
}

@media (max-width: 620px) {
    .s4c-reactions { padding: 21px 18px; }
    .s4c-reactions > header { display: block; }
    .s4c-reactions > header h2 { margin-top: 6px; }
    .s4c-reactions > header p { margin-top: 7px; }
    .s4c-reaction-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .s4c-reaction { grid-template-columns: 46px minmax(0, 1fr); }
    .s4c-reaction img { width: 46px; height: 46px; }
    .s4c-reaction b { grid-column: 2; justify-self: start; }
}
