/* canaryfans share buttons: one card under the topic title, gold and brown like the site */
.cf-share {
	--cf-brand: #7a4a12;
	clear: both;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 16px;
	margin: 6px 0 12px;
	padding: 7px 12px;
	background: linear-gradient(135deg, #fffdf7 0%, #fdf3dc 100%);
	border: 1px solid #e6cd94;
	border-radius: 12px;
	box-shadow: 0 1px 3px rgba(122, 74, 18, .12);
	font-family: Tahoma, Arial, sans-serif;
	line-height: 1.3;
}

.cf-share-head {
	display: flex;
	align-items: center;
	gap: 8px;
	flex: none;
}

.cf-share-badge {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	background: linear-gradient(145deg, #c8963c, #7a4a12);
	border-radius: 50%;
}

.cf-share-badge svg {
	width: 16px;
	height: 16px;
	fill: #fff;
}

.cf-share-heading {
	color: #5e3810;
	font-size: 14px;
	font-weight: bold;
	white-space: nowrap;
}

.cf-share-list {
	display: flex;
	flex-wrap: wrap;
	flex: 1 1 auto;
	gap: 7px;
}

.cf-share .cf-share-btn {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	box-sizing: border-box;
	height: 36px;
	margin: 0;
	padding: 0 5px 0 13px;
	color: #3f3122;
	background: #fff;
	border: 1px solid #ead9b5;
	border-radius: 18px;
	font: bold 12.5px/1 Tahoma, Arial, sans-serif;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color .16s, border-color .16s, color .16s, transform .16s, box-shadow .16s;
}

.rtl .cf-share .cf-share-btn {
	padding: 0 5px 0 13px;
}

.cf-share .cf-share-btn[hidden] {
	display: none;
}

.cf-share-ico {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	background: var(--cf-brand);
	border-radius: 50%;
	transition: background-color .16s;
}

.cf-share-ico svg {
	width: 15px;
	height: 15px;
	fill: #fff;
}

.cf-share-fb { --cf-brand: #1877f2; }
.cf-share-wa { --cf-brand: #1fa855; }
.cf-share-tg { --cf-brand: #229ed9; }
.cf-share-x { --cf-brand: #111; }
.cf-share-copy { --cf-brand: #a9742a; }
.cf-share-more { --cf-brand: #7a4a12; }

.cf-share .cf-share-btn:hover,
.cf-share .cf-share-btn:focus-visible {
	color: #fff;
	background: var(--cf-brand);
	border-color: var(--cf-brand);
	box-shadow: 0 3px 8px rgba(0, 0, 0, .22);
	text-decoration: none;
	transform: translateY(-1px);
	outline: none;
}

.cf-share .cf-share-btn:hover .cf-share-ico,
.cf-share .cf-share-btn:focus-visible .cf-share-ico {
	background: rgba(255, 255, 255, .22);
}

.cf-ico-ok,
.cf-share-copy.is-copied .cf-ico-link {
	display: none;
}

.cf-share-copy.is-copied .cf-ico-ok {
	display: block;
}

.cf-share .cf-share-copy.is-copied {
	--cf-brand: #1fa855;
	color: #157a3d;
	border-color: #1fa855;
}

/* phones: one short row of round icons, so the post stays near the top of the screen */
@media (max-width: 700px) {
	.cf-share {
		display: block;
		padding: 6px 6px 8px;
	}

	.cf-share-head {
		justify-content: center;
		margin-bottom: 6px;
	}

	.cf-share-badge {
		display: none;
	}

	.cf-share-heading {
		font-size: 13px;
	}

	.cf-share-list {
		flex-wrap: nowrap;
		justify-content: center;
		gap: 6px;
	}

	.cf-share .cf-share-btn,
	.rtl .cf-share .cf-share-btn {
		flex: 0 1 40px;
		justify-content: center;
		min-width: 0;
		height: 40px;
		padding: 0;
		background: none;
		border: 0;
		border-radius: 50%;
		box-shadow: none;
		transform: none;
	}

	.cf-share .cf-share-btn:hover,
	.cf-share .cf-share-btn:focus-visible {
		background: none;
		box-shadow: none;
		transform: none;
	}

	.cf-share .cf-share-btn:hover .cf-share-ico,
	.cf-share .cf-share-btn:focus-visible .cf-share-ico {
		background: var(--cf-brand);
	}

	.cf-share-ico {
		width: 38px;
		height: 38px;
	}

	.cf-share-ico svg {
		width: 20px;
		height: 20px;
	}

	.cf-share-txt {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
		white-space: nowrap;
	}
}
