.async-skeleton {
    display: grid;
    gap: .65rem;
    width: 100%;
    padding: .35rem;
}

.async-skeleton-row {
    display: flex;
    align-items: center;
    gap: .65rem;
    min-width: 0;
    padding: .6rem;
    border: 1px solid color-mix(in srgb, currentColor 8%, transparent);
    border-radius: .7rem;
}

.async-skeleton-avatar {
    width: 2.5rem;
    height: 2.5rem;
    flex: 0 0 auto;
    border-radius: 50%;
}

.async-skeleton-copy {
    display: grid;
    flex: 1;
    gap: .45rem;
}

.async-skeleton-line {
    width: 70%;
    height: .65rem;
    border-radius: .4rem;
}

.async-skeleton-line-short {
    width: 42%;
}

.async-skeleton-message {
    width: min(78%, 24rem);
    height: 3.2rem;
    border-radius: .8rem;
}

.async-skeleton-message.is-own {
    justify-self: end;
}

.async-skeleton-detail-title {
    width: 66%;
    height: 1.5rem;
    border-radius: .5rem;
}

.async-skeleton-detail-line {
    width: 100%;
    height: .9rem;
    border-radius: .45rem;
}

.async-skeleton-detail-line-short {
    width: 78%;
}

@media (prefers-reduced-motion: reduce) {
    .async-skeleton .skeleton {
        animation: none;
    }
}
