/* TEMPORARY debug scene selector. Sits above the quick menu. */
.debug-scenes {
	position: absolute;
	left: 50%;
	bottom: 58px;
	z-index: 70;
	display: block;
	width: min(560px, 86%);
	max-height: min(62vh, 620px);
	overflow: hidden;
	transform: translateX(-50%);
	color: #f5f7fa;
	background: rgba(8, 12, 18, 0.97);
	border: 1px solid rgba(160, 190, 220, 0.32);
	border-radius: 10px;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55);
	font-size: 15px;
}

.debug-scenes[hidden] {
	display: none !important;
}

.debug-scenes__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 11px 14px;
	border-bottom: 1px solid rgba(160, 190, 220, 0.22);
}

.debug-scenes__head strong {
	font-size: 16px;
	font-weight: 600;
}

.debug-scenes__close {
	padding: 3px 8px;
	color: #c9d6e4;
	background: transparent;
	border: 1px solid rgba(160, 190, 220, 0.3);
	border-radius: 5px;
	cursor: pointer;
}

.debug-scenes__list {
	max-height: calc(min(62vh, 620px) - 50px);
	padding: 6px;
	overflow-y: auto;
}

.debug-scenes__item {
	display: flex;
	gap: 12px;
	align-items: baseline;
	width: 100%;
	padding: 8px 10px;
	color: #f5f7fa;
	text-align: left;
	background: transparent;
	border: 0;
	border-radius: 6px;
	cursor: pointer;
}

.debug-scenes__item:hover,
.debug-scenes__item:focus-visible {
	background: rgba(91, 202, 255, 0.13);
	outline: none;
}

.debug-scenes__id {
	min-width: 128px;
	color: #8fc7e8;
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
	font-size: 12px;
}

.debug-scenes__name {
	color: #f5f7fa;
}
