/* Comunidade */
.community-header { display: flex; gap: 0.5rem; margin-bottom: 1.25rem; overflow-x: auto; padding-bottom: 0.25rem; scrollbar-width: none; }
.community-header::-webkit-scrollbar { display: none; }

.post-card { background: var(--surface); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); padding: 1.25rem; margin-bottom: 0.875rem; }
.post-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.875rem; }
.post-meta { flex: 1; min-width: 0; }
.post-author { font-weight: 700; font-size: 0.9rem; }
.post-time { font-size: 0.75rem; color: var(--text-muted); }
.post-type-badge { font-size: 0.7rem; }
.post-content { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.6; margin-bottom: 1rem; }
.post-media { width: 100%; border-radius: var(--radius-md); margin-bottom: 1rem; max-height: 300px; object-fit: cover; }
.post-actions { display: flex; gap: 0.75rem; align-items: center; }
.post-action-btn { background: none; border: none; color: var(--text-muted); cursor: pointer; display: flex; align-items: center; gap: 0.375rem; font-size: 0.875rem; padding: 0.375rem 0.625rem; border-radius: var(--radius-sm); transition: var(--transition); }
.post-action-btn:hover { background: var(--surface-3); color: var(--text-primary); }
.post-action-btn.reacted { color: var(--gold); }
.post-pinned-badge { color: var(--gold); font-size: 0.8rem; margin-left: auto; }

.comment-list { margin-top: 1rem; border-top: 1px solid var(--border-subtle); padding-top: 1rem; }
.comment-item { display: flex; gap: 0.75rem; margin-bottom: 0.875rem; }
.comment-body { flex: 1; background: var(--surface-2); border-radius: 0 var(--radius-md) var(--radius-md) var(--radius-md); padding: 0.75rem; }
.comment-author { font-weight: 700; font-size: 0.825rem; }
.comment-text { font-size: 0.875rem; color: var(--text-secondary); margin-top: 0.25rem; }
.comment-input-row { display: flex; gap: 0.5rem; margin-top: 0.75rem; }
.comment-input-row input { flex: 1; }

.compose-btn {
  position: fixed;
  bottom: calc(var(--bottom-nav-height) + 1.25rem);
  right: 1.25rem;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-gold);
  transition: var(--transition);
  z-index: 50;
}
.compose-btn:hover { transform: scale(1.1); background: var(--gold-light); }
@media (min-width: 768px) { .compose-btn { bottom: 1.25rem; } }

.poll-options { display: flex; flex-direction: column; gap: 0.5rem; margin: 0.875rem 0; }
.poll-option {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--surface-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.poll-option:hover { border-color: var(--border); }
.poll-option.voted { border-color: var(--gold); }
.poll-bar { position: absolute; left: 0; top: 0; bottom: 0; background: var(--gold-muted); z-index: 0; transition: width 0.5s ease; }
.poll-option-text { position: relative; z-index: 1; font-size: 0.875rem; flex: 1; }
.poll-pct { position: relative; z-index: 1; font-size: 0.8rem; font-weight: 700; color: var(--gold); }
