.eom-share-overlay {
	position: fixed;
	left: 0;
	top: 0;
	inset: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 10001;
}

.eom-share-modal {
	background: white;
	border-radius: 8px;
	min-width: 300px;
	max-width: 450px;
	width: 100%;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
	position: relative;
	margin: auto 1rem;
}

.eom-share-modal button {
	border: none;
	background: none;
	line-height: 1.5;
	color: currentColor;
}

.eom-share-modal header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0.5rem 0.5rem 0.5rem 1rem;
	border-bottom: 1px solid #ddd;
	font-size: 1.1rem;
	font-weight: 700;
	line-height: 1;
}

.eom-share-modal header * {
	font-size: 1em;
	margin: 0 !important;
	user-select: none;
}

button.eom-share-close-btn {
	font-size: 1.6em;
	line-height: 0;
}

button.eom-share-close-btn:hover,
button.eom-share-close-btn:focus-visible {
	outline: none;
	opacity: 0.6;
}

.eom-share-links {
	display: grid;
	grid-template-columns: 1fr 1fr;
	justify-items: start;
	gap: 0.5rem;
	padding: 1rem;
}

.eom-share-links>* {
	font-size: 1rem;
	padding: 0;
	width: 100%;
	display: flex;
	align-items: center;
	gap: 1ch;
	text-decoration: none;
	color: #2c2f34;
	transition: color .2s;
}

.eom-share-links>*:hover,
.eom-share-links>*:focus-visible {
	color: #7c7c7c;
	outline: none;
	text-decoration: none;
}

.eom-share-links>* i {
	color: inherit;
	font-size: 0.9rem;
	padding: 0.3rem;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	aspect-ratio: 1;
}

.eom-share-copy {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 0 1rem 1rem;
	padding: 0.5rem;
	border: 1px solid #ddd;
	border-radius: 4px;
}

.eom-share-copy i {
	font-size: 0.9rem;
	margin-right: 1ch;
	opacity: 0.6;
}

.eom-share-copy input {
	border: none;
	outline: none;
	font-size: 0.9rem;
	opacity: 0.6;
	width: 100%;
	padding: 0;
}

.eom-share-copy button {
	font-size: 1rem;
	background-color: #2c2f34;
	border-radius: 6px;
	color: white;
	padding: 0.2rem 0.9rem;
	position: relative;
	outline: none;
	transition: background-color .2s;
}

.eom-share-copy button:focus-visible,
.eom-share-copy button:hover {
	background-color: #444444;
}

.eom-share-copy button::before {
	content: "";
	width: 3rem;
	display: block;
	background: linear-gradient(90deg, transparent, #fff);
	height: 100%;
	position: absolute;
	left: -3rem;
	top: 0;
	z-index: 0;
	pointer-events: none;
}