/* ================================
   ТВОРЦІ — прості картки українських творців (адмінка → Творці)
   ================================ */
.cr-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
	gap: 18px;
	max-width: 1080px;
	margin: 10px auto 0;
}

.cr-card {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 20px;
}

.cr-head {
	display: flex;
	align-items: center;
	gap: 14px;
}

.cr-avatar {
	position: relative;
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 14px;
	overflow: hidden;
	background: rgba(167, 139, 250, 0.1);
	border: 1px solid rgba(167, 139, 250, 0.25);
	color: #c4b5fd;
	font-size: 22px;
	font-weight: 800;
}

.cr-avatar img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* голова скіна 8×8 — без розмиття */
.cr-avatar img.is-pixel {
	image-rendering: pixelated;
}

.cr-title {
	min-width: 0;
}

.cr-name {
	margin: 0;
	font-size: 18px;
	line-height: 1.25;
	font-weight: 800;
	color: #fff;
	overflow-wrap: anywhere;
}

.cr-kind {
	display: block;
	margin-top: 3px;
	font-size: 13px;
	color: var(--muted);
}

.cr-desc {
	margin: 0;
	font-size: 14px;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.66);
}

.cr-works {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cr-works a,
.cr-works span {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
	color: rgba(255, 255, 255, 0.82);
	font-size: 13px;
	text-decoration: none;
	transition: border-color 0.2s, color 0.2s;
}

.cr-works a:hover {
	border-color: rgba(167, 139, 250, 0.45);
	color: #fff;
}

/* посилання й позначка — внизу картки, на одному рівні в усіх картках ряду */
.cr-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: auto;
}

.cr-links {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.cr-link {
	padding: 5px 11px;
	border-radius: 100px;
	background: rgba(167, 139, 250, 0.08);
	border: 1px solid rgba(167, 139, 250, 0.22);
	color: #c4b5fd;
	font-size: 12px;
	font-weight: 700;
	text-decoration: none;
	transition: background 0.2s, border-color 0.2s;
}

.cr-link:hover {
	background: rgba(167, 139, 250, 0.16);
	border-color: rgba(167, 139, 250, 0.45);
}

.cr-ours {
	font-size: 12px;
	color: #86efac;
	opacity: 0.85;
}

.cr-ours::before {
	content: '';
	display: inline-block;
	width: 6px;
	height: 6px;
	margin-right: 6px;
	border-radius: 50%;
	background: #22c55e;
	vertical-align: middle;
}

.cr-empty {
	max-width: 1080px;
	margin: 10px auto;
	text-align: center;
	color: var(--muted);
}

.cr-suggest {
	max-width: 1080px;
	margin: 28px auto 50px;
	text-align: center;
	font-size: 14px;
	color: var(--muted);
}

.cr-suggest a {
	color: var(--accent);
	font-weight: 700;
}
