[data-azami-comment-heading] {
    scroll-margin-top: 80px;
}

#comments [data-azami-comment-heading] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.35rem 0.8rem;
}

#comments .azami-fortune-comment-page-number {
    margin: 0;
    color: #725566;
    font-size: 0.85rem;
    font-variant-numeric: tabular-nums;
}

.azami-fortune-comment-page-status:empty {
    margin: 0;
}

.azami-fortune-comment-page-status:not(:empty) {
    color: #87506b;
    font-size: 0.9rem;
}

.azami-fortune-comment-pages > ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin: 1.35rem 0 0;
    padding: 0;
    list-style: none;
}

.azami-fortune-comment-pages li {
    margin: 0;
    padding: 0;
}

.azami-fortune-comment-pages li > .page-numbers {
    display: grid;
    min-width: 40px;
    min-height: 44px;
    margin: 0;
    padding: 0 7px;
    place-items: center;
    border: 1px solid #e6cbd6;
    border-radius: 9px;
    background: #fff9fc;
    box-shadow: none;
    color: #79465e;
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
}

.azami-fortune-comment-pages li > .current {
    border-color: #985570;
    background: #985570;
    color: #fff;
}

.azami-fortune-comment-pages li > .dots {
    min-width: 16px;
    padding: 0;
    border-color: transparent;
    background: transparent;
}

.azami-fortune-comment-pages a:hover {
    border-color: #985570;
    background: #f7e5ee;
}

.azami-fortune-comment-pages a:focus-visible {
    outline: 2px solid #79465e;
    outline-offset: 2px;
}
