.umpp-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.6);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	z-index: 100000;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.15s ease;
}

.umpp-overlay.umpp-open {
	opacity: 1;
	visibility: visible;
}

body.umpp-no-scroll {
	overflow: hidden;
}

.umpp-modal {
	position: relative;
	background: #fff;
	border-radius: 10px;
	max-width: 380px;
	width: 100%;
	padding: 28px 24px 24px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
	text-align: center;
}

.umpp-close {
	position: absolute;
	top: 10px;
	right: 12px;
	background: none;
	border: none;
	font-size: 26px;
	line-height: 1;
	color: #888;
	cursor: pointer;
	padding: 4px 8px;
}

.umpp-close:hover {
	color: #222;
}

.umpp-loading,
.umpp-error {
	padding: 30px 10px;
	color: #666;
}

.umpp-error {
	color: #b23b3b;
}

/* Deliberately rectangular (not circular) — overrides UM's default
   circular avatar styling, per request. */
.umpp-photo {
	width: 100%;
	height: 200px;
	object-fit: cover;
	border-radius: 8px;
	display: block;
	margin: 0 0 16px;
	background: #f0f0f0;
}

.umpp-name {
	margin: 0 0 10px;
	font-size: 1.2em;
}

.umpp-bio {
	margin: 0 0 18px;
	color: #555;
	font-size: 0.9em;
	line-height: 1.5;
	text-align: left;
	max-height: 160px;
	overflow-y: auto;
}

.umpp-more-link {
	display: inline-block;
	padding: 8px 18px;
	background: #3949ab;
	color: #fff;
	border-radius: 5px;
	text-decoration: none;
	font-size: 0.9em;
	font-weight: 500;
}

.umpp-more-link:hover {
	background: #2c3787;
	color: #fff;
}

@media (max-width: 480px) {
	.umpp-modal {
		padding: 24px 18px 20px;
	}
	.umpp-photo {
		height: 160px;
	}
}
