.nlmk-eggs-anon-promo-hidden {
	display: none !important;
}

/* Целевые элементы из настройки pe_selector — клики всегда проходят сквозь них */
.nlmk-eggs-anon-egg-pe-none {
	pointer-events: none !important;
}

.nlmk-eggs-anon-egg {
	position: absolute;
	z-index: 99999;
	width: var(--nlmk-egg-width, 48px);
	height: var(--nlmk-egg-width, 48px);
	line-height: 0;
	cursor: pointer;
	transition: transform 0.2s ease, opacity 0.2s ease;
	pointer-events: auto;
	overflow: visible;
}

.nlmk-eggs-anon-egg:hover {
	transform: scale(1.08);
}

.nlmk-eggs-anon-egg img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	object-position: center;
	pointer-events: none;
	filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Верхний левый угол: наружу на 25% ширины изображения */
.nlmk-eggs-anon-egg--edge-tl {
	top: calc(var(--nlmk-egg-width, 48px) * -0.25);
	left: calc(var(--nlmk-egg-width, 48px) * -0.25);
	transform: none;
}

.nlmk-eggs-anon-egg--edge-tl:hover {
	transform: scale(1.08);
}

.nlmk-eggs-anon-egg--behind {
	z-index: -1;
}

.nlmk-eggs-anon-egg--found {
	cursor: default;
	pointer-events: none;
	opacity: 1;
	z-index: 99999;
}

.nlmk-eggs-anon-egg--found.nlmk-eggs-anon-egg--found-reopen {
	pointer-events: auto;
	cursor: pointer;
}

.nlmk-eggs-anon-egg__check {
	position: absolute;
	right: -4px;
	bottom: -4px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #28a745;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	line-height: 20px;
	text-align: center;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

.nlmk-eggs-anon-egg--loading {
	opacity: 0.6;
	pointer-events: none;
}

.nlmk-eggs-anon-counter {
	position: fixed;
	right: 20px;
	bottom: 40px;
	z-index: 99990;
	min-width: 120px;
	padding: 12px 16px;
	border-radius: 10px;
	background: #fff;
	color: #1a1a2e;
	border: 1px solid rgba(0, 0, 0, 0.08);
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.14);
	font-family: inherit;
	text-align: center;
}

.nlmk-eggs-anon-counter__label {
	font-size: 12px;
	color: #666;
	margin-bottom: 4px;
}

.nlmk-eggs-anon-counter__value {
	font-size: 18px;
	font-weight: 700;
	line-height: 1.2;
	color: #1a1a2e;
}

.nlmk-eggs-anon-counter__gift {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	margin-top: 10px;
	padding: 8px 12px;
	border: 0;
	border-radius: 6px;
	background: #2563eb;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	cursor: pointer;
	font-family: inherit;
	box-sizing: border-box;
}

.nlmk-eggs-anon-counter__gift:hover {
	background: #1d4ed8;
}

.nlmk-eggs-anon-counter__gift[hidden] {
	display: none;
}

.nlmk-eggs-anon-counter--bump {
	animation: nlmk-eggs-anon-counter-bump 0.45s ease;
}

@keyframes nlmk-eggs-anon-counter-bump {
	0% { transform: scale(1); }
	40% { transform: scale(1.08); }
	100% { transform: scale(1); }
}

/* Клон яйца при «полёте» к счётчику */
.nlmk-eggs-anon-egg-fly {
	position: fixed;
	z-index: 100002;
	pointer-events: none;
	line-height: 0;
	will-change: transform, opacity, left, top, width, height;
	filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.25));
}

.nlmk-eggs-anon-egg-fly img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.nlmk-eggs-anon-toast {
	position: fixed;
	bottom: 132px;
	right: 20px;
	z-index: 100001;
	background: #1a1a2e;
	color: #fff;
	padding: 12px 20px;
	border-radius: 8px;
	font-size: 14px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
	animation: nlmk-eggs-anon-toast-in 0.3s ease;
}

@keyframes nlmk-eggs-anon-toast-in {
	from { opacity: 0; transform: translateY(10px); }
	to { opacity: 1; transform: translateY(0); }
}

.nlmk-eggs-anon-modal-overlay {
	position: fixed;
	inset: 0;
	z-index: 100000;
	background: rgba(0, 0, 0, 0.6);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.nlmk-eggs-anon-modal {
	background: #fff;
	border-radius: 12px;
	padding: 40px 36px 36px;
	max-width: 560px;
	width: 100%;
	text-align: center;
	box-shadow: 0 8px 40px rgba(0, 0, 0, 0.25);
	position: relative;
}

.nlmk-eggs-anon-modal__dismiss {
	position: absolute;
	top: 14px;
	right: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: none;
	border-radius: 8px;
	background: transparent;
	color: #666;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease;
}

.nlmk-eggs-anon-modal__dismiss:hover {
	background: #f0f0f0;
	color: #1a1a2e;
}

.nlmk-eggs-anon-modal__dismiss svg {
	display: block;
}

.nlmk-eggs-anon-modal h2 {
	margin: 0 0 16px;
	padding-right: 28px;
	font-size: 28px;
	color: #1a1a2e;
	white-space: pre-line;
}

.nlmk-eggs-anon-modal p {
	margin: 0 0 28px;
	color: #555;
	line-height: 1.6;
	font-size: 16px;
	white-space: pre-line;
}

.nlmk-eggs-anon-modal__actions {
	display: flex;
	gap: 12px;
	justify-content: center;
	flex-wrap: wrap;
}

.nlmk-eggs-anon-modal__btn {
	display: inline-block;
	padding: 10px 24px;
	border-radius: 6px;
	font-size: 15px;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	border: none;
}

.nlmk-eggs-anon-modal__btn--primary {
	background: #2563eb;
	color: #fff;
}

.nlmk-eggs-anon-modal__btn--primary:hover {
	background: #1d4ed8;
	color: #fff;
}

.nlmk-eggs-anon-modal__btn--secondary {
	background: #eee;
	color: #333;
}

.nlmk-eggs-anon-modal__btn--secondary:hover {
	background: #e2e2e2;
	color: #111;
}

.nlmk-eggs-anon-modal__email-panel {
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid #eee;
	text-align: left;
}

.nlmk-eggs-anon-modal__email-label {
	display: block;
	margin-bottom: 8px;
	font-size: 14px;
	color: #444;
}

.nlmk-eggs-anon-modal__email-input {
	display: block;
	width: 100%;
	margin-bottom: 12px;
	padding: 10px 12px;
	border: 1px solid #ccc;
	border-radius: 6px;
	font-size: 15px;
	box-sizing: border-box;
}

.nlmk-eggs-anon-modal__email-input:focus {
	outline: none;
	border-color: #2563eb;
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.nlmk-eggs-anon-modal__email-send {
	width: 100%;
}

.nlmk-eggs-anon-modal__email-status {
	margin: 12px 0 0;
	font-size: 14px;
	text-align: center;
}

.nlmk-eggs-anon-modal__email-status--ok {
	color: #198754;
}

.nlmk-eggs-anon-modal__email-status--error {
	color: #c42a0f;
}
