/* Insta-Bulletin Reaction Widget v0.5.0 */
.iem-reactions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
}

.iem-reaction-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    appearance: none;
    border: 1px solid #dbe3e8;
    border-radius: 999px;
    background: #fff;
    color: #022340;
    padding: 8px 12px;
    font: inherit;
    line-height: 1;
    cursor: pointer;
    transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.iem-reaction-button:hover,
.iem-reaction-button:focus-visible {
    transform: translateY(-1px);
    border-color: #8cc63f;
    box-shadow: 0 6px 16px rgba(2,35,64,.08);
    outline: none;
}

.iem-reaction-button.is-selected {
    background: #eef8df;
    border-color: #8cc63f;
    box-shadow: inset 0 0 0 1px rgba(140,198,63,.25);
}

.iem-reaction-emoji { font-size: 22px; line-height: 1; }
.iem-reaction-count { min-width: 1ch; font-size: 12px; font-weight: 700; color: #456078; line-height: 1; }
.iem-reaction-status { flex-basis: 100%; min-height: 1em; text-align: center; font-size: 11px; color: #6b7f90; }
.iem-reactions.is-loading { opacity: .72; }
.iem-reactions.is-saving .iem-reaction-button { pointer-events: none; }

@media (max-width: 767px) {
    .iem-reaction-button { padding: 7px 10px; gap: 5px; }
    .iem-reaction-emoji { font-size: 20px; }
}

@media (prefers-reduced-motion: reduce) {
    .iem-reaction-button { transition: none; }
}
