/* EG Catfish Banner — frontend */
.eg-cf-wrap {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	margin: 0;
	padding: 0 0 env(safe-area-inset-bottom, 0);
	pointer-events: none;
	transition: transform .35s ease, opacity .35s ease, visibility .35s;
}

.eg-cf-wrap.eg-cf-pending {
	transform: translateY(110%);
	opacity: 0;
	visibility: hidden;
}

.eg-cf-item {
	position: relative;
	box-sizing: border-box;
	width: 100%;
	max-width: var(--eg-cf-mw, 728px);
	margin: 0 auto;
	line-height: 0;
	pointer-events: auto;
}

.eg-cf-item a,
.eg-cf-item picture {
	display: block;
}

.eg-cf-item img {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	margin: 0;
	padding: 0;
	border: 0;
	box-shadow: none;
}

.eg-cf-close {
	position: absolute;
	top: 0;
	right: 0;
	z-index: 2;
	width: 24px;
	height: 24px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0 0 0 6px;
	background: rgba(0, 0, 0, .65);
	color: #fff;
	font: 700 18px/24px Arial, sans-serif;
	text-align: center;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}

.eg-cf-close:hover,
.eg-cf-close:focus-visible {
	background: #000;
	outline: 2px solid #fff;
	outline-offset: -2px;
}

@media (prefers-reduced-motion: reduce) {
	.eg-cf-wrap {
		transition: none;
	}
}
