.apk-ozdu-m-ad {
	position: fixed;
	right: 18px;
	bottom: 18px;
	z-index: 99999;
	width: min(360px, calc(100vw - 36px));
	padding: 0;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-radius: 8px;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.22);
	overflow: visible;
}

.apk-ozdu-m-ad[hidden] {
	display: none !important;
}

.apk-ozdu-m-ad__link,
.apk-ozdu-m-ad__image {
	display: block;
	width: 100%;
}

.apk-ozdu-m-ad__link {
	border-radius: 8px;
	overflow: hidden;
}

.apk-ozdu-m-ad__image {
	height: auto;
	border: 0;
}

.apk-ozdu-m-ad__close {
	position: absolute;
	top: -11px;
	right: -11px;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	padding: 0;
	border: 2px solid #fff;
	border-radius: 50%;
	background: #202020;
	color: #fff;
	font: 700 20px/1 Arial, sans-serif;
	cursor: pointer;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.apk-ozdu-m-ad__close:hover,
.apk-ozdu-m-ad__close:focus-visible {
	background: #d91515;
}

@media (max-width: 600px) {
	.apk-ozdu-m-ad {
		right: 10px;
		bottom: 10px;
		width: min(280px, calc(100vw - 20px));
	}

	.apk-ozdu-m-ad__close {
		top: -9px;
		right: -5px;
	}
}

@media (prefers-reduced-motion: no-preference) {
	.apk-ozdu-m-ad {
		animation: apk-ozdu-m-ad-enter 240ms ease-out both;
	}

	@keyframes apk-ozdu-m-ad-enter {
		from {
			opacity: 0;
			transform: translateY(10px);
		}
		to {
			opacity: 1;
			transform: translateY(0);
		}
	}
}

