/* Motion SGU mic — left of speedometer, blue migalka only */

.pult {
	--sgu-w: min(22vh, 180px);
	position: fixed;
	/* speedo: right 50px, width 320px → sit to the left of it */
	right: 390px;
	bottom: 48px;
	z-index: 90; /* below speedo (100), above world */
	pointer-events: none;
	opacity: 0;
	transform: translateY(14px) scale(0.96);
	transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.34, 1.2, 0.64, 1);
	font-family: "Proxima Nova", "Montserrat", "Segoe UI", sans-serif;
	display: none;
}

.pult.visible {
	display: block;
	opacity: 1;
	transform: translateY(0) scale(1);
}

.pult__device {
	position: relative;
	width: var(--sgu-w);
	aspect-ratio: 247 / 461;
	filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.5));
}

.pult__body {
	position: absolute;
	inset: 0;
	background: url("../img/sgu/sgu.webp") center / contain no-repeat;
	z-index: 1;
}

.pult__glow-wrap {
	position: absolute;
	inset: 18% 22% 48% 22%;
	z-index: 2;
	opacity: 0;
	transition: opacity 0.2s ease;
	pointer-events: none;
}

.pult__glow-wrap.on {
	opacity: 1;
}

.pult__glow {
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(70, 160, 255, 0.6) 0%, rgba(70, 160, 255, 0) 70%);
	animation: pult-glow 0.85s ease-in-out infinite alternate;
}

.pult__glow:nth-child(2) { transform: translate(-16%, -8%) scale(0.7); animation-delay: 0.1s; }
.pult__glow:nth-child(3) { transform: translate(16%, -6%) scale(0.65); animation-delay: 0.2s; }
.pult__glow:nth-child(4) { transform: translate(0, 14%) scale(0.8); animation-delay: 0.15s; }

@keyframes pult-glow {
	from { opacity: 0.35; }
	to { opacity: 1; }
}

.pult__slot {
	position: absolute;
	z-index: 3;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.3vh;
	color: #dce7ff;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.65);
}

.pult__slot--2 { top: 3.9%; right: 17%; }
.pult__slot--mute {
	opacity: 0.35;
}

.pult__label {
	font-size: clamp(8px, 1.1vh, 11px);
	font-weight: 700;
	text-align: center;
	line-height: 1.15;
	max-width: 7vh;
}

.pult__key {
	width: clamp(18px, 2.5vh, 24px);
	height: clamp(18px, 2.5vh, 24px);
	border-radius: 50%;
	background: url("../img/sgu/key.svg") center / cover no-repeat;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: clamp(9px, 1.2vh, 12px);
	font-weight: 800;
	color: #395a99;
	transition: transform 0.12s ease, filter 0.12s ease;
}

.pult__key.active,
.pult__key.flash {
	background: url("../img/sgu/active-key.svg") center / cover no-repeat;
	color: #1a3a7a;
	transform: scale(1.08);
	filter: drop-shadow(0 0 8px rgba(90, 170, 255, 0.9));
}

.pult__side {
	position: absolute;
	z-index: 3;
	width: clamp(15px, 2.2vh, 20px);
	height: clamp(28px, 4.2vh, 40px);
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	opacity: 0.8;
	transition: opacity 0.12s ease, filter 0.12s ease, transform 0.12s ease;
}

.pult__side--left {
	left: 8.5%;
	top: 17.5%;
	background-image: url("../img/sgu/left-key.svg");
}

.pult__side--right {
	right: 8.5%;
	top: 17.5%;
	background-image: url("../img/sgu/right-key.svg");
}

.pult__side.active,
.pult__side.flash {
	opacity: 1;
	transform: scale(1.06);
	filter: drop-shadow(0 0 10px rgba(90, 170, 255, 0.9));
}

.pult__hud {
	position: absolute;
	left: 50%;
	bottom: 6%;
	transform: translateX(-50%);
	z-index: 4;
	min-width: 72%;
	padding: 0.4vh 0.7vh;
	border-radius: 999px;
	background: rgba(8, 12, 20, 0.55);
	border: 1px solid rgba(255, 255, 255, 0.08);
	text-align: center;
	font-size: clamp(8px, 1.05vh, 11px);
	font-weight: 800;
	letter-spacing: 0.4px;
	color: rgba(220, 230, 255, 0.8);
}

.pult__hud span { color: #7ec4ff; }

@media (max-width: 1280px) {
	.pult { right: 340px; --sgu-w: min(20vh, 150px); }
}
