/* Enginery Ads Manager — ad slots */
.eng-ad { display: block; clear: both; max-width: 100%; margin: 32px auto; text-align: center; font-family: var(--eng-font-body, system-ui, sans-serif); }
.eng-ad__label { display: block; margin-bottom: 6px; color: #8B939B; font: 500 10.5px/1 var(--eng-font-mono, ui-monospace, monospace); letter-spacing: .14em; text-transform: uppercase; }
.eng-ad__slot { display: flex; justify-content: center; align-items: center; max-width: 100%; overflow: hidden; }
.eng-ad__slot > * { max-width: 100%; }
.eng-ad--native .eng-ad__slot { display: block; text-align: initial; }
.eng-ad--banner .eng-ad__slot { min-height: 90px; }
.eng-ad--rect .eng-ad__slot { min-height: 250px; }
@media (max-width: 767px) { .eng-ad--banner .eng-ad__slot { min-height: 50px; } }
.eng-ad--adsense .eng-ad__slot { display: block; }
.eng-ad--in_content, .eng-ad--after_content { margin: 28px 0; }

.eng-ad-band { padding: 8px 0 4px; background: #FBFAF7; border-top: 1px solid rgba(28, 32, 36, .06); }
.eng-ad-band .eng-ad { margin: 24px auto; }

/* Admin preview placeholders */
.eng-ad__preview {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	width: 100%;
	min-height: 96px;
	padding: 16px;
	border: 2px dashed rgba(200, 86, 42, .55);
	border-radius: 10px;
	background: repeating-linear-gradient(135deg, rgba(200, 86, 42, .06) 0 10px, transparent 10px 20px);
	color: #9C3F1B;
	font-size: 14px;
}
.eng-ad--rect .eng-ad__preview { max-width: 300px; min-height: 250px; }
.eng-ad--banner .eng-ad__preview { max-width: 728px; min-height: 90px; }
.eng-ad__preview strong { font-weight: 700; }
.eng-ad__preview span { font: 500 12px var(--eng-font-mono, monospace); color: #6B7178; }
.eng-ad__preview em { color: #B32D2E; font-size: 12px; }
.eng-ad-previewbar {
	position: fixed;
	left: 14px;
	bottom: 14px;
	z-index: 99999;
	max-width: calc(100vw - 100px);
	padding: 8px 12px;
	border-radius: 8px;
	background: #1C2024;
	color: #F2A93B;
	font: 500 12px/1.4 var(--eng-font-mono, ui-monospace, monospace);
	box-shadow: 0 8px 20px rgba(0, 0, 0, .3);
}
.eng-ad-previewbar strong { color: #fff; }

/* Direct Link Gate hint */
.eng-gate-toast {
	position: fixed;
	left: 50%;
	bottom: 24px;
	z-index: 100003;
	max-width: min(92vw, 460px);
	padding: 12px 18px;
	border-radius: 10px;
	background: #1C2024;
	color: #fff;
	font: 500 14px/1.4 var(--eng-font-body, system-ui, sans-serif);
	text-align: center;
	box-shadow: 0 12px 30px rgba(0, 0, 0, .3);
	opacity: 0;
	transform: translate(-50%, 12px);
	pointer-events: none;
	transition: opacity .25s, transform .25s;
}
.eng-gate-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.eng-gated { position: relative; }
