/* Aty — a rede social genuinamente brasileira.
   Cores da natureza: mata (marca), urucum (o que pede atenção), ipê (o fogo
   do meio da roda), jenipapo (o texto) e palha (o 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: #f5f2ea;
  --cartao: #fffdf8;
  --tinta: #16202a;
  --fraca: #5c6158;
  --linha: #e3dccd;
  --vermelho: #1f5c3a;
  --vermelho-forte: #154329;
  --sobre-vermelho: #fff;
  --realce: #e4eee5;
  --urucum: #c8402a;
  --ipe: #e8a817;
  --barro: #9a5b34;
  --arte: #1f5c3a;
  --foco: #c8402a;
  --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 not all /* escuro desligado 03/12: celular igual ao computador */ {
  :root {
    --fundo: #0f1712;
    --cartao: #17221b;
    --tinta: #eef0e8;
    --fraca: #a3ab9e;
    --linha: #283629;
    --vermelho: #7bc795;
    --vermelho-forte: #a3dcb5;
    --sobre-vermelho: #0f1712;
    --realce: #1c2e22;
    --urucum: #ff7a5c;
    --ipe: #f2c14e;
    --barro: #d08a5c;
    --arte: #9fd3ae;
    --foco: #ff7a5c;
    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; }
.atalhos { display: flex; flex-wrap: wrap; gap: .35rem; margin: .45rem 0 0; }
.atalho { width: auto; min-height: 0; padding: .25rem .6rem; border-radius: 999px; white-space: nowrap; border: 1px solid var(--linha, rgba(255,255,255,.25)); background: transparent; color: inherit; font: inherit; font-size: .8rem; cursor: pointer; }
.atalho:hover, .atalho:focus-visible { border-color: var(--vermelho); }
.momento-b.momento-novo small { white-space: normal; text-align: center; line-height: 1.15; overflow: visible; }
.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; }
.foto[href^="/jogos/"] img { max-height: none; }
.jogar-tambem { display: inline-block; margin: .35rem 0 .2rem; padding: .55rem 1.1rem; border-radius: 999px; background: #2a9d4b; color: #fff; font-weight: 700; text-decoration: none; box-shadow: 0 3px 0 #1d6e35; }
.jogar-tambem:hover, .jogar-tambem:focus-visible { background: #33b558; color: #fff; }
.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); }
.cifra-aviso { display: flex; gap: .5rem; align-items: flex-start; margin: 0 .8rem; padding: .5rem .7rem; border-radius: 10px; background: var(--realce); color: var(--fraca); font-size: .8rem; line-height: 1.35; }
.cifra-aviso svg { flex: none; width: 16px; height: 16px; margin-top: .1rem; color: var(--vermelho); }
.cifra-antigas { margin: 0 auto .4rem; font-size: .75rem; color: var(--fraca); text-align: center; }
.escrever-erro { flex: 0 0 100%; margin: 0; font-size: .85rem; color: var(--vermelho); }
.cifra-ruim { font-style: italic; color: var(--fraca); }
@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(22 32 42 / .3); }
.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); } }
}

/* ---------- Aty, 2ª versão: natureza e a roda em volta do fogo ---------- */
.simbolo { width: 1.05em; height: 1.05em; flex: none; display: block; }
.simbolo .s1 { fill: var(--urucum); }
.simbolo .s2 { fill: var(--vermelho); }
.simbolo .s3 { fill: var(--ipe); }
.marca { display: inline-flex; align-items: center; gap: .16em; color: var(--tinta); }
.marca b { color: var(--tinta); }
.lado .marca { display: none; }
@media (min-width: 1080px) { .lado .marca { display: flex; } }
.marca-g .simbolo { width: .92em; height: .92em; }
.aro { background: conic-gradient(from 200deg, var(--vermelho), var(--ipe), var(--urucum), var(--vermelho)); }
.bt { box-shadow: 0 2px 0 var(--vermelho-forte); }

/* trançado no lugar das ondas */
.onda, .capa::before, .perfil::before { background: var(--urucum); -webkit-mask: url(arte/trancado.svg) 0 0 / 24px 16px repeat-x; mask: url(arte/trancado.svg) 0 0 / 24px 16px repeat-x; }
.perfil::before { background: var(--vermelho); opacity: .16; -webkit-mask-size: 36px 24px; mask-size: 36px 24px; -webkit-mask-repeat: repeat; mask-repeat: repeat; }

/* ======================================================================
   kurt: formato de rede social dos anos 2000.
   Barra de links em cima, três colunas, caixas com faixa de título,
   fotos em moldura quadrada, recados alternando cor, letra Verdana.
   As cores seguem as da natureza (mata, urucum, ipê, palha).
   ====================================================================== */
:root {
  --fundo: #dfe8d8; --cartao: #fff; --tinta: #1b241d; --fraca: #5d6a5f; --linha: #b8cbb0;
  --faixa: #cfe0c6; --faixa-t: #154329; --zebra: #f1f6ee; --link: #1f5c3a; --barra: #1f5c3a; --barra-2: #2b7a4d;
  --fonte: Verdana, Tahoma, "DejaVu Sans", Geneva, sans-serif; --titulo: Verdana, Tahoma, "DejaVu Sans", sans-serif;
  --raio: 4px;
}
@media not all /* escuro desligado 03/12: celular igual ao computador */ {
  :root { --fundo: #0d140f; --cartao: #152019; --tinta: #e6ece4; --fraca: #a0ab9f; --linha: #2c3f31;
    --faixa: #213628; --faixa-t: #b5e2c2; --zebra: #19271e; --link: #8fd3a6; --barra: #163d27; --barra-2: #1f5c3a; }
}
body { font: 13px/1.45 var(--fonte); -webkit-font-smoothing: auto; }
a { color: var(--link); text-decoration: none; }
a:hover { color: var(--link); text-decoration: underline; }
h1, h2, .cab, .vazio h2, .vazio h1, .prosa h1, .perfil h1, .tipo b, .sub { font-family: var(--fonte); letter-spacing: 0; }
:focus-visible { border-radius: 2px; }
.marca, .marca b { font-family: "Bricolage Grotesque", var(--fonte); }

/* botões: retângulo com relevo, como nos formulários antigos */
.bt { min-height: 30px; padding: .2rem .9rem; border-radius: 3px; border: 1px solid #7f9a76; background: linear-gradient(#fff, #dbe6d5); color: #1b3a26; font: 700 12px var(--fonte); box-shadow: 0 1px 0 rgb(0 0 0 / .08); }
.bt:hover { background: linear-gradient(#fff, #c9dbc1); border-color: #557a4c; color: #10301b; text-decoration: none; }
.bt:active { transform: none; box-shadow: inset 0 1px 2px rgb(0 0 0 / .2); }
.bt-vazado { background: linear-gradient(#fff, #eef2ec); color: #1b3a26; }
.bt-perigo { color: var(--urucum); border-color: var(--urucum); background: #fff; }
.bt-p { min-height: 26px; padding: .1rem .7rem; font-size: 11px; }
.bt-liso { min-height: 0; padding: .1rem 0; text-decoration: none; color: var(--link); }
.bt-liso:hover { text-decoration: underline; color: var(--link); }
.bt-liso.perigo, .perigo { color: var(--urucum); }
@media not all /* escuro desligado 03/12: celular igual ao computador */ { .bt, .bt-vazado { background: linear-gradient(#2a4232, #1b2d22); color: #e6ece4; border-color: #4a6a53; } .bt:hover { background: linear-gradient(#34523e, #22382a); color: #fff; } .bt-perigo { background: none; } }
@media (pointer: coarse) { .bt { min-height: 40px; } .bt-liso { min-height: 36px; } }
input:not([type=checkbox]):not([type=file]), select, textarea { min-height: 30px; padding: .3rem .45rem; border-radius: 2px; border: 1px solid #9bb293; background: var(--cartao); font-size: 13px; }
@media (pointer: coarse) { input:not([type=checkbox]):not([type=file]), select, textarea { min-height: 42px; font-size: 16px; } }
.form label { font-size: 12px; font-weight: 700; }

/* barra de cima */
.topo { background: linear-gradient(var(--barra-2), var(--barra)); color: #fff; border-bottom: 3px solid var(--ipe); }
.topo-in { max-width: 1080px; margin: 0 auto; padding: .35rem .8rem; display: flex; flex-wrap: wrap; align-items: center; gap: .3rem 1.1rem; }
.topo .marca { font-size: 1.85rem; color: #fff; text-decoration: none; }
.topo .marca b { color: #fff; }
.topo .simbolo .s2 { fill: #9fdcb3; }
.topo .simbolo .s1 { fill: #ff8a6c; }
.topo-nav { display: flex; flex-wrap: wrap; font-weight: 700; }
.topo-nav a { color: #fff; padding: .25rem .55rem; border-right: 1px solid rgb(255 255 255 / .3); white-space: nowrap; }
.topo-nav a:last-child { border-right: 0; }
.topo-nav a[aria-current] { color: var(--ipe); text-decoration: underline; text-underline-offset: .3em; }
.topo-nav a:hover { color: var(--ipe); }
.topo .pingo { position: static; display: inline-block; margin-left: .3rem; vertical-align: 1px; font: 700 10px/1.15rem var(--fonte); }
.topo-eu { margin-left: auto; display: flex; align-items: center; gap: .7rem; font-size: 11px; }
.topo-eu a, .topo-eu .bt-liso { color: #e8f3ea; font-size: 11px; }
.topo-eu .topo-quem { font-weight: 700; color: #fff; }
.topo-eu form { margin: 0; }
.topo-busca { display: flex; gap: .3rem; flex: 0 1 17rem; }
.topo-busca input:not([type=checkbox]) { min-height: 26px; font-size: 12px; border-color: #0f3a22; }
.topo-busca .bt { flex: none; }

/* as três colunas */
.grade { max-width: 1080px; margin: 0 auto; padding: .8rem .6rem 1.5rem; display: grid; gap: .8rem; grid-template-columns: minmax(0, 1fr); }
.lado { position: static; inset: auto; height: auto; background: var(--cartao); border: 1px solid var(--linha); padding: .7rem; backdrop-filter: none; z-index: auto; display: none; }
.lado .marca { display: none !important; }
main#conteudo:not(.publico) { background: var(--cartao); border: 1px solid var(--linha); min-height: 0; padding-bottom: 0; }
.direita { display: block; position: static; padding: 0; }
@media (min-width: 720px) {
  .grade { grid-template-columns: 11rem minmax(0, 1fr); align-items: start; }
  .lado { display: block; position: sticky; top: .6rem; }
  .direita { grid-column: 2; }
}
@media (min-width: 1080px) {
  .grade { grid-template-columns: 11rem minmax(0, 1fr) 17rem; }
  .direita { display: block; grid-column: 3; grid-row: 1; padding: 0; position: static; }
}
.lado-foto { display: block; }
.lado-foto .av { width: 100%; height: auto; aspect-ratio: 1; font-size: 4rem; }
.lado-nome { font-weight: 700; margin: .5rem 0 0; font-size: 14px; overflow-wrap: anywhere; }
.lado-meta { color: var(--fraca); font-size: 11px; margin: 0 0 .5rem; }
.lado .lado-menu { display: grid; flex-direction: column; gap: 0; border-top: 1px solid var(--linha); padding-top: .4rem; }
.lado .lado-menu a { flex: none; flex-direction: row; min-height: 0; color: var(--link); border-radius: 0; display: flex; align-items: center; gap: .45rem; padding: .3rem .2rem; font-size: 12px; }
.lado .lado-menu a:hover { color: var(--link); background: var(--zebra); }
.lado .lado-menu .i { width: 16px; height: 16px; color: var(--urucum); }
.pe { text-align: center; color: var(--fraca); font-size: 11px; padding: 0 1rem 2rem; }

/* fotos em moldura quadrada */
.av { border-radius: 0; border: 1px solid var(--linha); padding: 2px; background: #fff; }
.av-l { background: var(--link); color: #fff; border-color: var(--link); padding: 0; font-family: var(--fonte); }
@media not all /* escuro desligado 03/12: celular igual ao computador */ { .av { background: var(--cartao); } .av-l { background: var(--link); color: #0d140f; } }
.aro { border-radius: 0; padding: 2px; }
.aro .av { border: 2px solid var(--cartao); }
.col .av, .perfil-col .av, .cab-quem-col .av { border-radius: 0; }

/* caixas com faixa de título */
.caixa { border-radius: 0; padding: .7rem; margin: 0 0 .8rem; border-color: var(--linha); }
.caixa > h2:first-child { margin: -.7rem -.7rem .6rem; padding: .35rem .7rem; background: var(--faixa); color: var(--faixa-t); font-size: 13px; font-weight: 700; border-bottom: 1px solid var(--linha); }
.caixa > h2:first-child a { color: var(--faixa-t); }
.caixa > h2 small { font-weight: 400; color: var(--fraca); }
.cab { position: static; backdrop-filter: none; background: var(--faixa); color: var(--faixa-t); font-size: 14px; font-weight: 700; padding: .45rem .8rem; border-bottom: 1px solid var(--linha); }
.sub { font-size: 13px; padding: .6rem .8rem .3rem; }
main > .caixa, main > details.caixa { margin: .7rem; }

/* coluna da direita: amigos e comunidades em grade de 3 */
.canto-grade { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem .4rem; }
.canto-grade a { display: grid; justify-items: center; gap: .2rem; text-align: center; font-size: 11px; line-height: 1.2; }
.canto-grade .av { width: 100%; height: auto; aspect-ratio: 1; font-size: 1.6rem; }
.canto-grade span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.canto-vazio { color: var(--fraca); font-size: 12px; margin: 0; }
.alta a { padding: .25rem .2rem; border-radius: 0; }
.pessoa-l { padding: .3rem; border-radius: 0; }
.pessoa .av { width: 36px; height: 36px; }
.pessoa-t small { font-size: 11px; }

/* início: boas-vindas e sorte do dia */
.boas-vindas { padding: .8rem .9rem .7rem; border-bottom: 1px solid var(--linha); background: linear-gradient(var(--zebra), var(--cartao)); }
.boas-vindas h1 { font-size: 19px; font-weight: 400; margin: 0 0 .35rem; color: var(--tinta); }
.sorte { margin: 0; font-size: 12px; color: var(--fraca); }
.sorte b { color: var(--urucum); }

/* publicações como recados: linhas alternando cor */
.compor { padding: .7rem .8rem; background: var(--zebra); }
.compor textarea { font-size: 13px; background: var(--cartao); border: 1px solid #9bb293; padding: .4rem; min-height: 3.4rem; border-radius: 2px; }
.compor .av { width: 48px; height: 48px; }
.anexo { min-height: 30px; font-size: 12px; border-radius: 2px; }
.post, .coment { padding: .7rem .8rem; gap: .7rem; }
.post:nth-of-type(even) { background: var(--zebra); }
.post .av, .coment .av { width: 54px; height: 54px; }
.nome { font-weight: 700; color: var(--link); }
.arroba, .quando { font-size: 11px; }
.texto { font-size: 13px; }
.foto, .previa img, .vitrine-post { border-radius: 0; }
.acoes { margin: .2rem 0 -.3rem -.3rem; gap: .1rem; }
.ac { min-width: 0; min-height: 30px; padding: 0 .45rem; border-radius: 2px; font-size: 11px; }
.ac .i, .compart summary .i { width: 16px; height: 16px; }
.mais summary { min-width: 30px; min-height: 30px; border-radius: 2px; }
@media (pointer: coarse) { .ac, .mais summary { min-height: 40px; min-width: 40px; } }
.menu { border-radius: 0; padding: .2rem; box-shadow: 2px 3px 0 rgb(0 0 0 / .12); }
.menu a, .menu button { min-height: 30px; padding: .35rem .6rem; border-radius: 0; font-size: 12px; }
.post-col a, .ficha { border-radius: 2px; font-size: 11px; }
.post-faixa { font-size: 11px; }

/* perfil */
.perfil { padding: .8rem .9rem; }
.perfil::before { display: none; }
.perfil h1 { font-size: 20px; font-weight: 700; }
.perfil-av .av { width: 96px; height: 96px; border-width: 1px; }
@media (min-width: 720px) { .perfil-av { visibility: hidden; height: 0; } .perfil-topo { margin-bottom: 0; min-height: 34px; } }
.perfil-ficha { margin: .7rem 0 0; display: grid; border-top: 1px solid var(--linha); }
.perfil-ficha div { display: grid; grid-template-columns: 9rem 1fr; padding: .25rem .3rem; border-bottom: 1px solid var(--linha); }
.perfil-ficha div:nth-child(odd) { background: var(--zebra); }
.perfil-ficha dt { color: var(--fraca); text-align: right; padding-right: .8rem; }
.perfil-ficha dd { margin: 0; }
.numeros { gap: 1rem; font-size: 12px; }
.selo { font-size: 11px; }

/* abas como fichário */
.abas { padding: .5rem .6rem 0; gap: .2rem; background: var(--cartao); }
.abas a { flex: none; min-height: 0; padding: .3rem .8rem; border: 1px solid var(--linha); border-bottom: 0; background: var(--faixa); color: var(--faixa-t); font-weight: 700; font-size: 12px; }
.abas a[aria-current] { background: var(--cartao); color: var(--tinta); position: relative; top: 1px; }

/* tipos, listas, conversa */
.tipo { border-radius: 0; border-left-width: 3px; }
.tipo b { font-size: 14px; }
.conv, .av-item a { padding: .55rem .8rem; }
.conversas li:nth-child(even) .conv, .av-item:nth-child(even) a { background: var(--zebra); }
.balao { border-radius: 3px; }
.msg-minha .balao { border-radius: 3px; background: var(--faixa); }
.escrever { bottom: 0; }
main#conteudo:has(#chat) { min-height: calc(100dvh - 9rem); padding-bottom: 0; }
.momentos { padding: .6rem .8rem; }
.momento-b .av { width: 50px; height: 50px; }
.momento-novo .av { border-radius: 0; }
.vazio { padding: 1.8rem 1rem; }
.vazio::before { width: min(9rem, 50%); margin-bottom: .8rem; }
.vazio h2, .vazio h1 { font-size: 16px; }
.aviso { border-radius: 0; margin: .6rem; background: #fff7d6; color: #4a3b00; border: 1px solid var(--ipe); }
@media not all /* escuro desligado 03/12: celular igual ao computador */ { .aviso { background: #2d2711; color: #f2e3a8; } }
.erro, .opcoes { border-radius: 0; }

/* celular: barra de cima em duas linhas, menu rola para o lado */
@media (max-width: 719px) {
  .topo-in { padding: .3rem .6rem 0; gap: .2rem .6rem; }
  .topo .marca { font-size: 1.5rem; }
  .topo-busca { display: none; }
  .topo-nav { order: 5; flex: 0 0 calc(100% + 1.2rem); flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -.6rem; padding: 0 .3rem; }
  .topo-nav::-webkit-scrollbar { display: none; }
  .topo-nav a { padding: .55rem .6rem; font-size: 12px; }
  .grade { padding: .5rem .4rem 1rem; gap: .5rem; }
}

/* capa: tela de entrada */
.publico { background: var(--fundo); padding: 0 0 2rem; }
.capa { max-width: 980px; padding: 1.6rem 1rem 0; gap: 1.2rem 2.4rem; }
.capa::before { inset: 0 0 auto; height: 10px; }
.capa h1 { font: 400 clamp(1.5rem, 3.6vw, 2.2rem)/1.2 var(--fonte); letter-spacing: -.01em; max-width: 22ch; color: var(--faixa-t); }
.capa-sub { font-size: 14px; color: var(--tinta); }
.marca-g { font-size: clamp(3rem, 10vw, 4.6rem); color: var(--link); }
.capa-entrar { border-radius: 0; box-shadow: 3px 3px 0 rgb(0 0 0 / .08); padding: .8rem; }
.capa-entrar > h2:first-child { margin: -.8rem -.8rem .6rem; padding: .45rem .8rem; }
.capa-entrar .bt { justify-self: start; }
.capa-pontos { font-size: 12px; }
.capa-pontos b { font: 700 13px var(--fonte); }
.capa-pontos li { background: var(--cartao); border: 1px solid var(--linha); padding: .6rem .7rem; }
.rodape-capa { font-size: 11px; }
.prosa { font-size: 13px; }
.prosa h1 { font-size: 20px; }

/* ---------- Rede Kurt (identidade de 03/12/2026): roda de conversa.
   anil na barra e nos links, céu no fundo, maracujá na faixa e no centro
   do símbolo, pitanga nos avisos e contadores ---------- */
:root {
  --anil: #24357e; --maracuja: #f5b700; --pitanga: #d9381e;
  --fundo: #e4eaf4; --cartao: #fff; --tinta: #1d2233; --fraca: #586079; --linha: #b3c2de;
  --faixa: #d5dff0; --faixa-t: #1c2a66; --zebra: #eef2f9; --link: #2b44a0;
  --vermelho: #2b44a0; --vermelho-forte: #1c2a66; --realce: #eef2f9;
  --urucum: #d9381e; --ipe: #f5b700; --arte: #24357e; --foco: #d9381e; --rosa: #d9381e;
}
@media not all /* escuro desligado 03/12: celular igual ao computador */ {
  :root { --anil: #1a2558; --maracuja: #ffcc33; --pitanga: #ff7a5c;
    --fundo: #0e1430; --cartao: #161e42; --tinta: #e7ebf7; --fraca: #a4aecb; --linha: #2b3870;
    --faixa: #212c5c; --faixa-t: #cdd8ff; --zebra: #1a2350; --link: #a9bcff;
    --vermelho: #a9bcff; --vermelho-forte: #cdd8ff; --realce: #1a2350;
    --urucum: #ff7a5c; --ipe: #ffcc33; --arte: #a9bcff; --foco: #ffcc33; --rosa: #ff7a5c; }
}
/* barra de cima: anil cheio com a faixa de maracujá embaixo */
.topo { background: var(--anil); color: #fff; border-bottom: 4px solid var(--maracuja); }
.topo .marca, .topo .marca b { color: #fff; }
.topo .simbolo .s1 { fill: #ff8a70; }
.topo .simbolo .s2 { fill: #fff; }
.topo .simbolo .s3 { fill: var(--maracuja); }
.topo-nav a { color: #fff; border-right-color: rgb(255 255 255 / .28); }
.topo-nav a[aria-current], .topo-nav a:hover { color: var(--maracuja); }
.topo-eu a, .topo-eu .bt-liso { color: #dfe6ff; }
.topo-eu .topo-quem { color: #fff; }
.topo-busca input:not([type=checkbox]) { border-color: #101a4a; }
.topo .pingo { background: var(--pitanga); color: #fff; }
/* a marca: "rede" leve, "kurt" pesado, apertados */
.marca, .marca b { font-family: "Bricolage Grotesque", var(--fonte); }
.marca b { font-weight: 800; letter-spacing: -.035em; text-transform: lowercase; }
.marca .m1 { font-weight: 500; letter-spacing: -.02em; }
.marca > a { display: inline-flex; align-items: center; gap: .16em; color: inherit; text-decoration: none; }
.marca > a b { color: var(--anil); }
@media not all /* escuro desligado 03/12: celular igual ao computador */ { .marca > a b { color: #fff; } }
.simbolo .s1 { fill: var(--pitanga); }
.simbolo .s2 { fill: var(--anil); }
.simbolo .s3 { fill: var(--maracuja); }
@media not all /* escuro desligado 03/12: celular igual ao computador */ { .simbolo .s2 { fill: var(--link); } }
.marca-g, .marca-g b { color: var(--anil); }
@media not all /* escuro desligado 03/12: celular igual ao computador */ { .marca-g, .marca-g b { color: #fff; } }
.bt { border-color: #7f93c6; background: linear-gradient(#fff, #d9e2f3); color: #1c2a66; }
.bt:hover { border-color: #4a62a8; background: linear-gradient(#fff, #c7d4ef); color: #121d4f; }
.bt-vazado { background: linear-gradient(#fff, #eef2f9); color: #1c2a66; }
input:not([type=checkbox]):not([type=file]), select, textarea, .compor textarea { border-color: #8ea0cc; }
@media not all /* escuro desligado 03/12: celular igual ao computador */ {
  .bt, .bt-vazado { background: linear-gradient(#2a376f, #1d2754); color: #e7ebf7; border-color: #45569a; }
  .bt:hover { background: linear-gradient(#34438a, #243063); color: #fff; }
}
.av-l { background: #5b70b8; border-color: #5b70b8; color: #fff; }
.aviso { background: #fff6d6; color: #4d3a00; border-color: var(--maracuja); }
@media not all /* escuro desligado 03/12: celular igual ao computador */ { .aviso { background: #2e2710; color: #f6e3a3; } .av-l { background: #3a4c92; } }
.lado .lado-menu .i { color: var(--pitanga); }
.sorte b, .ac.on:not(.ac-rep) { color: var(--pitanga); }
.pingo, .ponto { background: var(--pitanga); color: #fff; }
.caixa > h2:first-child { border-left: 4px solid var(--maracuja); }
.capa::before { background: linear-gradient(90deg, var(--anil) 0 60%, var(--maracuja) 60% 85%, var(--pitanga) 85%); }
.capa h1 { font-family: "Bricolage Grotesque", var(--fonte); font-weight: 600; letter-spacing: -.02em; color: var(--faixa-t); }

/* pedidos de amizade */
.pedidos { border-color: var(--rosa); }
.pedidos-lista { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.pedido { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .6rem; }
.pedido .pessoa-l { flex: 1 1 12rem; }
.pedido-bts { display: flex; gap: .4rem; }
.pedido-bts form { margin: 0; }
main > .pedidos { margin: .7rem; }

/* vídeos */
.video { margin: .6rem 0 .2rem; border-radius: var(--raio); overflow: hidden; border: 1px solid var(--linha); background: #000; }
.video video { display: block; width: 100%; max-height: 620px; background: #000; }
.video-estado { margin: .6rem 0; padding: .7rem .9rem; border: 1px dashed var(--linha); border-radius: var(--raio); color: var(--fraca); font-size: .95rem; }
.video-estado.erro { border-color: var(--rosa); color: var(--rosa); }
.previa-video { display: flex; align-items: center; gap: .6rem; margin: .4rem 0; font-size: .92rem; color: var(--fraca); }
.previa-video[hidden] { display: none; }
.mosaico-v a { position: relative; aspect-ratio: 9 / 16; background: #000; }
.mosaico-v img { width: 100%; height: 100%; object-fit: cover; }
.mosaico-prep { display: grid; place-items: center; height: 100%; color: #fff; font-size: .85rem; }
.reels { height: calc(100dvh - 9rem); min-height: 420px; overflow-y: auto; scroll-snap-type: y mandatory; overscroll-behavior: contain; display: grid; gap: .8rem; padding: 0 .7rem .7rem; }
.reel { position: relative; scroll-snap-align: start; height: calc(100dvh - 9rem); min-height: 420px; border-radius: var(--raio); overflow: hidden; background: #000; }
.reel video { width: 100%; height: 100%; object-fit: contain; cursor: pointer; }
.reel-som { position: absolute; top: .7rem; right: .7rem; padding: .35rem .7rem; border: 0; border-radius: 999px; background: rgb(0 0 0 / .55); color: #fff; font: inherit; font-size: .85rem; cursor: pointer; }
.reel-info { position: absolute; left: 0; right: 4.2rem; bottom: 0; padding: 2.5rem .9rem .9rem; color: #fff; background: linear-gradient(transparent, rgb(0 0 0 / .7)); }
.reel-info a { color: #fff; }
.reel-info p { margin: .3rem 0 0; font-size: .95rem; text-shadow: 0 1px 2px #000; }
.reel-autor { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; }
.reel-autor .av { width: 36px; height: 36px; }
.reel-col { display: block; font-size: .85rem; opacity: .9; }
.reel-acoes { position: absolute; right: .6rem; bottom: 1rem; display: grid; gap: .9rem; }
.reel-acoes form { margin: 0; }
.reel-bt { display: grid; justify-items: center; gap: .15rem; border: 0; background: none; color: #fff; font: inherit; font-size: .85rem; font-weight: 700; cursor: pointer; text-decoration: none; text-shadow: 0 1px 2px #000; }
.reel-bt .i { width: 30px; height: 30px; filter: drop-shadow(0 1px 2px #000); }
.reel-bt.on .i { color: var(--rosa); fill: var(--rosa); }
@media (prefers-reduced-motion: reduce) { .reels { scroll-snap-type: none; } }

/* notificação no navegador */
.push-chamada { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .7rem; margin: .7rem; padding: .7rem .9rem; border: 1px solid var(--rosa); border-radius: var(--raio); background: var(--cartao); font-size: .95rem; }
.push-chamada[hidden] { display: none; }
.push-chamada > .i { color: var(--rosa); }
.push-chamada span { flex: 1 1 14rem; }

/* visitantes */
.visitas-caixa { margin: .7rem; }
.visitas-caixa h2 a { color: inherit; }
.visitas-opcao { margin: 1rem; }

/* painel do dono */
.numeros-adm { display: grid; grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); gap: .5rem; padding: 1rem; margin: 0; }
.numeros-adm div { flex-direction: column-reverse; align-items: flex-start; gap: 0; padding: .55rem .7rem; border: 1px solid var(--linha); border-radius: 8px; background: var(--cartao); }
.numeros-adm dd { font-size: 1.35rem; }
.tabela-rola { overflow-x: auto; margin: 0 .7rem; }
.tabela { width: 100%; border-collapse: collapse; font-size: .9rem; }
.tabela th, .tabela td { padding: .45rem .5rem; border-bottom: 1px solid var(--linha); text-align: left; vertical-align: middle; white-space: nowrap; }
.tabela th { color: var(--fraca); font-weight: 600; }
.tabela tbody tr:nth-child(even) { background: var(--zebra); }
.tabela form { margin: 0; }
.tabela .apagada td { opacity: .55; }
.tab-pessoa { display: flex; align-items: center; gap: .5rem; text-decoration: none; }
.tab-pessoa .av { width: 32px; height: 32px; }
.tab-pessoa span { display: grid; }
.tab-pessoa small { color: var(--fraca); }
.atividade .av-t small { color: var(--fraca); }

/* ---------- fórum e enquetes ---------- */
.cab-col { margin: .5rem 0 0; }
.cab-col-nome { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--tinta); }
.cab-col-nome .av { width: 48px; height: 48px; }
.cab-col-nome span { display: flex; flex-direction: column; }
.cab-col-nome small { color: var(--fraca); }
.abas-col { margin: .75rem 0 1rem; }
.abas-col small { display: inline-block; min-width: 1.4em; padding: 0 .35em; border-radius: 999px; background: var(--linha); font-size: .75rem; color: var(--tinta); }
.novo-topico { margin-bottom: 1rem; }
.novo-topico summary { cursor: pointer; font-weight: 650; padding: .75rem 0; min-height: 44px; }
.topicos { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--linha); }
.topico-linha { display: grid; grid-template-columns: 40px 1fr auto; gap: .75rem; align-items: center; padding: .8rem .25rem; border-bottom: 1px solid var(--linha); }
.topico-linha .av { width: 40px; height: 40px; }
.topico-linha.fixo { background: color-mix(in srgb, var(--vermelho) 6%, transparent); }
.topico-corpo { min-width: 0; }
.topico-titulo { display: block; font-weight: 650; color: var(--tinta); text-decoration: none; overflow-wrap: anywhere; }
.topico-titulo:hover { text-decoration: underline; }
.topico-corpo small { color: var(--fraca); }
.topico-n { text-align: center; font-weight: 700; font-size: 1.15rem; line-height: 1.1; min-width: 4.5rem; }
.topico-n small { display: block; font-weight: 400; font-size: .72rem; color: var(--fraca); }
.selo-fechado { background: var(--linha); color: var(--fraca); }
.trilha { color: var(--fraca); font-size: .9rem; margin: .5rem 0; }
.topico-aberto h1 { font-size: 1.4rem; margin: .25rem 0 1rem; overflow-wrap: anywhere; }
.msg-forum { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--linha); }
.msg-autor { display: flex; flex-direction: column; align-items: center; gap: .35rem; text-align: center; text-decoration: none; color: var(--tinta); font-size: .9rem; overflow-wrap: anywhere; }
.msg-autor .av { width: 56px; height: 56px; }
.msg-texto { min-width: 0; }
.msg-texto > small { color: var(--fraca); }
.msg-texto form { margin-top: .4rem; }
.acoes-forum { display: flex; flex-wrap: wrap; gap: .25rem 1rem; padding: .25rem 0 .75rem; }
.sub-forum { font-size: 1rem; margin: 1.25rem 0 0; color: var(--fraca); }
.responder-forum { margin-top: 1rem; border-top: 1px solid var(--linha); padding-top: 1rem; }
@media (max-width: 560px) {
  .msg-forum { grid-template-columns: 1fr; gap: .4rem; }
  .msg-autor { flex-direction: row; text-align: left; }
  .msg-autor .av { width: 36px; height: 36px; }
}
.enquete { padding: 1.1rem 0; border-top: 1px solid var(--linha); }
.enquete h2 { font-size: 1.15rem; margin: 0 0 .3rem; overflow-wrap: anywhere; }
.enquete-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; color: var(--fraca); font-size: .88rem; margin: 0 0 .8rem; }
.enquete-meta .av { width: 22px; height: 22px; }
.barras { list-style: none; margin: 0 0 .8rem; padding: 0; display: grid; gap: .65rem; }
.barras li { display: grid; grid-template-columns: 1fr auto; gap: .2rem .75rem; }
.barra-rot { overflow-wrap: anywhere; }
.barra-num { font-weight: 700; font-variant-numeric: tabular-nums; }
.barra-num small { font-weight: 400; color: var(--fraca); }
.barras meter { grid-column: 1 / -1; width: 100%; height: .8rem; }
.barras meter::-webkit-meter-bar { background: var(--linha); border: 0; border-radius: 999px; }
.barras meter::-webkit-meter-optimum-value { background: var(--azul, #6b7fd7); border-radius: 999px; }
.barras meter::-moz-meter-bar { background: var(--azul, #6b7fd7); border-radius: 999px; }
.barras li.minha meter::-webkit-meter-optimum-value { background: var(--vermelho); }
.barras li.minha meter::-moz-meter-bar { background: var(--vermelho); }
.votar fieldset, .opcoes-novas { border: 0; padding: 0; margin: 0 0 .75rem; display: grid; gap: .4rem; }
.votar legend, .opcoes-novas legend { font-weight: 650; margin-bottom: .35rem; }
.opcao-voto { display: flex; align-items: center; gap: .6rem; min-height: 44px; padding: 0 .75rem; border: 1px solid var(--linha); border-radius: 10px; cursor: pointer; }
.opcao-voto:has(input:checked) { border-color: var(--vermelho); }
/* ---------- filtro de segurança no painel ---------- */
.tabela tr.grave td { background: color-mix(in srgb, #d33 10%, transparent); }
.alerta-adm dd { color: #c22; }
.trecho-filtro { overflow-wrap: anywhere; }

/* prévia de link */
.cartao-link { display: block; margin: .6rem 0 .2rem; border: 1px solid var(--linha); border-radius: var(--raio); overflow: hidden; background: var(--cartao); color: var(--tinta); text-decoration: none; }
.cartao-link:hover .cl-t b { text-decoration: underline; }
.cl-img { position: relative; display: block; aspect-ratio: 1.91; background: var(--zebra, #eee); }
.cl-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cl-t { display: grid; gap: .15rem; padding: .55rem .7rem .65rem; border-top: 1px solid var(--linha); }
.cl-t small { color: var(--fraca); font-size: 11px; text-transform: lowercase; }
.cl-t b { font-size: 1rem; line-height: 1.3; }
.cl-t span { color: var(--fraca); font-size: 12px; line-height: 1.4; }
.cl-play { position: absolute; inset: 50% auto auto 50%; width: 64px; height: 44px; margin: -22px 0 0 -32px; border-radius: 12px; background: rgba(200, 30, 30, .9); }
.cl-play::after { content: ""; position: absolute; left: 26px; top: 13px; border-style: solid; border-width: 9px 0 9px 15px; border-color: transparent transparent transparent #fff; }
.cartao-yt.tocando { aspect-ratio: 16 / 9; }
.cartao-yt iframe { display: block; width: 100%; height: 100%; border: 0; aspect-ratio: 16 / 9; }
.previa-link { margin: .4rem 0; }
.previa-link .cartao-link { margin: 0 0 .3rem; pointer-events: none; }
/* aniversários */
.niver-lista { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.niver-lista a { display: flex; gap: .5rem; align-items: center; }
.niver-lista .av { width: 36px; height: 36px; flex: none; font-size: 1rem; }
.niver-lista span { display: grid; min-width: 0; }
.niver-lista small { color: var(--fraca); font-size: 11px; }
.niver-lista .hoje small { color: var(--urucum); font-weight: bold; }

/* ---------- eventos ---------- */
.ev-lista { list-style: none; margin: 0; padding: 0; }
.ev-cartao a { display: grid; grid-template-columns: 3.2rem minmax(0, 1fr) auto; gap: .75rem; align-items: center; padding: .65rem .9rem; border-bottom: 1px solid var(--linha); color: var(--tinta); text-decoration: none; }
.ev-cartao a:hover { background: var(--zebra); }
.ev-cartao:last-child a { border-bottom: 0; }
.ev-data { display: grid; place-items: center; width: 3.2rem; padding: .3rem 0 .35rem; border: 1px solid var(--linha); background: var(--faixa); color: var(--faixa-t); font-size: 11px; line-height: 1.1; text-transform: lowercase; }
.ev-data b { font-size: 1.35rem; line-height: 1; }
.ev-t { display: grid; gap: .1rem; min-width: 0; }
.ev-t b { overflow-wrap: anywhere; }
.ev-t small { color: var(--fraca); font-size: 12px; }
.ev-t em { color: var(--urucum); font-style: normal; font-weight: 700; }
.ev-mini { width: 56px; height: 56px; object-fit: cover; border: 1px solid var(--linha); }
.ev-fora { opacity: .62; }
.ev-lista-mini .ev-cartao a { grid-template-columns: 2.6rem minmax(0, 1fr); padding: .4rem 0; gap: .55rem; }
.ev-lista-mini .ev-data { width: 2.6rem; }
.ev-lista-mini .ev-data b { font-size: 1.05rem; }
.ev-lista-mini .ev-mini { display: none; }
.ev-criar summary { display: flex; align-items: center; gap: .5rem; font-weight: 700; cursor: pointer; min-height: 32px; color: var(--link); }
.ev-criar summary .i { width: 20px; height: 20px; }
.ev-duas { display: grid; grid-template-columns: 1fr 1fr; gap: 0 .7rem; }
.ev-duas > div { display: grid; gap: .35rem; min-width: 0; }
.ev-duas input, .ev-duas select { width: 100%; min-width: 0; }
@media (max-width: 480px) { .ev-duas { grid-template-columns: 1fr; } }
.form .ev-check { display: flex; align-items: flex-start; gap: .5rem; font-weight: 400; }
.form .ev-check input { margin-top: .2rem; }
.ev-capa { display: block; width: 100%; aspect-ratio: 2.4; object-fit: cover; border-bottom: 1px solid var(--linha); }
.ev-titulo { display: flex; gap: .9rem; align-items: center; padding: 1rem 1rem .6rem; }
.ev-titulo h1 { margin: 0; font-size: 1.45rem; line-height: 1.2; overflow-wrap: anywhere; }
.ev-titulo .ev-data { width: 3.8rem; }
.ev-titulo .ev-data b { font-size: 1.7rem; }
.ev-por { margin: .2rem 0 0; color: var(--fraca); font-size: 13px; }
.ev-topo .erro { margin: 0 1rem .6rem; }
.ev-info { margin: 0; padding: .2rem 1rem .4rem; display: grid; gap: .5rem; }
.ev-info div { display: grid; grid-template-columns: 6.2rem minmax(0, 1fr); gap: .6rem; }
.ev-info dt { color: var(--fraca); font-size: 13px; }
.ev-info dd { margin: 0; }
.quebra { overflow-wrap: anywhere; }
.ev-resp { padding: .6rem 1rem; }
.ev-minha { font-weight: 700; margin: 0 0 .5rem; }
.ev-bts { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; max-width: 26rem; }
.ev-bts .bt { width: 100%; min-height: 44px; margin: 0; }
.ev-acoes { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; padding: 0 1rem; margin: .2rem 0 .6rem; }
.ev-desc { padding: .2rem 1rem .6rem; overflow-wrap: anywhere; }
.ev-gente .canto-grade { grid-template-columns: repeat(auto-fill, minmax(4.6rem, 1fr)); padding: 0 1rem .4rem; }
.ev-convidar, main > .caixa.ev-convidar { margin: 1rem; }
.ev-convidar input[type=search] { width: 100%; }
.ev-marcar { margin: .5rem 0; }
.ev-amigos { list-style: none; margin: 0 0 .6rem; padding: 0; max-height: 24rem; overflow: auto; border: 1px solid var(--linha); overscroll-behavior: contain; }
.ev-amigos label { display: flex; align-items: center; gap: .65rem; padding: .35rem .7rem; min-height: 50px; cursor: pointer; border-bottom: 1px solid var(--linha); }
.ev-amigos li:last-child label { border-bottom: 0; }
.ev-amigos label:has(input:checked) { background: var(--zebra); }
.ev-amigos input { width: 20px; height: 20px; flex: none; }
.ev-amigos .av { width: 36px; height: 36px; flex: none; font-size: 1rem; }
.ev-amigos span { display: grid; min-width: 0; }
.ev-amigos small { color: var(--fraca); font-size: 11px; }
.ev-cancelar { padding: 0 1rem; }
#editar { margin: 1rem; }
#editar summary { font-weight: 700; cursor: pointer; color: var(--link); }

/* ---------- celular: barra fixa embaixo e menu que sobe ---------- */
.barra-cel { display: none; }
.menu-cel:not([open]) { display: none; }
@media (max-width: 719px) {
  .topo { position: sticky; top: 0; z-index: 30; }
  .topo-nav, .topo-eu { display: none; }
  .topo-in { padding: .45rem .9rem; padding-top: max(.45rem, env(safe-area-inset-top)); }
  body.dentro { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
  .barra-cel { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: fixed; inset: auto 0 0 0; z-index: 40; background: var(--cartao); border-top: 1px solid var(--linha); padding: 0 env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); box-shadow: 0 -2px 12px rgb(0 0 0 / .07); }
  .barra-cel a, .barra-cel button { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 58px; padding: 0; border: 0; background: none; color: var(--fraca); font: 600 10.5px/1.1 var(--fonte); text-decoration: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .barra-cel [aria-current] { color: var(--link); }
  .barra-cel [aria-current]::before { content: ""; position: absolute; top: 0; left: 30%; right: 30%; height: 3px; border-radius: 0 0 3px 3px; background: var(--urucum); }
  .barra-cel .av { width: 26px; height: 26px; padding: 1px; font-size: .8rem; }
  .barra-cel .pingo { position: absolute; top: 5px; left: calc(50% + 5px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; font: 700 10px/18px var(--fonte); text-align: center; }
  body:has(#chat) .barra-cel, body:has(#momento) .barra-cel { display: none; }
  body.dentro:has(#chat), body.dentro:has(#momento) { padding-bottom: 0; }
  .grade { padding: .4rem .3rem 1rem; }
  .pe { padding: 0 1rem 1.2rem; }
  main > .caixa, main > details.caixa { margin: .7rem; }
  .cab { padding: .8rem; }
}
.menu-cel { margin: auto auto 0; width: 100%; max-width: 560px; max-height: 88dvh; overflow: auto; border: 0; border-radius: 18px 18px 0 0; padding: .9rem 1rem calc(1rem + env(safe-area-inset-bottom)); background: var(--cartao); color: var(--tinta); overscroll-behavior: contain; }
.menu-cel::backdrop { background: rgb(10 15 30 / .45); }
@media (prefers-reduced-motion: no-preference) {
  .menu-cel[open] { animation: menu-sobe .22s cubic-bezier(.2, .8, .2, 1); }
  @keyframes menu-sobe { from { transform: translateY(40%); opacity: 0; } }
}
.mc-cab { display: flex; justify-content: space-between; align-items: center; gap: .6rem; }
.mc-eu { display: flex; align-items: center; gap: .7rem; color: var(--tinta); text-decoration: none; min-width: 0; }
.mc-eu .av { width: 48px; height: 48px; flex: none; font-size: 1.3rem; }
.mc-eu span { display: grid; min-width: 0; }
.mc-eu small { color: var(--link); font-size: 12px; }
.mc-fecha { width: 44px; height: 44px; flex: none; border: 0; background: none; color: var(--tinta); font-size: 1.9rem; line-height: 1; cursor: pointer; }
.mc-busca { margin: .8rem 0; }
.mc-busca input { width: 100%; }
.mc-grade { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; }
.mc-grade a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .35rem; min-height: 78px; padding: .6rem .3rem; border: 1px solid var(--linha); border-radius: 12px; color: var(--tinta); font-size: 12.5px; text-align: center; text-decoration: none; }
.mc-grade a:active { background: var(--zebra); }
.mc-grade .i { color: var(--link); }
.mc-pe { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1rem; font-size: 13px; }
.mc-pe form { margin: 0; }

/* telas grandes: um pouco mais de espaço */
@media (min-width: 1400px) {
  .topo-in { max-width: 1240px; }
  .grade { max-width: 1240px; grid-template-columns: 12rem minmax(0, 1fr) 19rem; }
}

/* ---------- painel do dono: tela larga, sem colunas dos lados ---------- */
body.largo .grade { max-width: 1320px; grid-template-columns: minmax(0, 1fr); }
body.largo .lado, body.largo .direita { display: none; }
.adm-cab { padding: 1rem 1rem .5rem; }
.adm-cab h1 { margin: 0; font-size: 1.45rem; }
.adm-cab p { margin: .25rem 0 0; color: var(--fraca); font-size: 13px; }
.adm-alerta { color: #b3261e; font-weight: 700; }
.adm-corpo { display: grid; gap: 1.4rem; padding: 1rem; }
.adm-bloco h2 { font-size: 1.02rem; margin: 0 0 .65rem; }
.adm-bloco h2 small { color: var(--fraca); font-weight: 400; font-size: 12px; margin-left: .3rem; }
.adm-nota { color: var(--fraca); font-size: 12px; margin: .55rem 0 0; }
.adm-duas { display: grid; gap: 1.4rem; }
@media (min-width: 900px) { .adm-duas { grid-template-columns: 1fr 1fr; } }
.kpis { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 10.5rem), 1fr)); gap: .6rem; }
.kpi { display: grid; gap: .12rem; align-content: start; padding: .7rem .85rem; border: 1px solid var(--linha); border-radius: 10px; background: var(--cartao); }
.kpi-nome { color: var(--fraca); font-size: 12px; }
.kpi-n { font-size: 1.75rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.kpi-var { font-size: 12px; font-weight: 700; color: var(--fraca); }
.kpi-var small { font-weight: 400; color: var(--fraca); margin-left: .2rem; }
.kpi-var.sobe { color: #1f7a3d; }
.kpi-var.desce { color: #b3261e; }
.kpi-ajuda { color: var(--fraca); font-size: 11px; line-height: 1.3; }
.graficos { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.grafico { margin: 0; padding: .7rem .85rem .55rem; border: 1px solid var(--linha); border-radius: 10px; background: var(--cartao); min-width: 0; }
.grafico figcaption { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: .2rem .6rem; font-size: 13px; }
.grafico figcaption span { font-weight: 600; }
.grafico figcaption b { font-variant-numeric: tabular-nums; }
.grafico figcaption small { color: var(--fraca); font-weight: 400; }
.gr { display: block; width: 100%; height: 140px; margin-top: .55rem; overflow: visible; }
.gr-grade { stroke: var(--linha); stroke-width: 1; stroke-dasharray: 3 4; }
.gr-alvo { fill: transparent; }
.gr-b { fill: var(--link); }
.gr-c:hover .gr-b { fill: var(--urucum); }
.gr-eixo { display: flex; justify-content: space-between; margin: .3rem 0 0; color: var(--fraca); font-size: 11px; font-variant-numeric: tabular-nums; }
.adm-tabela { margin-top: .8rem; }
.adm-tabela summary { cursor: pointer; color: var(--link); font-size: 13px; }
.adm-tabela .tabela-rola { margin: .5rem 0 0; max-height: 22rem; overflow: auto; }
.hbarras { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.hbarras li { display: grid; grid-template-columns: minmax(0, 9rem) minmax(0, 1fr) 3.2rem; align-items: center; gap: .6rem; font-size: 13px; }
.hbarras span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hbarras svg { display: block; width: 100%; height: 12px; }
.hbarras rect { fill: var(--link); }
.hbarras b { text-align: right; font-variant-numeric: tabular-nums; }
.totais { margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 8.5rem), 1fr)); gap: .6rem; }
.totais div { border-left: 3px solid var(--linha); padding: .15rem .65rem; }
.totais dt { color: var(--fraca); font-size: 12px; }
.totais dd { margin: 0; font-weight: 700; font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.medidas { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15.5rem), 1fr)); }
.medida { --est: #2e7d4f; position: relative; display: grid; gap: .25rem; align-content: start; padding: .7rem .85rem; border: 1px solid var(--linha); border-left: 4px solid var(--est); border-radius: 10px; background: var(--cartao); }
.est-atencao { --est: #b7791f; }
.est-critico { --est: #c62828; }
.md-nome { color: var(--fraca); font-size: 12px; padding-right: 4.5rem; }
.md-valor { font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.md-barra svg { display: block; width: 100%; height: 6px; }
.md-fundo { fill: var(--zebra); }
.md-uso { fill: var(--est); }
.md-det { color: var(--fraca); font-size: 12px; line-height: 1.35; }
.md-est { position: absolute; top: .65rem; right: .8rem; font-size: 11px; font-weight: 700; color: var(--est); }
.md-est::before { content: "● "; }
@media not all /* escuro desligado 03/12: celular igual ao computador */ {
  .kpi-var.sobe { color: #7fd69a; }
  .kpi-var.desce, .adm-alerta { color: #ff8a80; }
  .medida { --est: #6fcf97; }
  .est-atencao { --est: #f2c14e; }
  .est-critico { --est: #ff6b6b; }
}

/* ---------- check-in ---------- */
.compor-lugar { display: none; grid-template-columns: 1fr 1fr 5.2rem; gap: .4rem .6rem; margin: .5rem 0 0; padding: .6rem; border: 1px solid var(--linha); border-radius: 2px; background: var(--cartao); }
.compor:has([data-checkin]:checked) .compor-lugar { display: grid; }
.compor-lugar label { display: block; font-size: 11px; font-weight: 700; color: var(--fraca); margin-bottom: .15rem; }
.compor-lugar .cl-lugar { grid-column: 1 / -1; }
.compor-lugar input, .compor-lugar select { width: 100%; }
.anexo-ck:has(:checked) { background: var(--realce); box-shadow: inset 0 0 0 1px var(--vermelho); }
.post-lugar { display: flex; align-items: flex-start; gap: .3rem; margin: .1rem 0 .2rem; font-size: 12px; color: var(--fraca); }
.post-lugar .i { width: 14px; height: 14px; flex: none; margin-top: 1px; color: var(--vermelho); }
.post-lugar a { font-weight: 700; }
.ev-checkin { margin: 0 1rem .8rem; padding: .7rem .8rem; border: 1px solid var(--linha); border-left: 3px solid var(--vermelho); border-radius: 2px; background: var(--zebra); }
.ev-checkin .sub { display: flex; align-items: center; gap: .35rem; margin: 0 0 .5rem; }
.ev-checkin .i { width: 16px; height: 16px; color: var(--vermelho); }
.ev-ck-form { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .8rem; }
.ev-ck-form input[name="texto"] { flex: 1 1 14rem; }
.ck-mural { display: inline-flex; align-items: center; gap: .35rem; font-size: 12px; }
.ev-cheguei { display: flex; align-items: center; gap: .4rem; margin: 0; font-weight: 700; }
@media (max-width: 719px) {
  .compor-pe { gap: .2rem; flex-wrap: wrap; }
  .compor-pe .anexo { padding: 0 .5rem; }
  .compor-lugar { grid-template-columns: 1fr 4.6rem; }
}

/* ---------- câmera com filtros (/camera) ---------- */
body.tela-cam { background: #000; overflow: hidden; }
body.tela-cam .topo, body.tela-cam .lado, body.tela-cam .direita, body.tela-cam .barra-cel, body.tela-cam .pe, body.tela-cam .push-chamada { display: none !important; }
body.tela-cam .grade { display: block; max-width: none; padding: 0; margin: 0; }
body.tela-cam main#conteudo:not(.publico) { padding: 0; border: 0; min-height: 0; }
body.tela-cam main#conteudo > :not(.cam) { display: none; }
.cam { --cam-ouro: #ffc83d; --cam-rec: #ff3b30; color: #fff; font-family: var(--fonte); }
.cam-palco { position: fixed; inset: 0; background: #000; overflow: hidden; touch-action: manipulation; user-select: none; -webkit-user-select: none; }
.cam-palco[hidden] { display: none; }
.cam-fonte { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.cam-tela { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; background: #000; }
.cam-msg { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%); width: min(88%, 22rem); margin: 0; padding: .7rem 1rem; border-radius: 14px; background: rgb(0 0 0 / .6); backdrop-filter: blur(8px); text-align: center; font-weight: 600; line-height: 1.35; pointer-events: none; }
.cam-msg:empty { display: none; }
.cam-topo { position: absolute; inset: 0 0 auto 0; display: flex; align-items: center; justify-content: space-between; padding: calc(env(safe-area-inset-top) + .7rem) .8rem .7rem; background: linear-gradient(rgb(0 0 0 / .45), transparent); }
.cam-bt { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgb(0 0 0 / .35); color: #fff; cursor: pointer; backdrop-filter: blur(6px); }
.cam-bt[hidden] { visibility: hidden; display: grid; }
.cam-bt svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cam-bt:focus-visible, .cam-disparo:focus-visible, .cam-fx:focus-visible, .cam-modo button:focus-visible { outline: 3px solid var(--cam-ouro); outline-offset: 3px; }
.cam-tempo { display: flex; align-items: center; gap: .45rem; margin: 0; padding: .3rem .8rem; border-radius: 999px; background: rgb(0 0 0 / .5); font: 700 1rem/1 var(--fonte); font-variant-numeric: tabular-nums; }
.cam-tempo[hidden] { display: none; }
.cam-rec { width: 10px; height: 10px; border-radius: 50%; background: var(--cam-rec); }
.cam-baixo { position: absolute; inset: auto 0 0 0; padding: 2.5rem 0 calc(env(safe-area-inset-bottom) + .7rem); background: linear-gradient(transparent, rgb(0 0 0 / .55)); text-align: center; }
.cam-nome { margin: 0 0 .5rem; font: 700 1rem/1.2 var(--titulo); text-shadow: 0 1px 6px rgb(0 0 0 / .7); }
.cam-faixa { position: relative; height: 92px; }
.cam-filtros { display: flex; gap: 12px; height: 100%; align-items: center; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-inline: calc(50% - 30px); }
.cam-filtros::-webkit-scrollbar { display: none; }
.cam-fx { flex: none; scroll-snap-align: center; display: flex; flex-direction: column; align-items: center; gap: 4px; width: 60px; padding: 0; border: 0; background: none; color: #fff; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.fx-bola { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 2px solid rgb(255 255 255 / .85); box-shadow: 0 2px 8px rgb(0 0 0 / .4); transition: transform .15s; }
.fx-bola svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; filter: drop-shadow(0 1px 2px rgb(0 0 0 / .6)); }
.fx-nome { font: 600 10.5px/1.1 var(--fonte); text-shadow: 0 1px 4px rgb(0 0 0 / .8); white-space: nowrap; opacity: 0; }
.cam-fx[aria-checked="true"] .fx-bola { opacity: 0; }
.cam-fx[aria-disabled="true"] { opacity: .35; }
.fx-normal .fx-bola { background: rgb(255 255 255 / .25); }
.fx-anos2000 .fx-bola { background: linear-gradient(135deg, #ff9a3c, #ff4f9a); }
.fx-retro .fx-bola { background: linear-gradient(135deg, #c9a06b, #6b4a2a); }
.fx-pb .fx-bola { background: linear-gradient(135deg, #eee, #222); }
.fx-quente .fx-bola { background: linear-gradient(135deg, #ffd27a, #e0582d); }
.fx-frio .fx-bola { background: linear-gradient(135deg, #a5e1ff, #2f63c9); }
.fx-sonho .fx-bola { background: linear-gradient(135deg, #ffc4e4, #a98bff); }
.fx-neon .fx-bola { background: conic-gradient(#ff2fd0, #31f0ff, #9dff3a, #ff2fd0); }
.fx-oculos .fx-bola, .fx-cachorro .fx-bola, .fx-coroa .fx-bola, .fx-bigode .fx-bola { background: rgb(31 92 58 / .85); }
.fx-apaixonado .fx-bola { background: #e0245e; }
.fx-fofura .fx-bola { background: #d14f9a; }
.cam-disparo { position: absolute; left: 50%; top: 50%; width: 86px; height: 86px; margin: -43px 0 0 -43px; padding: 0; border: 0; border-radius: 50%; background: transparent; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: none; }
.cam-disparo svg { width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.cd-aro { fill: rgb(255 255 255 / .12); stroke: #fff; stroke-width: 7; }
.cd-prog { fill: none; stroke: var(--cam-rec); stroke-width: 8; stroke-linecap: round; }
.cam-disparo:active svg { transform: rotate(-90deg) scale(.94); }
.cam.gravando .cd-aro { fill: rgb(255 59 48 / .35); }
.cam.gravando .cam-disparo svg { transform: rotate(-90deg) scale(1.12); }
.cam.gravando .cam-filtros, .cam.gravando .cam-modo, .cam.gravando .cam-dica, .cam.gravando [data-vira] { visibility: hidden; }
.cam-modo { display: inline-flex; gap: .2rem; margin-top: .6rem; padding: 3px; border-radius: 999px; background: rgb(0 0 0 / .4); }
.cam-modo button { min-height: 36px; padding: 0 1rem; border: 0; border-radius: 999px; background: none; color: #fff; font: 700 .9rem/1 var(--fonte); cursor: pointer; }
.cam-modo button[aria-pressed="true"] { background: #fff; color: #111; }
.cam-dica { margin: .45rem 1rem 0; font-size: .78rem; opacity: .85; text-shadow: 0 1px 4px rgb(0 0 0 / .8); }
.cam-palco.flash::after { content: ""; position: absolute; inset: 0; background: #fff; animation: cam-flash .35s ease-out forwards; pointer-events: none; }
@keyframes cam-flash { from { opacity: .85; } to { opacity: 0; } }
.cam.gravando .cam-rec { animation: cam-pisca 1s steps(2, start) infinite; }
@keyframes cam-pisca { to { visibility: hidden; } }

.cam-revisao { position: fixed; inset: 0; z-index: 5; display: flex; flex-direction: column; background: #0d0f0e; overflow-y: auto; }
.cam-revisao[hidden] { display: none; }
.cam-previa { flex: none; display: grid; place-items: center; padding: calc(env(safe-area-inset-top) + .6rem) .6rem .4rem; }
.cam-previa img, .cam-previa video { max-width: 100%; max-height: 52dvh; width: auto; height: auto; border-radius: 18px; background: #000; display: block; }
.cam-enviar { display: grid; gap: .55rem; width: min(100%, 30rem); margin: 0 auto; padding: .6rem 1rem calc(env(safe-area-inset-bottom) + 1rem); }
.cam-enviar label { font-weight: 700; font-size: .9rem; }
.cam-enviar textarea { width: 100%; padding: .7rem .8rem; border-radius: 12px; border: 1px solid #3a423c; background: #1a1e1b; color: #fff; font: inherit; resize: vertical; }
.cam-enviar textarea:focus-visible { outline: 3px solid var(--cam-ouro); outline-offset: 1px; }
.cam-progresso { display: grid; gap: .3rem; font-size: .9rem; }
.cam-progresso[hidden], .cam-erro[hidden] { display: none; }
.cam-progresso progress { width: 100%; height: 8px; accent-color: var(--cam-ouro); }
.cam-erro { margin: 0; padding: .6rem .8rem; border-radius: 10px; background: #4a1712; color: #ffd9d3; }
.cam-destinos { display: grid; gap: .5rem; }
/* a revisão tem fundo escuro em qualquer tema: botões próprios, sem o degradê do tema */
.cam .cam-destinos .bt { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 48px; padding: 0 1rem; border-radius: 14px; border: 0; background: var(--cam-ouro); color: #1a1405; font: 700 1rem/1.2 var(--fonte); box-shadow: none; text-decoration: none; }
.cam .cam-destinos .bt:hover { background: #ffd666; color: #1a1405; }
.cam .cam-destinos .bt-vazado { background: #1d221f; color: #fff; border: 1px solid #4b544d; }
.cam .cam-destinos .bt-vazado:hover { background: #29302b; color: #fff; }
.cam .cam-destinos .bt-liso { color: #cfd6d0; text-align: center; justify-self: center; font-size: .95rem; text-decoration: underline; }
.cam .cam-destinos .bt:focus-visible, .cam .cam-destinos .bt-liso:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.cam .cam-destinos [hidden] { display: none; }
.cam-destinos button:disabled { opacity: .5; cursor: progress; }
.cam .nota { padding: 2rem 1rem; text-align: center; }

@media (min-width: 720px) {
  .cam-palco { inset: 50% auto auto 50%; transform: translate(-50%, -50%); height: min(94dvh, 960px); width: auto; aspect-ratio: 9 / 16; border-radius: 22px; box-shadow: 0 0 0 1px rgb(255 255 255 / .08); }
  .cam-palco.flash::after { border-radius: 22px; }
  .cam-revisao { padding: 1.5rem 0; }
}
@media (prefers-reduced-motion: reduce) {
  .cam-palco.flash::after, .cam.gravando .cam-rec { animation: none; }
  .fx-bola, .cam-disparo svg { transition: none; }
}

/* botão da câmera no meio da barra do celular */
@media (max-width: 719px) {
  .barra-cel .bc-cam { color: var(--sobre-vermelho); }
  .barra-cel .bc-cam::after { content: ""; position: absolute; width: 48px; height: 48px; border-radius: 16px; background: var(--urucum); box-shadow: 0 3px 10px rgb(200 64 42 / .35); z-index: -1; }
  .barra-cel .bc-cam { isolation: isolate; }
  .barra-cel .bc-cam .i { width: 26px; height: 26px; }
}

/* e-mail confirmado por código (03/12/2026) */
.lembra-email { margin: .6rem; padding: .6rem .9rem; background: var(--faixa); color: var(--faixa-t); border-left: 4px solid var(--maracuja); font-size: .92rem; }
.lembra-email a { font-weight: 700; color: inherit; }
.campo-codigo { font: 700 1.6rem/1.2 ui-monospace, "Courier New", monospace; letter-spacing: .35em; text-align: center; max-width: 12rem; }
.form-linha { margin: .6rem 0 0; }
.capa-esqueci { margin: .5rem 0 0; font-size: .9rem; }
.email-estado { padding-left: .7rem; border-left: 4px solid var(--faixa); }
.email-ok { border-left-color: #2e8b57; }
.email-falta { border-left-color: var(--pitanga); }
.email-trocar { margin-top: 1rem; }
.email-trocar summary { cursor: pointer; font-weight: 600; color: var(--link); }
@media not all /* escuro desligado 03/12: celular igual ao computador */ { .lembra-email { background: #1a2558; color: #e8ecf8; } }

/* lupa do topo: só no celular, onde o campo de busca não cabe */
.topo-lupa { display: none; }
@media (max-width: 719px) {
  .topo-lupa { display: grid; place-items: center; margin-left: auto; width: 44px; height: 44px; border-radius: 50%; color: #fff; }
  .topo-lupa .i { width: 26px; height: 26px; stroke-width: 2.2; }
  .topo-lupa:hover, .topo-lupa:focus-visible { background: rgb(255 255 255 / .14); color: var(--maracuja); }
}

/* descoberta e privacidade (03/12/2026) */
.abas-exp { display: flex; gap: .4rem; margin: 0 1rem .8rem; }
.abas-exp a { padding: .45rem 1rem; border-radius: 999px; border: 1px solid var(--linha); color: var(--tinta); text-decoration: none; font-weight: 600; }
.abas-exp a[aria-current="page"] { background: var(--vermelho); border-color: var(--vermelho); color: var(--sobre-vermelho); }
.fim-paravoce { text-align: center; margin: 1rem; }
.so-amigos { display: inline-flex; color: var(--fraca); }
.so-amigos .i { width: 15px; height: 15px; }
.compor .quem-ve select { width: auto;  font: inherit; font-size: .85rem; padding: .3rem .4rem; border-radius: 8px; border: 1px solid var(--linha); background: var(--cartao); color: var(--tinta); }
.sugestao .pessoa-t small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sugestao form { margin: 0; flex: none; }
.sug-x { font-size: 1.3rem; line-height: 1; padding: .3rem .45rem; color: var(--fraca); }
.caixa-mais { margin: .6rem 0 0; font-size: .9rem; }
.priv-grupo { border: 0; margin: 0; padding: 0; display: grid; gap: .5rem; }
.priv-grupo legend { font: 700 1.05rem/1.3 var(--titulo); margin-bottom: .5rem; padding: 0; }
.priv-op { display: flex; gap: .7rem; align-items: flex-start; padding: .7rem .8rem; border: 1px solid var(--linha); border-radius: 12px; cursor: pointer; }
.priv-op:has(input:checked) { border-color: var(--vermelho); background: var(--realce); }
.priv-op input[type=radio] { width: auto; min-height: 0; padding: 0; margin: .2rem 0 0; flex: none; accent-color: var(--vermelho); }
.priv-op > span { flex: 1; min-width: 0; }
.priv-op span { display: grid; gap: .1rem; }
.priv-op small { color: var(--fraca); }
.priv-antigas { display: flex; gap: .5rem; align-items: center; margin-top: .3rem; }
.priv-antigas input { accent-color: var(--vermelho); }
.priv-salvar { margin: 0 0 1.2rem; }
.priv-links { margin: 0; padding-left: 1.1rem; display: grid; gap: .3rem; }
.nota-perfil .i, .conta-priv .i { width: 15px; height: 15px; vertical-align: -2px; }
.conta-priv { margin: 0 1rem 1rem; }
.convite-link { display: flex; gap: .5rem; }
.convite-link input { flex: 1; min-width: 0; font: inherit; padding: .5rem .7rem; border: 1px solid var(--linha); border-radius: 10px; background: var(--fundo); color: var(--tinta); }
.partilhas { display: flex; flex-wrap: wrap; gap: .5rem; }
.partilhas .bt { display: inline-flex; align-items: center; gap: .4rem; }
.partilhas .bt .i { width: 18px; height: 18px; }
.partilha-whats { border-color: #1f8f4e; }
.convite-aberto { max-width: 30rem; margin: 2rem auto; padding: 2rem 1.5rem; text-align: center; background: var(--cartao); border: 1px solid var(--linha); border-radius: var(--raio); }
.convite-aberto h1 { font: 800 1.7rem/1.15 var(--titulo); }
.convite-foto { display: flex; justify-content: center; }
.convite-foto .av { width: 88px; height: 88px; font-size: 2rem; }
.convite-bts { display: flex; gap: .6rem; justify-content: center; flex-wrap: wrap; }

/* mapa astral e horóscopo (03/12/2026). A roda é o céu da noite: azul
   fundo, signos na cor do elemento. O resto da página fica quieto. */
.ola-linhas { margin: 0 0 .35rem; font-size: 13px; color: var(--tinta); display: flex; flex-wrap: wrap; gap: .15rem .6rem; }
.ola-horo { margin: 0 0 .35rem; font-size: 13px; }
.ola-horo a { color: var(--link); text-decoration: none; }
.ola-horo a:hover b, .ola-horo a:focus b { text-decoration: underline; }
.mapa-capa, .horo-cab, .mapa-cab { padding: 1rem .2rem .4rem; }
.mapa-capa h1, .mapa-cab h1, .horo-cab h1 { font: 700 1.6rem/1.15 var(--titulo); margin: 0 0 .4rem; }
.mapa-capa p, .mapa-cab p { margin: 0 0 .5rem; max-width: 62ch; }
.mapa-cab .nota, .horo-cab .nota { padding: 0; }
.mapa-selo { display: inline-block; font-size: .85rem; font-weight: 700; color: #f3e6b0; background: #16214f; border-radius: 99px; padding: .2rem .7rem; }
.mapa-ja { margin: .3rem .2rem 1rem; }
.mapa-form input { font-size: 1rem; }
.mapa-form .nota { padding: .8rem 0 0; }
.mapa-feitos ul { margin: 0; padding-left: 1.1rem; }
.mapa-aviso { text-align: center; }
.mapa-presente { background: #16214f; color: #f3e6b0; border-radius: var(--raio); padding: .8rem 1rem; margin: .6rem 0; font-size: 1.05rem; }
.mapa-roda { max-width: 520px; margin: .4rem auto 1rem; }
.roda { display: block; width: 100%; height: auto; }
.roda .r-fundo { fill: #0f1740; }
.roda .r-sig { stroke: rgba(255,255,255,.18); stroke-width: 1; }
.roda .r-sig.e-fogo { fill: rgba(255,122,89,.22); }
.roda .r-sig.e-terra { fill: rgba(123,196,127,.2); }
.roda .r-sig.e-ar { fill: rgba(255,209,102,.2); }
.roda .r-sig.e-agua { fill: rgba(88,180,255,.2); }
.roda .r-sg { font-size: 20px; text-anchor: middle; dominant-baseline: central; }
.roda .t-fogo { fill: #ff7a59; } .roda .t-terra { fill: #7bc47f; } .roda .t-ar { fill: #ffd166; } .roda .t-agua { fill: #58b4ff; }
.roda .r-tq { stroke: rgba(255,255,255,.35); stroke-width: 1; }
.roda .r-lin { fill: none; stroke: rgba(255,255,255,.25); }
.roda .r-casa { stroke: rgba(255,255,255,.22); stroke-width: 1; }
.roda .r-casa.f { stroke: #f3d16b; stroke-width: 1.6; }
.roda .r-cn { fill: rgba(255,255,255,.5); font-size: 10px; text-anchor: middle; dominant-baseline: central; }
.roda .r-ac { fill: #f3d16b; font-size: 11px; font-weight: 700; text-anchor: middle; dominant-baseline: central; }
.roda .r-asp { stroke-width: 1.1; opacity: .75; }
.roda .r-asp.h { stroke: #5fd4e6; } .roda .r-asp.t { stroke: #ff6b81; }
.roda .r-pt { stroke: #fff; stroke-width: 1.5; }
.roda .r-as { fill: #fff; font-size: 19px; text-anchor: middle; dominant-baseline: central; }
.roda .r-rx { fill: #ff9db0; font-size: 9px; text-anchor: middle; dominant-baseline: central; }
.mapa-trio { display: grid; gap: .7rem; margin: 0 0 1rem; }
.trio-item { background: var(--cartao); border: 1px solid var(--linha); border-left: 5px solid var(--el, #888); border-radius: var(--raio); padding: .9rem 1rem; position: relative; }
.trio-item.el-fogo { border-left-color: #e8643f; } .trio-item.el-terra { border-left-color: #4f9a55; } .trio-item.el-ar { border-left-color: #d9a521; } .trio-item.el-agua { border-left-color: #3d8fd9; }
.trio-item h2 { font: 700 1.1rem/1.25 var(--titulo); margin: 0 0 .3rem; }
.trio-item h2 small { display: block; font: 600 .8rem var(--fonte); color: var(--fraca); }
.trio-item p { margin: 0; }
.trio-sig { position: absolute; right: .8rem; top: .4rem; font-size: 2rem; opacity: .25; margin: 0; }
.mapa-tab { width: 100%; border-collapse: collapse; margin: 0 0 1rem; background: var(--cartao); border: 1px solid var(--linha); font-size: .92rem; }
.mapa-tab th, .mapa-tab td { padding: .4rem .6rem; border-bottom: 1px solid var(--linha); text-align: left; }
.mapa-tab thead th { font-size: .8rem; color: var(--fraca); }
.barras-el { width: 100%; max-width: 360px; height: auto; display: block; margin: 0 0 .6rem; }
.barras-el .b-nome, .barras-el .b-pct { fill: var(--tinta); font-size: 12px; }
.barras-el .b-fogo { fill: #e8643f; } .barras-el .b-terra { fill: #4f9a55; } .barras-el .b-ar { fill: #d9a521; } .barras-el .b-agua { fill: #3d8fd9; }
.mapa-leit article { padding: .6rem 0; border-top: 1px solid var(--linha); }
.mapa-leit h3 { font-size: 1rem; margin: 0 0 .2rem; }
.mapa-leit h3 small { font-weight: 400; color: var(--fraca); }
.mapa-leit p, .mapa-eq p { margin: 0 0 .4rem; }
.mapa-tranca { text-align: center; background: linear-gradient(#16214f, #0f1740); color: #eef0ff; border-color: #2b3a80; }
.mapa-tranca h2 { color: #f3e6b0; }
.mapa-tranca .nota { color: #c8cdf0; }
.mapa-tranca .convite-bts { justify-content: center; }
.mapa-acoes { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin: 0 0 1rem; }
.horo-simb { color: var(--urucum); }
.horo-frase { font-style: italic; margin: .3rem 0 0; }
.horo-dia h2 { font: 700 1.25rem/1.25 var(--titulo); margin: 0 0 .5rem; }
.horo-dia h3 { font-size: .95rem; margin: .8rem 0 .15rem; }
.horo-dia p { margin: 0 0 .3rem; }
.horo-dados { display: flex; flex-wrap: wrap; gap: .3rem 1rem; font-size: .9rem; color: var(--fraca); margin-top: .7rem !important; }
.horo-ceu { padding: 0 .2rem 1rem; }
.horo-grade { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: .4rem; margin: 0 0 1rem; }
.horo-grade a { display: flex; flex-direction: column; align-items: center; gap: .1rem; padding: .55rem .3rem; background: var(--cartao); border: 1px solid var(--linha); border-radius: 12px; text-decoration: none; color: var(--tinta); font-size: .88rem; }
.horo-grade a span { font-size: 1.4rem; color: var(--urucum); }
.horo-grade a[aria-current] { border-color: var(--link); background: var(--realce); font-weight: 700; }
.capa-mapa { display: inline-block; margin-top: .6rem; }
@media not all /* escuro desligado 03/12: celular igual ao computador */ { .mapa-selo, .mapa-presente { background: #26336e; } }

/* ---------- Perfil editável no lugar + selo Testador (03/12/2026) ---------- */
.selo-testador { display: inline-flex; align-items: center; gap: .25em; vertical-align: middle; padding: .15em .55em .15em .3em; border-radius: 999px;
  background: #fff4cc; color: #6b4e00; border: 1px solid #f5b700; font: 700 .72rem/1.2 var(--fonte); letter-spacing: .02em; white-space: nowrap; }
.selo-testador .ic-testador { width: 1.35em; height: 1.35em; color: #f5b700; flex: none; }
.perfil h1 .selo-testador { font-size: .8rem; margin-left: .3em; }
.lado-nome .selo-testador { font-size: 10px; margin-top: .25rem; }
@media not all /* escuro desligado 03/12: celular igual ao computador */ { .selo-testador { background: #3a2e00; color: #ffdf7a; border-color: #ffcc33; } .selo-testador .ic-testador { color: #ffcc33; } }
.perfil-av { position: relative; }
.troca-foto { position: absolute; right: -2px; bottom: -2px; margin: 0; }
.troca-foto-bt { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--vermelho); color: #fff; border: 3px solid var(--fundo); cursor: pointer; }
.troca-foto-bt .i { width: 18px; height: 18px; }
.troca-foto-bt.enviando { opacity: .5; pointer-events: none; }
.troca-foto-bt:focus-within { outline: 2px solid var(--vermelho); outline-offset: 2px; }
.perfil-falta { display: flex; flex-wrap: wrap; gap: .4rem; margin: .5rem 0 0; }
.perfil-falta .bt-liso { border: 1px dashed var(--linha); border-radius: 8px; padding: .45rem .7rem; color: var(--vermelho); font-weight: 600; min-height: 40px; }
.dlg-perfil:not([open]) { display: none; }
.dlg-perfil { width: min(560px, 100%); max-height: 92dvh; overflow: auto; border: 0; border-radius: 14px; padding: .9rem 1.1rem 1.2rem; background: var(--cartao); color: var(--tinta); overscroll-behavior: contain; }
.dlg-perfil::backdrop { background: rgb(10 15 30 / .45); }
.dlg-cab { display: flex; justify-content: space-between; align-items: center; }
.dlg-cab h2 { margin: 0; font-size: 1.15rem; }
.dlg-perfil .ep-niver { margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid var(--linha); }
.dlg-perfil h3 { margin: 0 0 .4rem; font-size: 1rem; }
.dlg-perfil input:not([type=checkbox]):not([type=file]):not([type=hidden]), .dlg-perfil select, .dlg-perfil textarea { width: 100%; max-width: 100%; }
.dlg-perfil .dupla > div { min-width: 0; }
.dlg-perfil .form { grid-template-columns: minmax(0, 1fr); }
.dlg-perfil .foto-atual input[type=file] { max-width: 100%; }
.dlg-pe { margin: 1rem 0 0; font-size: .85rem; text-align: center; }
@media (max-width: 719px) { .dlg-perfil { margin: auto auto 0; border-radius: 18px 18px 0 0; padding-bottom: calc(1.2rem + env(safe-area-inset-bottom)); } }
#abas { scroll-margin-top: 70px; }

/* passe a limpo (03/12): nada sobreposto nem cortado */
.compor-pe { flex-wrap: wrap; gap: .3rem .4rem; }
.compor-pe .anexo { white-space: nowrap; padding: 0 .55rem; }
.compor-pe .quem-ve { margin-left: auto; }
.compor-pe .quem-ve + .bt { margin-left: 0; }
.compor .quem-ve select { min-width: 0; max-width: 9rem; }
.ola-linhas { display: grid; gap: .1rem; }
.direita .sugestao { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: .2rem; padding-bottom: .35rem; }
.direita .sugestao .pessoa-l { grid-column: 1; grid-row: 1; }
.direita .sugestao form[data-dispensa] { grid-column: 2; grid-row: 1; }
.direita .sugestao form:not([data-dispensa]) { grid-column: 1 / -1; grid-row: 2; padding-left: calc(36px + 1rem); }
.direita .sugestao .pessoa-t small { white-space: normal; }
.direita .canto-grade { grid-template-columns: repeat(auto-fill, minmax(4.8rem, 1fr)); }
.canto-grade a > span:not(.av) { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: anywhere; }

/* comunidades sugeridas, visualizações e eventos perto (03/12/2026) */
.sug-faixa { display: flex; align-items: center; gap: .9rem; margin: .4rem 1rem .6rem; padding: .85rem 1rem; border: 1px solid var(--linha); border-radius: var(--raio); background: var(--realce); color: var(--tinta); text-decoration: none; }
.sug-faixa:hover { border-color: var(--vermelho); color: var(--tinta); }
.sug-faixa > span:first-child { font-size: 1.5rem; letter-spacing: .1em; flex: none; }
.sug-faixa > span:last-child { display: grid; gap: .15rem; min-width: 0; }
.sug-faixa small { color: var(--fraca); }
.sug-lista .pessoa { display: flex; align-items: center; gap: .5rem; }
.sug-lista form { margin: 0; flex: none; }
.sug-ic { width: 48px; height: 48px; display: grid; place-items: center; font-size: 1.55rem; background: var(--realce); border-radius: 32%; flex: none; }
.sug-busca { flex-wrap: wrap; }
.sug-busca input { flex: 1 1 11rem; min-width: 0; }
.sug-t { font: 700 .98rem/1.3 var(--titulo); margin: .9rem 1rem .1rem; }
.sug-t small { color: var(--fraca); font-weight: 400; }
.vazio-curto { padding: 1.2rem 1.5rem; }
.vazio-curto::before { display: none; }
.sug-canto { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.sug-canto li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .55rem; }
.sug-canto .sug-ic { width: 36px; height: 36px; font-size: 1.15rem; }
.sug-canto form { margin: 0; }
.sug-canto .bt-p { min-height: 32px; padding: .15rem .7rem; font-size: .85rem; }
.ac.vistas { cursor: default; min-width: 56px; }
.ac.vistas:hover { background: none; color: var(--fraca); }
.ev-perto { color: var(--vermelho); font-weight: 700; }
.ev-lugar { margin: .6rem 1rem; }
.sug-lista .pessoa-t small { white-space: normal; }
.sug-canto .bt-p { font-size: .78rem; }
/* nada vaza da caixa (print do dono, 03/12): hashtag ou nome comprido quebra */
.direita, .lado, main, .direita > *, .alta li, .alta a, .alta b { min-width: 0; }
.caixa, .alta a, .alta b, .pessoa-t b, .ev-t b, .post-col a, .sug-canto b { overflow-wrap: anywhere; }

/* quem viu o momento (só o dono) */
.momento-vistos { position: static; }
.momento-vistos summary { list-style: none; gap: .3rem; grid-auto-flow: column; }
.momento-vistos summary::-webkit-details-marker { display: none; }
.momento-vistos summary .i { width: 20px; height: 20px; }
.vistos-caixa { position: absolute; z-index: 5; top: 3.2rem; left: 0; right: 0; max-height: min(26rem, 70dvh); overflow-y: auto; background: rgb(18 13 12 / .94); border-radius: 14px; padding: .7rem .8rem; text-shadow: none; }
.vistos-t { margin: 0 0 .5rem; font-weight: 700; }
.vistos-caixa ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.vistos-caixa li { display: flex; align-items: center; gap: .6rem; }
.vistos-caixa a { flex: 1; min-width: 0; display: flex; align-items: center; gap: .6rem; color: #fff; text-decoration: none; }
.vistos-caixa b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vistos-caixa .av { width: 36px; height: 36px; font-size: .95rem; flex: none; }
.vistos-caixa time { font-size: .8rem; opacity: .75; flex: none; }

/* curiosidades da comunidade de lugar ou time */
.curios { margin: .6rem 1rem; }
.curios h2 { margin: 0 0 .4rem; font-size: 1rem; }
.curios ul { margin: 0; padding-left: 1.1rem; display: grid; gap: .3rem; }
.curios li { overflow-wrap: anywhere; }
.curios details { margin-top: .3rem; }
.curios summary { cursor: pointer; color: var(--vermelho); font-weight: 600; min-height: 44px; display: flex; align-items: center; }
.curios-fonte { margin: .4rem 0 0; font-size: .78rem; color: var(--fraca); }

/* para sair perto: cinemas, teatros, museus (OpenStreetMap) */
.sair-busca { flex-wrap: wrap; }
.sair-grupo, .sair-eventos { margin: .6rem 1rem; }
.sair-grupo h2, .sair-eventos h2 { margin: 0 0 .4rem; font-size: 1rem; }
.sair-lista { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.sair-lista li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .1rem .6rem; align-items: baseline; padding-bottom: .5rem; border-bottom: 1px solid var(--linha, #dde3ef); }
.sair-lista li:last-child { border-bottom: 0; padding-bottom: 0; }
.sair-lista b { overflow-wrap: anywhere; }
.sair-lista small { color: var(--fraca); white-space: nowrap; }
.sair-links { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .2rem 1rem; font-size: .88rem; }
.sair-links a { min-height: 32px; display: inline-flex; align-items: center; }
.sair-fonte { font-size: .78rem; }

/* comunidade: chamar amigos de fora e avaliação da coordenação (03/12/2026) */
.fora, .aval { margin: .6rem 1rem; }
.fora summary, .aval summary { cursor: pointer; display: flex; flex-wrap: wrap; gap: .2rem .6rem; align-items: baseline; min-height: 32px; }
.fora summary small, .aval summary small { color: var(--fraca); }
.fora p, .aval p { margin: .5rem 0; }
.aval-regras { margin: .4rem 0; padding-left: 1.1rem; display: grid; gap: .25rem; font-size: .92rem; }
.aval-placar { display: flex; height: 12px; border-radius: 99px; overflow: hidden; background: var(--linha); margin: .6rem 0 .3rem; }
.aval-sim { background: var(--vermelho); transition: width .4s; }
.aval-nao { background: var(--urucum); transition: width .4s; }
.aval-vazio span { opacity: .2; }
.aval-num { font-size: .92rem; }
.aval-alerta { margin-top: .6rem; }

#sair-aqui[hidden], #sair-geo-nota[hidden] { display: none; }

/* 03/12/2026 (vídeo do dono): no celular a página "jogava" para os lados ao rolar com o dedo.
   Algo passava da largura da tela (ex.: .topo-nav com margem negativa). A página agora só rola na vertical;
   as faixas que rolam de lado (.abas, .momentos, .topo-nav) continuam rolando dentro delas. */
html, body { overflow-x: clip; max-width: 100%; overscroll-behavior-x: none; }
@supports not (overflow: clip) { html, body { overflow-x: hidden; } }
