/* Página inicial: mapa de pontos fixo ao fundo e o feed rolando por cima */
.fundo-mapa { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; height: 100lvh; z-index: 0; }
.fundo-mapa canvas { width: 100%; height: 100%; }
.feed { position: relative; z-index: 2; }

.abertura { min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; pointer-events: none; }
.abertura .faixa { pointer-events: auto; padding-bottom: 28px; }
.abertura .grande { max-width: 1100px; }
.abertura .texto { margin-top: 18px; max-width: 640px; }
.desce { display: inline-flex; margin-top: 18px; }

.posts { width: min(560px, calc(100% - 2 * var(--gutter))); margin: 0 0 0 var(--gutter); padding: 0 0 22vh; }
.post {
  background: var(--vidro-forte);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  padding: 12px 16px 14px;
  margin: 0 0 62vh;
  scroll-margin-top: 90px;
}
.post:first-child { margin-top: 42vh; }
.post__topo { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 14px; }
.post__autor { display: flex; align-items: center; gap: 8px; font: 500 14px/16px var(--ui); }
.post__autor small { color: var(--cinza); font-weight: 400; }
.avatar { width: 26px; height: 26px; border-radius: 50%; background: radial-gradient(circle, #000 0 3px, var(--cinza-2) 3.5px 13px); flex: none; }
.post__titulo { font: 500 33px/35px var(--texto); letter-spacing: -0.015em; margin: 0 0 16px; text-wrap: balance; }
.post__titulo em { font-style: normal; white-space: nowrap; }
.post__viz { margin: 0 0 14px; min-height: 40px; }
.post__fonte { font: 400 var(--fs-p)/var(--lh-p) var(--ui); color: #555; margin: 6px 0 0; }
.post__fonte a { color: inherit; }
.post .texto { font-size: 18px; line-height: 24px; }
.post__acoes { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 14px; }
.post__acoes .pill { font-size: 15px; min-height: 24px; padding: 3px 8px; }

.painel--legenda { top: auto; bottom: var(--gutter); }
.painel--legenda .titulo-passo { color: var(--cinza); font-weight: 400; font-size: 14px; }

.fim { position: relative; z-index: 2; background: var(--papel); }
.fim .faixa { background: var(--cinza-3); }

@media (max-width: 899px) {
  .posts { width: auto; margin: 0 8px; }
  .post__autor small { display: none; }
  .post { margin-bottom: 70svh; }
  .post:first-child { margin-top: 64svh; }
  .post__titulo { font-size: 27px; line-height: 29px; }
}
.painel--legenda { transition: opacity 0.3s; }
.painel--legenda.fora { opacity: 0; pointer-events: none; }
