/* Standalone edition of the existing page-scoped design tokens. */
*{box-sizing:border-box}html,body{margin:0}h1,p{margin:0}

.community-page {
  --background: oklch(1 0 0);
  --foreground: oklch(0.2 0 0);
  --primary: oklch(0.55 0.2 254);
  --primary-foreground: oklch(1 0 0);
  --muted-foreground: oklch(0.48 0 0);
  --ring: var(--primary);
  --community-shadow: 0 3px 12px oklch(0.55 0.2 254 / 22%);
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--background);
  color: var(--foreground);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.community-main {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 48px 24px;
}
.community-profile {
  width: min(100%, 340px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  animation: community-enter 500ms ease-out both;
}
.community-portrait {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary);
  padding: 2px;
}
.community-title {
  margin-top: 18px;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}
.community-description {
  margin-top: 8px;
  color: var(--muted-foreground);
  font-size: 13px;
  line-height: 1.5;
}
.community-join {
  margin-top: 22px;
  width: min(100%, 280px);
  min-height: 44px;
  height: auto;
  padding: 12px 20px;
  border-radius: 999px;
  white-space: normal;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: 0;
  box-shadow: var(--community-shadow);
}
.community-footer {
  padding: 12px 24px 20px;
  text-align: center;
  color: var(--muted-foreground);
  font-size: 11px;
  line-height: 1.6;
}
.community-footer p { max-width: 620px; margin-inline: auto; }
@keyframes community-enter {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .community-profile { animation: none; }
}

.community-join{display:flex;align-items:center;justify-content:center;gap:8px;background:var(--primary);color:var(--primary-foreground);text-decoration:none;transition:opacity .2s ease}
.community-join:hover{opacity:.9}.community-join:focus-visible{outline:3px solid var(--ring);outline-offset:4px}.community-join svg{width:16px;height:16px;flex:none}
