/* ============================================================
   Bate papo on line (#batepapo; até 14/10/2026 eram salas por comunidade) e topo da página inicial voltado à comunidade.
   Usa só os tokens de css/style.css (vale para os dois layouts: prata e verde).
   ============================================================ */

/* ---------- selo "ao vivo" ---------- */
.ao-vivo { display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 10px; border-radius: var(--r-pill); background: rgb(var(--gain-rgb) / .12); color: var(--gain); font: 700 11px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; flex: none; }
.ao-vivo i { width: 7px; height: 7px; border-radius: 50%; background: var(--gain); box-shadow: 0 0 0 0 rgb(var(--gain-rgb) / .6); }
@media (prefers-reduced-motion: no-preference) {
  .ao-vivo i { animation: pulsoVivo 1.8s ease-out infinite; }
}
@keyframes pulsoVivo { 0% { box-shadow: 0 0 0 0 rgb(var(--gain-rgb) / .55); } 80%, 100% { box-shadow: 0 0 0 8px rgb(var(--gain-rgb) / 0); } }

/* ícone (inicial) da sala */
.sala-ic { width: 40px; height: 40px; border-radius: var(--r-md); display: grid; place-items: center; flex: none; background: var(--surface-3); border: 1px solid var(--line-2); font: 700 17px/1 var(--f-display); color: var(--text); }
[data-layout="novo"] .sala-ic { background: linear-gradient(180deg, #24282C, #15181B); }

/* ---------- topo da página inicial ---------- */
.hero-comunidade .hero-grid { align-items: start; }
/* cartão do Bate papo on line no topo da home: coluna estreita à direita, da altura do texto ao lado (15/10/2026) */
.hero-comunidade .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); align-items: stretch; }
.hero-bp { display: flex; flex-direction: column; }
.hero-bp .bp-hero-lista { gap: 14px; }
.hero-bp .btn-block { margin-top: auto; }
.hero-salas { position: relative; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 20px; box-shadow: 0 30px 80px -40px rgb(0 0 0 / .9); }
.hero-salas-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.hero-salas-head .t { font-family: var(--f-display); font-weight: 700; font-size: 22px; }
.hero-salas-head .s { color: var(--muted); font-size: 13px; }
.hero-salas-lista { display: grid; gap: 8px; }
.hero-sala { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--line); border-radius: var(--r-md); background: rgb(var(--surface-rgb) / .6); transition: border-color .15s ease, background .15s ease; }
.hero-sala:hover, .hero-sala:focus-visible { border-color: var(--line-2); background: var(--surface-3); }
.hero-sala > svg { flex: none; color: var(--muted); }
.hero-sala-txt { flex: 1; min-width: 0; display: grid; gap: 2px; }
.hero-sala-txt b { font-family: var(--f-display); font-size: 16px; }
.hero-sala-txt small { color: var(--muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hero-sala-selos { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.hero-sala-selos .chip, .sala-card-selos .chip { height: 22px; font-size: 11px; padding: 0 8px; }
.hero-sala-selos .chip svg, .sala-card-selos .chip svg { width: 11px; height: 11px; }

.como-entrar { padding-top: 0; }
.passos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.passos li { padding: 22px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); }
.passos .n { font: 700 13px/1 var(--f-mono); color: var(--accent); letter-spacing: .1em; }
.passos h3 { font-size: 18px; margin-block: 12px 8px; }
.passos p { color: var(--muted); font-size: 15px; }
.passos-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

/* ---------- página das salas ---------- */
.salas-pagina { padding-block: 26px 80px; display: grid; gap: 18px; }
.salas-h2 { font-size: 20px; display: flex; align-items: baseline; gap: 10px; margin-top: 6px; }
.salas-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.sala-card { display: flex; flex-direction: column; gap: 10px; padding: 18px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); min-height: 190px; transition: border-color .15s ease, transform .15s ease; }
.sala-card:hover, .sala-card:focus-visible { border-color: var(--line-2); transform: translateY(-2px); }
.sala-card.trava { background: var(--bg-2); }
.sala-card.trava h3, .sala-card.trava p { color: var(--muted); }
.sala-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.sala-card-selos { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.sala-card h3 { font-size: 19px; }
.sala-card p { color: var(--muted); font-size: 14px; }
.sala-card-pe { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding-top: 10px; border-top: 1px solid var(--line); }
.sala-card-pe .note { font-size: 13px; }
.salas-regras h3 { font-size: 16px; margin-bottom: 12px; }

/* ---------- sala (chat) ---------- */
.com-secoes.compacto { margin-top: 10px; }
.sala-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr) 300px; gap: 24px; align-items: start; padding-block: 26px 80px; }
.sala-lista a { padding: 10px 12px; border-radius: 10px; font-weight: 600; color: var(--muted); display: flex; justify-content: space-between; gap: 8px; }
.sala-lista a:hover { color: var(--text); background: var(--surface); }
.sala-lista a[aria-current="page"] { background: var(--surface-2); color: var(--text); box-shadow: inset 2px 0 0 var(--accent); }
.chat { display: flex; flex-direction: column; height: calc(100vh - var(--header-h) - 140px); min-height: 460px; max-height: 860px; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-lg); overflow: hidden; }
.chat-topo { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.chat-topo-txt { flex: 1; min-width: 0; }
.chat-topo h2 { font-size: 20px; margin: 0; }
.chat-topo p { margin: 2px 0 0; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-corpo { position: relative; flex: 1; min-height: 0; display: flex; }
.chat-msgs { flex: 1; overflow-y: auto; padding: 16px 18px 10px; display: flex; flex-direction: column; gap: 2px; overscroll-behavior: contain; scroll-behavior: auto; }
.chat-msgs:focus-visible { outline-offset: -3px; }
.chat-vazio { margin: auto; text-align: center; color: var(--muted); display: grid; gap: 6px; justify-items: center; max-width: 36ch; padding: 30px 10px; }
.chat-vazio b { color: var(--text); font-size: 17px; }
.chat-dia { display: flex; justify-content: center; margin: 14px 0 8px; }
.chat-dia span { font: 700 11px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: var(--surface-3); border: 1px solid var(--line); padding: 6px 10px; border-radius: var(--r-pill); }
.chat-msg { display: flex; align-items: flex-end; gap: 10px; margin-top: 10px; max-width: 82%; }
.chat-msg.junto { margin-top: 3px; padding-left: 50px; }
.chat-msg .avatar { width: 40px; height: 40px; font-size: 13px; }
.chat-bolha { position: relative; min-width: 0; padding: 9px 13px 6px; border-radius: 14px 14px 14px 4px; background: var(--surface-3); }
.chat-msg.junto .chat-bolha { border-radius: 4px 14px 14px 4px; }
.chat-msg.eq .chat-bolha { background: var(--accent-soft); border: 1px solid rgb(var(--accent-rgb) / .22); }
.chat-msg.meu { align-self: flex-end; flex-direction: row-reverse; }
.chat-msg.meu.junto { padding-left: 0; }
.chat-msg.meu .chat-bolha { background: var(--msg-me); border-radius: 14px 14px 4px 14px; }
.chat-msg.meu.junto .chat-bolha { border-radius: 14px 4px 4px 14px; }
.chat-autor { display: flex; align-items: center; gap: 8px; margin-bottom: 2px; }
.chat-autor b { font-size: 13px; color: var(--info); }
.chat-msg.eq .chat-autor b { color: var(--accent); }
.chat-autor .chip { height: 20px; font-size: 10px; padding: 0 7px; }
.chat-txt { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 15px; line-height: 1.5; }
.chat-meta { display: flex; justify-content: flex-end; align-items: center; gap: 6px; margin-top: 2px; }
.chat-meta time { font: 500 11px/1 var(--f-mono); color: var(--faint); }
.chat-del { border: 0; background: none; padding: 2px; width: 22px; height: 22px; display: grid; place-items: center; color: var(--faint); border-radius: 6px; opacity: 0; transition: opacity .15s ease; }
.chat-del svg { width: 13px; height: 13px; }
.chat-msg:hover .chat-del, .chat-del:focus-visible { opacity: 1; }
.chat-del:hover { color: var(--loss); background: var(--loss-soft); }
@media (hover: none) { .chat-del { opacity: .7; } }
.chat-novas { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); border: 1px solid var(--line-2); background: var(--surface-4); color: var(--text); font-weight: 700; font-size: 13px; height: 34px; padding: 0 14px; border-radius: var(--r-pill); box-shadow: 0 10px 30px -10px rgb(0 0 0 / .8); }
.chat-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 10px; align-items: end; padding: 12px 14px 10px; border-top: 1px solid var(--line); background: var(--bg-2); }
.chat-form textarea { resize: none; min-height: 46px; max-height: 160px; padding: 12px 14px; border-radius: var(--r-md); border: 1px solid var(--line-2); background: var(--surface); line-height: 1.45; font-size: 15px; }
.chat-form textarea:focus { outline: none; border-color: var(--accent); }
.chat-enviar { height: 46px; padding: 0 18px; }
.chat-dica { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 10px; color: var(--faint); font-size: 12px; }
.chat-dica .perto { color: var(--warn); }
.chat-so-leitura, .chat .vis-aviso { display: flex; align-items: center; gap: 10px; margin: 0; padding: 14px 18px; border-top: 1px solid var(--line); border-radius: 0; color: var(--muted); font-size: 14px; background: var(--bg-2); }
.chat .vis-aviso { justify-content: space-between; flex-wrap: wrap; border: 0; border-top: 1px solid var(--line); }
.chat-trava { padding: 18px; overflow-y: auto; }
.chat-trava .panel { border: 0; }
.sala-info h3 { font-size: 16px; margin-bottom: 12px; }
.sala-dl { margin: 0 0 14px; display: grid; gap: 10px; }
.sala-dl div { display: grid; gap: 4px; }
.sala-dl dt { font: 700 11px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.sala-dl dd { margin: 0; color: var(--text-2); font-size: 14px; }
.spin-mini { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line-2); border-top-color: var(--accent); animation: giroMini .8s linear infinite; }
@keyframes giroMini { to { transform: rotate(360deg); } }

/* ---------- telas menores ---------- */
@media (max-width: 1180px) {
  .sala-layout { grid-template-columns: 200px minmax(0, 1fr); }
  .sala-info { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); position: static; }
}
@media (max-width: 920px) {
  .passos { grid-template-columns: minmax(0, 1fr); }
  .sala-layout { grid-template-columns: minmax(0, 1fr); gap: 14px; padding-top: 14px; }
  .sala-layout .cat-col { order: 0; }
  .sala-lista { display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 6px; padding-bottom: 4px; position: static; scrollbar-width: none; }
  .sala-lista h4 { display: none; }
  .sala-lista a { background: var(--surface); white-space: nowrap; min-height: 44px; align-items: center; }
  .sala-info { grid-template-columns: minmax(0, 1fr); }
  .chat { height: calc(100dvh - var(--header-h) - 16px); min-height: 420px; }
  .chat-msg { max-width: 92%; }
}
@media (max-width: 560px) {
  .hero-salas { padding: 14px; }
  .chat-topo { padding: 12px 14px; }
  .chat-msgs { padding: 12px 10px 8px; }
  .chat-msg .avatar { width: 32px; height: 32px; font-size: 11px; }
  .chat-msg.junto { padding-left: 42px; }
  .chat-enviar span { display: none; }
  .chat-enviar { width: 46px; padding: 0; }
  .chat-dica span:first-child { display: none; }
  .chat-dica { justify-content: flex-end; }
  .passos-cta .btn { flex: 1 1 100%; }
}

/* admin → Fórum → chat das salas */
.adm-chat { max-height: 560px; overflow-y: auto; display: grid; gap: 2px; }

/* ============================================================
   Bate papo on line (#batepapo): mural com publicação no topo, fotos e reações (14/10/2026)
   ============================================================ */
.bp-hero-lista { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; }
.bp-hero-lista li { display: flex; gap: 10px; align-items: flex-start; color: var(--text-2); font-size: 15px; }
.bp-hero-lista li span { flex: none; width: 22px; text-align: center; }

.bp-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: start; padding-block: 26px 80px; }
.bp-mural { display: grid; gap: 14px; min-width: 0; }
.bp-topo { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.bp-topo h2 { font-size: 24px; margin: 0; }
.bp-topo p { margin: 4px 0 0; font-size: 14px; }

.bp-form { display: grid; gap: 10px; padding: 14px; }
.bp-form textarea { resize: none; width: 100%; min-height: 64px; max-height: 220px; padding: 12px 14px; border-radius: var(--r-md); border: 1px solid var(--line-2); background: var(--bg-2); color: var(--text); line-height: 1.45; font-size: 15px; }
.bp-form textarea:focus { outline: none; border-color: var(--accent); }
.bp-form-pe { display: flex; align-items: center; gap: 10px; }
.bp-cont { margin-left: auto; color: var(--faint); font-size: 12px; }
.bp-cont.perto { color: var(--warn); }
.bp-foto-btn { cursor: pointer; }
.bp-foto-btn:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.bp-form .chat-enviar { height: 40px; padding: 0 20px; min-width: 104px; }
.bp-dica { margin: 0; color: var(--faint); font-size: 12px; }
.bp-previa { position: relative; display: inline-block; max-width: 220px; }
.bp-previa img { display: block; max-width: 100%; max-height: 180px; border-radius: var(--r-md); border: 1px solid var(--line-2); }
.bp-previa-x { position: absolute; top: 6px; right: 6px; width: 30px; height: 30px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgb(0 0 0 / .7); color: #fff; }
.bp-previa-x svg { width: 14px; height: 14px; }
.bp-previa-info { position: absolute; left: 6px; bottom: 6px; font: 600 11px/1 var(--f-mono); padding: 4px 6px; border-radius: 6px; background: rgb(0 0 0 / .7); color: #fff; }
.bp-mural .chat-so-leitura { border: 1px solid var(--line); border-radius: var(--r-lg); }
.bp-mural .vis-aviso { margin: 0; }

.bp-ordem { display: flex; align-items: center; gap: 6px; font-size: 13px; }
.bp-ordem svg { color: var(--accent); }
.bp-lista { display: grid; gap: 12px; }
.bp-lista .chat-vazio { padding: 40px 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); max-width: none; }
.bp-post { padding: 14px 16px 12px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 10px; min-width: 0; }
.bp-post.eq { border-color: rgb(var(--accent-rgb) / .3); background: linear-gradient(180deg, var(--accent-soft), var(--surface) 70%); }
.bp-post-cab { display: flex; align-items: center; gap: 10px; min-width: 0; }
.bp-post-cab .avatar { width: 40px; height: 40px; font-size: 13px; flex: none; }
.bp-post-quem { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.bp-post-quem b { font-size: 15px; color: var(--info); }
.bp-post.eq .bp-post-quem b { color: var(--accent); }
.bp-post-quem .chip { height: 20px; font-size: 10px; padding: 0 7px; }
.bp-post-quem time { width: 100%; font: 500 12px/1.2 var(--f-mono); color: var(--faint); }
.bp-top { display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 9px; border-radius: var(--r-pill); background: rgb(var(--warn-rgb, 240 180 60) / .14); color: var(--warn); font: 700 11px/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.bp-top svg { width: 11px; height: 11px; }
.bp-post .bp-del { opacity: .55; }
.bp-post:hover .bp-del { opacity: 1; }
.bp-post-txt { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 15px; line-height: 1.55; }
.bp-foto { display: block; justify-self: start; max-width: 100%; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); background: var(--bg-2); }
.bp-foto img { display: block; max-width: 100%; height: auto; max-height: 520px; width: auto; object-fit: contain; }
.bp-reacoes { display: flex; flex-wrap: wrap; gap: 6px; }
.bp-reacao { display: inline-flex; align-items: center; gap: 5px; height: 32px; min-width: 40px; justify-content: center; padding: 0 10px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--bg-2); color: var(--text-2); font-size: 15px; line-height: 1; transition: border-color .15s ease, background .15s ease, transform .1s ease; }
.bp-reacao .num { font: 700 12px/1 var(--f-mono); }
.bp-reacao:not(.tem) { opacity: .55; }
.bp-reacao:not(:disabled):hover { opacity: 1; border-color: var(--line-2); background: var(--surface-3); }
.bp-reacao:not(:disabled):active { transform: scale(.94); }
.bp-reacao[aria-pressed="true"] { opacity: 1; border-color: rgb(var(--accent-rgb) / .55); background: var(--accent-soft); color: var(--text); }
.bp-reacao:disabled { cursor: default; }

@media (max-width: 1180px) {
  .bp-layout { grid-template-columns: minmax(0, 1fr); }
  .bp-layout .sala-info { grid-column: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 920px) {
  .bp-layout { gap: 14px; padding-top: 14px; }
  .bp-layout .sala-info { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .bp-post { padding: 12px 12px 10px; }
  .bp-post-cab .avatar { width: 34px; height: 34px; font-size: 11px; }
  .bp-reacao { height: 34px; padding: 0 9px; }
  .bp-form-pe { flex-wrap: wrap; }
}

/* quem está on line e sino do som (14/10/2026) */
.bp-quem { margin: 0; font-size: 13px; color: var(--muted); }
.bp-quem b { color: var(--text); }
.bp-quem .link, .bp-quem button.link { background: none; border: 0; padding: 0; font: inherit; color: var(--info); cursor: pointer; text-decoration: underline; }
.ap-erro { margin: 0; color: var(--loss); font-size: 13px; min-height: 0; }
.ap-erro:empty { display: none; }
.bp-topo { align-items: center; }
.bp-topo > div:first-child { flex: 1; min-width: 0; }
.bp-som { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--surface); font-size: 16px; line-height: 1; display: grid; place-items: center; cursor: pointer; }
.bp-som:hover { border-color: var(--accent); }
.bp-som[aria-pressed="false"] { opacity: .7; }
.bp-online h3 { display: flex; align-items: center; gap: 8px; }
.bp-on-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--gain); box-shadow: 0 0 0 3px rgb(var(--gain-rgb) / .2); flex: none; }
.bp-on-lista { list-style: none; margin: 0 0 6px; padding: 0; display: grid; gap: 6px; max-height: 360px; overflow-y: auto; }
.bp-on-lista li { display: flex; align-items: center; gap: 10px; min-width: 0; }
.bp-on-lista .avatar { width: 30px; height: 30px; font-size: 11px; flex: none; }
.bp-on-nome { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.bp-on-nome small { color: var(--faint); }
.bp-on-lista .chip { height: 20px; font-size: 10px; padding: 0 7px; }
.bp-on-chip { display: none; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border-radius: var(--r-pill); border: 1px solid var(--line-2); background: var(--surface); color: var(--text-2); font: 600 12px/1 var(--f-mono); white-space: nowrap; cursor: pointer; flex: none; }
.bp-on-chip .bp-on-dot { width: 7px; height: 7px; }
@media (max-width: 1180px) { .bp-on-chip { display: inline-flex; } }
@media (max-width: 560px) { .bp-topo { flex-wrap: wrap; } .bp-topo > div:first-child { flex-basis: 100%; } }
@media (max-width: 920px) { .hero-comunidade .hero-grid { grid-template-columns: minmax(0, 1fr); } }

/* ============================================================
   Bate-papo em janela estilo MSN (16/10/2026): moldura prata, mensagens em ordem de chegada,
   balões (os meus à direita, os dos outros à esquerda), quadros do Clube e da pessoa e lista de quem está on line.
   ============================================================ */
.msn-janela { margin: 22px 0 18px; border: 3px solid transparent; border-radius: 14px; background: linear-gradient(var(--bg-2), var(--bg-2)) padding-box, var(--metal, linear-gradient(180deg, #fff, #8e969e)) border-box; box-shadow: 0 30px 70px -30px rgb(0 0 0 / .9), inset 0 0 0 1px rgb(0 0 0 / .6); overflow: hidden; }
.msn-titulo { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: linear-gradient(180deg, #24282C 0%, #131517 100%); border-bottom: 1px solid var(--line-2); }
.msn-titulo h2 { flex: 1; min-width: 0; margin: 0; font: var(--title-weight, 700) 19px/1.2 var(--f-display); color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.msn-titulo-logo { width: 38px; height: 38px; border-radius: 9px; display: grid; place-items: center; background: #000; border: 1px solid var(--line-2); flex: none; }
.msn-titulo-logo .logo-img { width: 74%; height: auto; }
.msn-janbtns { display: flex; gap: 6px; flex: none; }
.msn-janbtns i { width: 32px; height: 26px; display: grid; place-items: center; border-radius: 6px; border: 1px solid rgb(214 219 224 / .45); background: linear-gradient(180deg, #2B3034, #15181A); color: var(--text-2); font: 600 13px/1 var(--f-body); font-style: normal; }
.msn-janbtns i:last-child { background: var(--btn-bg); color: var(--accent-ink); border-color: transparent; }
.msn-corpo-jan { display: grid; grid-template-columns: minmax(0, 1fr) 230px; gap: 12px; padding: 12px; }
.msn-principal { display: flex; flex-direction: column; gap: 10px; min-width: 0; border: 1px solid var(--line-2); border-radius: 10px; background: var(--surface); padding: 10px; }
.msn-ferr { display: flex; flex-wrap: wrap; gap: 4px; padding: 0 2px 8px; border-bottom: 1px solid var(--line); }
.msn-ferr > button, .msn-ferr > a { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px; border-radius: 8px; border: 1px solid transparent; background: none; color: var(--text-2); font: 500 14px/1 var(--f-body); text-decoration: none; cursor: pointer; }
.msn-ferr > button:hover, .msn-ferr > a:hover { background: var(--surface-3); border-color: var(--line-2); color: var(--text); }
.msn-ferr-ic { font-size: 19px; line-height: 1; filter: grayscale(1) brightness(1.4); }
.msn-msgs { height: clamp(300px, calc(100vh - 470px), 680px); overflow-y: auto; overscroll-behavior: contain; padding: 18px 16px 8px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg); display: flex; flex-direction: column; gap: 14px; }
.msn-msgs .chat-vazio { margin: auto; }
.msn-dia { display: flex; align-items: center; gap: 10px; color: var(--faint); font: 600 11px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; }
.msn-dia::before, .msn-dia::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.msn-msg { display: flex; align-items: flex-start; gap: 10px; max-width: min(78%, 620px); }
.msn-msg.meu { flex-direction: row-reverse; align-self: flex-end; }
.msn-av { width: 42px; height: 42px; font-size: 13px; margin-top: 20px; background: var(--metal); color: var(--accent-ink); border: 1px solid rgb(0 0 0 / .5); box-shadow: 0 0 0 1px rgb(214 219 224 / .25); }
.msn-av.team { background: #000; }
.msn-corpo { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.msn-msg.meu .msn-corpo { align-items: flex-end; }
.msn-nome { display: flex; align-items: center; gap: 6px; margin: 0 4px 5px; font-size: 14px; }
.msn-nome b { color: var(--text); font-weight: 700; }
.msn-nome small { color: var(--muted); font-weight: 500; }
.msn-nome .chip { height: 18px; font-size: 10px; padding: 0 6px; }
.msn-balao { position: relative; display: grid; gap: 8px; padding: 10px 16px; border-radius: 16px 16px 16px 4px; background: linear-gradient(180deg, #1F2326 0%, #17191C 100%); border: 1px solid var(--line-2); box-shadow: 0 6px 18px -10px rgb(0 0 0 / .8); min-width: 0; max-width: 100%; }
.msn-msg.meu .msn-balao { border-radius: 16px 16px 4px 16px; background: linear-gradient(180deg, #353A3F 0%, #24282C 100%); border-color: rgb(214 219 224 / .38); }
.msn-msg.eq:not(.meu) .msn-balao { border-color: rgb(214 219 224 / .3); }
.msn-txt { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 15.5px; line-height: 1.5; color: var(--text); }
.msn-balao .bp-foto img { max-height: 340px; }
.msn-del { position: absolute; top: -9px; right: -9px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); background: var(--surface-3); color: var(--muted); cursor: pointer; opacity: 0; transition: opacity .15s ease; }
.msn-msg.meu .msn-del { right: auto; left: -9px; }
.msn-del svg { width: 12px; height: 12px; }
.msn-msg:hover .msn-del, .msn-del:focus-visible { opacity: 1; }
.msn-del:hover { color: var(--loss); border-color: var(--loss); }
@media (hover: none) { .msn-del { opacity: .8; } }
.msn-pe { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; margin: 5px 4px 0; }
.msn-msg.meu .msn-pe { flex-direction: row-reverse; }
.msn-pe time { font-size: 12px; color: var(--faint); }
.msn-pe .bp-reacoes { gap: 4px; }
.msn-pe .bp-reacao { height: 24px; min-width: 0; padding: 0 7px; font-size: 13px; gap: 4px; }
.msn-pe .bp-reacao .num { font-size: 11px; }
.bp-reagir { position: relative; }
.bp-reagir summary { list-style: none; display: inline-flex; align-items: center; gap: 1px; height: 24px; padding: 0 7px; border-radius: var(--r-pill); border: 1px solid var(--line); color: var(--faint); font-size: 14px; cursor: pointer; opacity: .7; }
.bp-reagir summary::-webkit-details-marker { display: none; }
.bp-reagir summary b { font-size: 11px; }
.msn-msg:hover .bp-reagir summary, .bp-reagir[open] summary, .bp-reagir summary:focus-visible { opacity: 1; color: var(--text-2); border-color: var(--line-2); }
.bp-reagir-menu { position: absolute; z-index: 5; bottom: calc(100% + 6px); left: 0; display: flex; gap: 4px; padding: 6px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--surface-2); box-shadow: 0 12px 30px -10px rgb(0 0 0 / .9); }
.msn-msg.meu .bp-reagir-menu { left: auto; right: 0; }
.bp-reagir-menu .bp-reacao { opacity: 1; height: 32px; min-width: 36px; padding: 0 6px; font-size: 17px; }
.msn-escrever { display: grid; gap: 8px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--bg-2); padding: 8px; }
.msn-formato { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.msn-fbtn, .msn-emojis summary { display: inline-flex; align-items: center; justify-content: center; gap: 3px; height: 34px; min-width: 38px; padding: 0 8px; border-radius: 8px; border: 1px solid transparent; background: none; font-size: 18px; color: var(--text-2); cursor: pointer; list-style: none; }
.msn-emojis summary::-webkit-details-marker { display: none; }
.msn-emojis summary i { font-size: 10px; font-style: normal; color: var(--muted); }
.msn-fbtn:hover, .msn-emojis summary:hover, .msn-emojis[open] summary { background: var(--surface-3); border-color: var(--line-2); }
.msn-fbtn:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.msn-emojis { position: relative; }
.msn-emojis-menu { position: absolute; z-index: 6; bottom: calc(100% + 8px); left: 0; display: grid; grid-template-columns: repeat(6, 38px); gap: 4px; padding: 8px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--surface-2); box-shadow: 0 16px 40px -12px rgb(0 0 0 / .9); }
.msn-emojis-menu button { width: 38px; height: 36px; border-radius: 8px; border: 0; background: none; font-size: 20px; cursor: pointer; }
.msn-emojis-menu button:hover, .msn-emojis-menu button:focus-visible { background: var(--surface-4); }
.msn-sep { width: 1px; height: 22px; background: var(--line-2); margin: 0 4px; }
.msn-formato .bp-som { width: 34px; height: 34px; border-radius: 8px; background: none; border-color: transparent; }
.msn-formato .bp-som:hover { background: var(--surface-3); border-color: var(--line-2); }
.msn-campo { display: flex; gap: 10px; align-items: stretch; }
.msn-campo textarea { flex: 1; min-width: 0; resize: none; min-height: 64px; max-height: 220px; padding: 12px 14px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--bg); color: var(--text); font-size: 15px; line-height: 1.45; }
.msn-campo textarea:focus { outline: none; border-color: var(--accent); }
.msn-enviar { display: flex; flex-direction: column; justify-content: space-between; align-items: stretch; gap: 6px; }
.msn-enviar .bp-cont { margin: 0; text-align: right; }
.msn-enviar .chat-enviar { flex: 1; min-height: 48px; min-width: 120px; padding: 0 22px; font-size: 16px; }
.msn-escrever #bp-previa:empty { display: none; }
.msn-aviso { border-top: 1px solid var(--line); padding-top: 10px; }
.msn-aviso.chat-so-leitura { display: flex; gap: 10px; align-items: center; color: var(--muted); font-size: 14px; }
.msn-lado { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.msn-quadro { aspect-ratio: 1 / .9; border-radius: 12px; padding: 3px; background: var(--metal); box-shadow: 0 10px 24px -14px rgb(0 0 0 / .9); display: grid; }
.msn-quadro > * { border-radius: 9px; }
.msn-quadro-logo { display: grid; place-items: center; background: radial-gradient(circle at 50% 35%, #1D2124, #050505 75%); }
.msn-quadro-logo .logo-img { width: 68%; height: auto; }
.msn-quadro-eu .avatar { width: 100%; height: 100%; border-radius: 9px; font-size: 40px; background: radial-gradient(circle at 50% 35%, #2B3034, #0B0C0D 75%); color: var(--text); }
.msn-quadro-eu .avatar.team { background: radial-gradient(circle at 50% 35%, #1D2124, #050505 75%); }
.msn-online { flex: 1; min-height: 0; border: 1px solid var(--line-2); border-radius: 10px; background: var(--surface); padding: 10px 12px; }
.msn-online h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 14px; }
.msn-online h3 .note { margin-left: auto; font: 700 12px/1 var(--f-mono); }
.msn-online .bp-on-lista { max-height: 300px; gap: 4px; }
.msn-online .bp-on-lista .avatar { width: 24px; height: 24px; font-size: 9px; }
.msn-online .bp-on-nome { font-size: 13.5px; }
.msn-online .bp-on-lista li { position: relative; padding-left: 14px; }
.msn-online .bp-on-lista li::before { content: ""; position: absolute; left: 0; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--gain); box-shadow: 0 0 0 2px rgb(var(--gain-rgb) / .2); }
.msn-status { display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-top: 1px solid var(--line-2); background: linear-gradient(180deg, #131517, #0B0C0D); color: var(--text-2); font-size: 13px; }
.msn-status .bp-on-dot { width: 8px; height: 8px; }
.msn-status-dica { margin-left: auto; color: var(--faint); font-size: 12px; text-align: right; }
.msn-info { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding-bottom: 80px; }
.msn-info .panel h3 { margin-top: 0; }
/* denunciar mensagem, aviso de conversa pública (1ª entrada) e prazo de 180 dias (16/10/2026) */
.msn-denunciar { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: var(--r-pill); color: var(--faint); text-decoration: none; font-size: 13px; opacity: 0; transition: opacity .15s ease; }
.msn-msg:hover .msn-denunciar, .msn-denunciar:focus-visible { opacity: 1; }
.msn-denunciar:hover { color: var(--loss); background: var(--surface-3); }
@media (hover: none) { .msn-denunciar { opacity: .7; } }
.msn-aviso-pub { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 8px; border: 1px solid rgb(214 219 224 / .3); background: var(--surface-3); font-size: 13.5px; color: var(--text-2); }
.msn-aviso-pub > span { font-size: 20px; flex: none; }
.msn-aviso-pub p { margin: 0; flex: 1; line-height: 1.45; }
.msn-aviso-pub b { color: var(--text); }
.msn-aviso-pub a, .msn-retencao a { color: var(--info); }
.msn-aviso-pub .btn { flex: none; }
.msn-retencao { margin: -6px 4px 20px; font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.legal-sec { margin-top: 18px; }
.legal-sec h2 { font-size: 19px; margin: 0 0 10px; }
.legal-sec ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; color: var(--text-2); line-height: 1.55; }
@media (max-width: 640px) { .msn-aviso-pub { flex-wrap: wrap; } }

/* botão flutuante de WhatsApp (página inicial e, para assinantes, todo o Clube) */
.whats-flutua { position: fixed; z-index: 60; right: 22px; bottom: 22px; display: inline-flex; align-items: center; gap: 9px; height: 54px; padding: 0 20px 0 16px; border-radius: 999px; background: var(--btn-bg, #D6DBE0); color: var(--accent-ink, #0B0C0D); font: 700 15px/1 var(--f-body); text-decoration: none; border: 1px solid rgb(0 0 0 / .5); box-shadow: inset 0 1px 0 rgb(255 255 255 / .7), 0 14px 34px -10px rgb(0 0 0 / .9); transition: transform .15s ease, box-shadow .15s ease; }
.whats-flutua:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgb(255 255 255 / .8), 0 18px 40px -10px rgb(37 211 102 / .45); }
.whats-flutua:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.whats-flutua svg { flex: none; color: #1A9E4B; }
@media (max-width: 640px) {
  .whats-flutua { right: 14px; bottom: 14px; width: 56px; height: 56px; padding: 0; justify-content: center; }
  .whats-flutua span { display: none; }
}
@media (max-width: 1000px) {
  .msn-corpo-jan { grid-template-columns: minmax(0, 1fr); }
  .msn-lado { flex-direction: row; flex-wrap: wrap; }
  .msn-quadro { display: none; }
  .msn-online { flex: 1 1 100%; }
  .msn-online .bp-on-lista { display: flex; flex-wrap: wrap; gap: 6px 16px; max-height: none; }
}
@media (max-width: 640px) {
  .msn-janela { margin-top: 14px; border-width: 2px; }
  .msn-titulo { padding: 8px 10px; gap: 8px; }
  .msn-titulo h2 { font-size: 16px; }
  .msn-titulo .ao-vivo, .msn-janbtns { display: none; }
  .msn-corpo-jan { padding: 8px; }
  .msn-principal { padding: 6px; }
  .msn-ferr > button, .msn-ferr > a { padding: 0 8px; font-size: 13px; }
  .msn-msgs { height: 62vh; padding: 12px 8px 6px; }
  .msn-msg { max-width: 92%; }
  .msn-av { width: 32px; height: 32px; font-size: 11px; }
  .msn-campo { flex-direction: column; }
  .msn-enviar { flex-direction: row; align-items: center; }
  .msn-enviar .chat-enviar { flex: none; min-height: 44px; }
  .msn-status-dica { display: none; }
  .msn-info { grid-template-columns: minmax(0, 1fr); }
}
/* Celular e tablet (02/11/2026): abas da Comunidade com rolagem lateral e pista visual, janela do bate-papo que cabe na tela
   (altura em dvh), selo "ao vivo" visível e campo de mensagem sempre à mão (grudado no rodapé da tela). */
.com-secoes { scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; overscroll-behavior-x: contain; }
.com-secoes::-webkit-scrollbar { display: none; }
.com-secoes a { scroll-snap-align: start; flex: none; }
@media (max-width: 1000px) {
  .msn-janela { max-width: 100%; }
  .msn-msgs { height: clamp(260px, calc(100dvh - 440px), 680px); }
}
@media (max-width: 640px) {
  .com-secoes { margin-left: -16px; margin-right: -16px; padding: 0 16px; gap: 0; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); }
  .com-secoes a { padding: 0 12px; gap: 6px; font-size: 14px; }
  .com-secoes a .com-i { display: none; }
  .msn-titulo .ao-vivo { display: inline-flex; flex: none; }
  .msn-titulo h2 { font-size: 15px; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .msn-titulo-logo { width: 32px; height: 32px; }
  .msn-ferr { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .msn-ferr::-webkit-scrollbar { display: none; }
  .msn-ferr > button, .msn-ferr > a { flex: none; height: 36px; }
  .msn-msgs { height: clamp(200px, calc(100dvh - 470px), 62vh); }
  .msn-escrever { position: sticky; bottom: 0; z-index: 4; box-shadow: 0 -10px 18px -8px rgb(0 0 0 / .8); }
  .msn-campo textarea { min-height: 52px; max-height: 120px; }
  .msn-enviar .chat-enviar { flex: 1; min-width: 0; }
  .msn-emojis-menu { grid-template-columns: repeat(6, minmax(0, 38px)); max-width: calc(100vw - 48px); }
  .msn-status { flex-wrap: wrap; padding: 8px 10px; }
}

/* moderação (16/10/2026): mensagem oculta (só o autor vê, com a faixa) e aviso de conta bloqueada para publicar */
.msn-msg.oculta .msn-balao { opacity: .75; border-style: dashed; }
.msn-oculta { margin: 0 0 6px; padding: 4px 8px; border-radius: 6px; font-size: 12px; color: var(--warn, #e0a84a); background: rgb(224 168 74 / .12); }
.aviso-bloqueio { margin: 12px 0; border: 1px solid rgb(224 168 74 / .4); border-radius: 8px; color: var(--text-2); }
.aviso-bloqueio svg { flex: none; }

/* ---------- Sala ao vivo (#aovivo, js/aovivo.js, 19/10/2026) ---------- */
.av-prox { display: grid; gap: 8px; padding: 26px; max-width: 760px; }
.av-prox h2 { font-size: 24px; font-weight: 590; letter-spacing: -0.015em; }
.av-selo { display: inline-flex; align-items: center; gap: 7px; justify-self: start; font: 590 11px/1 var(--f-body); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.av-on { border-color: rgb(229 72 77 / .55); }
.av-on .av-selo { color: #ff8a8e; }
.av-selo i { width: 8px; height: 8px; border-radius: 50%; background: #E5484D; box-shadow: 0 0 0 3px rgb(229 72 77 / .25); }
.av-quando { color: var(--text-2); font-weight: 510; }
.av-desc { color: var(--muted); max-width: 64ch; }
.av-acao { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 10px; }
.av-acao .btn svg { width: 17px; height: 17px; }
.av-cont { color: var(--muted); font-size: 13.5px; }
.av-lista { margin-top: 22px; max-width: 760px; display: grid; gap: 10px; }
.av-lista h3 { font-size: 15px; font-weight: 590; }
.av-lista ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.av-lista li { display: grid; gap: 3px; padding: 14px 16px; }
.av-lista li span { color: var(--text-2); font-size: 13.5px; }
.av-lista li small { color: var(--muted); font-size: 13px; }
.av-nota { margin-top: 18px; max-width: 760px; }
.av-vazio { display: grid; justify-items: center; gap: 6px; max-width: 760px; }
.av-vazio svg { width: 26px; height: 26px; color: var(--faint); }
.av-gate { max-width: 640px; }
/* vídeo do YouTube (a equipe transmite o Meet para uma live não listada) com o bate-papo do Clube ao lado */
.av-palco { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); gap: 16px; align-items: start; margin-top: 18px; }
.av-video { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); overflow: hidden; }
.av-video.av-on { border-color: rgb(229 72 77 / .55); }
.av-on .av-selo { color: #ff8a8e; }
.av-tela { position: relative; aspect-ratio: 16 / 9; background: #000; }
.av-tela iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.av-tela-msg { display: grid; place-items: center; align-content: center; gap: 10px; padding: 24px; text-align: center; color: var(--muted); }
.av-tela-msg svg { width: 30px; height: 30px; color: var(--faint); }
.av-info { display: grid; gap: 6px; padding: 18px 20px 20px; }
.av-info h2 { font-size: 20px; font-weight: 590; letter-spacing: -0.012em; }
.av-abre { display: inline-flex; align-items: center; gap: 8px; color: var(--text-2); font-weight: 510; }
.av-chat .msn-janela { margin: 0; }
.av-chat .msn-corpo-jan { grid-template-columns: minmax(0, 1fr); padding: 8px; }
.av-chat .msn-msgs { height: clamp(260px, calc(100vh - 430px), 560px); }
.av-chat .msn-status-dica, .av-chat .msn-janbtns { display: none; }
.av-chat .msn-retencao { font-size: 12px; margin-top: 8px; }
.av-chat .msn-titulo h2 { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.av-sem-chat { padding: 18px; display: grid; gap: 6px; }
@media (max-width: 1100px) { .av-palco { grid-template-columns: minmax(0, 1fr); } .av-chat .msn-msgs { height: 340px; } }

/* ---------- Comunidade (23/10/2026): "i" de informação, pedido de ajuda, curtir, seguir e notificações ---------- */
.com-i { flex: none; margin-left: 4px; vertical-align: middle; }
.com-secoes a .com-i { margin-left: 2px; }
.com-ordem { display: inline-flex; align-items: center; gap: 2px; margin-left: auto; font-size: 12.5px; }
.com-filtros { flex-wrap: wrap; }
.com-novo { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.btn-ajuda { background: var(--warn-soft); color: var(--warn); border: 1px solid var(--warn); }
.btn-ajuda:hover, .btn-ajuda.forte { background: var(--warn); color: #111; }
.nt-botoes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 480px) { .nt-botoes { grid-template-columns: 1fr; } }

/* pedido de ajuda em destaque na lista e no tópico */
.topic.topic-ajuda { background: linear-gradient(90deg, var(--warn-soft), var(--surface) 70%); box-shadow: inset 3px 0 0 var(--warn); animation: aj-pulso 2.4s ease-in-out infinite; }
.aj-faixa { color: var(--warn); font-size: 12px; font-weight: 650; letter-spacing: .02em; margin-bottom: 4px; }
@keyframes aj-pulso { 50% { box-shadow: inset 3px 0 0 var(--warn), 0 0 0 1px var(--warn); } }
@media (prefers-reduced-motion: reduce) { .topic.topic-ajuda { animation: none; } }
.aj-banner { display: flex; gap: 12px; align-items: center; margin-top: 16px; border-color: var(--warn); background: var(--warn-soft); }
.aj-banner > span:first-child { font-size: 24px; }
.aj-banner div { display: grid; gap: 2px; flex: 1; }
#ajuda-alerta { position: fixed; left: 16px; bottom: 16px; z-index: 900; display: flex; align-items: center; gap: 12px; max-width: min(440px, calc(100vw - 32px)); padding: 12px 12px 12px 14px; border-radius: var(--r-lg); background: var(--surface-3); border: 1px solid var(--warn); box-shadow: 0 12px 34px rgb(0 0 0 / .5); }
#ajuda-alerta .aj-ic { font-size: 26px; }
#ajuda-alerta div { display: grid; gap: 2px; min-width: 0; flex: 1; }
#ajuda-alerta div span { color: var(--muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#ajuda-alerta .icon-btn { width: 32px; height: 32px; }

/* curtir e seguir */
.topico-acoes { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 14px; }
.topico-autor { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; }
.st-curt { display: block; margin-top: 4px; font-size: 12px; color: var(--muted); }
.st-curt.eu { color: var(--accent); }
.membro-link { color: inherit; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; cursor: pointer; }
.membro-link:hover, .membro-link:focus-visible { color: var(--accent); text-decoration-color: currentColor; }
.membro-topo { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 8px; }
.membro-topo > .avatar { width: 64px; height: 64px; font-size: 22px; }
.membro-id { flex: 1; min-width: 200px; }
.membro-id h1 { font-size: clamp(24px, 3vw, 32px); margin: 0 0 8px; }
.membro-nums { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; color: var(--muted); font-size: 14px; }
.membro-nums b { color: var(--text); }
.membro-layout { padding-top: 22px; }
/* respostas recentes do perfil não têm avatar: uma coluna só (antes o texto ficava espremido na coluna de 40px) */
.membro-layout .post { grid-template-columns: minmax(0, 1fr); }

/* cabeçalho do perfil (24/10/2026, modelo "Perfil público do criador") */
.membro-topo2 { margin-top: 8px; padding: 26px 28px 20px; }
.mt-cab { display: flex; align-items: center; gap: 22px; }
.mt-foto { position: relative; width: 104px; height: 104px; border-radius: 50%; flex: none; overflow: hidden; display: grid; place-items: center;
  background: var(--surface-3); color: var(--text); font: 800 34px/1 var(--f-display); border: 1px solid var(--line-2); }
.mt-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mt-foto.team { background: var(--accent); color: var(--accent-ink); }
.mt-foto-edita { cursor: pointer; }
.mt-foto-cam { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 4px; font: 600 12px/1.2 var(--f-body, inherit);
  background: rgb(0 0 0 / .58); color: #fff; opacity: 0; transition: opacity .15s; text-align: center; }
.mt-foto-edita:hover .mt-foto-cam, .mt-foto-edita:focus-within .mt-foto-cam, .mt-foto-edita.enviando .mt-foto-cam { opacity: 1; }
.mt-foto-edita:focus-within { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (hover: none) { .mt-foto-edita:not(.enviando) .mt-foto-cam { opacity: 1; inset: auto 0 0 0; padding: 5px 0 7px; display: flex; justify-content: center; gap: 4px; } .mt-foto-cam svg { width: 14px; height: 14px; } }
.mt-id { flex: 1; min-width: 0; }
.mt-id h1 { font-size: clamp(24px, 3vw, 30px); margin: 0; line-height: 1.15; overflow-wrap: anywhere; }
.mt-sub { margin: 6px 0 0; color: var(--muted); font-size: 15px; }
.mt-nums { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; margin-top: 10px; color: var(--muted); font-size: 14px; }
.mt-nums b { color: var(--text); font-weight: 700; }
.mt-acao { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; flex: none; }
.mt-acao .seguir-btn { border-radius: 999px; padding-inline: 22px; min-height: 40px; font-size: 15px; }
.mt-bio { margin: 16px 0 0; color: var(--text-2); font-size: 14px; line-height: 1.55; max-width: 72ch; }
.mt-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.mt-stat { display: grid; justify-items: center; gap: 4px; text-align: center; padding: 4px 8px; }
.mt-stat + .mt-stat { border-left: 1px solid var(--line); }
.mt-stat b { font: 800 clamp(24px, 3vw, 32px)/1.1 var(--f-display); color: var(--text); letter-spacing: -.01em; }
.mt-stat span { color: var(--muted); font-size: 13px; }
@media (max-width: 640px) {
  .membro-topo2 { padding: 20px 16px 16px; }
  .mt-cab { flex-wrap: wrap; gap: 14px 16px; }
  .mt-foto { width: 76px; height: 76px; font-size: 26px; }
  .mt-id { flex-basis: calc(100% - 92px); }
  .mt-acao { flex-direction: row; flex-wrap: wrap; align-items: center; width: 100%; }
  .mt-stat span { font-size: 12px; }
}
.membro-lista { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }

/* sino de notificações no topo */
.notif { position: relative; }
.notif-btn { position: relative; font-size: 17px; }
.notif-n { position: absolute; top: -3px; right: -3px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--loss); color: #fff; font: 700 11px/18px var(--f-body); text-align: center; }
.notif-painel { position: absolute; right: 0; top: calc(100% + 8px); z-index: 950; width: min(360px, calc(100vw - 32px)); max-height: 70vh; overflow: auto; padding: 12px; border-radius: var(--r-lg); background: var(--surface-2); border: 1px solid var(--line-2); box-shadow: 0 14px 40px rgb(0 0 0 / .5); }
.notif-h { display: flex; align-items: center; gap: 4px; margin-bottom: 8px; }
.notif-painel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.notif-painel li a { display: flex; gap: 10px; align-items: flex-start; padding: 8px; border-radius: var(--r-md); color: var(--text-2); font-size: 13.5px; line-height: 1.4; }
.notif-painel li a:hover { background: var(--surface-3); }
.notif-painel li.nova a { background: var(--accent-soft); }
.notif-painel li .avatar { width: 30px; height: 30px; font-size: 12px; flex: none; }
.notif-painel small { display: block; color: var(--faint); font-size: 12px; margin-top: 2px; }
@media (max-width: 640px) { .notif-painel { position: fixed; left: 16px; right: 16px; top: calc(var(--header-h, 60px) + 6px); width: auto; } }

/* Bate-papo: Pedir ajuda e Responder (24/10/2026) */
.bp-ajuda-faixa { display: grid; gap: 6px; padding: 8px 10px; border-bottom: 1px solid var(--line); background: var(--warn-soft); }
.bp-ajuda-item { display: flex; align-items: center; gap: 10px; }
.bp-ajuda-item > div { flex: 1; min-width: 0; display: grid; gap: 2px; font-size: 13px; }
.bp-ajuda-item span { color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bp-ajuda-item small { color: var(--warn); font-weight: 700; }
.bp-ajuda-selo { font-size: 12px; font-weight: 700; color: var(--muted); margin-bottom: 4px; }
.bp-ajuda-selo.ativo { color: var(--warn); }
.msn-msg.msn-ajuda .msn-balao { box-shadow: inset 3px 0 0 var(--warn); animation: bp-ajuda-pulso 2.4s ease-in-out infinite; }
@keyframes bp-ajuda-pulso { 50% { box-shadow: inset 3px 0 0 var(--warn), 0 0 0 3px var(--warn-soft); } }
@media (prefers-reduced-motion: reduce) { .msn-msg.msn-ajuda .msn-balao { animation: none; } }
.bp-citacao { display: grid; gap: 2px; width: 100%; text-align: left; margin: 0 0 6px; padding: 6px 10px; border: 0; border-left: 3px solid var(--line-2); border-radius: 6px; background: var(--surface-3); color: var(--muted); font: inherit; font-size: 12px; cursor: pointer; }
.bp-citacao b { color: var(--text-2); }
.bp-citacao span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.msn-responder { border: 0; background: none; color: var(--muted); font-size: 12px; font-weight: 700; padding: 2px 4px; cursor: pointer; }
.msn-responder:hover { color: var(--text); }
.bp-resp-previa { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; padding: 6px 10px; border-left: 3px solid var(--accent); background: var(--surface-2); border-radius: 6px; font-size: 13px; color: var(--text-2); }
.bp-resp-previa span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.msn-msg.msn-piscar .msn-balao { outline: 2px solid var(--accent); outline-offset: 2px; }
.msn-enviar .chat-ajuda { white-space: nowrap; }

/* curtir, comentar e encaminhar em cada publicação + respostas como sub-itens (24/10/2026) */
.soc-barra { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; margin-top: 12px; }
.soc-btn { display: inline-flex; align-items: center; gap: 6px; padding: 4px 6px; margin-left: -6px; border: 0; border-radius: var(--r-sm, 6px); background: none; color: var(--muted); font: 510 14px/1 var(--f-body); cursor: pointer; }
.soc-btn:hover, .soc-btn:focus-visible { color: var(--text); background: var(--surface-2); }
.soc-btn.on { color: var(--accent); }
.soc-btn.on svg path { fill: rgb(var(--accent-rgb) / .18); }
.soc-sub { margin-top: 8px; gap: 4px 14px; }
.soc-sub .soc-btn { font-size: 13px; }
.soc-sub .soc-btn svg { width: 16px; height: 16px; }
.post-thread { padding-block: 4px; }
.post-thread .post-main { border-bottom: 0; padding-bottom: 12px; }
.post-subs { margin-left: 54px; padding-bottom: 8px; }
.post-sub { position: relative; grid-template-columns: 32px minmax(0, 1fr); gap: 12px; padding: 12px 0 12px; border-bottom: 0; }
.post-sub::before { content: ""; position: absolute; left: -30px; top: 0; width: 20px; height: 28px; border-left: 2px solid var(--line-2); border-bottom: 2px solid var(--line-2); border-bottom-left-radius: 8px; }
.post-sub:not(:last-child)::after { content: ""; position: absolute; left: -30px; top: 28px; bottom: 0; border-left: 2px solid var(--line-2); }
.post-sub > .avatar { width: 32px; height: 32px; font-size: 12px; }
.post-sub .ph b { font-size: 14px; }
.post-sub .pb { margin-top: 4px; color: var(--muted); }
.resp-a { margin-top: 4px; font-size: 12px; color: var(--muted); }
.resp-chip { display: flex; align-items: center; gap: 8px; width: fit-content; max-width: 100%; margin: 4px 0 6px; padding: 4px 6px 4px 12px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line-2); color: var(--muted); font-size: 13px; }
.resp-chip .icon-btn { width: 26px; height: 26px; }
.soc-st { display: flex; gap: 12px; align-items: center; justify-content: flex-end; }
.soc-st span { display: inline-flex; align-items: center; gap: 4px; }
.soc-st svg { width: 15px; height: 15px; }
.soc-st .eu { color: var(--accent); }
.enc-opcoes { display: grid; gap: 8px; margin-top: 14px; }
.enc-op, .enc-amigo { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 46px; padding: 8px 14px; border-radius: var(--r-md); border: 1px solid var(--line-2); background: var(--surface-2); color: var(--text); font: 510 15px/1.2 var(--f-body); text-align: left; cursor: pointer; }
.enc-op:hover, .enc-amigo:hover, .enc-op:focus-visible, .enc-amigo:focus-visible { border-color: var(--accent); }
.enc-op span { font-size: 18px; }
.enc-amigos { display: grid; gap: 6px; max-height: 50vh; overflow: auto; margin-top: 12px; }
.enc-amigo .avatar { width: 30px; height: 30px; font-size: 12px; }
@media (max-width: 640px) {
  .post-subs { margin-left: 22px; }
  .post-sub::before, .post-sub:not(:last-child)::after { left: -18px; width: 12px; }
  .soc-st { justify-content: flex-start; }
}

/* Menções com @ (28/10/2026): lista de quem a pessoa segue ao digitar @ e cartão de aviso no canto inferior direito */
.men-lista { position: fixed; z-index: 9050; max-height: 280px; overflow: auto; padding: 6px; border-radius: var(--r-lg); background: var(--surface-2); border: 1px solid var(--line-2); box-shadow: 0 14px 40px rgb(0 0 0 / .5); }
.men-h { font-size: 12px; color: var(--muted); padding: 4px 8px 6px; }
.men-op { display: flex; width: 100%; gap: 10px; align-items: center; padding: 7px 8px; border: 0; border-radius: var(--r-md); background: none; color: var(--text); text-align: left; cursor: pointer; font: inherit; }
.men-op:hover, .men-op.on { background: var(--surface-3); }
.men-op .avatar { width: 28px; height: 28px; font-size: 11px; flex: none; }
.men-op b { display: block; font-size: 13.5px; font-weight: 600; }
.men-op small { color: var(--muted); font-size: 12px; }
.men-vazio { margin: 0; padding: 8px; font-size: 13px; }
.mencao { color: var(--accent); font-weight: 600; }
.men-aviso { position: fixed; right: 16px; bottom: 16px; z-index: 9100; width: min(340px, calc(100vw - 32px)); display: grid; gap: 6px; padding: 14px 14px 12px; border-radius: var(--r-lg); background: var(--surface-2); border: 1px solid var(--line-2); border-left: 3px solid var(--accent); box-shadow: 0 18px 48px rgb(0 0 0 / .55); opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.men-aviso.show { opacity: 1; transform: none; pointer-events: auto; }
.men-tit { font-size: 14px; padding-right: 28px; }
.men-x { position: absolute; top: 6px; right: 6px; }
.men-item { display: grid; gap: 2px; padding: 8px; border-radius: var(--r-md); background: var(--surface-3); color: var(--text-2); font-size: 13px; line-height: 1.4; text-decoration: none; }
.men-item:hover { background: var(--accent-soft); }
.men-item span { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.men-item small { color: var(--muted); font-size: 11.5px; }
@media (prefers-reduced-motion: reduce) { .men-aviso { transition: none; } }
/* Textos legais do rodapé (30/10/2026; Admin → Textos legais, formato dos artigos da Central de ajuda) */
.legal-txt h3 { font-size: 17px; margin: 22px 0 8px; }
.legal-txt h3:first-child { margin-top: 0; }
.legal-txt p { margin: 0 0 10px; color: var(--text-2); line-height: 1.6; }
.legal-txt ul, .legal-txt ol { margin: 0 0 12px; }

/* Menu suspenso do nome/avatar no topo (06/11/2026) */
.usermenu { position: relative; }
.avatar { overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.um-painel { position: absolute; right: 0; top: calc(100% + 8px); z-index: 950; width: min(320px, calc(100vw - 32px)); max-height: 80vh; overflow: auto; padding: 14px; border-radius: var(--r-lg); background: var(--surface-2); border: 1px solid var(--line-2); box-shadow: 0 14px 40px rgb(0 0 0 / .5); }
.um-topo { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.um-foto { position: relative; flex: none; cursor: pointer; }
.um-foto .um-av { width: 56px; height: 56px; font-size: 18px; background: var(--accent); color: var(--accent-ink); }
.um-cam { position: absolute; right: -3px; bottom: -3px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-3); border: 1px solid var(--line-2); color: var(--text); }
.um-cam svg { width: 14px; height: 14px; }
.um-foto:hover .um-cam, .um-foto:focus-within .um-cam { border-color: var(--accent); }
.um-id { min-width: 0; display: grid; gap: 2px; }
.um-id b { font-weight: 800; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.um-id small { color: var(--muted); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.um-ass { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--r-md); background: var(--surface-3); color: var(--text); font-size: 13.5px; }
.um-ass span:first-child { display: grid; gap: 1px; }
.um-ass small { color: var(--muted); font-size: 11.5px; }
.um-chip { font-size: 11.5px; padding: 3px 9px; border-radius: var(--r-pill); border: 1px solid var(--line-2); color: var(--text-2); white-space: nowrap; }
.um-lista { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); display: grid; gap: 2px; }
.um-item { display: flex; align-items: center; gap: 12px; width: 100%; padding: 9px 8px; border: 0; border-radius: var(--r-md); background: none; color: var(--text-2); font: inherit; font-size: 14px; text-align: left; cursor: pointer; }
.um-item:hover, .um-item:focus-visible { background: var(--surface-3); color: var(--text); }
.um-ic { display: grid; place-items: center; color: var(--muted); }

/* Novo tópico (07/11/2026, Rodolfo): janela 70% mais larga (420px → 714px) e campo Mensagem bem mais alto */
.modal:has(form[data-form="topico"]) { width: min(714px, 100%); }
.modal form[data-form="topico"] #nt-txt { min-height: 300px; }
.com-novo-aviso { font-size: 13px; color: var(--text-2); max-width: 260px; line-height: 1.35; }
