:root {
    --ajm-cc-bg: #111318;
    --ajm-cc-surface: #1b1d1d;
    --ajm-cc-soft: #333535;
    --ajm-cc-border: rgba(255,255,255,.08);
    --ajm-cc-text: #f3f4f6;
    --ajm-cc-muted: #84868b;
    --ajm-cc-accent: #d77719;
    --ajm-cc-good: #22c55e;
    --ajm-cc-warn: #f59e0b;
    --ajm-cc-radius: 14px;
    --ajm-cc-shadow: 0 18px 45px rgba(0,0,0,.18)
}

.dt-comment {
    margin-top: 1rem;
    width: 100%;
    max-width: 300px;
    overflow: hidden;
    color: #fff !important;
    position: relative;
    padding: 15px;
    padding-left: 60px;
    border-radius: 10px;
    font-size: 13px;
    background: rgba(255, 255, 255, .25);
    margin-left: auto;
    margin-right: auto;
}

.dt-comment i {
    font-size: 22px;
    text-align: center;
    color: #ffffff;
}

.dt-comment .number {
    font-size: 16px;
    font-weight: 600;
}

.ajm-comments-shell,.ajm-community-profile {
    margin: 0 auto;
    color: var(--ajm-cc-text)
}

.ajm-comments-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin: 0 0 24px
}

.ajm-comments-title {
    display: flex;
    align-items: baseline;
    gap: 10px
}

.ajm-comments-title h2 {
    margin: 0;
    font-size: 24px
}

.ajm-comments-count {
    color: var(--ajm-cc-muted);
    font-size: 14px
}

.ajm-comments-sort {
    display: flex;
    gap: 6px;
    padding: 4px;
    background: var(--ajm-cc-soft);
    border: 1px solid var(--ajm-cc-border);
    border-radius: 999px
}

.ajm-comments-sort a {
    padding: 7px 11px;
    border-radius: 999px;
    color: var(--ajm-cc-muted);
    font-size: 13px;
    text-decoration: none
}

.ajm-comments-sort a.is-active {
    background: var(--ajm-cc-surface);
    color: var(--ajm-cc-text);
    box-shadow: 0 2px 8px rgba(0,0,0,.18)
}

.ajm-comments-list {
    display: flex;
    flex-direction: column;
    gap: 2px
}

.ajm-comment {
    display: grid;
    grid-template-columns: 48px minmax(0,1fr);
    gap: 13px;
    padding: 17px 0;
    border-bottom: 1px solid var(--ajm-cc-border)
}

.ajm-comment:last-child {
    border-bottom: 0;
}

.ajm-comment.is-reply {
    padding-top: 14px
}

.ajm-avatar {
    display: block;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover
}

.ajm-comment-main {
    min-width: 0
}

.ajm-comment-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px
}

.ajm-comment-author-line {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap
}

.ajm-comment-author {
    color: var(--ajm-cc-text);
    font-weight: 700;
    text-decoration: none;
    font-size: 14px
}

.ajm-level,.ajm-comment-badge {
    font-size: 10px;
    font-weight: 700;
    padding: 3px 6px;
    border-radius: 999px;
    background: var(--ajm-cc-soft);
    color: var(--ajm-cc-muted)
}

.ajm-comment-badge {
    display: inline-flex;
    gap: 4px;
    align-items: center
}

.ajm-comment-badge svg {
    width: 11px;
    height: 11px
}

.ajm-comment-badge.is-pinned {
    color: #ffd166
}

.ajm-comment-badge.is-spoiler {
    color: #fda4af
}

.ajm-comment-meta {
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    font-size: 11px;
    color: var(--ajm-cc-muted);
}

.ajm-comment-meta a {
    color: inherit;
    text-decoration: none
}

.ajm-comment-meta span {
    display: flex;
    align-items: center;
    font-family: 'Roboto', sans-serif;
    text-transform: uppercase;
}

.ajm-comment-meta span:before {
    display: inline-block;
    padding-right: 0.3rem;
    color: rgb(108, 117, 125);
    font-size: 20px;
    content: "•";
}

.ajm-comment-content {
    font-size: 14px;
    line-height: 1.65;
    margin: 7px 0 8px;
    overflow-wrap: anywhere
}

.ajm-comment-content p {
    margin: 0 0 8px
}

.ajm-comment-content p:last-child {
    margin-bottom: 0
}

.ajm-comment-pending {
    padding: 10px 12px;
    border: 1px dashed var(--ajm-cc-border);
    border-radius: 10px;
    color: var(--ajm-cc-muted);
    font-style: italic
}

.ajm-comment-actions {
    display: flex;
    align-items: center;
    gap: 3px;
    min-height: 34px
}

.ajm-action,.ajm-comment-actions .comment-reply-link {
    appearance: none;
    border: 0;
    background: transparent;
    color: var(--ajm-cc-muted);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 8px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer
}

.ajm-action:hover,.ajm-comment-actions .comment-reply-link:hover,.ajm-action.is-active {
    background: var(--ajm-cc-soft);
    color: var(--ajm-cc-text)
}

.ajm-action svg,.ajm-comment-actions .comment-reply-link svg {
    width: 16px;
    height: 16px
}

.ajm-action:disabled {
    opacity: .5;
    cursor: wait
}

.ajm-comment-children {
    grid-column: 2 / -1;
    margin-left: 0;
    border-left: 1px solid var(--ajm-cc-border);
    padding-left: 18px
}

.ajm-comment-children.is-collapsed {
    display: none
}

.ajm-toggle-replies {
    color: #9fb3ff
}

.ajm-spoiler-box {
    overflow: hidden
}

.ajm-spoiler-reveal:hover {
    background: #f8eadc;
    border-color: #ffdfbf;
    color: #f7871a!important;
}

.ajm-spoiler-reveal svg {
    width: 21px;
    height: 21px;
    color: #eb8623;
}

.ajm-spoiler-reveal span {
    font-size: 11px;
}

.ajm-spoiler-content[hidden] {
    display: block;
    white-space: nowrap;
    max-width: 500px;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    filter: blur(3px);
    padding: 13px
}

.ajm-spoiler-box.is-open {
    background: transparent
}

.ajm-report-wrap {
    position: relative;
    margin-left: auto
}

.ajm-report-menu {
    position: absolute;
    z-index: 20;
    right: 0;
    top: 100%;
    width: 210px;
    padding: 8px;
    background: var(--ajm-cc-surface);
    border: 1px solid var(--ajm-cc-border);
    border-radius: 12px;
    box-shadow: var(--ajm-cc-shadow)
}

.ajm-report-menu strong {
    font-family: 'Poppins', sans-serif;
    display: block;
    padding: 7px 9px;
    font-size: 12px
}

.ajm-report-menu button {
    width: 100%;
    border: 0;
    background: transparent;
    color: var(--ajm-cc-text);
    text-align: left;
    padding: 8px 9px;
    border-radius: 7px;
    cursor: pointer
}

.ajm-report-menu button:hover {
    background: var(--ajm-cc-soft)
}

.ajm-report-done {
    display: block;
    padding: 10px;
    color: var(--ajm-cc-good)
}

.ajm-report-error {
    display: block;
    padding: 10px;
    color: #fb7185
}

.ajm-comment-form {
    margin: 12px 0 30px;
    padding: 16px;
    border: 1px solid var(--ajm-cc-border);
    background: var(--ajm-cc-surface)
}

.ajm-comment-form .comment-reply-title {
    margin: 0 0 12px;
    font-size: 16px
}

.ajm-comment-composer textarea,.ajm-field input,.ajm-inline-editor textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid var(--ajm-cc-border);
    background: transparent;
    color: var(--ajm-cc-text);
    border-radius: 2px;
    outline: 0
}

.ajm-comment-composer textarea {
    min-height: 105px;
    resize: vertical;
    padding: 13px
}

.ajm-comment-composer textarea:focus,.ajm-field input:focus,.ajm-inline-editor textarea:focus {
    border-color: rgba(225,29,72,.65);
    box-shadow: 0 0 0 3px rgba(225,29,72,.09)
}

.ajm-composer-options {
    font-family: 'Poppins', sans-serif;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 9px;
    color: var(--ajm-cc-muted);
    font-size: 12px;
}

.ajm-checkbox {
    display: inline-flex;
    gap: 7px;
    align-items: center
}

.ajm-checkbox input {
    accent-color: var(--ajm-cc-accent)
}

.ajm-comment-submit-row {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    margin-top: 10px
}

.ajm-comment-submit {
    border: 0;
    background: var(--ajm-cc-accent);
    color: white;
    padding: 10px 18px;
    border-radius: 5px;
    cursor: pointer
}

.ajm-comment-submit:hover {
    filter: brightness(1.08)
}

.ajm-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 10px
}

.ajm-field span {
    display: block;
    margin: 0 0 5px;
    color: var(--ajm-cc-muted);
    font-size: 11px
}

.ajm-field input {
    height: 42px;
    padding: 0 11px
}

.ajm-cookie {
    margin-top: 10px;
    color: var(--ajm-cc-muted);
    font-size: 11px
}

.ajm-inline-editor textarea {
    min-height: 90px;
    padding: 11px
}

.ajm-inline-editor-actions {
    display: flex;
    justify-content: flex-end;
    gap: 7px;
    margin-top: 7px
}

.ajm-inline-editor-actions button {
    border: 0;
    border-radius: 8px;
    padding: 7px 11px;
    background: var(--ajm-cc-soft);
    color: var(--ajm-cc-text);
    cursor: pointer
}

.ajm-inline-editor-actions .is-primary {
    background: var(--ajm-cc-accent);
    color: #fff
}

.ajm-community-profile {
    padding: 38px 20px 70px
}

.ajm-profile-hero {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 28px;
    background: linear-gradient(135deg,var(--ajm-cc-surface),var(--ajm-cc-bg));
    border: 1px solid var(--ajm-cc-border);
    border-radius: 20px
}

.ajm-profile-avatar img {
    border-radius: 50%;
    display: block
}

.ajm-profile-eyebrow {
    color: var(--ajm-cc-accent);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-weight: 800
}

.ajm-profile-identity h1 {
    margin: 5px 0 4px
}

.ajm-profile-level {
    color: var(--ajm-cc-muted);
    font-size: 13px
}

.ajm-profile-identity p {
    max-width: 620px;
    color: var(--ajm-cc-muted)
}

.ajm-profile-stats {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 10px;
    margin: 14px 0 28px
}

.ajm-profile-stats div {
    padding: 18px;
    background: var(--ajm-cc-surface);
    border: 1px solid var(--ajm-cc-border);
    border-radius: 14px
}

.ajm-profile-stats strong {
    display: block;
    font-size: 23px
}

.ajm-profile-stats span {
    font-size: 11px;
    color: var(--ajm-cc-muted)
}

.ajm-section-heading h2 {
    margin: 3px 0 14px
}

.ajm-section-heading span {
    font-size: 11px;
    color: var(--ajm-cc-muted);
    text-transform: uppercase;
    letter-spacing: .12em
}

.ajm-profile-feed {
    display: grid;
    gap: 9px
}

.ajm-profile-feed-item {
    padding: 16px;
    background: var(--ajm-cc-surface);
    border: 1px solid var(--ajm-cc-border);
    border-radius: 13px
}

.ajm-profile-feed-item>div {
    display: flex;
    justify-content: space-between;
    gap: 10px
}

.ajm-profile-post-title {
    color: var(--ajm-cc-text);
    font-weight: 700;
    text-decoration: none
}

.ajm-profile-feed time,.ajm-profile-feed p {
    color: var(--ajm-cc-muted);
    font-size: 12px
}

.ajm-profile-discussion {
    color: #9fb3ff;
    font-size: 12px;
    text-decoration: none
}

.ajm-profile-empty {
    padding: 30px;
    text-align: center;
    color: var(--ajm-cc-muted)
}

.ajm-ranking-list {
    display: grid;
    gap: 5px
}

.ajm-ranking-item {
    display: grid;
    grid-template-columns: 36px 1fr auto;
    align-items: center;
    gap: 9px;
    padding: 9px;
    border-radius: 10px;
    color: inherit;
    text-decoration: none
}

.ajm-ranking-item:hover {
    background: var(--ajm-cc-soft)
}

.ajm-ranking-avatar img {
    border-radius: 50%;
    display: block
}

.ajm-ranking-item span:nth-child(2) {
    min-width: 0
}

.ajm-ranking-item strong,.ajm-ranking-item small {
    display: block
}

.ajm-ranking-item small {
    color: var(--ajm-cc-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.ajm-ranking-item>b {
    font-size: 11px;
    color: var(--ajm-cc-muted)
}

@media(max-width: 720px) {
    .ajm-comments-header {
        align-items:flex-start;
        flex-direction: column
    }

    .ajm-comment {
        grid-template-columns: 38px minmax(0,1fr);
        gap: 10px
    }

    .ajm-avatar {
        width: 38px;
        height: 38px
    }

    .ajm-comment-header {
        display: block
    }

    .ajm-comment-meta {
        margin-top: 3px
    }

    .ajm-comment-actions {
        flex-wrap: wrap
    }

    .ajm-comment-children {
        padding-left: 10px
    }

    .ajm-form-grid {
        grid-template-columns: 1fr
    }

    .ajm-composer-options {
        flex-direction: column
    }

    .ajm-profile-hero {
        align-items: flex-start;
        flex-direction: column
    }

    .ajm-profile-stats {
        grid-template-columns: 1fr 1fr
    }
}

/* IntegraÃ§Ã£o nativa com Usuario + Assinaturas */
.ajm-comment-badge.is-subscriber {
    color: #facc15;
    background: rgba(250,204,21,.09);
    border: 1px solid rgba(250,204,21,.18)
}

.ajm-comment-badge.is-subscriber i {
    font-size: 10px
}

.ajm-comments-login-required,.ajm-comments-restricted {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin: 12px 0 28px;
    padding: 18px;
    border: 1px solid var(--ajm-cc-border);
    border-radius: var(--ajm-cc-radius);
    background: var(--ajm-cc-surface)
}

.ajm-comments-login-required>div,.ajm-comments-restricted {
    color: var(--ajm-cc-muted)
}

.ajm-comments-login-required i {
    font-size: 22px;
    color: var(--ajm-cc-accent);
    margin-right: 10px
}

.ajm-comments-login-required strong,.ajm-comments-restricted strong {
    display: block;
    color: var(--ajm-cc-text);
    margin-bottom: 3px
}

.ajm-comments-login-required span,.ajm-comments-restricted span {
    font-size: 12px
}

.ajm-comment-login-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 17px;
    border-radius: 999px;
    background: var(--ajm-cc-accent);
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    white-space: nowrap
}

.ajm-community-profile-summary {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 10px;
    margin: 0 0 18px
}

.ajm-community-profile-summary>div {
    padding: 16px;
    border: 1px solid var(--ajm-cc-border);
    border-radius: 12px;
    background: var(--ajm-cc-surface)
}

.ajm-community-profile-summary strong {
    display: block;
    font-size: 22px;
    color: var(--ajm-cc-text)
}

.ajm-community-profile-summary span {
    display: block;
    margin-top: 3px;
    color: var(--ajm-cc-muted);
    font-size: 11px
}

.ajm-community-profile-feed {
    display: grid;
    gap: 9px
}

.ajm-community-profile-item {
    padding: 15px 16px;
    border: 1px solid var(--ajm-cc-border);
    border-radius: 12px;
    background: var(--ajm-cc-surface)
}

.ajm-community-profile-item-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px
}

.ajm-community-profile-item-head strong {
    color: var(--ajm-cc-text)
}

.ajm-community-profile-item-head span,.ajm-community-profile-item p {
    color: var(--ajm-cc-muted);
    font-size: 12px
}

.ajm-community-profile-item a {
    font-size: 12px;
    color: #9fb3ff;
    text-decoration: none
}

.ajm-community-public-card {
    margin-top: 20px;
    padding: 18px;
    border: 1px solid var(--ajm-cc-border);
    border-radius: 14px;
    background: var(--ajm-cc-surface)
}

.ajm-community-public-title {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 15px
}

.ajm-community-public-title>div>span {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--ajm-cc-muted)
}

.ajm-community-public-title h2 {
    margin: 3px 0 0
}

.ajm-community-public-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px
}

.ajm-community-public-badges span {
    padding: 5px 8px;
    border-radius: 999px;
    background: var(--ajm-cc-soft);
    font-size: 11px;
    color: var(--ajm-cc-muted)
}

.ajm-community-public-badges span.is-premium {
    color: #facc15;
    background: rgba(250,204,21,.09)
}

@media(max-width: 720px) {
    .ajm-comments-login-required {
        align-items:flex-start;
        flex-direction: column
    }

    .ajm-community-profile-summary {
        grid-template-columns: 1fr 1fr
    }

    .ajm-community-public-title {
        flex-direction: column
    }

    .ajm-community-public-badges {
        justify-content: flex-start
    }

    .ajm-community-profile-item-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 3px
    }
}

/* IdentificaÃ§Ã£o interna da equipe separada do nÃ­vel/distintivo comunitÃ¡rio. */
.ajm-comment-badge.is-staff {
    border: 1px solid rgba(255,255,255,.11);
    background: rgba(255,255,255,.055);
    color: #e9edf2;
    letter-spacing: .035em
}

.ajm-comment-badge.is-staff.is-management {
    border-color: rgb(68 144 239 / 24%);
    background: rgb(68 144 239 / 9%);
    color: #a5d3fc;
}

.ajm-comment-badge.is-staff.is-editorial {
    border-color: rgba(96,165,250,.22);
    background: rgba(96,165,250,.08);
    color: #93c5fd
}

.ajm-comment-badge.is-staff.is-author {
    border-color: rgba(167,139,250,.22);
    background: rgba(167,139,250,.08);
    color: #c4b5fd
}

.ajm-comment-badge.is-staff.is-custom {
    border-color: rgba(250,204,21,.2);
    background: rgba(250,204,21,.075);
    color: #fde68a
}

.ajm-community-public-badges span.is-staff {
    color: #e9edf2;
    border: 1px solid rgba(255,255,255,.09)
}

.ajm-community-public-badges span.is-staff.is-management {
    color: #fca5a5;
    background: rgba(239,68,68,.09)
}

.ajm-community-public-badges span.is-staff.is-editorial {
    color: #93c5fd;
    background: rgba(96,165,250,.08)
}

.ajm-community-public-badges span.is-staff.is-author {
    color: #c4b5fd;
    background: rgba(167,139,250,.08)
}

.ajm-community-public-badges span.is-staff.is-custom {
    color: #fde68a;
    background: rgba(250,204,21,.075)
}

/* PaginaÃ§Ã£o incremental mantÃ©m discussÃµes grandes leves sem alterar a hierarquia visual dos comentÃ¡rios carregados. */
.ajm-comments-more-wrap {
    display: flex;
    justify-content: center;
    padding: 20px 0 4px
}

.ajm-comments-more-wrap[hidden] {
    display: none!important
}

.ajm-comments-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    min-height: 42px;
    padding: 10px 18px;
    border: 1px solid var(--ajm-cc-border);
    border-radius: 10px;
    background: var(--ajm-cc-surface);
    color: var(--ajm-cc-text);
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color .18s ease,background .18s ease,opacity .18s ease
}

.ajm-comments-more:hover {
    border-color: rgba(255,255,255,.18);
    background: var(--ajm-cc-soft)
}

.ajm-comments-more:disabled,.ajm-comments-more.is-loading {
    opacity: .55;
    cursor: wait
}

.ajm-comments-more.is-loading span:after {
    content: '…';
    margin-left: 3px
}
/* Mantém o compositor de resposta dentro do próprio comentário sem deslocar o formulário principal. */
.ajm-comment-reply-slot {
    width: 100%;
    margin-top: 4px
}

.ajm-inline-reply-form {
    margin: 12px 0 4px;
    padding: 14px;
    border: 1px solid var(--ajm-cc-border);
    background: var(--ajm-cc-surface)
}

.ajm-inline-reply-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px
}

.ajm-inline-reply-head strong,.ajm-inline-reply-head span {
    display: block
}

.ajm-inline-reply-head span {
    margin-top: 2px;
    color: var(--ajm-cc-muted);
    font-size: 11px
}

.ajm-inline-reply-head button {
    appearance: none;
    border: 0;
    background: transparent;
    color: var(--ajm-cc-muted);
    cursor: pointer;
    padding: 4px
}

.ajm-comment.is-new-comment {
    animation: ajm-comment-new 2.6s ease
}

@keyframes ajm-comment-new {
    0%,35% { background: rgba(225,29,72,.09) }
    100% { background: transparent }
}
