/* Aty — a rede social genuinamente brasileira.
   Anil de azulejo e de chita, urucum para o que pede atenção, cal no fundo.
   As variáveis "vermelho" ficaram com o nome antigo: hoje carregam o anil. */
@font-face { font-family: "Instrument Sans"; src: url(fontes/instrument-sans-latin-wght-normal.woff2) format("woff2-variations"), url(fontes/instrument-sans-latin-wght-normal.woff2) format("woff2"); font-weight: 400 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Sans"; src: url(fontes/instrument-sans-latin-ext-wght-normal.woff2) format("woff2-variations"); font-weight: 400 700; font-display: swap; unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Bricolage Grotesque"; src: url(fontes/bricolage-grotesque-latin-wght-normal.woff2) format("woff2-variations"), url(fontes/bricolage-grotesque-latin-wght-normal.woff2) format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bricolage Grotesque"; src: url(fontes/bricolage-grotesque-latin-ext-wght-normal.woff2) format("woff2-variations"); font-weight: 200 800; font-display: swap; unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
:root {
  --fundo: #f5f6fa;
  --cartao: #ffffff;
  --tinta: #141a2e;
  --fraca: #5b6480;
  --linha: #dfe3ee;
  --vermelho: #1e3fa8;
  --vermelho-forte: #162f80;
  --sobre-vermelho: #fff;
  --realce: #e8ecf8;
  --urucum: #d24a22;
  --arte: #1e3fa8;
  --foco: #e2552d;
  --raio: 16px;
  --fonte: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --titulo: "Bricolage Grotesque", "Instrument Sans", system-ui, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --fundo: #0e1426;
    --cartao: #151d35;
    --tinta: #eef1fa;
    --fraca: #9aa3be;
    --linha: #26304d;
    --vermelho: #8fa6ff;
    --vermelho-forte: #b3c3ff;
    --sobre-vermelho: #0e1426;
    --realce: #1b2647;
    --urucum: #ff7a55;
    --arte: #8fa6ff;
    --foco: #ff7a55;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 4rem; }
body {
  margin: 0; background: var(--fundo); color: var(--tinta);
  font: 16px/1.5 var(--fonte); -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration-color: var(--vermelho); text-underline-offset: .18em; }
a:hover { color: var(--vermelho); }
h1, h2 { line-height: 1.15; margin: 0 0 .6rem; text-wrap: balance; }
p { margin: 0 0 .8rem; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid var(--foco); outline-offset: 2px; border-radius: 6px; }
button, input, select, textarea { font: inherit; color: inherit; }
.so-leitor { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.pular { position: absolute; left: -999px; top: .5rem; background: var(--tinta); color: var(--fundo); padding: .6rem 1rem; border-radius: 8px; z-index: 50; }
.pular:focus { left: .5rem; }

/* marca */
.marca { font: 400 1.7rem/1 var(--titulo); letter-spacing: -.02em; text-decoration: none; color: var(--tinta); display: inline-block; }
.marca a { text-decoration: none; }
.marca b { font-weight: 800; color: var(--vermelho); }
.marca-g { font-size: 2.2rem; margin-bottom: 2.2rem; }

/* botões e campos */
.bt {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  min-height: 44px; padding: .55rem 1.25rem; border: 2px solid var(--vermelho); border-radius: 999px;
  background: var(--vermelho); color: var(--sobre-vermelho); font-weight: 700; text-decoration: none; cursor: pointer;
  transition: background .15s, transform .1s;
}
.bt:hover { background: var(--vermelho-forte); border-color: var(--vermelho-forte); color: var(--sobre-vermelho); }
.bt:active { transform: scale(.98); }
.bt-vazado { background: transparent; color: var(--tinta); border-color: var(--linha); }
.bt-vazado:hover { background: var(--realce); color: var(--tinta); border-color: var(--vermelho); }
.bt-perigo { background: transparent; color: var(--vermelho); }
.bt-perigo:hover { background: var(--vermelho); color: var(--sobre-vermelho); }
.bt-liso { background: none; border: 0; padding: .5rem .25rem; min-height: 44px; cursor: pointer; text-align: left; text-decoration: underline; text-decoration-color: var(--linha); text-underline-offset: .2em; }
.bt-liso:hover { color: var(--vermelho); }
.perigo { color: var(--vermelho); }
.pequeno { font-size: .85rem; min-height: 32px; padding: .2rem 0; }

.form { display: grid; gap: .35rem; }
.form label { font-weight: 650; font-size: .92rem; margin-top: .7rem; }
.form small, small.conta { color: var(--fraca); font-size: .82rem; }
.form .bt { margin-top: 1.1rem; justify-self: start; }
.opc { font-weight: 400; color: var(--fraca); }
input:not([type=checkbox]):not([type=file]), select, textarea {
  width: 100%; min-height: 46px; padding: .6rem .8rem; background: var(--fundo);
  border: 1.5px solid var(--linha); border-radius: 10px;
}
textarea { resize: vertical; line-height: 1.45; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--vermelho); outline-offset: 0; border-color: var(--vermelho); }
input[type=file] { font-size: .9rem; max-width: 100%; }
.dupla { display: grid; grid-template-columns: 1fr 6.5rem; gap: .8rem; }
.dupla label { display: block; margin-bottom: .35rem; }
.aceite { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400 !important; }
.aceite input { width: 1.2rem; height: 1.2rem; margin-top: .15rem; accent-color: var(--vermelho); flex: none; }
.erro { background: var(--realce); border-left: 4px solid var(--vermelho); padding: .7rem .9rem; border-radius: 0 10px 10px 0; font-weight: 600; }
.aviso { background: var(--tinta); color: var(--fundo); padding: .7rem 1rem; border-radius: 10px; margin: .8rem 1rem; font-weight: 600; }

.caixa { background: var(--cartao); border: 1px solid var(--linha); border-radius: var(--raio); padding: 1.25rem; margin: 0 0 1rem; }
.caixa h2 { font-size: 1.1rem; }
.caixa-perigo { border-color: var(--vermelho); }

/* páginas públicas */
.publico { min-height: 100dvh; padding: clamp(1.2rem, 4vw, 3rem); display: flex; flex-direction: column; }
.capa { flex: 1; display: grid; gap: 2rem; align-items: center; max-width: 1080px; width: 100%; margin: 0 auto; }
.capa h1 { font: 800 clamp(2.3rem, 7vw, 4.3rem)/.98 var(--titulo); letter-spacing: -.035em; margin-bottom: 1.2rem; }
.capa h1 em { font-style: normal; color: var(--vermelho); }
.capa-sub { font-size: 1.1rem; color: var(--fraca); max-width: 34rem; }
.capa-cta { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.4rem 0 0; }
@media (min-width: 860px) { .capa-cta { display: none; } }
.capa-pontos { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: .7rem; max-width: 34rem; }
.capa-pontos li { padding-left: 1.1rem; border-left: 3px solid var(--vermelho); }
.capa-entrar { padding: 1.6rem; margin: 0; }
.capa-entrar h2 { font-size: 1.4rem; }
.capa-novo { margin: 1.2rem 0 0; color: var(--fraca); }
.capa-novo a { color: var(--tinta); font-weight: 700; }
.estreito { max-width: 30rem; width: 100%; margin: 0 auto; }
.estreito > .marca { margin: .5rem 0 1.5rem; }
.rodape { color: var(--fraca); font-size: .82rem; }
.rodape-capa { text-align: center; margin: 2rem 0 0; }
@media (min-width: 860px) { .capa { grid-template-columns: 1.35fr 1fr; gap: 4rem; } }

/* estrutura logada */
.grade { max-width: 1180px; margin: 0 auto; }
.lado { position: fixed; inset: auto 0 0 0; z-index: 20; background: var(--cartao); border-top: 1px solid var(--linha); padding-bottom: env(safe-area-inset-bottom); }
.lado .marca, .so-largo { display: none; }
.lado nav { display: flex; justify-content: space-around; }
.lado nav a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: .1rem; padding: .55rem .2rem .45rem; min-height: 56px; text-decoration: none; font-size: .7rem; color: var(--fraca); }
.lado nav a[aria-current] { color: var(--vermelho); font-weight: 700; }
.i { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
main#conteudo:not(.publico) { min-width: 0; padding-bottom: 5.5rem; }
.direita { padding: 0 1rem 6.5rem; }
.cab { font: 800 1.35rem/1.2 var(--titulo); letter-spacing: -.01em; padding: 1rem; margin: 0; position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--fundo) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--linha); }
.voltar { text-decoration: none; margin-right: .4rem; padding: .3rem .5rem; }
.sub { font-size: 1rem; padding: 1.2rem 1rem .4rem; margin: 0; color: var(--fraca); text-transform: uppercase; letter-spacing: .06em; }
main > .caixa, main > details.caixa { margin: 1rem; }

@media (min-width: 720px) {
  .grade { display: grid; grid-template-columns: 5rem minmax(0, 640px); justify-content: center; }
  .lado { position: sticky; inset: 0 auto auto auto; top: 0; height: 100dvh; border: 0; background: none; padding: 1rem .5rem; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
  .lado nav { flex-direction: column; gap: .2rem; }
  .lado nav a { flex: none; flex-direction: row; gap: .9rem; font-size: 1.08rem; padding: .7rem .9rem; border-radius: 999px; color: var(--tinta); min-height: 48px; }
  .lado nav a span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .lado nav a:hover { background: var(--realce); color: var(--tinta); }
  main#conteudo:not(.publico) { border-inline: 1px solid var(--linha); min-height: 100dvh; padding-bottom: 3rem; }
  .direita { display: none; }
}
@media (min-width: 1080px) {
  .grade { grid-template-columns: 15rem minmax(0, 620px) 19rem; }
  .lado { align-items: stretch; padding: 1.2rem 1rem; }
  .lado .marca { display: block; padding: .3rem .9rem 1rem; }
  .lado nav a span { position: static; width: auto; height: auto; overflow: visible; clip-path: none; }
  .lado .sair { display: block; margin-top: auto; padding: 0 .9rem; }
  .direita { display: block; position: sticky; top: 0; align-self: start; padding: 1.2rem 0 1rem 1.5rem; }
}

/* compor */
.compor { display: flex; gap: .8rem; padding: 1rem; border-bottom: 1px solid var(--linha); }
.compor-c { flex: 1; min-width: 0; }
.compor textarea, .comentar textarea { border: 0; background: none; padding: .5rem 0; font-size: 1.15rem; resize: none; min-height: 3.2rem; }
.compor textarea:focus-visible, .comentar textarea:focus-visible { outline: 0; box-shadow: 0 2px 0 var(--vermelho); border-radius: 0; }
.compor-pe { display: flex; align-items: center; gap: .8rem; margin-top: .5rem; }
.compor-pe .bt { margin-left: auto; }
.anexo { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; padding: 0 .8rem; border-radius: 999px; color: var(--vermelho); font-weight: 650; cursor: pointer; position: relative; }
.anexo:hover { background: var(--realce); }
.anexo:focus-within { outline: 3px solid var(--foco); outline-offset: 2px; }
.conta { color: var(--fraca); font-size: .85rem; font-variant-numeric: tabular-nums; }
.previa { position: relative; margin: .5rem 0; }
.previa img { border-radius: var(--raio); max-height: 320px; border: 1px solid var(--linha); }

/* publicação */
.av { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; background: var(--linha); flex: none; display: block; }
.av-l { display: grid; place-items: center; background: var(--vermelho); color: var(--sobre-vermelho); font: 800 1.25rem var(--titulo); }
.post, .coment { display: flex; gap: .8rem; padding: 1rem; border-bottom: 1px solid var(--linha); }
.post-av { flex: none; text-decoration: none; }
.post-c { flex: 1; min-width: 0; }
.post-c > header { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 .45rem; line-height: 1.3; }
.nome { font-weight: 750; text-decoration: none; }
.nome:hover { text-decoration: underline; }
.arroba, .quando { color: var(--fraca); font-size: .92rem; }
.quando { text-decoration: none; margin-left: auto; white-space: nowrap; }
a.quando:hover { text-decoration: underline; }
.texto { white-space: pre-wrap; overflow-wrap: anywhere; margin: .25rem 0 .2rem; font-size: 1.04rem; }
.texto a { color: var(--vermelho); text-decoration: none; }
.texto a:hover { text-decoration: underline; }
.foto { display: block; margin: .6rem 0 .2rem; border-radius: var(--raio); overflow: hidden; border: 1px solid var(--linha); background: var(--cartao); }
.foto img { width: 100%; max-height: 560px; object-fit: cover; }
.acoes { display: flex; align-items: center; gap: .5rem; margin: .3rem 0 -.5rem -.6rem; }
.acoes form { margin: 0; }
.ac { display: inline-flex; align-items: center; gap: .4rem; min-width: 64px; min-height: 44px; padding: 0 .6rem; border: 0; background: none; border-radius: 999px; color: var(--fraca); cursor: pointer; text-decoration: none; font-variant-numeric: tabular-nums; }
.ac:hover { background: var(--realce); color: var(--vermelho); }
.ac .i { width: 21px; height: 21px; }
.ac.on { color: var(--vermelho); }
.ac.on .i { fill: currentColor; }
.mais { margin-left: auto; position: relative; }
.mais summary { list-style: none; cursor: pointer; min-width: 44px; min-height: 44px; display: grid; place-items: center; border-radius: 50%; color: var(--fraca); font-weight: 800; letter-spacing: .05em; }
.mais summary::-webkit-details-marker { display: none; }
.mais summary:hover { background: var(--realce); color: var(--vermelho); }
.menu { position: absolute; right: 0; bottom: calc(100% + 4px); z-index: 15; min-width: 13rem; background: var(--cartao); border: 1px solid var(--linha); border-radius: 12px; padding: .4rem; box-shadow: 0 10px 30px rgb(0 0 0 / .18); display: grid; }
.menu a, .menu button { display: block; width: 100%; padding: .65rem .8rem; min-height: 44px; border-radius: 8px; text-decoration: none; text-align: left; }
.menu a:hover, .menu button:hover { background: var(--realce); }
.mais-posts { padding: 1.2rem 1rem; text-align: center; }
.vazio { padding: 3rem 1.5rem; text-align: center; color: var(--fraca); }
.vazio h2, .vazio h1 { color: var(--tinta); font: 800 1.5rem/1.15 var(--titulo); }
.vazio p { max-width: 28rem; margin-inline: auto; }
.erro-cod { font: 800 4.5rem/1 var(--titulo); color: var(--vermelho); margin: 0 0 .5rem; }

/* comentários */
.comentarios > h2 { font-size: 1rem; padding: 1rem 1rem 0; color: var(--fraca); }
.comentar { padding: .2rem 1rem 1rem; border-bottom: 1px solid var(--linha); }
.coment .av { width: 38px; height: 38px; font-size: 1rem; }
.coment .texto { font-size: 1rem; }
.denunciar summary { cursor: pointer; font-weight: 650; min-height: 32px; }

/* pessoas */
.pessoas { list-style: none; margin: 0; padding: 0; display: grid; gap: .2rem; }
.pessoa { display: flex; align-items: center; gap: .6rem; }
.pessoa-l { flex: 1; min-width: 0; display: flex; align-items: center; gap: .7rem; padding: .5rem; border-radius: 12px; text-decoration: none; color: var(--tinta); }
.pessoa-l:hover { background: var(--realce); color: var(--tinta); }
.pessoa .av { width: 42px; height: 42px; font-size: 1.05rem; }
.pessoa-t { min-width: 0; display: grid; }
.pessoa-t b, .pessoa-t small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pessoa-t small { color: var(--fraca); }
.pessoas-lista { padding: .5rem; }
.pessoas-lista .pessoa { padding-right: .5rem; border-bottom: 1px solid var(--linha); }
.busca { display: flex; gap: .6rem; padding: 1rem; border-bottom: 1px solid var(--linha); }

/* perfil */
.perfil { padding: 1.4rem 1rem 1rem; border-bottom: 1px solid var(--linha); background: linear-gradient(var(--realce), var(--realce)) top / 100% 5.2rem no-repeat; }
.perfil-topo { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: .7rem; }
.perfil-av .av { width: 104px; height: 104px; font-size: 2.8rem; border: 4px solid var(--fundo); }
.perfil h1 { font: 800 1.7rem/1.1 var(--titulo); letter-spacing: -.02em; margin: 0; overflow-wrap: anywhere; }
.perfil-bio { margin-top: .7rem; }
.perfil-meta { color: var(--fraca); font-size: .92rem; margin: .5rem 0 0; }
.selo { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--vermelho); }
.numeros { display: flex; gap: 1.6rem; margin: .9rem 0 0; }
.numeros div { display: flex; flex-direction: row-reverse; gap: .35rem; align-items: baseline; }
.numeros dt { color: var(--fraca); font-size: .92rem; }
.numeros dd { margin: 0; font-weight: 800; font-variant-numeric: tabular-nums; }
.numeros-mod { padding: 1rem; margin: 0; flex-wrap: wrap; border-bottom: 1px solid var(--linha); }
.perfil-mod { margin-top: .6rem; }
.foto-atual { display: flex; gap: 1rem; align-items: center; }
.foto-atual .av { width: 72px; height: 72px; font-size: 1.9rem; }
.foto-atual label { display: block; margin: 0 0 .35rem; }

/* moderação */
.denuncia { margin: 1rem; }
.denuncia-cab { color: var(--vermelho); }
.denuncia-acoes { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin-top: 1rem; }

/* texto corrido */
.prosa { padding: 1.2rem 1rem 3rem; max-width: 42rem; }
.estreito.prosa { max-width: 42rem; padding-inline: 0; }
.prosa h1 { font: 800 2rem/1.1 var(--titulo); letter-spacing: -.02em; }
.prosa h2 { font-size: 1.15rem; margin-top: 1.8rem; }
.prosa li { margin-bottom: .45rem; }
.prosa ul { padding-left: 1.2rem; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* ---------- rede completa: coletivos, conversa, avisos, momentos ---------- */
@media (min-width: 1080px) { .so-estreito { display: none !important; } }
.nav-extra { display: none !important; }
@media (min-width: 720px) { .nav-extra { display: flex !important; } }
.lado nav a { position: relative; }
.pingo { position: absolute; top: .3rem; left: calc(50% + .35rem); min-width: 1.15rem; height: 1.15rem; padding: 0 .3rem; border-radius: 999px; background: var(--vermelho); color: var(--sobre-vermelho); font: 800 .68rem/1.15rem var(--fonte); text-align: center; font-variant-numeric: tabular-nums; }
@media (min-width: 720px) { .pingo { top: .35rem; left: 1.9rem; } }
@media (min-width: 1080px) { .pingo { position: static; margin-left: auto; } }

.cab-acao { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.bt-p { min-height: 38px; padding: .3rem .95rem; font-size: .92rem; }
.bt-p .i { width: 18px; height: 18px; }
.bt-icone { padding: .55rem; min-width: 44px; }
.nota { color: var(--fraca); font-size: .92rem; padding: 1rem; margin: 0; }
.nota-perfil { padding: .6rem 0 0; }
.linha-bt { display: flex; gap: .4rem; flex: none; }
.pessoa > form { flex: none; }
.pessoa .mais { margin-left: 0; }

.busca-lado { padding: 0 0 1rem; border: 0; }
.alta { list-style: none; margin: 0; padding: 0; display: grid; }
.alta a { display: grid; padding: .45rem .5rem; border-radius: 10px; text-decoration: none; }
.alta a:hover { background: var(--realce); color: var(--tinta); }
.alta small { color: var(--fraca); }
.alta-linha { display: flex; flex-wrap: wrap; gap: .3rem 1rem; padding: .8rem 1rem; margin: 0; border-bottom: 1px solid var(--linha); }
.alta-linha a { color: var(--vermelho); font-weight: 650; text-decoration: none; }

/* abas */
.abas { display: flex; border-bottom: 1px solid var(--linha); overflow-x: auto; scrollbar-width: none; }
.abas a { flex: 1; text-align: center; padding: .85rem 1rem; min-height: 48px; text-decoration: none; font-weight: 650; color: var(--fraca); border-bottom: 3px solid transparent; white-space: nowrap; }
.abas a[aria-current] { color: var(--tinta); border-bottom-color: var(--vermelho); }
.abas a:hover { background: var(--realce); color: var(--tinta); }

/* publicação: republicada e de coletivo */
.post { flex-wrap: wrap; }
.post-c { flex-basis: 0; }
.post-faixa { flex: 0 0 100%; display: flex; align-items: center; gap: .4rem; margin: -.2rem 0 -.3rem 1.9rem; color: var(--fraca); font-size: .86rem; font-weight: 650; }
.post-faixa .i { width: 16px; height: 16px; }
.post-faixa a { text-decoration: none; }
.post-faixa a:hover { text-decoration: underline; }
.post-col { margin: .1rem 0 .15rem; }
.post-col a, .ficha { display: inline-flex; align-items: center; gap: .3rem; max-width: 100%; padding: .1rem .6rem .1rem .45rem; border-radius: 999px; background: var(--realce); font-size: .84rem; font-weight: 650; text-decoration: none; white-space: nowrap; }
.post-col .i, .ficha .i { width: 15px; height: 15px; color: var(--vermelho); }
.fichas { display: flex; flex-wrap: wrap; gap: .4rem; margin: .9rem 0 0; }
.ac-rep.on .i { fill: none; stroke-width: 2.4; }
.menu-baixo { bottom: auto; top: calc(100% + 4px); }

/* perfil */
.perfil-bt { display: flex; align-items: center; gap: .45rem; }
.perfil-bt form { margin: 0; }
.perfil-bt .mais { margin-left: 0; }
.aro { display: block; padding: 3px; border-radius: 50%; background: conic-gradient(from 210deg, var(--vermelho), #f2a03d, var(--vermelho)); }
.aro .av { border: 3px solid var(--fundo); }
.perfil-av .aro .av { border-width: 4px; }
.mosaico { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; padding: 3px 0; }
.mosaico a { aspect-ratio: 1; overflow: hidden; background: var(--linha); }
.mosaico img { width: 100%; height: 100%; object-fit: cover; transition: opacity .15s; }
.mosaico a:hover img { opacity: .85; }

/* coletivos */
.tipos { display: grid; gap: .6rem; padding: 1rem; border-bottom: 1px solid var(--linha); }
@media (min-width: 560px) { .tipos { grid-template-columns: repeat(3, 1fr); } }
.tipo { display: grid; gap: .25rem; align-content: start; padding: .9rem 1rem; border: 1px solid var(--linha); border-left: 4px solid var(--vermelho); border-radius: 0 var(--raio) var(--raio) 0; background: var(--cartao); text-decoration: none; }
.tipo b { font: 800 1.15rem/1.1 var(--titulo); }
.tipo span { color: var(--fraca); font-size: .88rem; line-height: 1.35; }
.tipo:hover { background: var(--realce); color: var(--tinta); }
.col .av, .perfil-col .av, .cab-quem-col .av { border-radius: 26%; }
.perfil-col .mais-linha { margin: .8rem 0 0; display: inline-block; }
.mais-linha summary { display: inline-flex; align-items: center; min-width: 0; padding: 0 .9rem; border-radius: 999px; border: 1px solid var(--linha); font-weight: 650; letter-spacing: 0; }
.mais-linha .menu { right: auto; left: 0; bottom: auto; top: calc(100% + 4px); }
.convite-aviso { margin: .9rem 0 0; }
.opcoes { border: 1px solid var(--linha); border-radius: 12px; padding: .5rem .9rem .7rem; margin: .8rem 0 0; display: grid; gap: .2rem; min-width: 0; }
.opcoes legend { font-weight: 650; font-size: .92rem; padding: 0 .4rem; }
.form .opcoes label { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; font-size: 1rem; margin: 0; padding: .45rem 0; cursor: pointer; }
.opcoes input { width: 1.15rem; height: 1.15rem; margin-top: .2rem; accent-color: var(--vermelho); flex: none; }
.copia { display: flex; gap: .5rem; margin-bottom: .4rem; }
.copia input { font-size: .9rem; }

/* mensagens e avisos */
.conversas, .avisos { list-style: none; margin: 0; padding: 0; }
.conv, .av-item a { display: flex; align-items: center; gap: .8rem; padding: .8rem 1rem; border-bottom: 1px solid var(--linha); text-decoration: none; color: var(--tinta); }
.conv:hover, .av-item a:hover { background: var(--realce); color: var(--tinta); }
.conv-t, .av-t { flex: 1; min-width: 0; display: grid; }
.conv-t b, .conv-t small, .av-t small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.conv-t small, .av-t small { color: var(--fraca); }
.conv-nova .conv-t small { color: var(--tinta); font-weight: 700; }
.conv-q { display: grid; justify-items: end; gap: .3rem; color: var(--fraca); font-size: .82rem; white-space: nowrap; }
.ponto { width: .7rem; height: .7rem; border-radius: 50%; background: var(--vermelho); }
.av-item .av { width: 40px; height: 40px; font-size: 1rem; }
.av-novo a { background: var(--realce); box-shadow: inset 4px 0 0 var(--vermelho); }

.cab-conv { display: flex; align-items: center; padding-block: .6rem; }
.cab-quem { display: flex; align-items: center; gap: .7rem; min-width: 0; text-decoration: none; }
.cab-quem .av { width: 40px; height: 40px; font-size: 1rem; }
.cab-quem span { display: grid; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cab-quem small { font: 400 .8rem/1.3 var(--fonte); color: var(--fraca); letter-spacing: 0; }
.chat { display: flex; flex-direction: column; gap: .35rem; padding: 1rem .8rem; min-height: calc(100dvh - 15rem); }
.chat-vazio { margin: auto; color: var(--fraca); }
.msg { display: flex; gap: .5rem; align-items: flex-end; max-width: 84%; }
.msg-minha { align-self: flex-end; }
.msg-av .av { width: 30px; height: 30px; font-size: .8rem; }
.balao { min-width: 0; padding: .5rem .8rem .3rem; border-radius: 18px 18px 18px 5px; background: var(--cartao); border: 1px solid var(--linha); }
.msg-minha .balao { border-radius: 18px 18px 5px 18px; background: var(--realce); border-color: transparent; }
.balao .texto { margin: 0; font-size: 1rem; }
.msg-autor { display: block; font-size: .8rem; font-weight: 750; color: var(--vermelho); text-decoration: none; }
.msg-foto { display: block; margin: .15rem -.35rem .3rem; border-radius: 12px; overflow: hidden; }
.msg-foto img { max-height: 320px; width: 100%; object-fit: cover; }
.msg-pe { display: flex; justify-content: flex-end; align-items: center; gap: .6rem; color: var(--fraca); font-size: .72rem; }
.msg-pe form { margin: 0; }
.msg-x { background: none; border: 0; padding: .3rem 0; color: var(--fraca); font-size: .72rem; text-decoration: underline; cursor: pointer; }
.msg-x:hover { color: var(--vermelho); }
.escrever { position: sticky; bottom: calc(56px + env(safe-area-inset-bottom)); z-index: 12; display: flex; flex-wrap: wrap; align-items: flex-end; gap: .4rem; padding: .6rem .7rem; background: var(--fundo); border-top: 1px solid var(--linha); }
.escrever textarea { flex: 1; min-width: 0; min-height: 44px; max-height: 9rem; border-radius: 22px; padding: .55rem 1rem; resize: none; background: var(--cartao); }
.anexo-so { padding: 0 .6rem; }
.escrever-foto { flex: 0 0 100%; order: -1; margin: 0; font-size: .85rem; color: var(--fraca); }
.chat-fim { text-align: center; border-top: 1px solid var(--linha); }
@media (min-width: 720px) { .escrever { bottom: 0; } .chat { min-height: calc(100dvh - 11rem); } }

/* momentos */
.momentos { display: flex; gap: .9rem; padding: .9rem 1rem; overflow-x: auto; border-bottom: 1px solid var(--linha); scrollbar-width: none; }
.momentos::-webkit-scrollbar, .abas::-webkit-scrollbar { display: none; }
.momento-b { flex: none; width: 4.4rem; display: grid; justify-items: center; gap: .3rem; text-decoration: none; }
.momento-b .av { width: 56px; height: 56px; }
.momento-b small { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .74rem; color: var(--fraca); }
.momento-novo .av { width: 62px; height: 62px; margin: 3px; background: var(--realce); color: var(--vermelho); border: 2px dashed var(--vermelho); }
.momento-novo .av .i { width: 26px; height: 26px; }
.momento { position: relative; margin: .8rem auto; width: min(100% - 1.6rem, 27rem); aspect-ratio: 9 / 16; max-height: calc(100dvh - 8rem); border-radius: 18px; overflow: hidden; background: #120d0c; color: #fff; }
.momento-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.momento-barras { position: absolute; z-index: 3; inset: .6rem .7rem auto; display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.momento-barras li { flex: 1; height: 3px; border-radius: 3px; background: rgb(255 255 255 / .35); overflow: hidden; }
.momento-barras i { display: block; height: 100%; width: 0; background: #fff; }
.momento-barras .feita i, .momento-barras .atual i { width: 100%; }
.momento.anda .momento-barras .atual i { width: 0; animation: enche 6s linear forwards; }
@keyframes enche { to { width: 100%; } }
.momento-cab { position: absolute; z-index: 3; inset: 1.1rem .7rem auto; display: flex; align-items: center; gap: .4rem; text-shadow: 0 1px 6px rgb(0 0 0 / .7); }
.momento-cab form { margin: 0; }
.momento-quem { flex: 1; min-width: 0; display: flex; align-items: center; gap: .6rem; text-decoration: none; color: #fff; }
.momento-quem:hover { color: #fff; }
.momento-quem .av { width: 36px; height: 36px; font-size: .95rem; }
.momento-quem time { opacity: .8; font-size: .85rem; margin-left: .3rem; }
.momento-bt { min-width: 44px; min-height: 44px; display: grid; place-items: center; padding: 0 .6rem; background: none; border: 0; color: #fff; font-weight: 700; text-decoration: none; cursor: pointer; border-radius: 999px; text-shadow: inherit; }
.momento-bt:hover { background: rgb(255 255 255 / .18); color: #fff; }
.momento-texto { position: absolute; z-index: 3; inset: auto 0 0; margin: 0; padding: 2.5rem 1rem 1.1rem; background: linear-gradient(transparent, rgb(0 0 0 / .75)); font-size: 1.05rem; text-align: center; overflow-wrap: anywhere; pointer-events: none; }
.momento-lado { position: absolute; z-index: 2; top: 4.2rem; bottom: 0; }
.momento-ant { left: 0; width: 34%; }
.momento-prox { right: 0; width: 66%; }
.compor-momento .previa img { max-height: 420px; }

/* a conversa ocupa a tela: campo de escrever sempre colado embaixo */
main#conteudo:has(#chat) { display: flex; flex-direction: column; min-height: 100dvh; padding-bottom: calc(56px + env(safe-area-inset-bottom)); }
main#conteudo:has(#chat) .chat { flex: 1; min-height: 0; }
@media (min-width: 720px) { main#conteudo:has(#chat) { padding-bottom: 0; } }
@media (max-width: 1079px) { body:has(#chat) .direita, body:has(#momento) .direita { display: none; } }
.perfil-bt { flex-wrap: wrap; justify-content: flex-end; }
.abas a { padding-inline: .6rem; }

/* ---------- menu com Grupos e Comunidades: sete itens cabem no celular ---------- */
.area-nota { padding: .8rem 1rem 0; margin: 0; }
@media (max-width: 719px) {
  .lado nav a { flex: 1 1 auto; font-size: .62rem; padding-inline: .1rem; letter-spacing: -.01em; }
}

/* ---------- compartilhar e a publicação vista de fora ---------- */
.acoes .compart { margin-left: 0; }
.compart summary .i { width: 21px; height: 21px; }
.compart .menu { right: auto; left: 0; }
.vitrine { width: 100%; max-width: 620px; margin: 0 auto; display: grid; gap: 1.2rem; }
.vitrine-post { background: var(--cartao); border: 1px solid var(--linha); border-radius: var(--raio); }
.vitrine-post .foto img { width: 100%; border-radius: 12px; display: block; }
.vitrine-n { color: var(--fraca); font-size: .9rem; margin: .6rem 0 0; }
.vitrine-cta h2 { margin-top: 0; }

/* ---------- o nome e o que ele quer dizer ---------- */
.marca-g { margin-bottom: .5rem; }
.marca-nota { color: var(--fraca); font-size: .95rem; margin: 0 0 2rem; }

/* ---------- Aty: anil, urucum, xilogravura e calçada de ondas ---------- */
h1, h2, .cab, .vazio h2, .vazio h1, .prosa h1, .perfil h1, .tipo b { font-family: var(--titulo); }
.cab { font-weight: 700; letter-spacing: -.02em; }
.sub { text-transform: none; letter-spacing: 0; font: 700 1.05rem/1.3 var(--titulo); color: var(--tinta); }
.selo { text-transform: none; letter-spacing: 0; font-size: .8rem; }
.nome { font-weight: 650; }

/* marca: aty em caixa baixa com o pingo de urucum */
.marca { font: 800 1.9rem/1 var(--titulo); letter-spacing: -.045em; color: var(--vermelho); }
.marca b { text-transform: lowercase; color: var(--vermelho); }
.marca-pingo { display: inline-block; width: .2em; height: .2em; margin-left: .04em; border-radius: 50%; background: var(--urucum); vertical-align: baseline; }

/* botões: apertar afunda */
.bt { border-radius: 14px; font-weight: 650; letter-spacing: .005em; box-shadow: 0 2px 0 var(--vermelho-forte); transition: background .15s, transform .08s, box-shadow .08s; }
.bt:active { transform: translateY(2px); box-shadow: 0 0 0 var(--vermelho-forte); }
.bt-vazado, .bt-perigo { box-shadow: none; }
.bt-vazado:active, .bt-perigo:active { transform: translateY(1px); }
input:not([type=checkbox]):not([type=file]), select, textarea { background: var(--cartao); border-radius: 12px; }

/* curtir, avisos e não lidas em urucum; o resto em anil */
.ac.on:not(.ac-rep) { color: var(--urucum); }
.pingo, .ponto { background: var(--urucum); color: #fff; }
.erro { border-left-color: var(--urucum); }
.denuncia-cab, .perigo, .bt-perigo { color: var(--urucum); }
.bt-perigo { border-color: var(--urucum); }
.bt-perigo:hover { background: var(--urucum); border-color: var(--urucum); color: #fff; }
.caixa-perigo { border-color: var(--urucum); }

/* avatares em azulejo arredondado, aro em anil e urucum */
.av { border-radius: 32%; }
.aro { border-radius: 36%; background: conic-gradient(from 200deg, var(--vermelho), var(--urucum), var(--vermelho)); }
.av-l { font-family: var(--titulo); font-weight: 800; }

/* menu do celular: barra de cal, item ativo com pingo de urucum embaixo */
.lado { background: color-mix(in srgb, var(--cartao) 94%, transparent); backdrop-filter: blur(12px); }
.lado nav a[aria-current] { color: var(--vermelho); }
@media (max-width: 719px) {
  .lado nav a[aria-current]::after { content: ""; position: absolute; bottom: .22rem; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--urucum); }
}
@media (min-width: 720px) {
  .lado { background: none; backdrop-filter: none; }
  .lado nav a[aria-current] { background: var(--realce); font-weight: 650; }
}

/* xilogravura: a imagem é só a tinta; a cor vem do tema */
.xilo { background: var(--arte); -webkit-mask: var(--xilo) center / contain no-repeat; mask: var(--xilo) center / contain no-repeat; }
.xilo-roda { --xilo: url(arte/roda.webp); aspect-ratio: 1400 / 741; }
.vazio::before { content: ""; display: block; width: min(13rem, 62%); aspect-ratio: 1; margin: 0 auto 1.4rem; background: var(--arte); opacity: .9; -webkit-mask: url(arte/fio.webp) center / contain no-repeat; mask: url(arte/fio.webp) center / contain no-repeat; }

/* calçada de Copacabana: faixa de ondas */
.onda, .capa::before, .perfil::before { background: var(--vermelho); -webkit-mask: url(arte/onda.svg) 0 0 / 48px 16px repeat-x; mask: url(arte/onda.svg) 0 0 / 48px 16px repeat-x; }
.perfil { position: relative; background: none; padding-top: 4.2rem; }
.perfil::before { content: ""; position: absolute; inset: 0 0 auto; height: 5.2rem; opacity: .14; -webkit-mask-size: 72px 24px; mask-size: 72px 24px; -webkit-mask-repeat: repeat; mask-repeat: repeat; }
.perfil > * { position: relative; }

/* capa */
.publico { background: var(--fundo); }
.capa { position: relative; grid-template-columns: minmax(0, 1fr); gap: 1.6rem; align-content: start; padding-top: 1.4rem; }
.capa::before { content: ""; position: absolute; inset: -1.2rem 0 auto; height: 16px; opacity: .9; }
.marca-g { font-size: clamp(3.4rem, 13vw, 5.6rem); margin: .4rem 0 1rem; }
.capa h1 { font: 700 clamp(2.1rem, 6.4vw, 3.6rem)/1.02 var(--titulo); letter-spacing: -.035em; max-width: 14ch; margin-bottom: 1rem; }
.capa-sub { font-size: 1.12rem; line-height: 1.5; max-width: 34rem; }
.capa-arte { width: 100%; }
.capa-pontos { margin: 0; gap: 1rem; max-width: none; }
.capa-pontos li { border-left: 0; padding-left: 0; color: var(--fraca); }
.capa-pontos b { display: block; color: var(--tinta); font: 700 1.1rem/1.25 var(--titulo); margin-bottom: .15rem; }
.capa-entrar { border-radius: 20px; box-shadow: 0 1px 0 var(--linha), 0 18px 40px -24px rgb(20 26 46 / .35); }
.marca-nota { margin: 0; font-size: .95rem; }
@media (min-width: 640px) { .capa-pontos { grid-template-columns: repeat(2, 1fr); gap: 1.4rem 2rem; } }
@media (min-width: 960px) {
  .capa { grid-template-columns: minmax(0, 1.5fr) minmax(20rem, 1fr); grid-template-areas: "fala entrar" "arte entrar" "pontos pontos" "nota nota"; gap: 2rem 4rem; max-width: 1180px; }
  .capa-fala { grid-area: fala; }
  .capa-arte { grid-area: arte; }
  .capa-entrar { grid-area: entrar; align-self: center; }
  .capa-pontos { grid-area: pontos; grid-template-columns: repeat(4, 1fr); padding-top: 1.6rem; border-top: 1px solid var(--linha); }
  .marca-nota { grid-area: nota; }
}

/* telas vazias e de erro */
.vazio h2, .vazio h1 { font-weight: 700; letter-spacing: -.02em; }
.erro-cod { color: var(--urucum); }
.vazio:has(.erro-cod)::before { display: none; }

/* entrada da página: a xilo aparece uma vez, devagar */
@media (prefers-reduced-motion: no-preference) {
  .capa-arte { animation: tinta .9s ease-out both .1s; }
  @keyframes tinta { from { opacity: 0; transform: translateY(8px); } }
}
