/* Meat & Melt Share Prompt — minimal, dependency-free styling */

#mms-overlay {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: none;              /* Never takes up layout space or shifts content until shown. */
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.55);
	padding: 16px;
}

#mms-overlay.mms-visible {
	display: flex;
}

#mms-modal {
	position: relative;
	width: 100%;
	max-width: 380px;
	background: #fff;
	border-radius: 10px;
	padding: 24px;
	text-align: center;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
	animation: mms-pop 0.18s ease-out;
}

@keyframes mms-pop {
	from { opacity: 0; transform: scale(0.95); }
	to   { opacity: 1; transform: scale(1); }
}

#mms-modal img {
	width: 100%;
	max-height: 160px;
	object-fit: cover;
	border-radius: 6px;
	margin-bottom: 14px;
}

#mms-modal h3 {
	margin: 0 0 6px;
	font-size: 20px;
}

#mms-modal p {
	margin: 0 0 16px;
	color: #555;
	font-size: 14px;
}

.mms-network-row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
	margin-bottom: 12px;
}

.mms-network-btn {
	flex: 1 1 auto;
	min-width: 100px;
	padding: 12px 14px;
	border: none;
	border-radius: 6px;
	color: #fff;
	text-decoration: none;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.mms-network-btn:hover,
.mms-network-btn:focus {
	opacity: 0.85;
	color: #fff;
}

.mms-no-thanks {
	display: inline-block;
	background: none;
	border: none;
	color: #aaa;
	font-size: 12px;
	cursor: pointer;
	text-decoration: none;
	padding: 4px;
	margin-top: 4px;
}

.mms-no-thanks:hover {
	color: #888;
	text-decoration: underline;
}

.mms-close-x {
	position: absolute;
	top: 8px;
	right: 10px;
	background: none;
	border: none;
	font-size: 20px;
	line-height: 1;
	color: #999;
	cursor: pointer;
	padding: 4px;
}

.mms-close-x:hover {
	color: #333;
}
