.community-page {
  display: grid;
  gap: 16px;
  min-width: 0;
  color: var(--xx-text);
  font: 400 14px/1.5 var(--xx-font-ui);
}
.community-page h1, .community-page h2, .community-page p { margin: 0; }
.community-page h1 { font: 750 clamp(26px,4vw,40px)/1.1 var(--xx-font-ui); letter-spacing: -.045em; overflow-wrap: anywhere; }
.community-page h2 { margin-top: 8px; font: 700 18px/1.25 var(--xx-font-ui); letter-spacing: -.025em; }
.community-page h2 small { color: var(--xx-muted); font-size: 12px; }
.community-page a { color: var(--xx-accent); text-decoration: none; }
.community-page a:hover { text-decoration: underline; }
.community-page :is(a,button,summary,select,input,textarea):focus-visible { outline: 2px solid var(--xx-focus-ring); outline-offset: 1px; }
.community-page time { color: var(--xx-muted); font-size: 11px; }
.community-page button { justify-self: start; min-height: 36px; padding: 6px 12px; color: var(--xx-text); background: var(--xx-color-surface-soft); border: 1px solid var(--xx-line); border-radius: 7px; font: 650 13px var(--xx-font-ui); cursor: pointer; }
.community-page button:hover:enabled { border-color: var(--xx-accent); }
.community-page button:disabled { opacity: .58; cursor: default; }
.community-message { padding: 12px 16px; background: var(--xx-color-surface-soft); border-inline-start: 3px solid var(--xx-accent); border-radius: 4px; }
.community-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12px; color: var(--xx-muted); }
.community-post { min-width: 0; background: var(--xx-panel); border: 1px solid var(--xx-line); }
.community-post header { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 6px 9px; }
.community-post header { font-weight: 700; background: var(--xx-color-surface-soft); border-bottom: 1px solid var(--xx-line); }
.community-post p { padding: 10px; white-space: pre-wrap; overflow-wrap: anywhere; }
.community-moderation { display: grid; gap: 6px; }
.community-moderation h3, .community-moderation blockquote { margin: 5px 10px; overflow-wrap: anywhere; }
.community-moderation blockquote { white-space: pre-wrap; color: var(--xx-muted); border-inline-start: 2px solid var(--xx-line); padding-inline-start: 8px; }
.community-decision { display: flex; align-items: end; flex-wrap: wrap; gap: 6px; padding: 0 9px 8px; }
.community-compose, .community-account-card { display: grid; align-content: start; min-width: 0; gap: 12px; padding: clamp(16px,2vw,24px); background: var(--xx-panel); border: 1px solid var(--xx-line); border-radius: 14px; }
.community-compose h2, .community-account-card h2 { margin: 0 0 2px; }
.community-page label { display: grid; gap: 3px; min-width: 0; color: var(--xx-text); font-weight: 600; }
.community-page :is(select,input,textarea) { box-sizing: border-box; width: 100%; min-width: 0; padding: 9px 11px; border: 1px solid var(--xx-line); border-radius: 7px; color: var(--xx-text); background: var(--xx-color-surface-soft); font: 400 14px/1.4 var(--xx-font-ui); }
.community-page textarea { resize: vertical; min-height: 70px; }
.community-form-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.community-page [data-community-feedback] { color: var(--xx-muted); font-size: 12px; overflow-wrap: anywhere; }
.community-page [data-community-feedback]:empty { display: none; }
.community-auth-shell { width: min(100%, 29rem); margin: clamp(18px, 5vw, 64px) auto; }
.community-auth-form { padding: clamp(20px, 4vw, 38px); gap: 19px; border-top: 4px solid var(--xx-accent); }
.community-account > .community-auth-form { max-width: 26rem; }
.community-auth-field { display: grid; gap: 5px; }
.community-auth-field input { min-height: 41px; font-size: 16px; }
.community-password-heading { display: flex; align-items: center; justify-content: space-between; }
.community-password-heading button { min-height: 26px; padding: 2px 0 2px 10px; color: var(--xx-accent); border: 0; background: transparent; }
.community-auth-form :is(.community-auth-primary,.community-auth-passkey) { justify-self: stretch; min-height: 40px; }
.community-auth-form .community-auth-primary { color: var(--xx-panel); background: var(--xx-accent); border-color: var(--xx-accent); }
.community-auth-form .community-auth-primary:hover:enabled { filter: brightness(.93); }
.community-auth-form .community-auth-divider { display: flex; align-items: center; gap: 12px; color: var(--xx-muted); font-size: 12px; }
.community-auth-divider::before,.community-auth-divider::after { content: ''; height: 1px; background: var(--xx-line); flex: 1; }
.community-auth-switch { text-align: center; color: var(--xx-muted); }
.community-auth-switch a { font-weight: 600; }
.community-account-card small { color: var(--xx-muted); }
.community-profile-heading { display: flex; align-items: center; gap: 16px; padding: 20px; background: var(--xx-panel); border: 1px solid var(--xx-line); border-radius: 12px; }
.community-profile-heading > span { display: grid; place-items: center; flex: none; width: 54px; height: 54px; color: var(--xx-accent); background: var(--xx-color-accent-soft); border-radius: 50%; font-size: 20px; font-weight: 700; }
.community-profile-heading p { color: var(--xx-muted); }
