/* CLAUDE #627: a Credits row's members (fieldset/credits.php, fieldset-credits.js): the ones suggested as a name is typed, each a button with
   their photo (when they allow it), their name, and their area and what they've written; and the member a row is linked to, with Not this
   person. In the forms' colors and borders */
.credit .credit-suggestions {
	display: grid;
	gap: 0.3rem;
	margin: 0.4rem 0;
	padding: 0;
	list-style: none;
}

.credit .credit-suggestions[hidden],
.credit .credit-member[hidden] {
	display: none;
}

.credit .credit-suggestion {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	width: 100%;
	padding: 0.4rem 0.6rem;
	border: 1px solid var(--accentColor);
	border-radius: 0.4rem;
	background: var(--secondaryBackgroundColor, transparent);
	color: inherit;
	font: inherit;
	text-align: start;
	cursor: pointer;
}

.credit .credit-suggestion:focus-visible {
	outline: 2px solid var(--accentColor);
	outline-offset: 2px;
}

.credit .credit-suggestion small {
	display: block;
	opacity: 0.8;
}

.credit .credit-suggestion img,
.credit .credit-member img {
	flex: none;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 50%;
	object-fit: cover;
}

.credit .credit-member {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.6rem;
	margin: 0.4rem 0;
}

.credit .credit-member .credit-unlink {
	margin-left: auto;
}
