/* Curt Scope state surfaces: 404, empty query, search recovery, and pagination. */
.curtscope-state-section {
	padding: clamp(64px, 8vw, 124px) 0 70px;
}
.curtscope-state-panel {
	position: relative;
	display: grid;
	grid-template-columns: minmax(90px, 0.26fr) minmax(0, 1fr);
	gap: clamp(22px, 4vw, 54px);
	align-items: center;
	max-width: 1040px;
	padding: clamp(28px, 5vw, 58px);
	border: 1px solid rgba(126, 154, 255, 0.24);
	border-radius: 28px;
	background:
		radial-gradient(circle at 14% 0%, rgba(18, 117, 255, 0.24), transparent 20rem),
		radial-gradient(circle at 86% 0%, rgba(137, 67, 255, 0.18), transparent 18rem),
		linear-gradient(180deg, rgba(12, 22, 48, 0.94), rgba(5, 11, 27, 0.94));
	box-shadow: 0 26px 86px rgba(0, 0, 0, 0.34);
	overflow: hidden;
}
.curtscope-state-panel::after {
	position: absolute;
	right: -72px;
	bottom: -96px;
	width: 240px;
	height: 240px;
	border-radius: 999px;
	background: rgba(17, 118, 255, 0.12);
	filter: blur(8px);
	content: "";
}
.curtscope-state-panel__signal {
	position: relative;
	z-index: 1;
	display: grid;
	place-items: center;
	width: clamp(86px, 12vw, 144px);
	height: clamp(86px, 12vw, 144px);
	border: 1px solid rgba(126, 154, 255, 0.28);
	border-radius: 32px;
	background:
		linear-gradient(140deg, rgba(6, 211, 255, 0.18), rgba(58, 87, 255, 0.22) 48%, rgba(132, 63, 255, 0.2)),
		rgba(8, 15, 35, 0.74);
	color: #9fe7ff;
	font-size: clamp(52px, 8vw, 92px);
	line-height: 1;
	text-shadow: 0 0 36px rgba(5, 199, 255, 0.42);
}
.curtscope-state-panel__content {
	position: relative;
	z-index: 1;
	max-width: 720px;
}
.curtscope-state-panel h1 {
	max-width: 760px;
	margin: 0;
	font-size: clamp(42px, 5.6vw, 82px);
	line-height: 0.98;
	letter-spacing: -0.06em;
}
.curtscope-state-panel p:not(.curtscope-kicker) {
	max-width: 680px;
	margin: 18px 0 0;
	color: var(--cs-muted);
	font-size: clamp(16px, 1.5vw, 19px);
}
.curtscope-state-panel__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 26px;
}
.curtscope-state-panel__search {
	max-width: 640px;
	margin-top: 26px;
}
.curtscope-search-form {
	display: flex;
	gap: 10px;
	padding: 8px;
	border: 1px solid rgba(126, 154, 255, 0.24);
	border-radius: 14px;
	background: rgba(7, 14, 34, 0.76);
}
.curtscope-search-form__field {
	min-width: 0;
	width: 100%;
	border: 0;
	outline: 0;
	padding: 0 12px;
	background: transparent;
	color: var(--cs-text);
	font: inherit;
}
.curtscope-search-form__field::placeholder { color: rgba(217, 226, 255, 0.56); }
.curtscope-search-form__submit {
	min-height: 44px;
	padding: 0 18px;
	border: 0;
	border-radius: 10px;
	background: linear-gradient(135deg, #0a79ff, #2458ff);
	color: #fff;
	font: inherit;
	font-size: 13px;
	font-weight: 850;
	cursor: pointer;
}
.curtscope-pagination-wrap {
	margin-top: 34px;
}
.curtscope-pagination-wrap .nav-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}
.curtscope-pagination-wrap .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	min-height: 42px;
	padding: 0 14px;
	border: 1px solid rgba(126, 154, 255, 0.22);
	border-radius: 12px;
	background: rgba(8, 15, 35, 0.64);
	color: var(--cs-soft);
	font-size: 13px;
	font-weight: 850;
}
.curtscope-pagination-wrap .page-numbers.current,
.curtscope-pagination-wrap .page-numbers:hover,
.curtscope-pagination-wrap .page-numbers:focus {
	border-color: rgba(17, 118, 255, 0.72);
	background: rgba(17, 118, 255, 0.22);
	color: #fff;
	outline: none;
}
.curtscope-state-surfaces-compatible .curtscope-empty-state {
	padding: 28px;
	border: 1px solid rgba(126, 154, 255, 0.2);
	border-radius: 18px;
	background: rgba(8, 15, 35, 0.62);
}

@media (max-width: 760px) {
	.curtscope-state-panel {
		grid-template-columns: 1fr;
	}
	.curtscope-state-panel__actions,
	.curtscope-search-form {
		flex-direction: column;
	}
	.curtscope-state-panel__signal {
		width: 92px;
		height: 92px;
		border-radius: 24px;
		font-size: 58px;
	}
}
