article-comments.act-comments {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin: 0.8rem 0 1.1rem;
    color: #4f5358;
    font: inherit;
    font-size: 0.88em;
    line-height: 1.45;
}

article-comments.act-comments,
article-comments.act-comments * {
    box-sizing: border-box;
}

.act-comments__toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.48rem;
    min-height: 2rem;
    margin: 0;
    padding: 0.22rem 0.38rem;
    border: 0;
    border-radius: 0.25rem;
    background: transparent;
    color: #65696e;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.act-comments__toggle:hover {
    color: #34373a;
    background: #f1f2f3;
}

.act-comments__toggle:focus-visible,
.act-comments__button:focus-visible,
.act-comments__text-button:focus-visible,
.act-comments__input:focus-visible,
.act-comments__textarea:focus-visible {
    outline: 2px solid #71777d;
    outline-offset: 2px;
}

.act-comments__bubble {
    position: relative;
    display: inline-block;
    width: 1rem;
    height: 0.72rem;
    border: 1.5px solid currentColor;
    border-radius: 0.45rem;
}

.act-comments__bubble::after {
    position: absolute;
    left: 0.16rem;
    bottom: -0.25rem;
    width: 0.3rem;
    height: 0.3rem;
    border-left: 1.5px solid currentColor;
    transform: skew(-24deg);
    content: "";
}

.act-comments__panel {
    width: 100%;
    margin-top: 0.35rem;
    padding: 0.75rem 0.85rem 0.85rem;
    border-top: 1px solid #dadcde;
    background: #f7f7f7;
}

.act-comments__status,
.act-comments__form-message {
    margin: 0 0 0.65rem;
    color: #5f6367;
}

.act-comments__status[data-kind="error"],
.act-comments__form-message[data-kind="error"] {
    color: #8b3434;
}

.act-comments__status[data-kind="success"],
.act-comments__form-message[data-kind="success"] {
    color: #35663e;
}

.act-comments__empty {
    margin: 0 0 0.8rem;
    color: #777b7f;
}

.act-comment {
    padding: 0.1rem 0 0.8rem;
    border-bottom: 1px solid #dedfe1;
}

.act-comment + .act-comment {
    padding-top: 0.8rem;
}

.act-comment__header {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.25rem 0.65rem;
    margin-bottom: 0.28rem;
}

.act-comment__name {
    color: #3f4347;
    font-weight: 650;
}

.act-comment__time,
.act-comment__edited {
    color: #85898d;
    font-size: 0.9em;
}

.act-comment__text {
    margin: 0;
    color: #42464a;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.act-comment__actions,
.act-comments__edit-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.45rem;
}

.act-comments__text-button {
    padding: 0.12rem 0;
    border: 0;
    background: transparent;
    color: #686d72;
    font: inherit;
    font-size: 0.9em;
    text-decoration: underline;
    text-underline-offset: 0.15em;
    cursor: pointer;
}

.act-comments__text-button:hover {
    color: #313438;
}

.act-comments__text-button--delete:hover {
    color: #8b3434;
}

.act-comments__form {
    margin-top: 0.85rem;
}

.act-comments__form-heading {
    margin: 0 0 0.55rem;
    color: #4b4f53;
    font: inherit;
    font-weight: 650;
}

.act-comments__label {
    display: block;
    margin: 0.55rem 0 0.2rem;
    color: #565a5e;
    font-weight: 600;
}

.act-comments__input,
.act-comments__textarea {
    display: block;
    width: 100%;
    max-width: 100%;
    padding: 0.43rem 0.5rem;
    border: 1px solid #c8cbce;
    border-radius: 0.2rem;
    background: #fff;
    color: #282b2e;
    font: inherit;
}

.act-comments__input {
    max-width: 22rem;
}

.act-comments__textarea {
    min-height: 5.7rem;
    resize: vertical;
}

.act-comments__form-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.55rem 0.8rem;
    margin-top: 0.55rem;
}

.act-comments__hint {
    color: #7a7e82;
    font-size: 0.9em;
}

.act-comments__button {
    min-height: 1.9rem;
    padding: 0.32rem 0.7rem;
    border: 1px solid #9ba0a5;
    border-radius: 0.22rem;
    background: #70757a;
    color: #fff;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.act-comments__button:hover:not(:disabled) {
    background: #5e6368;
}

.act-comments__button:disabled {
    opacity: 0.62;
    cursor: wait;
}

.act-comments__button--secondary {
    background: #f8f8f8;
    color: #555a5f;
}

.act-comments__button--secondary:hover:not(:disabled) {
    background: #e9eaeb;
}

.act-comments__edit-form {
    margin-top: 0.65rem;
    padding-top: 0.65rem;
    border-top: 1px dashed #cfd1d3;
}

.act-comments__edit-form .act-comments__textarea {
    margin-top: 0.45rem;
}

.act-comments__form-message {
    margin-top: 0.55rem;
    margin-bottom: 0;
}

.act-comments__website {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

@media (max-width: 520px) {
    article-comments.act-comments {
        margin-top: 0.65rem;
    }

    .act-comments__panel {
        padding: 0.68rem 0.65rem 0.75rem;
    }

    .act-comments__form-footer {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    .act-comments__toggle,
    .act-comments__button {
        scroll-behavior: auto;
    }
}

