/* ==========================================================================
   COMUNIDADE — workspace dark (estilo Circle.so / COD3RS), módulo do Sonnar.
   Escopo próprio (.cmty-*): sempre dark, independente do tema do resto do site.
   Reaproveita .btn / .btn--primary / .btn--ghost do app.css.
   ========================================================================== */
.cmty-body {
    --c-bg:        #0C0E12;
    --c-surface:   #14171D;
    --c-surface-2: #1A1E26;
    --c-border:    #242A33;
    --c-border-2:  #2E353F;
    --c-text:      #E8EAED;
    --c-text-2:    #9AA3AF;
    --c-muted:     #6B7280;
    --c-accent:    #22C55E;
    --c-accent-2:  #5CE792;
    --c-on-accent: #05240F;
    --c-danger:    #F0616A;
    --c-top-h:     60px;

    margin: 0;
    background: var(--c-bg);
    color: var(--c-text);
    font-family: var(--font-sans, 'Inter', system-ui, sans-serif);
    -webkit-font-smoothing: antialiased;
}

.cmty-shell { min-height: 100vh; }

/* ---------- Topo ---------- */
.cmty-top {
    position: sticky; top: 0; z-index: 40;
    height: var(--c-top-h);
    display: flex; align-items: center; gap: 16px;
    padding: 0 18px;
    background: rgba(12,14,18,.86);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--c-border);
}
.cmty-top__left { display: flex; align-items: center; gap: 12px; min-width: 220px; }
.cmty-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--c-text); font-weight: 700; }
.cmty-brand__mark {
    width: 30px; height: 30px; border-radius: 8px;
    display: grid; place-items: center;
    background: linear-gradient(135deg, var(--c-accent), var(--c-accent-2));
    color: #fff; font-weight: 800; font-size: 13px; letter-spacing: .5px;
}
.cmty-brand__name { font-size: 15px; letter-spacing: .3px; }
.cmty-brand--logo { gap: 0; }
.cmty-brand__logo { height: 24px; width: auto; display: block; }

.cmty-nav { display: flex; gap: 4px; margin: 0 auto; }
.cmty-nav__link {
    padding: 7px 14px; border-radius: 999px; text-decoration: none;
    color: var(--c-text-2); font-size: 14px; font-weight: 500; transition: .15s;
}
.cmty-nav__link:hover { color: var(--c-text); background: var(--c-surface-2); }
.cmty-nav__link.is-active { color: #fff; background: var(--c-surface-2); }

.cmty-top__right { display: flex; align-items: center; gap: 10px; min-width: 220px; justify-content: flex-end; }
.cmty-search input {
    width: 210px; max-width: 30vw;
    background: var(--c-surface-2); border: 1px solid var(--c-border);
    color: var(--c-text); border-radius: 999px; padding: 8px 14px; font-size: 13px;
    outline: none; transition: .15s;
}
.cmty-search input:focus { border-color: var(--c-accent); }
.cmty-search input::placeholder { color: var(--c-muted); }
.cmty-iconbtn {
    width: 36px; height: 36px; border-radius: 50%;
    display: grid; place-items: center; color: var(--c-text-2);
    text-decoration: none; transition: .15s;
}
.cmty-iconbtn:hover { background: var(--c-surface-2); color: var(--c-text); }
.cmty-avatar {
    width: 34px; height: 34px; border-radius: 50%;
    display: grid; place-items: center; text-decoration: none;
    background: linear-gradient(135deg, var(--c-accent), var(--c-accent-2));
    color: #fff; font-weight: 700; font-size: 14px;
}

.cmty-burger { display: none; flex-direction: column; gap: 4px; background: none; border: 0; cursor: pointer; padding: 6px; }
.cmty-burger span { width: 20px; height: 2px; background: var(--c-text-2); border-radius: 2px; }

/* ---------- Layout 3 colunas ---------- */
.cmty-main {
    display: grid;
    grid-template-columns: 264px minmax(0, 1fr) 312px;
    gap: 24px;
    max-width: 1320px; margin: 0 auto;
    padding: 24px 20px 64px;
    align-items: start;
}
.cmty-sidebar, .cmty-rail { position: sticky; top: calc(var(--c-top-h) + 24px); }
.cmty-center { min-width: 0; }

/* Páginas largas (Eventos, Chats): sem rail, centro ocupa o resto. */
.cmty-main--wide { grid-template-columns: 264px minmax(0, 1fr); padding: 20px 20px 24px; }

/* ---------- Sidebar ---------- */
.cmty-side { display: flex; flex-direction: column; gap: 4px; }
.cmty-side__home {
    display: flex; align-items: center; gap: 10px;
    padding: 9px 12px; border-radius: 10px; text-decoration: none;
    color: var(--c-text); font-weight: 600; font-size: 14px;
}
.cmty-side__home:hover { background: var(--c-surface-2); }
.cmty-side__home.is-active { background: var(--c-surface-2); }

.cmty-group { margin-top: 10px; }
.cmty-group__head {
    width: 100%; display: flex; align-items: center; justify-content: space-between;
    background: none; border: 0; cursor: pointer; color: var(--c-text-2);
    padding: 6px 10px; font-size: 11px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase;
}
.cmty-group__title { display: inline-flex; align-items: center; gap: 7px; }
.cmty-group__emoji { font-size: 13px; }
.cmty-group__chevron { transition: transform .18s; transform: rotate(90deg); color: var(--c-muted); }
.cmty-group.is-collapsed .cmty-group__chevron { transform: rotate(0deg); }
.cmty-group.is-collapsed .cmty-group__list { display: none; }
.cmty-group__list { list-style: none; margin: 2px 0 0; padding: 0; display: flex; flex-direction: column; gap: 1px; }

.cmty-space {
    display: flex; align-items: center; gap: 9px;
    padding: 8px 12px; border-radius: 9px; text-decoration: none;
    color: var(--c-text-2); font-size: 14px; transition: .12s;
}
.cmty-space:hover { background: var(--c-surface-2); color: var(--c-text); }
.cmty-space.is-active { background: color-mix(in srgb, var(--c-accent) 18%, transparent); color: #fff; }
.cmty-space__ico { width: 18px; text-align: center; font-size: 14px; flex: none; }
.cmty-space__name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cmty-space__lock { color: var(--c-muted); display: inline-flex; }

/* ---------- Feed header ---------- */
.cmty-feedhead, .cmty-spacehead { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.cmty-h1 { font-size: 22px; font-weight: 700; margin: 0; color: #fff; }
.cmty-spacehead { align-items: flex-start; }
.cmty-spacehead__main { display: flex; gap: 14px; align-items: flex-start; }
.cmty-spacehead__ico {
    width: 46px; height: 46px; border-radius: 12px; flex: none;
    display: grid; place-items: center; font-size: 22px; background: var(--c-surface-2); border: 1px solid var(--c-border);
}
.cmty-spacehead__desc { margin: 4px 0 0; color: var(--c-text-2); font-size: 14px; max-width: 48ch; }
.cmty-spacehead__meta { margin: 6px 0 0; color: var(--c-muted); font-size: 12.5px; }

/* ---------- Composer ---------- */
.cmty-composer {
    background: var(--c-surface); border: 1px solid var(--c-border);
    border-radius: 14px; padding: 14px; margin-bottom: 20px;
}
.cmty-composer--guest { text-align: center; color: var(--c-text-2); }
.cmty-composer--guest a { color: var(--c-accent-2); }
.cmty-composer__row { display: flex; gap: 12px; }
.cmty-composer__fields { flex: 1; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.cmty-composer__title, .cmty-composer__body, .cmty-composer__space {
    width: 100%; background: var(--c-surface-2); border: 1px solid var(--c-border);
    color: var(--c-text); border-radius: 10px; padding: 10px 12px; font: inherit; font-size: 14px; outline: none; resize: vertical;
}
.cmty-composer__title:focus, .cmty-composer__body:focus, .cmty-composer__space:focus { border-color: var(--c-accent); }
.cmty-composer__title::placeholder, .cmty-composer__body::placeholder { color: var(--c-muted); }
.cmty-composer__bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.cmty-composer__space { width: auto; max-width: 60%; padding: 8px 10px; }
.cmty-composer__send { white-space: nowrap; }

/* ---------- Avatares ---------- */
.cmty-ava {
    width: 40px; height: 40px; border-radius: 50%; flex: none; overflow: hidden;
    display: grid; place-items: center; font-weight: 700; color: #fff; font-size: 15px;
    background: linear-gradient(135deg, #3a3f4b, #2a2e38);
}
.cmty-ava img { width: 100%; height: 100%; object-fit: cover; }
.cmty-ava--sm { width: 30px; height: 30px; font-size: 12px; }

/* ---------- Post ---------- */
.cmty-stream { display: flex; flex-direction: column; gap: 14px; }
.cmty-post {
    background: var(--c-surface); border: 1px solid var(--c-border);
    border-radius: 14px; padding: 16px;
}
.cmty-post__head { display: flex; gap: 12px; align-items: flex-start; }
.cmty-post__who { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.cmty-post__author { color: var(--c-text); font-weight: 600; font-size: 14.5px; text-decoration: none; }
.cmty-post__author:hover { color: var(--c-accent-2); }
.cmty-post__meta { color: var(--c-muted); font-size: 12.5px; margin-top: 1px; }
.cmty-post__meta a { color: var(--c-text-2); text-decoration: none; }
.cmty-post__meta a:hover { color: var(--c-accent-2); }
.cmty-pin { color: var(--c-accent-2); display: inline-flex; align-items: center; gap: 3px; margin-left: 6px; }
.cmty-post__title { margin: 12px 0 6px; font-size: 17px; font-weight: 700; color: #fff; }
.cmty-post__body { color: var(--c-text); font-size: 14.5px; line-height: 1.6; margin-top: 10px; overflow-wrap: anywhere; }
.cmty-post__tools { display: flex; gap: 4px; }
.cmty-post__tools form { margin: 0; }
.cmty-tool { background: none; border: 0; cursor: pointer; color: var(--c-muted); padding: 5px; border-radius: 7px; transition: .12s; }
.cmty-tool:hover { background: var(--c-surface-2); color: var(--c-text); }
.cmty-tool--danger:hover { color: var(--c-danger); }

.cmty-post__actions { display: flex; gap: 8px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--c-border); }
.cmty-post__actions form { margin: 0; }
.cmty-act {
    display: inline-flex; align-items: center; gap: 7px;
    background: none; border: 1px solid transparent; border-radius: 999px;
    padding: 6px 12px; color: var(--c-text-2); font-size: 13px; font-weight: 500;
    cursor: pointer; text-decoration: none; transition: .12s;
}
.cmty-act:hover { background: var(--c-surface-2); color: var(--c-text); }
.cmty-act.is-on { color: var(--c-accent-2); }
.cmty-act.is-on svg { fill: var(--c-accent-2); stroke: var(--c-accent-2); }
.cmty-act.is-static { cursor: default; }

/* ---------- Comentários ---------- */
.cmty-comments { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--c-border); display: flex; flex-direction: column; gap: 12px; }
.cmty-comment { display: flex; gap: 10px; align-items: flex-start; }
.cmty-comment__body { flex: 1; background: var(--c-surface-2); border-radius: 10px; padding: 8px 12px; min-width: 0; }
.cmty-comment__author { font-weight: 600; font-size: 13px; color: var(--c-text); margin-right: 6px; }
.cmty-comment__author a { color: inherit; text-decoration: none; }
.cmty-comment__text { color: var(--c-text); font-size: 13.5px; line-height: 1.5; overflow-wrap: anywhere; }
.cmty-comment form { margin: 0; }
.cmty-comment-form { display: flex; gap: 8px; }
.cmty-comment-form input {
    flex: 1; background: var(--c-surface-2); border: 1px solid var(--c-border);
    color: var(--c-text); border-radius: 999px; padding: 9px 14px; font: inherit; font-size: 13.5px; outline: none;
}
.cmty-comment-form input:focus { border-color: var(--c-accent); }
.cmty-comments__login { color: var(--c-text-2); font-size: 13px; }
.cmty-comments__login a { color: var(--c-accent-2); }

/* ---------- Eventos (rail + espaço) ---------- */
.cmty-card { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: 14px; padding: 16px; margin-bottom: 16px; }
.cmty-card__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cmty-card__title { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: 14px; color: #fff; }
.cmty-card__more { color: var(--c-text-2); font-size: 12px; text-decoration: none; }
.cmty-card__more:hover { color: var(--c-accent-2); }
.cmty-card__empty, .cmty-card__text { color: var(--c-text-2); font-size: 13px; line-height: 1.55; margin: 0; }
.cmty-card__cta { margin-top: 12px; width: 100%; justify-content: center; }

.cmty-events { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.cmty-event { display: flex; gap: 12px; align-items: flex-start; }
.cmty-event__date {
    width: 46px; flex: none; text-align: center; border-radius: 10px;
    background: var(--c-surface-2); border: 1px solid var(--c-border); padding: 6px 0; line-height: 1.1;
}
.cmty-event__date--lg { width: 58px; padding: 10px 0; }
.cmty-event__m { display: block; font-size: 10px; font-weight: 700; letter-spacing: .5px; color: var(--c-accent-2); }
.cmty-event__d { display: block; font-size: 18px; font-weight: 800; color: #fff; }
.cmty-event__body { display: flex; flex-direction: column; min-width: 0; }
.cmty-event__time { font-size: 11px; color: var(--c-muted); }
.cmty-event__title { font-size: 13.5px; font-weight: 600; color: var(--c-text); text-decoration: none; }
.cmty-event__title:hover { color: var(--c-accent-2); }
.cmty-event__meta { font-size: 12px; color: var(--c-muted); }
.cmty-eventrow { display: flex; gap: 14px; align-items: center; }

/* ---------- Vazios ---------- */
.cmty-empty { text-align: center; padding: 48px 20px; color: var(--c-text-2); }
.cmty-empty__emoji { font-size: 40px; margin-bottom: 10px; }
.cmty-empty h2 { color: #fff; margin: 0 0 6px; font-size: 18px; }
.cmty-empty p { margin: 0 auto; max-width: 44ch; font-size: 14px; }
.cmty-stream__end { text-align: center; color: var(--c-muted); font-size: 13px; padding: 16px; }

/* scrim do drawer mobile */
.cmty-sidebar__scrim { display: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 1120px) {
    .cmty-main { grid-template-columns: 240px minmax(0,1fr); }
    .cmty-rail { display: none; }
}
@media (max-width: 860px) {
    .cmty-burger { display: flex; }
    .cmty-main { grid-template-columns: minmax(0,1fr); padding: 18px 14px 56px; }
    .cmty-nav { display: none; }
    .cmty-search input { width: 150px; }
    .cmty-top__left, .cmty-top__right { min-width: 0; }
    .cmty-sidebar {
        position: fixed; top: 0; left: 0; bottom: 0; width: 280px; z-index: 60;
        background: var(--c-surface); border-right: 1px solid var(--c-border);
        padding: calc(var(--c-top-h) + 14px) 14px 20px; overflow-y: auto;
        transform: translateX(-100%); transition: transform .22s ease;
    }
    .cmty-shell.is-drawer .cmty-sidebar { transform: translateX(0); }
    .cmty-shell.is-drawer .cmty-sidebar__scrim {
        display: block; position: fixed; inset: 0; z-index: 55; background: rgba(0,0,0,.5);
    }
}
@media (max-width: 480px) {
    .cmty-brand__name { display: none; }
    .cmty-search { display: none; }
}

/* ==========================================================================
   FASE 2 — menções, salvar, denunciar, busca
   ========================================================================== */
.cmty-mention { color: var(--c-accent-2); text-decoration: none; font-weight: 600; }
.cmty-mention:hover { text-decoration: underline; }

.cmty-act__lbl { font-size: 12.5px; }
@media (max-width: 560px) { .cmty-act__lbl { display: none; } }

.cmty-badge {
    margin-left: auto; background: var(--c-accent); color: #fff;
    font-size: 11px; font-weight: 700; border-radius: 999px; padding: 1px 7px; line-height: 1.5;
}

/* Menu overflow (denunciar) */
.cmty-menu { position: relative; }
.cmty-menu > summary { list-style: none; cursor: pointer; }
.cmty-menu > summary::-webkit-details-marker { display: none; }
.cmty-menu__panel {
    position: absolute; right: 0; top: calc(100% + 6px); z-index: 20;
    width: 260px; background: var(--c-surface-2); border: 1px solid var(--c-border-2);
    border-radius: 12px; padding: 12px; box-shadow: 0 16px 40px rgba(0,0,0,.5);
    display: flex; flex-direction: column; gap: 8px;
}
.cmty-menu__panel label { font-size: 12px; color: var(--c-text-2); font-weight: 600; }
.cmty-menu__panel input {
    background: var(--c-bg); border: 1px solid var(--c-border); color: var(--c-text);
    border-radius: 8px; padding: 8px 10px; font: inherit; font-size: 13px; outline: none;
}
.cmty-menu__panel input:focus { border-color: var(--c-accent); }

/* Busca */
.cmty-searchbig { display: flex; gap: 10px; margin-bottom: 20px; }
.cmty-searchbig input {
    flex: 1; background: var(--c-surface); border: 1px solid var(--c-border); color: var(--c-text);
    border-radius: 999px; padding: 11px 16px; font: inherit; font-size: 14px; outline: none;
}
.cmty-searchbig input:focus { border-color: var(--c-accent); }
.cmty-results__count { color: var(--c-text-2); font-size: 13px; margin: 0 0 14px; }

/* Denúncias (admin) */
.cmty-report__reason { color: var(--c-text); font-size: 13.5px; margin: 10px 0 8px; }
.cmty-report__target {
    margin: 0 0 10px; padding: 10px 14px; border-left: 3px solid var(--c-border-2);
    background: var(--c-surface-2); border-radius: 0 10px 10px 0; color: var(--c-text-2);
    font-size: 13.5px; font-style: italic;
}

/* Autocomplete de menção */
.cmty-mention-menu {
    position: absolute; z-index: 80; background: var(--c-surface-2);
    border: 1px solid var(--c-border-2); border-radius: 12px; padding: 6px;
    box-shadow: 0 16px 40px rgba(0,0,0,.55); max-height: 280px; overflow-y: auto;
}
.cmty-mention-item {
    display: flex; align-items: center; gap: 10px; width: 100%;
    background: none; border: 0; cursor: pointer; text-align: left;
    padding: 8px 10px; border-radius: 9px; color: var(--c-text);
}
.cmty-mention-item:hover, .cmty-mention-item.is-active { background: var(--c-bg); }
.cmty-mention-item img, .cmty-mention-ava {
    width: 30px; height: 30px; border-radius: 50%; object-fit: cover; flex: none;
    display: grid; place-items: center; font-weight: 700; color: #fff;
    background: linear-gradient(135deg, #3a3f4b, #2a2e38); text-transform: uppercase;
}
.cmty-mention-item b { font-size: 13.5px; font-weight: 600; display: block; }
.cmty-mention-item small { font-size: 12px; color: var(--c-muted); }

/* ==========================================================================
   Painel admin de espaços
   ========================================================================== */
.cmty-manage__intro { color: var(--c-text-2); font-size: 14px; margin: -6px 0 22px; }
.cmty-admin-sec { margin-bottom: 30px; }
.cmty-admin-sec__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.cmty-admin-sec__head h2 { font-size: 16px; color: #fff; margin: 0; }
.cmty-admin-grouptitle { font-size: 12px; letter-spacing: .5px; text-transform: uppercase; color: var(--c-text-2); margin: 18px 0 8px; }

.cmty-admin-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.cmty-admin-row {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    background: var(--c-surface); border: 1px solid var(--c-border); border-radius: 12px; padding: 10px 14px;
}
.cmty-admin-row.is-archived { opacity: .6; }
.cmty-admin-row__main { display: flex; align-items: center; gap: 12px; min-width: 0; }
.cmty-admin-row__ico { width: 34px; height: 34px; flex: none; border-radius: 9px; display: grid; place-items: center; background: var(--c-surface-2); border: 1px solid var(--c-border); font-size: 16px; }
.cmty-admin-row__title { color: var(--c-text); font-weight: 600; font-size: 14.5px; display: flex; align-items: center; gap: 8px; }
.cmty-admin-row__meta { display: block; color: var(--c-muted); font-size: 12px; margin-top: 2px; }
.cmty-admin-row__tools { display: flex; align-items: center; gap: 4px; flex: none; position: relative; }
.cmty-inline { margin: 0; display: inline; }
.cmty-tag { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; background: var(--c-surface-2); border: 1px solid var(--c-border-2); color: var(--c-text-2); border-radius: 999px; padding: 1px 7px; }

/* Formulários do painel */
.cmty-add > summary { list-style: none; cursor: pointer; display: inline-flex; }
.cmty-add > summary::-webkit-details-marker { display: none; }
.cmty-add[open] > summary { margin-bottom: 12px; }
.cmty-form { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.cmty-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cmty-form__grid .cmty-field:only-child, .cmty-form__grid .cmty-field--url { grid-column: 1 / -1; }
.cmty-field { display: flex; flex-direction: column; gap: 5px; }
.cmty-field > span { font-size: 12px; color: var(--c-text-2); font-weight: 600; }
.cmty-field > span small { color: var(--c-muted); font-weight: 400; }
.cmty-field input, .cmty-field select {
    background: var(--c-surface-2); border: 1px solid var(--c-border); color: var(--c-text);
    border-radius: 9px; padding: 9px 11px; font: inherit; font-size: 14px; outline: none; width: 100%;
}
.cmty-field input:focus, .cmty-field select:focus { border-color: var(--c-accent); }
.cmty-form__checks { display: flex; gap: 18px; flex-wrap: wrap; }
.cmty-check { display: inline-flex; align-items: center; gap: 7px; color: var(--c-text-2); font-size: 13.5px; cursor: pointer; }
.cmty-check input { width: 16px; height: 16px; accent-color: var(--c-accent); }
.cmty-form__actions { display: flex; justify-content: flex-end; }

/* Pop de edição inline dentro da linha */
.cmty-add--inline { position: static; }
.cmty-form--pop {
    position: absolute; right: 0; top: calc(100% + 6px); z-index: 30; width: min(460px, 86vw);
    box-shadow: 0 20px 48px rgba(0,0,0,.55);
}
@media (max-width: 560px) {
    .cmty-form__grid { grid-template-columns: 1fr; }
    .cmty-form--pop { position: fixed; left: 12px; right: 12px; width: auto; top: auto; }
}

/* ==========================================================================
   Leaderboard / Gamificação
   ========================================================================== */
.cmty-tabs { display: inline-flex; gap: 4px; background: var(--c-surface-2); border: 1px solid var(--c-border); border-radius: 999px; padding: 4px; margin-bottom: 18px; }
.cmty-tab { padding: 6px 16px; border-radius: 999px; text-decoration: none; color: var(--c-text-2); font-size: 13px; font-weight: 600; }
.cmty-tab:hover { color: var(--c-text); }
.cmty-tab.is-active { background: var(--c-accent); color: #fff; }

.cmty-mestats { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: 14px; padding: 16px; margin-bottom: 18px; }
.cmty-mestats__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.cmty-mestats__level { font-weight: 800; color: #fff; font-size: 16px; }
.cmty-mestats__pts { color: var(--c-text-2); font-size: 13px; margin-left: 8px; }
.cmty-mestats__next { color: var(--c-muted); font-size: 12.5px; }
.cmty-progress { height: 8px; background: var(--c-surface-2); border-radius: 999px; margin-top: 12px; overflow: hidden; }
.cmty-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--c-accent), var(--c-accent-2)); border-radius: 999px; }

.cmty-ranking { list-style: none; margin: 0 0 18px; padding: 0; counter-reset: none; display: flex; flex-direction: column; gap: 8px; }
.cmty-rank { display: flex; align-items: center; gap: 14px; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: 12px; padding: 10px 16px; }
.cmty-rank--top { border-color: color-mix(in srgb, var(--c-accent) 40%, var(--c-border)); }
.cmty-rank__pos { width: 30px; text-align: center; font-weight: 800; font-size: 16px; color: var(--c-text-2); flex: none; }
.cmty-rank--top .cmty-rank__pos { font-size: 20px; }
.cmty-rank__who { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.cmty-rank__name { color: var(--c-text); font-weight: 600; font-size: 14.5px; text-decoration: none; }
.cmty-rank__name:hover { color: var(--c-accent-2); }
.cmty-rank__level { font-size: 12px; color: var(--c-muted); }
.cmty-rank__pts { font-weight: 800; color: #fff; font-size: 15px; white-space: nowrap; }
.cmty-rank__pts small { color: var(--c-muted); font-weight: 500; font-size: 11px; }

.cmty-points-key { color: var(--c-text-2); font-size: 13px; background: var(--c-surface-2); border: 1px solid var(--c-border); border-radius: 12px; padding: 12px 16px; }
.cmty-points-key strong { color: var(--c-accent-2); }

/* Sub-abas Leaderboard | Membros */
.cmty-subtabs { display: flex; gap: 8px; margin-bottom: 20px; border-bottom: 1px solid var(--c-border); }
.cmty-subtab { padding: 10px 6px; margin-bottom: -1px; text-decoration: none; color: var(--c-text-2); font-weight: 600; font-size: 15px; border-bottom: 2px solid transparent; }
.cmty-subtab:hover { color: var(--c-text); }
.cmty-subtab.is-active { color: #fff; border-bottom-color: var(--c-accent); }

.cmty-ava--lg { width: 56px; height: 56px; font-size: 18px; position: relative; }

/* Card em destaque do leaderboard */
.cmty-lbcard { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: 16px; padding: 22px; margin-bottom: 20px; }
.cmty-lbcard__top { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.cmty-lbcard__lvlnum { position: absolute; bottom: -4px; right: -4px; width: 22px; height: 22px; border-radius: 50%; background: var(--c-accent); color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; border: 2px solid var(--c-surface); }
.cmty-lbcard__id { flex: 1; min-width: 160px; }
.cmty-lbcard__name { margin: 0; font-size: 24px; color: #fff; font-weight: 800; }
.cmty-lbcard__pts { margin: 2px 0 0; color: var(--c-text-2); font-size: 14px; }
.cmty-lbcard__lvl { text-align: right; display: flex; flex-direction: column; gap: 4px; align-items: flex-end; }
.cmty-lbcard__badge { background: color-mix(in srgb, var(--c-accent) 20%, transparent); color: var(--c-accent-2); border: 1px solid color-mix(in srgb, var(--c-accent) 40%, transparent); border-radius: 999px; padding: 5px 12px; font-weight: 700; font-size: 13px; }
.cmty-lbcard__next { color: var(--c-muted); font-size: 12.5px; }
.cmty-lbcard__progress { height: 8px; background: var(--c-surface-2); border-radius: 999px; margin: 16px 0; overflow: hidden; }
.cmty-lbcard__progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--c-accent), var(--c-accent-2)); }

.cmty-levels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.cmty-level { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 10px; }
.cmty-level__mark { width: 30px; height: 30px; flex: none; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 13px; background: var(--c-surface-2); color: var(--c-muted); border: 1px solid var(--c-border); }
.cmty-level__info { display: flex; flex-direction: column; min-width: 0; }
.cmty-level__name { color: var(--c-text); font-weight: 600; font-size: 13.5px; }
.cmty-level__min { color: var(--c-muted); font-size: 12px; }
.cmty-level--current .cmty-level__mark { background: var(--c-accent); color: #fff; border-color: var(--c-accent); }
.cmty-level--current .cmty-level__name { color: #fff; }
.cmty-level--done .cmty-level__mark { background: color-mix(in srgb, var(--c-accent) 22%, transparent); color: var(--c-accent-2); border-color: transparent; }
.cmty-level--locked { opacity: .6; }

.cmty-lbbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.cmty-lbbar__help { color: var(--c-text-2); font-size: 13px; text-decoration: none; }
.cmty-lbbar__help:hover { color: var(--c-accent-2); }

.cmty-ranklist { list-style: none; margin: 0 0 18px; padding: 0; }
.cmty-ranklist__row { display: flex; align-items: center; gap: 14px; padding: 12px 8px; border-bottom: 1px solid var(--c-border); }
.cmty-ranklist__pos { width: 28px; text-align: center; font-weight: 800; font-size: 15px; color: var(--c-text-2); flex: none; }
.cmty-ranklist__pos.is-top { color: var(--c-accent-2); }
.cmty-ranklist__who { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.cmty-ranklist__name { color: #fff; font-weight: 600; font-size: 14.5px; text-decoration: none; }
.cmty-ranklist__name:hover { color: var(--c-accent-2); }
.cmty-ranklist__sub { color: var(--c-muted); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60ch; }
.cmty-ranklist__pts { color: var(--c-success, #12B76A); font-weight: 800; font-size: 15px; white-space: nowrap; }

/* Membros */
.cmty-members__count { color: var(--c-text-2); font-size: 14px; margin: 0 0 14px; }
.cmty-members__search { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; position: relative; }
.cmty-members__lupa { position: absolute; left: 14px; color: var(--c-muted); display: inline-flex; pointer-events: none; }
.cmty-members__search input[type="search"] { flex: 1; background: var(--c-surface); border: 1px solid var(--c-border); color: var(--c-text); border-radius: 10px; padding: 11px 14px 11px 40px; font: inherit; font-size: 14px; outline: none; }
.cmty-members__search input:focus { border-color: var(--c-accent); }
.cmty-members__vt { width: 38px; height: 38px; flex: none; display: grid; place-items: center; text-decoration: none; background: var(--c-surface-2); border: 1px solid var(--c-border); color: var(--c-text-2); border-radius: 9px; font-size: 15px; }
.cmty-members__vt.is-active { background: var(--c-accent); border-color: var(--c-accent); color: #fff; }

.cmty-members--grade { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.cmty-members--lista { display: flex; flex-direction: column; gap: 8px; }
.cmty-memcard { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.cmty-members--lista .cmty-memcard { flex-direction: row; align-items: center; justify-content: space-between; padding: 10px 16px; }
.cmty-memcard__top { display: flex; gap: 12px; align-items: center; min-width: 0; }
.cmty-memcard__id { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.cmty-memcard__name { color: #fff; font-weight: 700; font-size: 15px; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
a.cmty-memcard__name:hover { color: var(--c-accent-2); }
.cmty-memcard__lvl { align-self: flex-start; background: color-mix(in srgb, var(--c-accent) 18%, transparent); color: var(--c-accent-2); border-radius: 999px; padding: 1px 9px; font-size: 11px; font-weight: 700; }
.cmty-memcard__tag { color: var(--c-muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cmty-memcard__foot { display: flex; flex-direction: column; gap: 6px; border-top: 1px solid var(--c-border); padding-top: 12px; }
.cmty-members--lista .cmty-memcard__foot { border: 0; padding: 0; flex-direction: row; align-items: center; gap: 14px; }
.cmty-memcard__meta { display: inline-flex; align-items: center; gap: 6px; color: var(--c-text-2); font-size: 12.5px; }
.cmty-memcard__dm { align-self: flex-start; padding: 6px 12px; font-size: 13px; }
.cmty-members--lista .cmty-memcard__dm { align-self: center; }

@media (max-width: 720px) {
    .cmty-levels { grid-template-columns: repeat(2, 1fr); }
    .cmty-lbcard__lvl { text-align: left; align-items: flex-start; }
}

/* ==========================================================================
   Calendário de eventos
   ========================================================================== */
.cmty-viewtoggle { display: flex; justify-content: flex-end; gap: 6px; margin-bottom: 14px; }
.cmty-viewtoggle__btn {
    display: inline-flex; align-items: center; gap: 6px; text-decoration: none;
    background: var(--c-surface-2); border: 1px solid var(--c-border); color: var(--c-text-2);
    border-radius: 9px; padding: 7px 12px; font-size: 13px; font-weight: 600;
}
.cmty-viewtoggle__btn:hover { color: var(--c-text); }
.cmty-viewtoggle__btn.is-active { background: var(--c-accent); border-color: var(--c-accent); color: #fff; }

.cmty-cal { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: 14px; overflow: hidden; }
.cmty-cal__bar { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--c-border); }
.cmty-cal__month { color: #fff; font-size: 16px; }
.cmty-cal__nav { display: flex; align-items: center; gap: 6px; }
.cmty-cal__today { text-decoration: none; color: var(--c-text-2); border: 1px solid var(--c-border); border-radius: 999px; padding: 5px 14px; font-size: 13px; font-weight: 600; }
.cmty-cal__today:hover { color: var(--c-text); background: var(--c-surface-2); }
.cmty-cal__arrow { text-decoration: none; color: var(--c-text-2); width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; font-size: 18px; }
.cmty-cal__arrow:hover { color: var(--c-text); background: var(--c-surface-2); }

.cmty-cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.cmty-cal__dow { padding: 8px 10px; font-size: 11px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; color: var(--c-muted); border-bottom: 1px solid var(--c-border); }
.cmty-cal__cell { min-height: 108px; border-right: 1px solid var(--c-border); border-bottom: 1px solid var(--c-border); padding: 6px; display: flex; flex-direction: column; gap: 4px; }
.cmty-cal__cell:nth-child(7n) { border-right: 0; }
.cmty-cal__cell.is-empty { background: color-mix(in srgb, var(--c-bg) 50%, transparent); }
.cmty-cal__num { font-size: 12.5px; color: var(--c-text-2); font-weight: 600; align-self: flex-start; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; }
.cmty-cal__cell.is-today .cmty-cal__num { background: var(--c-accent); color: #fff; }
.cmty-cal__events { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cmty-cal__ev {
    display: flex; align-items: baseline; gap: 5px; text-decoration: none;
    background: color-mix(in srgb, var(--c-accent) 16%, transparent);
    border-left: 2px solid var(--c-accent); border-radius: 5px; padding: 3px 6px; min-width: 0;
}
.cmty-cal__ev:hover { background: color-mix(in srgb, var(--c-accent) 28%, transparent); }
.cmty-cal__t { font-size: 10.5px; color: var(--c-accent-2); font-weight: 700; flex: none; }
.cmty-cal__name { font-size: 11.5px; color: var(--c-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cmty-cal__more { font-size: 11px; color: var(--c-text-2); text-decoration: none; padding: 1px 4px; }
.cmty-cal__more:hover { color: var(--c-accent-2); }

@media (max-width: 680px) {
    .cmty-cal__cell { min-height: 72px; }
    .cmty-cal__dow { font-size: 9px; padding: 6px 4px; }
    .cmty-cal__name { display: none; }
    .cmty-cal__ev { justify-content: center; padding: 3px; }
    .cmty-cal__t { font-size: 9.5px; }
}

/* ==========================================================================
   Chat
   ========================================================================== */
.cmty-iconbtn--rel { position: relative; }
.cmty-iconbtn__dot { position: absolute; top: 6px; right: 7px; width: 8px; height: 8px; border-radius: 50%; background: var(--c-accent); border: 2px solid var(--c-bg); }

.cmty-chat {
    display: grid; grid-template-columns: 300px 1fr; gap: 0;
    height: calc(100vh - var(--c-top-h) - 44px); min-height: 520px;
    background: var(--c-surface); border: 1px solid var(--c-border); border-radius: 14px; overflow: hidden;
}
.cmty-chat__list { border-right: 1px solid var(--c-border); display: flex; flex-direction: column; min-height: 0; }
.cmty-chat__listhead { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--c-border); }
.cmty-chat__listhead .cmty-h1 { font-size: 18px; }
.cmty-chat__new { position: relative; }
.cmty-chat__newbox { position: absolute; right: 0; top: calc(100% + 6px); z-index: 20; width: 260px; background: var(--c-surface-2); border: 1px solid var(--c-border-2); border-radius: 12px; padding: 10px; box-shadow: 0 16px 40px rgba(0,0,0,.5); }
.cmty-chat__newbox input { width: 100%; background: var(--c-bg); border: 1px solid var(--c-border); color: var(--c-text); border-radius: 9px; padding: 9px 11px; font: inherit; font-size: 13.5px; outline: none; }
.cmty-chat__newbox input:focus { border-color: var(--c-accent); }

.cmty-conv { list-style: none; margin: 0; padding: 6px; overflow-y: auto; flex: 1; min-height: 0; }
.cmty-conv__item { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; text-decoration: none; }
.cmty-conv__item:hover { background: var(--c-surface-2); }
.cmty-conv__item.is-active { background: color-mix(in srgb, var(--c-accent) 16%, transparent); }
.cmty-conv__body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.cmty-conv__title { color: var(--c-text); font-weight: 600; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cmty-conv__last { color: var(--c-muted); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.cmty-chat__thread { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.cmty-chat__head { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--c-border); }
.cmty-chat__back { display: none; text-decoration: none; color: var(--c-text-2); font-size: 22px; line-height: 1; }
.cmty-chat__title { color: #fff; font-weight: 700; font-size: 15px; text-decoration: none; display: block; }
a.cmty-chat__title:hover { color: var(--c-accent-2); }
.cmty-chat__sub { color: var(--c-muted); font-size: 12px; }

.cmty-chat__messages { flex: 1; min-height: 0; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.cmty-msg { display: flex; align-items: flex-end; gap: 8px; max-width: 78%; }
.cmty-msg--mine { align-self: flex-end; flex-direction: row-reverse; }
.cmty-msg__bubble { background: var(--c-surface-2); border: 1px solid var(--c-border); border-radius: 14px; padding: 8px 12px; min-width: 0; }
.cmty-msg--mine .cmty-msg__bubble { background: color-mix(in srgb, var(--c-accent) 22%, var(--c-surface-2)); border-color: transparent; }
.cmty-msg__author { display: block; font-size: 11.5px; font-weight: 700; color: var(--c-accent-2); margin-bottom: 2px; }
.cmty-msg__text { color: var(--c-text); font-size: 14px; line-height: 1.45; overflow-wrap: anywhere; }
.cmty-msg__time { display: block; text-align: right; font-size: 10.5px; color: var(--c-muted); margin-top: 2px; }

.cmty-chat__composer { display: flex; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--c-border); }
.cmty-chat__composer input { flex: 1; background: var(--c-surface-2); border: 1px solid var(--c-border); color: var(--c-text); border-radius: 999px; padding: 10px 16px; font: inherit; font-size: 14px; outline: none; }
.cmty-chat__composer input:focus { border-color: var(--c-accent); }

@media (max-width: 760px) {
    .cmty-chat { grid-template-columns: 1fr; height: calc(100vh - var(--c-top-h) - 40px); }
    .cmty-chat__thread { display: none; }
    .cmty-chat.has-active .cmty-chat__list { display: none; }
    .cmty-chat.has-active .cmty-chat__thread { display: flex; }
    .cmty-chat__back { display: block; }
}

/* ==========================================================================
   Chat rico — 3 colunas, mensagens estilo feed, Detalhes online/offline
   ========================================================================== */
.cmty-chat.has-details { grid-template-columns: 290px minmax(0, 1fr) 280px; }

.cmty-chat__headico { font-size: 20px; }
.cmty-chat__headid { display: flex; flex-direction: column; }

/* Mensagens (estilo feed/Slack) */
.cmty-chat__messages { padding: 12px 0; }
.cmty-m { display: flex; gap: 10px; padding: 2px 16px; position: relative; }
.cmty-m:hover { background: rgba(255,255,255,.025); }
.cmty-m__gutter { width: 36px; flex: none; display: flex; justify-content: center; padding-top: 2px; }
.cmty-m__main { flex: 1; min-width: 0; }
.cmty-m__head { display: flex; align-items: baseline; gap: 8px; margin-bottom: 1px; }
.cmty-m__author { color: #fff; font-weight: 700; font-size: 14px; text-decoration: none; }
a.cmty-m__author:hover { color: var(--c-accent-2); }
.cmty-m__admin { background: color-mix(in srgb, var(--c-accent) 22%, transparent); color: var(--c-accent-2); font-size: 10px; font-weight: 700; border-radius: 4px; padding: 1px 6px; }
.cmty-m__time { color: var(--c-muted); font-size: 11px; }
.cmty-m__text { color: var(--c-text); font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.cmty-m__imglink { display: inline-block; margin-top: 4px; }
.cmty-m__img { max-width: 280px; max-height: 240px; border-radius: 10px; border: 1px solid var(--c-border); display: block; }
.cmty-m__react { margin-top: 3px; min-height: 4px; }
.cmty-react { background: var(--c-surface-2); border: 1px solid var(--c-border); color: var(--c-text-2); border-radius: 999px; padding: 1px 9px; font-size: 12px; cursor: pointer; display: inline-flex; gap: 4px; align-items: center; opacity: 0; transition: opacity .12s; }
.cmty-m:hover .cmty-react, .cmty-m__react.has-reacts .cmty-react { opacity: 1; }
.cmty-react.is-on { background: color-mix(in srgb, var(--c-danger) 20%, transparent); border-color: transparent; color: var(--c-danger); }
.cmty-react span:empty { display: none; }

/* Composer com toolbar */
.cmty-chat__composer { position: relative; display: block; border-top: 1px solid var(--c-border); padding: 12px 16px 4px; }
.cmty-composer2 { border: 1px solid var(--c-border); border-radius: 14px; background: var(--c-surface-2); padding: 8px 10px; }
.cmty-composer2:focus-within { border-color: var(--c-accent); }
.cmty-composer2__input { width: 100%; background: none; border: 0; color: var(--c-text); font: inherit; font-size: 14px; outline: none; padding: 4px 2px; }
.cmty-composer2__input::placeholder { color: var(--c-muted); }
.cmty-composer2__preview { font-size: 12px; color: var(--c-text-2); padding: 4px 2px; }
.cmty-composer2__preview button { background: none; border: 0; color: var(--c-danger); cursor: pointer; font-size: 15px; margin-left: 4px; }
.cmty-composer2__bar { display: flex; align-items: center; gap: 4px; margin-top: 4px; }
.cmty-ctool { background: none; border: 0; color: var(--c-text-2); cursor: pointer; width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; font-size: 15px; }
.cmty-ctool:hover { background: var(--c-surface); color: var(--c-text); }
.cmty-ctool--send { margin-left: auto; background: var(--c-accent); color: #fff; }
.cmty-ctool--send:hover { filter: brightness(1.12); }
.cmty-chat__sending { color: var(--c-muted); font-size: 12px; padding: 4px 16px 10px; }
.cmty-emojipanel { position: absolute; bottom: 72px; right: 16px; background: var(--c-surface-2); border: 1px solid var(--c-border-2); border-radius: 12px; padding: 8px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 2px; box-shadow: 0 16px 40px rgba(0,0,0,.5); z-index: 30; }
.cmty-emojipanel button { background: none; border: 0; font-size: 20px; cursor: pointer; border-radius: 6px; padding: 4px; }
.cmty-emojipanel button:hover { background: var(--c-surface); }

/* Painel Detalhes */
.cmty-chat__details { border-left: 1px solid var(--c-border); display: flex; flex-direction: column; min-height: 0; overflow-y: auto; }
.cmty-chat__dhead { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--c-border); font-weight: 700; color: #fff; }
.cmty-chat__dcount { color: var(--c-text-2); font-weight: 600; font-size: 13px; display: inline-flex; align-items: center; gap: 5px; }
.cmty-pgroup { padding: 12px 16px 4px; }
.cmty-pgroup__t { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; color: var(--c-text-2); display: inline-flex; align-items: center; gap: 7px; }
.cmty-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c-muted); display: inline-block; flex: none; }
.cmty-dot--on { background: #2ecc71; }
.cmty-plist { list-style: none; margin: 0 0 6px; padding: 0; }
.cmty-prow { display: flex; align-items: center; gap: 10px; padding: 6px 16px; }
.cmty-prow__n { color: var(--c-text); font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cmty-prow--off { opacity: .5; }

@media (max-width: 1040px) {
    .cmty-chat.has-details { grid-template-columns: 290px minmax(0, 1fr); }
    .cmty-chat__details { display: none; }
}
@media (max-width: 760px) {
    .cmty-chat.has-details { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Acento verde — texto escuro sobre fundos de acento (contraste) + botões
   ========================================================================== */
.cmty-brand__mark,
.cmty-avatar,
.cmty-badge,
.cmty-tab.is-active,
.cmty-lbcard__lvlnum,
.cmty-level--current .cmty-level__mark,
.cmty-members__vt.is-active,
.cmty-viewtoggle__btn.is-active,
.cmty-cal__cell.is-today .cmty-cal__num,
.cmty-ctool--send { color: var(--c-on-accent); }

.cmty-body .btn--primary { background: var(--c-accent); border-color: var(--c-accent); color: var(--c-on-accent); }
.cmty-body .btn--primary:hover { filter: brightness(1.08); background: var(--c-accent); border-color: var(--c-accent); }

/* Ícones de espaço/grupo monocromáticos */
.cmty-ico { display: inline-flex; align-items: center; justify-content: center; color: var(--c-text-2); }
.cmty-space.is-active .cmty-ico, .cmty-side__home.is-active .cmty-ico { color: inherit; }

/* Ícones dentro de avatares/badges de espaço */
.cmty-ico svg { display: block; }
.cmty-ava--ico { background: var(--c-surface-2) !important; border: 1px solid var(--c-border); }
.cmty-ava--ico .cmty-ico { color: var(--c-text-2); }
.cmty-group__emoji { display: inline-flex; }

/* ==========================================================================
   Modal de perfil de membro
   ========================================================================== */
.cmty-clickable { cursor: pointer; }
.cmty-prow[data-cmty-profile] { cursor: pointer; border-radius: 8px; }
.cmty-prow[data-cmty-profile]:hover { background: var(--c-surface-2); }
.cmty-m__author.cmty-clickable:hover { color: var(--c-accent-2); }

.cmty-modal { position: fixed; inset: 0; z-index: 120; display: flex; align-items: center; justify-content: center; padding: 20px; }
.cmty-modal[hidden] { display: none; }
.cmty-modal__scrim { position: absolute; inset: 0; background: rgba(0,0,0,.6); backdrop-filter: blur(2px); }
.cmty-modal__box { position: relative; width: min(860px, 96vw); max-height: 88vh; display: flex; flex-direction: column; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: 18px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.cmty-modal__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 22px; border-bottom: 1px solid var(--c-border); font-size: 18px; font-weight: 700; color: #fff; }
.cmty-modal__x { background: none; border: 0; color: var(--c-text-2); font-size: 26px; line-height: 1; cursor: pointer; }
.cmty-modal__x:hover { color: var(--c-text); }
.cmty-modal__body { overflow-y: auto; }

.cmty-pm { display: grid; grid-template-columns: 280px 1fr; }
.cmty-pm__left { padding: 28px 22px; text-align: center; border-right: 1px solid var(--c-border); display: flex; flex-direction: column; align-items: center; gap: 6px; }
.cmty-pm__ava { width: 104px; height: 104px; font-size: 34px; position: relative; margin-bottom: 10px; }
.cmty-pm__lvlnum { position: absolute; bottom: 2px; right: 2px; width: 28px; height: 28px; border-radius: 50%; background: var(--c-accent); color: var(--c-on-accent); font-weight: 800; font-size: 13px; display: grid; place-items: center; border: 3px solid var(--c-surface); }
.cmty-pm__name { margin: 4px 0 0; font-size: 22px; color: #fff; font-weight: 800; }
.cmty-pm__since { color: var(--c-text-2); font-size: 13px; margin: 0 0 14px; }
.cmty-pm__dm { width: 100%; justify-content: center; }
.cmty-pm__full { color: var(--c-text-2); font-size: 13px; text-decoration: none; margin-top: 10px; }
.cmty-pm__full:hover { color: var(--c-accent-2); }

.cmty-pm__right { padding: 22px; min-width: 0; }
.cmty-pm__tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.cmty-pm__tab { background: var(--c-surface-2); border: 1px solid var(--c-border); color: var(--c-text-2); border-radius: 999px; padding: 7px 16px; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.cmty-pm__tab b { color: var(--c-text); font-weight: 700; }
.cmty-pm__tab.is-active { background: color-mix(in srgb, var(--c-accent) 18%, transparent); border-color: color-mix(in srgb, var(--c-accent) 40%, transparent); color: #fff; }
.cmty-pm__field { padding: 12px 0; border-bottom: 1px solid var(--c-border); }
.cmty-pm__flabel { display: block; color: #fff; font-weight: 700; font-size: 14px; margin-bottom: 4px; }
.cmty-pm__fval { color: var(--c-text-2); font-size: 14px; overflow-wrap: anywhere; }
.cmty-pm__fval a { color: var(--c-accent-2); text-decoration: none; }
.cmty-pm__item { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border: 1px solid var(--c-border); border-radius: 10px; margin-bottom: 8px; text-decoration: none; }
.cmty-pm__item:hover { background: var(--c-surface-2); }
.cmty-pm__item span { color: var(--c-text); font-size: 14px; }
.cmty-pm__item small { color: var(--c-muted); font-size: 12px; }
.cmty-pm__empty, .cmty-pm__loading { color: var(--c-text-2); font-size: 14px; padding: 10px 0; }
.cmty-pm__reward { text-align: center; padding: 10px 0; }
.cmty-pm__rpts { color: var(--c-text-2); font-size: 14px; margin: 12px 0; }

@media (max-width: 680px) {
    .cmty-pm { grid-template-columns: 1fr; }
    .cmty-pm__left { border-right: 0; border-bottom: 1px solid var(--c-border); }
}

/* Publicações em alta (rail) */
.cmty-trends { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.cmty-trend { display: flex; gap: 10px; align-items: flex-start; text-decoration: none; }
.cmty-trend:hover .cmty-trend__author { color: var(--c-accent-2); }
.cmty-trend__body { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.cmty-trend__author { color: var(--c-text); font-weight: 600; font-size: 13.5px; }
.cmty-trend__text { color: var(--c-text-2); font-size: 12.5px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ==========================================================================
   Card de boas-vindas / regras (topo do feed)
   ========================================================================== */
.cmty-welcome { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: 16px; overflow: hidden; margin-bottom: 20px; }
.cmty-welcome__banner { height: 170px; position: relative; display: grid; place-items: center; overflow: hidden; }
.cmty-welcome__banner img { width: 100%; height: 100%; object-fit: cover; }
.cmty-welcome__banner--default { background: linear-gradient(135deg, #0d3b23, var(--c-accent) 62%, #0a2e1b); }
.cmty-welcome__banner--default::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(0,0,0,.18) 1px, transparent 1px); background-size: 14px 14px; }
.cmty-welcome__wordmark { position: relative; font-size: 46px; font-weight: 800; letter-spacing: 3px; color: #fff; text-transform: uppercase; text-shadow: 0 2px 24px rgba(0,0,0,.45); }
.cmty-welcome__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px 4px; }
.cmty-welcome__title { margin: 0; font-size: 20px; font-weight: 800; color: #fff; }
.cmty-welcome__toggle { background: none; border: 0; color: var(--c-text-2); cursor: pointer; width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; flex: none; transform: rotate(-90deg); transition: transform .2s, background .15s; }
.cmty-welcome__toggle:hover { background: var(--c-surface-2); color: var(--c-text); }
.cmty-welcome.is-collapsed .cmty-welcome__toggle { transform: rotate(90deg); }
.cmty-welcome.is-collapsed .cmty-welcome__content { display: none; }
.cmty-welcome__content { padding: 6px 20px 22px; color: var(--c-text); font-size: 14.5px; line-height: 1.6; }
.cmty-welcome__content p { margin: 0 0 12px; }
.cmty-welcome__sec { margin: 18px 0 8px; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--c-accent-2); }
.cmty-welcome__list { margin: 0 0 12px; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.cmty-welcome__list li::marker { color: var(--c-accent); }

/* Textarea nos formulários do painel */
.cmty-field textarea {
    width: 100%; background: var(--c-surface-2); border: 1px solid var(--c-border); color: var(--c-text);
    border-radius: 9px; padding: 10px 11px; font: inherit; font-size: 14px; line-height: 1.5; outline: none; resize: vertical; min-height: 120px;
}
.cmty-field textarea:focus { border-color: var(--c-accent); }

/* ==========================================================================
   Criar publicação — barra recolhida + modal
   ========================================================================== */
.cmty-newbar { display: flex; align-items: center; gap: 12px; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: 14px; padding: 12px 16px; margin-bottom: 20px; cursor: pointer; }
.cmty-newbar:hover { border-color: var(--c-border-2); }
.cmty-newbar__ph { flex: 1; color: var(--c-muted); font-size: 14.5px; }
.cmty-newbar__plus { width: 34px; height: 34px; border-radius: 50%; background: var(--c-surface-2); border: 1px solid var(--c-border); display: grid; place-items: center; color: var(--c-text-2); flex: none; }

.cmty-cmodal { position: fixed; inset: 0; z-index: 130; display: flex; align-items: center; justify-content: center; padding: 20px; }
.cmty-cmodal[hidden] { display: none; }
.cmty-cmodal__scrim { position: absolute; inset: 0; background: rgba(0,0,0,.6); backdrop-filter: blur(2px); }
.cmty-cmodal__box { position: relative; width: min(680px, 96vw); max-height: 86vh; display: flex; flex-direction: column; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: 16px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.cmty-cmodal.is-full .cmty-cmodal__box { width: min(1000px, 98vw); height: 92vh; max-height: 92vh; }
.cmty-cmodal__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--c-border); }
.cmty-cmodal__title { font-size: 18px; font-weight: 700; color: #fff; }
.cmty-cmodal__acts { display: flex; gap: 4px; }
.cmty-cform { display: flex; flex-direction: column; min-height: 0; flex: 1; }
.cmty-cform__title { background: none; border: 0; color: #fff; font-size: 22px; font-weight: 700; padding: 18px 20px 4px; outline: none; }
.cmty-cform__title::placeholder { color: var(--c-muted); }
.cmty-cform__body { flex: 1; min-height: 160px; background: none; border: 0; color: var(--c-text); font: inherit; font-size: 15px; line-height: 1.6; padding: 6px 20px; outline: none; resize: none; }
.cmty-cform__body::placeholder { color: var(--c-muted); }
.cmty-cform__preview { padding: 4px 20px; color: var(--c-text-2); font-size: 12.5px; }
.cmty-cform__preview button { background: none; border: 0; color: var(--c-danger); cursor: pointer; font-size: 15px; margin-left: 4px; }
.cmty-cform__bar { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; border-top: 1px solid var(--c-border); flex-wrap: wrap; }
.cmty-cform__tools { display: flex; align-items: center; gap: 2px; }
.cmty-cform__send { display: flex; align-items: center; gap: 10px; }
.cmty-cform__space { background: var(--c-surface-2); border: 1px solid var(--c-border); color: var(--c-text); border-radius: 9px; padding: 8px 10px; font: inherit; font-size: 13.5px; outline: none; max-width: 190px; }
.cmty-cform__space:focus { border-color: var(--c-accent); }
.cmty-ctool--b, .cmty-ctool--i { font-size: 15px; }

/* Imagem na publicação */
.cmty-post__imglink { display: inline-block; margin-top: 10px; }
.cmty-post__img { max-width: 100%; max-height: 420px; border-radius: 12px; border: 1px solid var(--c-border); display: block; }

/* Composer — painéis de mídia, enquete, menu "+" */
.cmty-cpanel { padding: 4px 20px 2px; }
.cmty-cpanel input { width: 100%; background: var(--c-surface-2); border: 1px solid var(--c-border); color: var(--c-text); border-radius: 9px; padding: 9px 11px; font: inherit; font-size: 14px; outline: none; }
.cmty-cpanel input:focus { border-color: var(--c-accent); }
.cmty-cpanel [data-cmty-poll-options] { display: flex; flex-direction: column; gap: 8px; }
.cmty-poll-add { background: none; border: 0; color: var(--c-accent-2); cursor: pointer; font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; padding: 0; }
.cmty-ctool--gif { font-size: 11px; font-weight: 800; border: 1px solid var(--c-border); border-radius: 5px; width: auto; min-width: 34px; padding: 0 6px; }
.cmty-addmenu { position: absolute; bottom: 52px; left: 12px; background: var(--c-surface-2); border: 1px solid var(--c-border-2); border-radius: 12px; padding: 6px; box-shadow: 0 16px 40px rgba(0,0,0,.5); z-index: 30; display: flex; flex-direction: column; min-width: 170px; }
.cmty-addmenu button { background: none; border: 0; text-align: left; color: var(--c-text); font-size: 14px; padding: 8px 10px; border-radius: 8px; cursor: pointer; }
.cmty-addmenu button:hover { background: var(--c-bg); }

/* Enquete no post */
.cmty-poll { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.cmty-poll__voteform { margin: 0; }
.cmty-poll__vote { width: 100%; text-align: left; background: var(--c-surface-2); border: 1px solid var(--c-border); color: var(--c-text); border-radius: 10px; padding: 11px 14px; font: inherit; font-size: 14px; cursor: pointer; }
.cmty-poll__vote:hover { border-color: var(--c-accent); }
.cmty-poll__row { position: relative; overflow: hidden; border: 1px solid var(--c-border); border-radius: 10px; padding: 11px 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cmty-poll__row.is-mine { border-color: var(--c-accent); }
.cmty-poll__fill { position: absolute; left: 0; top: 0; bottom: 0; background: color-mix(in srgb, var(--c-accent) 20%, transparent); z-index: 0; }
.cmty-poll__label, .cmty-poll__pct { position: relative; z-index: 1; color: var(--c-text); font-size: 14px; }
.cmty-poll__pct { font-weight: 700; color: #fff; }
.cmty-poll__total { color: var(--c-muted); font-size: 12.5px; margin: 2px 0 0; }

/* Arquivo + vídeo no post */
.cmty-post__file { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; background: var(--c-surface-2); border: 1px solid var(--c-border); border-radius: 10px; padding: 9px 14px; color: var(--c-text); text-decoration: none; font-size: 13.5px; }
.cmty-post__file:hover { border-color: var(--c-accent); }
.cmty-embed { position: relative; width: 100%; aspect-ratio: 16/9; margin-top: 10px; border-radius: 12px; overflow: hidden; border: 1px solid var(--c-border); }
.cmty-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.cmty-post__video { max-width: 100%; max-height: 420px; border-radius: 12px; margin-top: 10px; display: block; }
.cmty-embed-link { display: inline-block; margin-top: 10px; color: var(--c-accent-2); word-break: break-all; }

/* ==========================================================================
   Dropdowns do topo (notificações, perfil)
   ========================================================================== */
.cmty-dd { position: relative; }
.cmty-dd > summary { list-style: none; cursor: pointer; }
.cmty-dd > summary::-webkit-details-marker { display: none; }
.cmty-dd__panel { position: absolute; top: calc(100% + 8px); right: 0; z-index: 60; min-width: 230px; background: var(--c-surface); border: 1px solid var(--c-border-2); border-radius: 14px; padding: 6px; box-shadow: 0 20px 50px rgba(0,0,0,.55); }
.cmty-dd__panel--wide { width: 360px; max-width: 92vw; padding: 0; overflow: hidden; }
.cmty-dd__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--c-border); font-weight: 700; color: #fff; }
.cmty-dd__mark { background: none; border: 0; color: var(--c-accent-2); font-size: 12.5px; font-weight: 600; cursor: pointer; }
.cmty-dd__empty { padding: 22px 16px; color: var(--c-text-2); font-size: 14px; text-align: center; }
.cmty-notiflist { list-style: none; margin: 0; padding: 0; max-height: 62vh; overflow-y: auto; }
.cmty-notifitem { display: flex; gap: 12px; padding: 12px 16px; text-decoration: none; border-bottom: 1px solid var(--c-border); }
.cmty-notifitem:hover { background: var(--c-surface-2); }
.cmty-notifitem.is-unread { background: color-mix(in srgb, var(--c-accent) 8%, transparent); }
.cmty-notifitem__ico { width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--c-surface-2); display: grid; place-items: center; color: var(--c-text-2); }
.cmty-notifitem__body { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.cmty-notifitem__title { color: var(--c-text); font-size: 13.5px; line-height: 1.4; }
.cmty-notifitem__text { color: var(--c-text-2); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cmty-notifitem__time { color: var(--c-muted); font-size: 11.5px; }
.cmty-dd__all { display: block; text-align: center; padding: 12px; color: var(--c-accent-2); text-decoration: none; font-size: 13px; font-weight: 600; }
.cmty-dd__all:hover { background: var(--c-surface-2); }
/* Menu de perfil */
.cmty-dd__name { padding: 10px 12px 6px; color: #fff; font-weight: 700; font-size: 14px; }
.cmty-dd__divider { height: 1px; background: var(--c-border); margin: 4px 0; }
.cmty-dd--right .cmty-dd__panel a, .cmty-dd__logout { display: flex; align-items: center; gap: 10px; padding: 9px 12px; color: var(--c-text); text-decoration: none; font-size: 14px; border-radius: 9px; }
.cmty-dd--right .cmty-dd__panel a:hover, .cmty-dd__logout:hover { background: var(--c-surface-2); }
.cmty-dd__logout { width: 100%; background: none; border: 0; cursor: pointer; font: inherit; color: var(--c-danger); }
.cmty-dd__logout svg { transform: rotate(180deg); }

/* ==========================================================================
   Modal de detalhes do evento
   ========================================================================== */
.cmty-modal__box--event { width: min(640px, 96vw); }
.cmty-ev__banner { position: relative; height: 200px; display: flex; align-items: flex-end; padding: 22px; overflow: hidden; background: linear-gradient(135deg, #0a2e1b, #14171d 72%); }
.cmty-ev__banner::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px); background-size: 14px 14px; }
.cmty-ev__bgtitle { position: relative; z-index: 1; font-size: 34px; font-weight: 800; color: var(--c-accent); line-height: 1.05; max-width: 72%; }
.cmty-ev__ava { position: absolute; right: 22px; bottom: 22px; width: 54px; height: 54px; border: 2px solid var(--c-accent); z-index: 1; }
.cmty-ev__title { margin: 18px 22px 10px; font-size: 24px; font-weight: 800; color: #fff; }
.cmty-ev__info { padding: 0 22px; display: flex; flex-direction: column; gap: 10px; }
.cmty-ev__row { display: flex; align-items: center; gap: 12px; color: var(--c-text-2); font-size: 14.5px; }
.cmty-ev__row svg { color: var(--c-accent); flex: none; }
.cmty-ev__row a { color: var(--c-accent-2); text-decoration: none; }
.cmty-ev__desc { padding: 0 22px; margin: 14px 0 0; color: var(--c-text-2); font-size: 14px; line-height: 1.5; }
.cmty-ev__count { display: inline-flex; align-items: center; gap: 6px; margin: 16px 22px 0; background: var(--c-surface-2); border: 1px solid var(--c-border); border-radius: 999px; padding: 7px 14px; color: var(--c-text); font-size: 13px; font-weight: 600; }
.cmty-ev__foot { display: flex; gap: 10px; padding: 18px 22px 22px; }
.cmty-ev__confirm { flex: 1; justify-content: center; font-size: 15px; }
.cmty-body .cmty-ev__confirm.is-on { background: var(--c-surface-2); color: var(--c-accent-2); border: 1px solid var(--c-accent); }
.cmty-ev__ics { width: 48px; flex: none; display: grid; place-items: center; border: 1px solid var(--c-accent); border-radius: 999px; color: var(--c-accent); text-decoration: none; }
.cmty-ev__ics:hover { background: color-mix(in srgb, var(--c-accent) 14%, transparent); }
.cmty-cal__ev { width: 100%; text-align: left; font: inherit; cursor: pointer; }

/* Canal de chat na sidebar (ponto verde) */
.cmty-space__dot { width: 9px; height: 9px; border-radius: 50%; background: #2ecc71; display: inline-block; box-shadow: 0 0 6px rgba(46,204,113,.6); }

/* ==========================================================================
   OLX do DJ (classificados)
   ========================================================================== */
.cmty-olx__sub { color: var(--c-text-2); font-size: 14px; margin: 4px 0 0; }
.cmty-olx__cats { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.cmty-chip { padding: 7px 14px; border-radius: 999px; background: var(--c-surface-2); border: 1px solid var(--c-border); color: var(--c-text-2); text-decoration: none; font-size: 13px; font-weight: 600; }
.cmty-chip:hover { color: var(--c-text); }
.cmty-chip.is-active { background: var(--c-accent); border-color: var(--c-accent); color: var(--c-on-accent); }
.cmty-olx { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.cmty-lcard { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: 14px; overflow: hidden; cursor: pointer; display: flex; flex-direction: column; }
.cmty-lcard:hover { border-color: var(--c-border-2); }
.cmty-lcard__img { position: relative; aspect-ratio: 4/3; background: var(--c-surface-2); display: grid; place-items: center; overflow: hidden; }
.cmty-lcard__img img { width: 100%; height: 100%; object-fit: cover; }
.cmty-lcard__ph { color: var(--c-muted); }
.cmty-lcard__sold { position: absolute; top: 8px; left: 8px; background: var(--c-danger); color: #fff; font-size: 11px; font-weight: 700; border-radius: 6px; padding: 2px 8px; }
.cmty-lcard__body { padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; }
.cmty-lcard__price { color: #fff; font-weight: 800; font-size: 18px; }
.cmty-lcard__title { color: var(--c-text); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cmty-lcard__meta { color: var(--c-muted); font-size: 12.5px; }
.cmty-ldet__img { width: 100%; aspect-ratio: 16/10; background: var(--c-surface-2); overflow: hidden; }
.cmty-ldet__img img { width: 100%; height: 100%; object-fit: contain; }
.cmty-ldet__info { padding: 20px 22px; }
.cmty-ldet__price { color: #fff; font-weight: 800; font-size: 26px; }
.cmty-ldet__title { margin: 6px 0 12px; color: #fff; font-size: 20px; font-weight: 700; }
.cmty-ldet__badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.cmty-ldet__badges span { background: var(--c-surface-2); border: 1px solid var(--c-border); color: var(--c-text-2); border-radius: 999px; padding: 4px 11px; font-size: 12.5px; }
.cmty-ldet__sold { background: var(--c-danger) !important; color: #fff !important; border: 0 !important; font-weight: 700; }
.cmty-ldet__desc { color: var(--c-text); font-size: 14.5px; line-height: 1.6; margin: 0 0 16px; overflow-wrap: anywhere; }
.cmty-ldet__sellerrow { color: var(--c-text-2); font-size: 13px; display: flex; align-items: center; gap: 8px; }
.cmty-ldet__seller { display: inline-flex; align-items: center; gap: 8px; color: var(--c-text); text-decoration: none; font-weight: 600; }
.cmty-ldet__seller:hover { color: var(--c-accent-2); }
.cmty-ldet__foot { display: flex; gap: 10px; padding: 0 22px 22px; }
.cmty-ldet__del { color: var(--c-danger); }
