/* Community components share the site's theme, typography and button system. */
.community-shell {
	grid-template-columns: 260px minmax(0, 1fr);
	align-items: start;
	gap: 2rem;
	padding-top: 1.25rem;
	padding-bottom: 2rem;
}

.community-sidebar {
	position: sticky;
	top: calc(var(--header-height) + 1rem);
	max-height: calc(100dvh - var(--header-height) - 2rem);
	overflow-y: auto;
	scrollbar-width: thin;
	padding-inline-end: .875rem;
	scrollbar-gutter: stable;
}

.community-brand {
	display: flex;
	gap: .7rem;
	padding: .25rem .5rem 1.25rem;
	color: var(--text);
}

.community-brand-icon {
	place-items: center;
	width: 38px;
	height: 38px;
	flex: 0 0 38px;
	border-radius: 12px;
	background: var(--bg-secondary);
	border: 1px solid var(--border-soft);
	color: var(--gold);
}

.community-brand strong {
	display: block;
	font-size: 1rem;
	line-height: 1.5;
}

.community-brand small {
	display: block;
	color: var(--text-secondary);
	font-size: .875rem;
	letter-spacing: .04em;
}

.community-navigation-toggle {
	display: none;
}

.community-navigation-body {
	gap: .35rem;
}

.community-nav-group {
	padding-top: 1rem;
	margin-top: .5rem;
	border-top: 1px solid var(--border-soft);
}

.community-nav-heading {
	margin: 0 0 .35rem;
	padding: .3rem .4rem;
	overflow-wrap: normal;
	word-break: normal;
}

.community-group-icon {
	flex: 0 0 18px;
	width: 18px;
	text-align: center;
	color: var(--gold);
	font-size: .85rem;
}

.community-nav-link {
	gap: .6rem;
	min-height: 36px;
	padding: .4rem .65rem;
	border-radius: var(--s2);
	color: var(--text-secondary);
	font-size: .9375rem;
	line-height: 1.4;
}

.community-nav-section {
	margin-left: 1.2rem;
}

.community-nav-overview {
	font-weight: 600;
	color: var(--text);
}

.community-nav-link:hover {
	color: var(--text);
	background: var(--bg-secondary);
}

.community-nav-link.is-current {
	color: var(--gold);
	background: color-mix(in srgb, var(--gold) 12%, var(--bg));
	font-weight: 600;
}

.community-nav-link:focus-visible,
.community-discovery-link:focus-visible,
.community-section-link:focus-visible {
	outline: 2px solid var(--gold);
	outline-offset: 2px;
}

.community-main {
	min-width: 0;
}

.community-heading-row {
	align-items: center;
	gap: 1.25rem;
	padding: .25rem 0 .75rem;
}

.community-heading-row>.community-create {
	margin: 0;
}

.community-heading-copy {
	min-width: 0;
}

.community-welcome {
	padding: 1.75rem;
	border: 1px solid var(--border-soft);
	border-radius: 16px;
	background: var(--bg-secondary);
	align-items: flex-start;
}

.community-eyebrow {
	display: block;
	color: var(--gold);
	font-size: .875rem;
	line-height: 1.5;
	letter-spacing: .035em;
	margin-bottom: .55rem;
}

.community-heading {
	margin: 0;
}

.community-intro {
	margin: .7rem 0 0;
	max-width: 48ch;
	font-size: 1rem;
	line-height: 1.65;
	color: var(--text-secondary);
}

.community-stats {
	gap: .5rem 1.25rem;
	margin-top: 1.25rem;
	color: var(--text-secondary);
	font-size: .875rem;
	line-height: 1.5;
}

.community-stats strong {
	color: var(--text);
	font-weight: 650;
	margin-right: .2rem;
}

.btn.community-create {
	flex-shrink: 0;
	min-height: 42px;
	min-width: 0;
	padding: .6rem .9rem;
	border-radius: 10px;
	font-size: .9375rem;
	line-height: 1.3;
	box-shadow: none;
}

.community-back {
	display: inline-flex;
	margin-bottom: .8rem;
	font-size: .875rem;
	color: var(--text-secondary);
}

.community-back:hover {
	color: var(--gold);
}

.community-title-row {
	gap: .75rem;
}

.community-section-symbol {
	place-items: center;
	width: 44px;
	height: 44px;
	flex: 0 0 44px;
	border-radius: 12px;
	background: var(--bg-secondary);
	color: var(--gold);
}

.community-discovery {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: .65rem;
}

.community-discovery-link {
	gap: .65rem;
	padding: .8rem 1rem;
	color: var(--text);
	border: 1px solid var(--border-soft);
	border-radius: 10px;
	background: var(--bg-secondary);
	font-size: .9375rem;
	font-weight: 500;
	line-height: 1.4;
}

.community-discovery-link i {
	color: var(--gold);
	width: 20px;
	text-align: center;
	flex-shrink: 0;
}

.community-discovery-link:hover {
	border-color: var(--gold);
	color: var(--gold);
}

.community-tabs {
	display: inline-flex;
	justify-self: start;
	gap: .25rem;
	padding: .25rem;
	border: 1px solid var(--border-soft);
	border-radius: 10px;
	background: var(--bg-secondary);
}

.community-tab {
	display: inline-flex;
	gap: .45rem;
	padding: .55rem .85rem;
	border-radius: 7px;
	color: var(--text-secondary);
	font-size: .9375rem;
	font-weight: 600;
	line-height: 1.4;
}

.community-tab.is-current {
	color: var(--text);
	background: var(--bg);
}

.community-tab.is-current i {
	color: var(--gold);
}

.community-topic-list {
	border: 1px solid var(--border-soft);
	border-radius: 14px;
	background: var(--bg-secondary);
	overflow: hidden;
}

.community-list-heading {
	grid-template-columns: minmax(0, 1fr) 70px 100px;
	padding: 1rem 1.25rem;
	border-bottom: 1px solid var(--border-soft);
}

.community-list-title {
	margin: 0;
}

.community-list-column {
	color: var(--text-secondary);
	font-size: .875rem;
}

.community-count {
	display: inline-grid;
	place-items: center;
	min-width: 24px;
	padding: .1rem .4rem;
	border-radius: 6px;
	color: var(--gold);
	background: var(--bg);
	font-size: .875rem;
}

.community-topic-row {
	grid-template-columns: 40px minmax(0, 1fr) 70px 100px;
	gap: .9rem;
	padding: 1.15rem 1.25rem;
	border-bottom: 1px solid var(--border-soft);
}

.community-topic-row:last-child {
	border-bottom: 0;
}

.community-topic-row:hover {
	background: color-mix(in srgb, var(--gold) 3%, var(--bg-secondary));
}

.community-topic-pinned {
	border-inline-start: 2px solid var(--gold);
}

.community-avatar-link:hover {
	border-color: var(--gold);
}

.community-avatar-link:focus-visible {
	outline: 2px solid var(--gold);
	outline-offset: 3px;
}

.community-topic-copy {
	min-width: 0;
}

.community-topic-title {
	margin: 0 0 .5rem;
}

.community-title-link {
	color: var(--text);
}

.community-title-link:hover {
	color: var(--gold);
}

.community-topic-meta {
	gap: .35rem .65rem;
	color: var(--text-secondary);
	font-size: .875rem;
	line-height: 1.4;
}

.community-category-label {
	padding: .2rem .75rem;
	border-radius: 14px;
	color: var(--gold);
	background: var(--bg);
}

.community-author {
	color: var(--text-secondary);
}

.community-replies {
	display: inline-flex;
	justify-self: start;
	gap: .4rem;
	min-width: 44px;
	padding: .4rem .5rem;
	border-radius: var(--s2);
	color: var(--text);
	background: var(--bg);
	font-size: .875rem;
}

.community-replies i {
	color: var(--text-secondary);
}

.community-activity {
	display: grid;
	gap: .3rem;
	color: var(--text-secondary);
	font-size: .875rem;
}

.community-badge {
	display: inline-flex;
	gap: .3rem;
	font-size: .875rem;
	color: var(--text-secondary);
}

.community-author-badge {
	padding: .15rem .4rem;
	border-radius: 5px;
	color: var(--gold);
	background: color-mix(in srgb, var(--gold) 10%, var(--bg-secondary));
	line-height: 1.4;
	font-weight: 500;
}

.community-empty {
	gap: .75rem;
	justify-items: center;
	padding: 3rem 1.5rem;
	text-align: center;
	color: var(--text-secondary);
}

.community-empty>i {
	display: grid;
	place-items: center;
	width: 60px;
	height: 60px;
	border: 1px solid var(--border-soft);
	border-radius: 18px;
	font-size: 1.6rem;
	color: var(--gold);
}

.community-empty>h2 {
	margin: .25rem 0 0;
}

.community-empty>p {
	max-width: 42ch;
	margin: 0;
	font-size: 1rem;
	line-height: 1.6;
}

.community-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.community-panel {
	min-width: 0;
	padding: 1.25rem;
	background: var(--bg-secondary);
	border: 1px solid var(--border-soft);
	border-radius: 14px;
}

.community-section-card {
	scroll-margin-top: calc(var(--header-height) + 1rem);
}

.community-group-heading {
	gap: .65rem;
	margin: 0 0 1rem;
}

.community-group-heading .community-group-icon {
	display: grid;
	place-items: center;
	flex-basis: 36px;
	height: 36px;
	border-radius: 10px;
	background: var(--bg);
	font-size: 1rem;
}

.community-sections {
	list-style: none;
	padding: 0;
	margin: 0;
}

.community-section-link {
	min-height: 45px;
	padding: .65rem .25rem;
	border-top: 1px solid var(--border-soft);
	color: var(--text-secondary);
	font-size: .9375rem;
	line-height: 1.4;
}

.community-section-name {
	flex: 1;
	min-width: 0;
}

.community-section-link>i:last-child {
	margin-inline-start: .25rem;
	color: var(--gold);
	font-size: .7rem;
}

.community-section-link:hover {
	color: var(--text);
}

.community-topic-toolbar {
	padding: .15rem 0 .75rem;
	border-bottom: 1px solid var(--border-soft);
}

.community-topic-total {
	display: inline-flex;
	gap: .4rem;
	margin-inline-end: auto;
	color: var(--text-secondary);
	font-size: .875rem;
}

.community-topic-total strong {
	color: var(--text);
}

.btn.community-toolbar-button {
	min-height: 36px;
	min-width: 0;
	padding: .4rem .7rem;
	border-radius: var(--s2);
	font-size: .875rem;
	line-height: 1.4;
	box-shadow: none;
}

.community-post {
	min-width: 0;
	gap: .75rem;
	padding: 1rem 1.1rem;
	background: var(--bg-secondary);
	border: 1px solid var(--border-soft);
	border-radius: 12px;
	scroll-margin-top: calc(var(--header-height) + 1rem);
}

.community-post-opening {
	padding: 1.25rem;
	border-top: 2px solid var(--gold);
}

.community-opening-label {
	gap: .4rem;
	color: var(--gold);
	font-size: .875rem;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: .02em;
}

.community-post-header {
	grid-template-columns: 40px minmax(0, 1fr);
	gap: .7rem;
}

.community-post-identity {
	margin: 0;
	min-width: 0;
	gap: .25rem;
}

.community-author-line {
	gap: .4rem;
}

.community-post-author {
	color: var(--text);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.4;
	overflow-wrap: anywhere;
}

.community-post-author:hover {
	color: var(--gold);
}

.community-post-date {
	gap: .3rem;
	color: var(--text-secondary);
	font-size: .875rem;
	line-height: 1.4;
}

.community-post-permalink {
	color: var(--text-secondary);
	font-size: .875rem;
}

.community-post-permalink:hover {
	color: var(--gold);
}

.community-meta {
	margin: 0;
	font-size: .875rem;
	color: var(--text-secondary);
	line-height: 1.6;
}

.community-body {
	margin: 0;
	white-space: pre-wrap;
	overflow-wrap: anywhere;
	line-height: 1.65;
	font-size: 1rem;
}

.community-message-content {
	min-width: 0;
	padding: .85rem 1rem;
	background: var(--bg);
	color: var(--text);
	border-radius: 9px;
}

.community-post-actions {
	gap: .35rem;
}

.btn.community-action-button {
	min-width: 36px;
	min-height: 36px;
	padding: .35rem .55rem;
	font-size: .85rem;
	line-height: 1.4;
	border-radius: 50%;
	box-shadow: none;
	transform: none;
}

.btn.border.community-action-button:not(.announcement-report-button) {
	border-color: transparent;
	background: transparent;
	color: var(--text-secondary);
}

.btn.border.community-action-button:not(.announcement-report-button):hover {
	border-color: var(--border-soft);
	background: var(--bg);
	color: var(--gold);
}

.btn.community-action-button::before {
	display: none;
}

.community-quote {
	margin: 0;
	padding: .7rem .85rem;
	border-inline-start: 2px solid var(--gold);
	background: var(--bg);
	border-radius: 0 8px 8px 0;
	font-size: .875rem;
}

.community-listing {
	min-width: 0;
	max-width: 680px;
	padding: 1rem;
	border: 1px solid color-mix(in srgb, var(--gold) 40%, var(--border-soft));
	border-radius: 12px;
	background: var(--bg-secondary);
}

/* Embedded announcement card uses the existing card layout contract. */
.community-listing .announcement-list-card {
	margin: 0;
	flex-direction: row;
	border: 0;
}

.community-listing .announcement-list-photo {
	width: 140px;
	flex: 0 0 140px;
	align-self: start;
	border-radius: var(--s2);
	overflow: hidden;
}

.community-listing .announcement-list-content {
	min-width: 0;
	padding: 0 0 0 1rem;
}

.community-listing .announcement-list-title {
	font-size: 1rem;
}

.community-form {
	gap: .75rem;
	scroll-margin-top: calc(var(--header-height) + 1rem);
}

.community-compose-heading {
	gap: .65rem;
	margin-bottom: .35rem;
}

.community-compose-icon {
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 10px;
	background: var(--bg);
	color: var(--gold);
}

.community-compose-title {
	margin: 0;
}

.community-input {
	width: 100%;
	min-width: 0;
	padding: .8rem;
	background: var(--input-bg);
	color: var(--input-text);
	border: 1px solid var(--input-border);
	border-radius: 9px;
	font: inherit;
}

.community-input:focus-visible {
	outline: 2px solid var(--gold);
	outline-offset: 2px;
}

.community-textarea {
	resize: vertical;
	min-height: 130px;
	line-height: 1.6;
}

.community-check-label {
	font-size: .875rem;
	color: var(--text-secondary);
}

.btn.community-attach-button {
	justify-self: start;
	min-height: 36px;
	padding: .4rem .65rem;
	border-radius: var(--s2);
	font-size: .875rem;
	line-height: 1.4;
	box-shadow: none;
}

.community-upload-hint {
	margin: 0;
	color: var(--text-secondary);
	font-size: .875rem;
	line-height: 1.5;
}

.community-compose-actions {
	padding-top: .65rem;
	border-top: 1px solid var(--border-soft);
}

.community-notice {
	margin: 0;
	border-inline-start: 3px solid var(--gold);
	padding: .75rem 1rem;
	background: var(--bg-secondary);
	color: var(--text);
	font-size: 1rem;
	line-height: 1.5;
	border-radius: 0 8px 8px 0;
}

.community-notice[hidden] {
	display: none;
}

.community-pagination {
	gap: .75rem;
	padding-top: .5rem;
}

.community-page-number {
	color: var(--text-secondary);
	font-size: .875rem;
}

.community-join {
	gap: .8rem;
	padding: 1rem 1.25rem;
	border: 1px dashed var(--border);
	border-radius: 12px;
}

.community-join-icon {
	color: var(--gold);
	font-size: 1.25rem;
}

.community-join>div {
	flex: 1;
	min-width: 0;
}

.community-join strong {
	color: var(--text);
	font-size: 1rem;
}

/* Native details preserves keyboard support and complete reply branches. */
.community-post-reply {
	margin-inline-start: calc(var(--reply-depth, 0) * 20px);
	border-inline-start: 2px solid var(--border);
}

.community-reply-context {
	gap: .3rem;
	margin: 0;
	color: var(--text-secondary);
	font-size: .875rem;
	line-height: 1.5;
	overflow-wrap: anywhere;
}

.community-reply-context>i {
	transform: rotate(90deg);
	color: var(--gold);
	font-size: .7rem;
}

.community-branch {
	min-width: 0;
}

.community-branch-toggle {
	gap: .35rem;
	width: fit-content;
	max-width: 100%;
	margin-inline-start: calc(var(--reply-depth, 0) * 20px);
	margin-bottom: .65rem;
	padding: .4rem .2rem;
	color: var(--text-secondary);
	font-size: .875rem;
	line-height: 1.5;
	cursor: pointer;
	list-style: none;
}

.community-branch-toggle::-webkit-details-marker {
	display: none;
}

.community-branch-toggle:hover {
	color: var(--gold);
}

.community-branch-chevron {
	font-size: .6rem;
	color: var(--gold);
}

.community-branch .community-post {
	margin-block: 0 .65rem;
}

.community-branch-expand {
	display: none;
}

.community-branch:not([open])>.community-branch-toggle>.community-branch-collapse {
	display: none;
}

.community-branch:not([open])>.community-branch-toggle>.community-branch-expand {
	display: inline;
}

.community-branch:not([open])>.community-branch-toggle>.community-branch-chevron {
	transform: rotate(-90deg);
}

.community-inline-compose {
	margin-inline-start: calc(var(--reply-depth, 0) * 20px);
	margin-block: .75rem;
}

.community-reactions {
	gap: .3rem;
}

.btn.community-reaction-button {
	min-width: 32px;
	min-height: 32px;
	padding: 0;
	gap: .3rem;
	border-radius: 18px;
	box-shadow: none;
}

.btn.community-reaction-counted {
	padding: .25rem .5rem;
	gap: .4rem;
}

.btn.border.community-reaction-button {
	border-color: var(--border-soft);
	color: var(--text);
	background: var(--bg);
}

.messenger-photos.community-photos {
	width: min(328px, 100%);
	gap: .5rem;
}

.community-photo-preview {
	max-width: 160px;
}

.community-photo-edit-grid {
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

@media (min-width: 981px) and (max-width: 1150px) {
	.community-shell {
		grid-template-columns: 250px minmax(0, 1fr);
		gap: 1.25rem;
	}

	.community-welcome {
		flex-direction: column;
	}
}

@media (max-width: 980px) {
	.community-shell {
		grid-template-columns: minmax(0, 1fr);
		gap: 1rem;
		padding-top: .75rem;
	}

	.community-sidebar {
		position: static;
		max-height: none;
		overflow: visible;
		padding: 0;
	}

	.community-brand {
		display: none;
	}

	.community-navigation {
		padding: .75rem 1rem;
		border: 1px solid var(--border-soft);
		border-radius: 10px;
		background: var(--bg-secondary);
	}

	.community-navigation-toggle {
		display: flex;
		justify-content: space-between;
		align-items: center;
		cursor: pointer;
		color: var(--text);
		font-size: .9375rem;
		font-weight: 600;
		list-style: none;
	}

	.community-navigation-toggle::-webkit-details-marker {
		display: none;
	}

	.community-navigation-toggle>span {
		display: flex;
		align-items: center;
		gap: .6rem;
	}

	.community-navigation-toggle i {
		color: var(--gold);
	}

	.community-navigation-body {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: .5rem 1rem;
		padding-top: 1rem;
	}

	.site-loader .community-navigation:not([data-community-ready])>.community-navigation-body,
	.community-navigation:not([open])>.community-navigation-body {
		display: none;
	}

	.community-nav-group {
		margin: 0;
	}

	.community-welcome {
		padding: 1.5rem;
	}
}

@media (max-width: 600px) {
	.community-heading-row {
		align-items: flex-start;
		flex-direction: column;
		gap: 1rem;
	}

	.community-welcome {
		padding: 1.25rem;
	}

	.community-stats {
		gap: .4rem 1rem;
		margin-top: 1rem;
	}

	.community-discovery {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: .5rem;
	}

	.community-discovery-link {
		padding: .75rem .65rem;
		gap: .45rem;
	}

	.community-discovery-link i {
		width: 16px;
	}

	.community-grid {
		grid-template-columns: 1fr;
	}

	.community-panel {
		padding: 1rem;
	}

	.community-list-heading {
		grid-template-columns: minmax(0, 1fr);
		padding: .9rem 1rem;
	}

	.community-list-column {
		display: none;
	}

	.community-topic-row {
		grid-template-columns: 34px minmax(0, 1fr) auto;
		gap: .65rem;
		padding: 1rem;
	}

	.community-topic-row>.community-avatar {
		width: 34px;
		height: 34px;
		align-self: start;
	}

	.community-topic-copy {
		grid-column: 2 / -1;
	}

	.community-replies {
		grid-column: 2;
		padding: .25rem .4rem;
		min-width: 36px;
	}

	.community-activity {
		display: flex;
		gap: .35rem;
		grid-column: 3;
	}

	.community-post {
		padding: .85rem;
	}

	.community-post-opening {
		padding: 1rem;
	}

	.community-post-header {
		grid-template-columns: 34px minmax(0, 1fr);
		gap: .55rem;
	}

	.community-post-header>.community-avatar {
		width: 34px;
		height: 34px;
	}

	.community-message-content {
		padding: .75rem .8rem;
	}

	.community-topic-total {
		flex: 1 0 100%;
		margin-bottom: .25rem;
	}

	.community-post-reply,
	.community-branch-toggle,
	.community-inline-compose {
		margin-inline-start: calc(var(--reply-depth, 0) * 8px);
	}

	.community-listing .announcement-list-photo {
		width: 90px;
		flex-basis: 90px;
	}

	.community-listing .announcement-list-content {
		padding-left: .75rem;
	}

	.community-join {
		flex-wrap: wrap;
		padding: 1rem;
	}

	.community-join-icon {
		display: none;
	}

	.community-join>div {
		flex-basis: 100%;
	}
}

@media (max-width: 400px) {
	.community-navigation-body {
		grid-template-columns: minmax(0, 1fr);
	}
}
/* Reusable overlapping profile avatars. */
.avatar-stack { display: flex; align-items: center; padding-left: 10px; isolation: isolate; }
.avatar-stack-item { margin-left: -10px; }
.avatar-stack-item:hover, .avatar-stack-item:focus-visible { z-index: 1; border-color: var(--gold); }
.avatar-stack-item:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* Legacy community landing pages. */
.aa-community {
	--aa-accent: var(--gold, #c4a052);
	max-width: 1120px;
	color: inherit;
}

.aa-community,
.aa-community * {
	box-sizing: border-box;
}

.aa-community .aa-eyebrow {
	margin: 0 0 18px;
	color: var(--aa-accent);
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.aa-community .aa-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(230px, .7fr);
	gap: 36px;
	align-items: center;
	padding-bottom: 40px;
}

.aa-community h1 {
	margin: 0 0 22px;
	color: inherit;
}

.aa-community h1 span {
	color: var(--aa-accent);
}

.aa-community h2 {
	margin: 0 0 16px;
	color: inherit;
}

.aa-community h3 {
	margin: 0 0 10px;
	color: inherit;
}

.aa-community p {
	margin: 0 0 16px;
	line-height: 1.75;
}

.aa-community p:last-child {
	margin-bottom: 0;
}

.aa-community .aa-lead {
	max-width: 620px;
	font-size: 1.08rem;
}

.aa-community .aa-count {
	position: relative;
	overflow: hidden;
	padding: 32px 24px;
	border: 1px solid var(--aa-accent);
	border-radius: 24px;
	text-align: center;
	background: linear-gradient(145deg, rgba(196, 160, 82, .13), transparent);
}

.aa-community .aa-count strong {
	display: block;
	color: var(--aa-accent);
	font-size: clamp(4rem, 8vw, 6rem);
	line-height: 1.15;
	font-weight: 500;
	letter-spacing: -.06em;
}

.aa-community .aa-count small {
	display: block;
	margin-top: 14px;
	font-size: .78rem;
	letter-spacing: .06em;
	overflow-wrap: anywhere;
}

.aa-community .aa-wave {
	display: block;
	width: 100%;
	height: 48px;
	margin: 18px auto 0;
	color: var(--aa-accent);
}

.aa-community .aa-story {
	padding: 28px 30px;
	border-left: 2px solid var(--aa-accent);
	background: rgba(196, 160, 82, .06);
	border-radius: 0 16px 16px 0;
}

.aa-community .aa-section {
	margin-top: 44px;
}

.aa-community .aa-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.aa-community .aa-card {
	padding: 24px;
	border: 1px solid rgba(196, 160, 82, .28);
	border-radius: 16px;
}

.aa-community .aa-number {
	display: block;
	margin-bottom: 20px;
	color: var(--aa-accent);
	font-size: .85rem;
}

.aa-community .aa-welcome {
	max-width: 760px;
}

.aa-community .aa-rules {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	padding: 0;
	margin: 20px 0 0;
	list-style: none;
}

.aa-community .aa-rules li {
	margin: 0;
	padding: 0 0 0 15px;
	border-left: 2px solid var(--aa-accent);
	line-height: 1.6;
}

.aa-community .aa-join {
	margin-top: 44px;
	padding: clamp(24px, 4vw, 40px);
	border: 1px solid rgba(196, 160, 82, .4);
	border-radius: 22px;
	background: linear-gradient(120deg, rgba(196, 160, 82, .12), transparent);
	display: flex;
	gap: 28px;
	align-items: center;
	justify-content: space-between;
}

.aa-community .aa-join-copy {
	max-width: 610px;
}


.aa-community .aa-footnote {
	margin-top: 16px;
	font-size: .82rem;
	text-align: center;
}

@media (max-width: 760px) {
	.aa-community .aa-hero {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.aa-community .aa-count {
		max-width: none;
		padding: 22px;
	}

	.aa-community .aa-count strong {
		font-size: 4rem;
	}

	.aa-community .aa-grid,
	.aa-community .aa-rules {
		grid-template-columns: 1fr;
	}

	.aa-community .aa-card {
		padding: 22px;
	}

	.aa-community .aa-number {
		margin-bottom: 10px;
	}

	.aa-community .aa-story {
		padding: 22px;
	}

	.aa-community .aa-join {
		flex-direction: column;
		align-items: stretch;
	}

	.aa-community .aa-section {
		margin-top: 32px;
	}
}


/* People who reacted to community posts. */
.reaction-person-name {
    min-width: 0;
    overflow-wrap: anywhere;
}

.reaction-people-dialog {
    height: min(560px, calc(100dvh - 32px));
}
.reaction-people-tabs {
    display: flex;
    flex: 0 0 auto;
    gap: .5rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    padding: 8px 24px;
    scrollbar-width: thin;
}
.reaction-people-tab {
    flex: 0 0 auto;
    white-space: nowrap;
}
.site-modal-scroll.reaction-people-panel {
    flex: 1 1 auto;
    scrollbar-gutter: stable;
}



.community-message-tools {
    gap: .35rem;
    margin-inline-start: auto;
}

@media (max-width: 600px) {
    .community-post-actions {
        gap: .65rem;
    }
    .community-post-actions > .community-reactions {
        flex-basis: 100%;
        min-width: 0;
    }
    .community-message-tools {
        width: 100%;
        justify-content: flex-end;
    }
    .community-reactions:empty,
    .community-message-tools:empty {
        display: none;
    }
}

