.community-page {
  max-width: 1120px;
}

.community-page__intro {
  margin-bottom: var(--sp-6);

  h1 {
    margin: 0 0 var(--sp-2);
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2.5vw, 1.85rem);
    font-weight: 800;
    letter-spacing: 0.02em;
    color: #fff;
  }

  p {
    margin: 0;
    color: #fff;
    font-size: 0.9rem;
    opacity: 0.85;
  }
}

.community-composer {
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
}

.community-composer__avatar {
  width: 42px;
  height: 42px;
  border-radius: var(--r-full);
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--arena-border);
  background: var(--arena-surface-03);
}

.community-composer__actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-3);
  flex-wrap: wrap;
}

.feed-item {
  display: flex;
  gap: var(--sp-3);
  padding: var(--sp-4) var(--sp-5);
  border-bottom: 1px solid var(--arena-border);
  transition: background 160ms ease;

  &:last-child {
    border-bottom: none;
  }

  &:hover {
    background: rgba(255, 255, 255, 0.02);
  }
}

.feed-avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--r-full);
  object-fit: cover;
  flex-shrink: 0;
  background: var(--arena-surface-03);
  border: 1px solid var(--arena-border);
}

.feed-content {
  flex: 1;
  min-width: 0;
}

.feed-text {
  font-size: 0.9rem;
  line-height: 1.55;
  color: #fff;

  .actor {
    color: #fff;
    font-weight: 700;
    text-decoration: none;

    &:hover {
      color: var(--arena-accent);
    }
  }

  .target {
    color: var(--arena-accent);
    font-weight: 600;
  }
}

.feed-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-3);
  margin-top: var(--sp-2);
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.7);
}

.feed-reactions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}

.community-group {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3);
  border-radius: var(--r-md);
  background: var(--arena-surface-02);
  border: 1px solid var(--arena-border);
  color: #fff;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: border-color 160ms ease, background 160ms ease;

  &:hover {
    border-color: rgba(0, 212, 255, 0.35);
    background: var(--arena-surface-03);
    color: #fff;
  }

  span:first-child {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--r-sm);
    background: rgba(0, 212, 255, 0.12);
    color: var(--arena-accent);
    font-size: 0.85rem;
  }
}
