ul.list-replies main.p-content a {
    text-decoration: underline;
    text-underline-offset: 0.25em;
    text-decoration-thickness: 1px;
    text-decoration-color: #999;
}

/* Antworten (Instagram/Bluesky depth ≥ 2) wie Isso-follow-up einrücken */
ul.list-replies > li.comment-follow-up {
    padding-left: 2.5rem;
}

/* Default / ohne JS: Namensliste. Facepile erst nach JS (kompakt). */
.reaction-facepile {
    display: none;
    flex-wrap: wrap;
    align-items: center;
    margin: 0.35rem 0 1.35rem;
}

.comment-group > .reaction-badges {
    margin-bottom: 0.85em;
}

ul.facepile {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0 0 0 0.5rem;
}

ul.facepile li {
    position: relative;
    width: 32px;
    height: 32px;
    margin: 0 0 0.2rem -0.5rem;
    padding: 0;
}

ul.facepile a,
ul.facepile > li > span {
    display: block;
    position: relative;
    z-index: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    transition: transform 0.15s ease, z-index 0s linear;
}

ul.facepile img.u-photo,
ul.facepile .facepile-fallback {
    width: 32px;
    height: 32px;
    max-width: none;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    box-shadow: 0 0 0 2px var(--color-background, #fff);
}

ul.facepile .facepile-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    background: var(--color-light, #efefef);
    color: var(--color-text-grey, #777);
}

ul.facepile a:hover,
ul.facepile a:focus-visible,
ul.facepile > li > span:hover {
    z-index: 8;
    transform: scale(1.18) translateY(-3px);
}

@media (prefers-reduced-motion: reduce) {
    ul.facepile a,
    ul.facepile > li > span {
        transition: none;
    }

    ul.facepile a:hover,
    ul.facepile a:focus-visible,
    ul.facepile > li > span:hover {
        transform: none;
    }
}

[data-reactions-view="compact"] .comment-group[data-reaction-type="like"] .reaction-facepile,
[data-reactions-view="compact"] .comment-group[data-reaction-type="repost"] .reaction-facepile {
    display: flex;
}

[data-reactions-view="compact"] .comment-group[data-reaction-type="like"] .reaction-list,
[data-reactions-view="compact"] .comment-group[data-reaction-type="repost"] .reaction-list {
    display: none;
}

[data-reactions-view="list"] .reaction-facepile {
    display: none;
}

.beilage-reactions-view {
    display: inline-flex;
    gap: 0;
    margin: 0.75rem 0 0;
    font-size: 0.8em;
}

.beilage-reactions-view + .comment-group > h2.section-heading {
    padding-top: 0.45em;
}

.beilage-reactions-view__btn {
    background: transparent;
    border: 1px solid var(--color-text-grey, #777);
    color: inherit;
    font: inherit;
    font-size: inherit;
    line-height: 1.2;
    padding: 0.2em 0.7em;
    cursor: pointer;
}

.beilage-reactions-view__btn:first-child {
    border-radius: 999px 0 0 999px;
}

.beilage-reactions-view__btn:last-child {
    border-radius: 0 999px 999px 0;
    margin-left: -1px;
}

.beilage-reactions-view__btn[aria-pressed="true"] {
    background: var(--color-text);
    color: var(--color-background);
    border-color: var(--color-text);
}

.beilage-reaktionen-reload {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: 0;
    padding: 0.15em;
    margin-left: 0.4em;
    cursor: pointer;
    color: inherit;
    vertical-align: middle;
    line-height: 1;
}

.beilage-reaktionen-reload .icon,
.beilage-reaktionen-reload svg {
    width: 0.85em;
    height: 0.85em;
    display: block;
}

.beilage-reaktionen-reload.is-busy .icon,
.beilage-reaktionen-reload.is-busy svg {
    animation: beilage-reaktionen-spin 0.8s linear infinite;
}

@keyframes beilage-reaktionen-spin {
    to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    .beilage-reaktionen-reload.is-busy .icon,
    .beilage-reaktionen-reload.is-busy svg {
        animation: none;
    }
}
