* { box-sizing: border-box; }

body {
	display: grid;
	place-items: center;
	min-height: 100vh;
	margin: 0;
	padding: 12px;
	background: transparent;
	color: #073853;
	font: 16px/1.4 system-ui, sans-serif;
}

main {
	position: relative;
	width: min(580px, 100%, max(230px, calc(100vh - 104px)));
	max-height: calc(100vh - 24px);
	overflow: auto;
	border-radius: 16px;
	background: #f0faf9;
	box-shadow: 0 16px 60px rgba(0, 0, 0, .4);
}

img { display: block; width: 100%; height: auto; }

.ep-ensf-close {
	position: absolute;
	top: 8px;
	right: 8px;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	margin: 0;
	padding: 0;
	border: 1px solid #fff;
	border-radius: 50%;
	background: #073853;
	color: #fff;
	font: 28px/1 system-ui, sans-serif;
	cursor: pointer;
}

.ep-ensf-actions { padding: 12px; }

a {
	display: block;
	padding: 12px 8px;
	border-radius: 10px;
	background: #ffd35a;
	color: #073853;
	font-size: clamp(15px, 4vw, 20px);
	font-weight: 750;
	text-align: center;
	text-decoration: none;
}

a:hover { background: #ffdf83; }

:focus-visible {
	outline: 3px solid #135d97;
	outline-offset: 2px;
}
