.eet-reactions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
}

.eet-reaction,
.eet-report__trigger,
.eet-report__actions button {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    min-width: 44px;
    min-height: 44px;
    padding: .45rem .8rem;
    border: 1px solid var(--eet-community-border, #e4dddd);
    border-radius: var(--eet-community-radius, .75rem);
    background: var(--eet-community-bg, #fff);
    color: var(--eet-community-text, #302c36);
    font: inherit;
    font-weight: 650;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .15s, border-color .15s, color .15s;
}

.eet-reaction__icon,
.eet-report__icon {
    flex: none;
}

.eet-reaction:hover,
.eet-report__actions button:hover {
    background: var(--eet-community-hover, #fbf2f0);
    color: var(--eet-community-like, #a33542);
}

.eet-reaction:active,
.eet-report__trigger:active,
.eet-report__actions button:active {
    transform: translateY(1px);
}

.eet-reaction:focus-visible,
.eet-report__trigger:focus-visible,
.eet-report__actions button:focus-visible,
.eet-report__form select:focus-visible {
    outline: 2px solid var(--eet-community-focus, #16746b);
    outline-offset: 2px;
}

.eet-reaction[aria-pressed="true"] {
    color: var(--eet-community-like, #a33542);
    border-color: var(--eet-community-like, #a33542);
    background: var(--eet-community-hover, #fbf2f0);
}

.eet-reaction--save[aria-pressed="true"] {
    color: var(--eet-community-save, #17665e);
    border-color: var(--eet-community-save, #17665e);
    background: var(--eet-community-save-bg, #e8f5f2);
}

.eet-reaction[aria-pressed="true"] .eet-reaction__icon {
    fill: currentColor;
}

.eet-reaction[aria-disabled="true"],
.eet-report__actions button[aria-disabled="true"] {
    opacity: .7;
    cursor: default;
}

.eet-reaction[aria-busy="true"],
.eet-report__actions button[aria-busy="true"] {
    cursor: progress;
}

.eet-reaction__count {
    font-variant-numeric: tabular-nums;
}

.eet-reactions--compact .eet-reaction {
    padding-inline: .55rem;
    gap: .3rem;
    font-size: .875rem;
}

.eet-reactions--compact .eet-reaction__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.eet-reaction-status,
.eet-report__status {
    margin: 0;
    font-size: .92rem;
}

.eet-reaction-status:empty,
.eet-report__status:empty {
    position: absolute;
}

.eet-reaction-status:not(:empty) {
    flex-basis: 100%;
}

.eet-reaction-status.is-error,
.eet-report__status.is-error {
    color: var(--eet-community-like, #a33542);
}

.eet-report__trigger {
    padding-inline: .65rem;
    border-color: transparent;
    background: transparent;
    color: var(--eet-community-like, #a33542);
}

.eet-report__trigger:hover {
    background: var(--eet-community-hover, #fbf2f0);
}

.eet-report__dialog {
    box-sizing: border-box;
    width: min(100% - 2rem, 27rem);
    padding: 1.4rem;
    border: 1px solid var(--eet-community-border, #e4dddd);
    border-radius: 1rem;
    background: var(--eet-community-bg, #fff);
    color: var(--eet-community-text, #302c36);
    box-shadow: 0 1rem 3rem #24202f30;
}

.eet-report__dialog::backdrop {
    background: #25202c85;
}

.eet-report__form {
    display: grid;
    gap: .75rem;
}

.eet-report__form h2 {
    margin: 0 0 .25rem;
    color: inherit;
    font-size: 1.25rem;
}

.eet-report__form label {
    font-weight: 650;
}

.eet-report__form select {
    box-sizing: border-box;
    width: 100%;
    min-height: 44px;
    padding: .45rem;
    border: 1px solid var(--eet-community-border, #e4dddd);
    border-radius: .5rem;
    background: var(--eet-community-bg, #fff);
    color: inherit;
    font: inherit;
}

.eet-report__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .5rem;
    margin-top: .25rem;
}

.eet-report__actions button[type="submit"] {
    border-color: var(--eet-community-like, #a33542);
    color: #fff;
    background: var(--eet-community-like, #a33542);
}

.eet-report__actions button[type="submit"]:hover {
    background: var(--eet-community-like-hover, #862b36);
}

@media (prefers-reduced-motion: reduce) {
    .eet-reaction,
    .eet-report__trigger,
    .eet-report__actions button {
        transition: none;
    }
}
