/**
 * Lazy load + posicionamento (wpst / kingtube / tik-swipe).
 */

body.xnd-native-active .xnd-mount,
body.xnd-native-active .xnd-mount--append {
	margin-top: 0;
	clear: both;
	width: 100%;
	max-width: 100%;
}

.xnd-mount-break {
	display: block;
	width: 100%;
	height: 0;
	margin: 2rem 0 1.5rem;
	border: 0;
	border-top: 1px solid rgba(0, 0, 0, 0.12);
	clear: both;
}

body.xnd-native-active .xnd-mount--append,
body.xnd-native-active .xnd-mount-break + .xnd-mount {
	margin-top: 0;
}

body.search.xnd-external-only .rsp-search-local-fallback,
body.search.xnd-external-only .notfound-videos,
body.search.xnd-external-only .no-results,
body.search.xnd-external-only .search-no-results,
body.tag.xnd-external-only .rsp-search-local-fallback,
body.tag.xnd-external-only .notfound-videos,
body.tag.xnd-external-only .no-results {
	display: none !important;
}

body.search.xnd-external-only [data-xnd-local-fallback="1"],
body.tag.xnd-external-only [data-xnd-local-fallback="1"] {
	display: none !important;
}

body.search.xnd-external-only .xnd-mount--external-only,
body.tag.xnd-external-only .xnd-mount--external-only {
	margin-top: 0;
	margin-bottom: 1.25rem;
}

.xnd-grid__empty {
	margin: 0.75rem 0 0;
	color: #cbd5e1;
	font-size: 0.95rem;
}

.xnd-pagination {
	margin: 1.25rem 0 0.5rem;
	clear: both;
}

.xnd-pagination ul.page-numbers,
.xnd-pagination .page-numbers {
	list-style: none;
	margin: 0;
	padding: 0;
	display: inline-flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	justify-content: center;
	align-items: center;
}

.xnd-pagination ul.page-numbers > li {
	list-style: none;
	margin: 0;
	padding: 0;
	display: inline-flex;
}

.xnd-pagination ul.page-numbers > li::marker {
	content: none;
	display: none;
}

.xnd-grid--failed .xnd-grid__empty {
	color: #c0392b;
}

.xnd-debug {
	margin: 12px 0 0;
	padding: 10px 12px;
	background: #1a1a2e;
	border: 1px solid #334;
	border-radius: 8px;
	color: #dbeafe;
	font-size: 12px;
	line-height: 1.45;
}

.xnd-debug summary {
	cursor: pointer;
	font-weight: 600;
	margin-bottom: 6px;
}

.xnd-debug__list {
	margin: 8px 0 0;
	padding-left: 18px;
}

.xnd-debug__list code {
	word-break: break-all;
	color: #93c5fd;
}

.xnd-debug__error {
	color: #fca5a5;
	margin: 0 0 8px;
}

.xnd-debug__meta {
	margin: 8px 0 0;
	opacity: 0.85;
}
