/* 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;
	}
}

/* Settings home: platinum burger (phone/tablet copy only) + premium version chip */
#sub-message-small .nx-settings-home-burger,
#sub-message-small .sl-icon-menu.nx-settings-home-burger {
  color: #c5cdd8 !important;
  vertical-align: -0.12em;
  margin-left: 0.35rem;
  font-size: 1.05em;
}

.nx-settings-home-version-wrap {
  display: flex;
  justify-content: center;
  margin-top: 1.25rem !important;
}

.nx-settings-home-version {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  max-width: 100%;
  padding: 0.55rem 1.05rem 0.55rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(197, 205, 216, 0.28);
  background:
    linear-gradient(180deg, rgba(197, 205, 216, 0.14) 0%, rgba(197, 205, 216, 0.04) 100%),
    rgba(18, 18, 18, 0.92);
  color: rgba(245, 248, 255, 0.92) !important;
  text-decoration: none !important;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  box-shadow:
    0 10px 28px -14px rgba(0, 0, 0, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.nx-settings-home-version:hover,
.nx-settings-home-version:focus {
  border-color: rgba(197, 205, 216, 0.48);
  color: #fff !important;
  background:
    linear-gradient(180deg, rgba(197, 205, 216, 0.2) 0%, rgba(197, 205, 216, 0.07) 100%),
    rgba(18, 18, 18, 0.96);
  box-shadow:
    0 12px 32px -12px rgba(0, 0, 0, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  transform: translateY(-1px);
}

.nx-settings-home-version__icon {
  display: block;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border-radius: 5px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(197, 205, 216, 0.22);
}

.nx-settings-home-version__text {
  white-space: nowrap;
}

:is(html:not(.midnight):not([data-bs-theme="midnight"])) .nx-settings-home-version {
  border-color: rgba(15, 23, 42, 0.12);
  background: linear-gradient(180deg, #fff 0%, #f3f4f6 100%);
  color: #1f2937 !important;
  box-shadow: 0 8px 20px -12px rgba(15, 23, 42, 0.28);
}

:is(html:not(.midnight):not([data-bs-theme="midnight"])) .nx-settings-home-version:hover,
:is(html:not(.midnight):not([data-bs-theme="midnight"])) .nx-settings-home-version:focus {
  color: #111827 !important;
  border-color: rgba(15, 23, 42, 0.22);
}
