/* Locked look: template layout 1:1, yellow → platinum at the same opacity. Do not restyle unless asked. */
.nx-settings-puppet {
	--nx-puppet-bone: #e0e0e0;
	--nx-puppet-bone-dark: #b0b0b0;
	--nx-puppet-string: rgba(197, 205, 216, 0.18);
	--nx-puppet-accent: #c5cdd8;
	--nx-puppet-shadow: rgba(0, 0, 0, 0.6);
	width: 320px;
	height: 420px;
	margin: 0 auto 4px;
	position: relative;
	pointer-events: none;
	user-select: none;
}
html:not(.midnight):not([data-bs-theme="midnight"]) .nx-settings-puppet {
	--nx-puppet-bone: #6a7380;
	--nx-puppet-bone-dark: #3a4048;
	--nx-puppet-string: rgba(140, 149, 160, 0.18);
	--nx-puppet-accent: #9aa5b4;
	--nx-puppet-shadow: rgba(15, 23, 42, 0.22);
}
.nx-settings-puppet__stage {
	position: relative;
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	overflow: visible;
}
.nx-settings-puppet__hand {
	position: absolute;
	top: 5%;
	left: 50%;
	width: 320px;
	height: auto;
	transform: translateX(-50%);
	z-index: 10;
	overflow: visible;
	filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.8));
	color: var(--nx-puppet-accent);
}
.nx-settings-puppet__hand-line {
	fill: none;
	stroke: rgba(255, 255, 255, 0.08);
	stroke-width: 2;
}
html:not(.midnight):not([data-bs-theme="midnight"]) .nx-settings-puppet__hand-line {
	stroke: rgba(0, 0, 0, 0.12);
}
.nx-settings-puppet__tip {
	fill: var(--nx-puppet-accent);
	opacity: 0.9;
}
.nx-settings-puppet__tip-ring {
	fill: none;
	stroke: var(--nx-puppet-accent);
	stroke-width: 1;
	opacity: 0.2;
}
.nx-settings-puppet__strings {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: 6;
	overflow: visible;
}
.nx-settings-puppet__string {
	fill: none;
	stroke: var(--nx-puppet-string);
	stroke-width: 1px;
}
.nx-settings-puppet__body {
	position: relative;
	top: 80px;
	width: 0;
	height: 0;
	z-index: 7;
	transform-style: preserve-3d;
}
.nx-settings-puppet__part {
	position: absolute;
	background: linear-gradient(135deg, var(--nx-puppet-bone), var(--nx-puppet-bone-dark));
	border-radius: 10px;
	box-shadow: inset -1px -1px 4px rgba(0, 0, 0, 0.3), 2px 4px 12px rgba(0, 0, 0, 0.4);
}
.nx-settings-puppet__head {
	width: 30px;
	height: 40px;
	left: -15px;
	top: -145px;
	border-radius: 45% 45% 50% 50%;
}
.nx-settings-puppet__neck {
	width: 8px;
	height: 12px;
	left: -4px;
	top: -108px;
}
.nx-settings-puppet__chest {
	width: 46px;
	height: 58px;
	left: -23px;
	top: -98px;
	border-radius: 12px 12px 18px 18px;
}
.nx-settings-puppet__abs {
	width: 32px;
	height: 28px;
	left: -16px;
	top: -40px;
	border-radius: 5px;
}
.nx-settings-puppet__pelvis {
	width: 42px;
	height: 22px;
	left: -21px;
	top: -12px;
	border-radius: 4px 4px 15px 15px;
}
.nx-settings-puppet__upper {
	width: 14px;
	height: 48px;
	transform-origin: top center;
}
.nx-settings-puppet__lower {
	width: 12px;
	height: 48px;
	top: 45px;
	transform-origin: top center;
}
.nx-settings-puppet__end {
	width: 10px;
	height: 14px;
	top: 45px;
	border-radius: 50% 50% 3px 3px;
}
.nx-settings-puppet__shoulder-l { left: -34px; top: -92px; }
.nx-settings-puppet__shoulder-r { left: 20px; top: -92px; }
.nx-settings-puppet__hip-l { left: -18px; top: 8px; }
.nx-settings-puppet__hip-r { left: 6px; top: 8px; }
.nx-settings-puppet__shadow {
	position: absolute;
	bottom: 155px;
	left: 50%;
	width: 80px;
	height: 12px;
	transform: translateX(-50%);
	background: var(--nx-puppet-shadow);
	border-radius: 50%;
	filter: blur(8px);
	z-index: 5;
}

@media (prefers-reduced-motion: reduce) {
	.nx-settings-puppet__body,
	.nx-settings-puppet__hand,
	.nx-settings-puppet__part {
		transition: none;
	}
}
