@import url("https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&display=swap");

.needoh-studio-root {
  --needoh-bg: #fff7fb;
  --needoh-panel: rgba(255, 255, 255, 0.92);
  --needoh-border: rgba(88, 28, 135, 0.12);
  --needoh-text: #2d1b4e;
  --needoh-muted: #7c6a96;
  --needoh-accent: #f72585;
  --needoh-accent-2: #7209b7;
  --needoh-shadow: 0 12px 36px rgba(114, 9, 183, 0.1);
  --needoh-radius: 18px;
  font-family: "Fredoka", "Trebuchet MS", system-ui, sans-serif;
  color: var(--needoh-text);
  line-height: 1.45;
}

.needoh-studio-root *,
.needoh-studio-root *::before,
.needoh-studio-root *::after {
  box-sizing: border-box;
}

.needoh-studio-layout {
  display: grid;
  grid-template-columns: minmax(420px, 1.72fr) minmax(280px, 340px);
  gap: 20px;
  align-items: start;
}

@media (min-width: 901px) {
  .needoh-studio-layout {
    --needoh-sticky-top: 16px;
  }

  .needoh-preview-panel {
    position: sticky;
    top: var(--needoh-sticky-top);
    align-self: start;
    z-index: 2;
    padding-left: 14px;
    padding-right: 14px;
  }

  .needoh-preview-stage {
    width: 100%;
    max-width: none;
  }

  .needoh-controls-panel {
    position: sticky;
    top: var(--needoh-sticky-top);
    align-self: start;
    z-index: 1;
    max-height: calc(100dvh - var(--needoh-sticky-top) * 2);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    -webkit-overflow-scrolling: touch;
  }

  .needoh-controls-panel::-webkit-scrollbar {
    width: 10px;
  }

  .needoh-controls-panel::-webkit-scrollbar-track {
    background: transparent;
  }

  .needoh-controls-panel::-webkit-scrollbar-thumb {
    background: rgba(114, 9, 183, 0.22);
    border-radius: 999px;
    border: 2px solid transparent;
    background-clip: padding-box;
  }

  .needoh-controls-panel::-webkit-scrollbar-thumb:hover {
    background: rgba(247, 37, 133, 0.38);
    background-clip: padding-box;
  }
}

.needoh-preview-panel,
.needoh-controls-panel {
  background: var(--needoh-panel);
  border: 1px solid var(--needoh-border);
  border-radius: var(--needoh-radius);
  box-shadow: var(--needoh-shadow);
}

.needoh-preview-panel {
  padding: 18px 16px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background:
    radial-gradient(420px 220px at 20% 0%, #ffe3f1 0%, transparent 60%),
    radial-gradient(380px 200px at 100% 20%, #e0f7ff 0%, transparent 55%),
    linear-gradient(180deg, #faf5ff 0%, #fff7fb 100%);
}

.needoh-preview-hint {
  font-size: 14px;
  font-weight: 600;
  color: var(--needoh-muted);
  margin: 0;
  flex: 1;
}

.needoh-preview-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  margin-bottom: 8px;
}

.needoh-btn-focus {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--needoh-border);
  background: rgba(255, 255, 255, 0.92);
  color: var(--needoh-text);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(114, 9, 183, 0.08);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.needoh-btn-focus:hover {
  transform: translateY(-1px);
  border-color: rgba(247, 37, 133, 0.35);
  box-shadow: 0 6px 18px rgba(247, 37, 133, 0.14);
}

.needoh-btn-focus:active {
  transform: translateY(0);
}

.needoh-focus-exit {
  display: none;
  position: fixed;
  top: max(14px, env(safe-area-inset-top));
  right: max(14px, env(safe-area-inset-right));
  z-index: 10002;
  width: 46px;
  height: 46px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: #2d1b4e;
  font-size: 28px;
  line-height: 1;
  font-weight: 500;
  cursor: pointer;
  box-shadow:
    0 8px 28px rgba(45, 27, 78, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transition: transform 0.15s ease, background 0.15s ease;
}

.needoh-focus-exit:hover {
  transform: scale(1.06);
  background: #fff;
}

.needoh-studio-root--focus {
  position: fixed;
  inset: 0;
  z-index: 10000;
  overflow: hidden;
}

.needoh-studio-root--focus .needoh-studio-layout {
  display: block;
  height: 100dvh;
  min-height: 100dvh;
}

.needoh-sound-pack {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--needoh-muted);
}

.needoh-sound-pack select {
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--needoh-text);
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid var(--needoh-border);
  background: rgba(255, 255, 255, 0.95);
  cursor: pointer;
}

.needoh-studio-root--focus .needoh-controls-panel,
.needoh-studio-root--focus .needoh-preview-top,
.needoh-studio-root--focus .needoh-viral-bar,
.needoh-studio-root--focus .needoh-toy-name,
.needoh-studio-root--focus .needoh-toy-stats {
  display: none !important;
}

.needoh-studio-root--focus .needoh-preview-panel {
  position: static;
  top: auto;
  height: 100dvh;
  min-height: 100dvh;
  max-height: 100dvh;
  padding: 0;
  margin: 0;
  border: none;
  border-radius: 0;
  box-shadow: none;
  display: flex;
  flex-direction: column;
}

.needoh-studio-root--focus .needoh-preview-stage {
  flex: 1;
  width: 100%;
  max-width: none;
  min-height: 0;
  height: auto;
  aspect-ratio: auto;
  margin: 0;
  border-radius: 0;
}

.needoh-studio-root--focus .needoh-focus-exit {
  display: grid;
  place-items: center;
}

.needoh-studio-root--focus[data-needoh-bg-theme="neon"] .needoh-focus-exit,
.needoh-studio-root--focus[data-needoh-bg-theme="galaxy"] .needoh-focus-exit {
  background: rgba(20, 12, 32, 0.82);
  color: rgba(255, 240, 252, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

/* ── 3D stage ── */
.needoh-preview-stage {
  position: relative;
  width: min(100%, 680px);
  min-height: clamp(360px, 52vw, 520px);
  aspect-ratio: 1 / 1.12;
  display: grid;
  place-items: center;
  touch-action: none;
  user-select: none;
  cursor: grab;
  perspective: 680px;
  perspective-origin: 50% 46%;
  background: transparent;
  border-radius: 0;
  overflow: visible;
}

.needoh-stage-light {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(18px);
}

.needoh-stage-light--key {
  width: 58%;
  height: 38%;
  top: 4%;
  left: 14%;
  background: rgba(255, 255, 255, 0.95);
  opacity: 0.92;
  filter: blur(14px);
}

.needoh-stage-light--fill {
  width: 44%;
  height: 32%;
  bottom: 14%;
  right: 6%;
  background: rgba(160, 120, 255, 0.28);
  filter: blur(16px);
}

.needoh-preview-stage.is-spinning,
.needoh-preview-stage.is-dragging-spin {
  cursor: grabbing;
}

.needoh-studio-root--pro .needoh-preview-stage:not(.is-spinning):hover {
  cursor: grab;
}

.needoh-preview-stage::after {
  content: none;
}

.needoh-preview-shadow {
  position: absolute;
  bottom: 10%;
  width: 52%;
  height: 12%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, var(--needoh-shadow-color, rgba(45, 27, 78, 0.35)) 0%, transparent 72%);
  filter: blur(4px);
  transition: transform 0.2s ease, opacity 0.2s ease;
  pointer-events: none;
  z-index: 1;
}

.needoh-floor-glow {
  position: absolute;
  bottom: 8%;
  width: 70%;
  height: 28%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.9;
}

.needoh-floor-reflection {
  position: absolute;
  bottom: 11%;
  width: var(--needoh-size, 200px);
  height: calc(var(--needoh-size, 200px) * 0.26);
  border-radius: inherit;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--needoh-reflect, #ff6b8a) 62%, #fff) 0%, color-mix(in srgb, var(--needoh-reflect, #ff6b8a) 28%, transparent) 42%, transparent 100%);
  opacity: 0.68;
  transform: scaleY(0.5);
  filter: blur(4px);
  pointer-events: none;
  z-index: 2;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

/* ── Toy shell + 3D tilt ── */
.needoh-toy {
  position: relative;
  width: var(--needoh-size, 200px);
  height: var(--needoh-size, 200px);
  overflow: hidden;
  transform: translate(var(--needoh-squish-x, 0px), var(--needoh-squish-y, 0px))
    scale(var(--needoh-scale-x, 1), var(--needoh-scale-y, 1))
    skew(var(--needoh-skew-x, 0deg), var(--needoh-skew-y, 0deg));
  transition:
    width 0.35s cubic-bezier(0.34, 1.4, 0.64, 1),
    height 0.35s cubic-bezier(0.34, 1.4, 0.64, 1),
    transform 0.12s ease-out;
  z-index: 3;
  cursor: grab;
  filter:
    drop-shadow(0 34px 30px color-mix(in srgb, var(--needoh-shadow-color, #2d1b4e) 62%, transparent))
    drop-shadow(0 14px 20px rgba(0, 0, 0, 0.16))
    drop-shadow(0 4px 8px rgba(255, 255, 255, 0.2));
}

.needoh-toy.is-dragging {
  cursor: grabbing;
  animation: none;
  transition:
    width 0.35s cubic-bezier(0.34, 1.4, 0.64, 1),
    height 0.35s cubic-bezier(0.34, 1.4, 0.64, 1),
    transform 0.04s ease-out;
}

.needoh-toy.is-dragging .needoh-toy-inner {
  transition: transform 0.05s cubic-bezier(0.25, 1.35, 0.45, 1);
}

.needoh-toy.is-springing {
  animation: none;
  transition: none;
}

.needoh-toy.is-springing .needoh-toy-3d {
  animation: none;
  transition: none;
}

.needoh-toy-inner.is-jiggling {
  animation: needohInnerJiggle 0.55s ease-in-out infinite;
}

@keyframes needohInnerJiggle {
  0%, 100% { filter: saturate(1.05); }
  25% { filter: saturate(1.18) brightness(1.04); }
  50% { filter: saturate(1.1); }
  75% { filter: saturate(1.15) brightness(1.02); }
}

.needoh-toy.is-dragging .needoh-toy-3d {
  animation: none;
  transition: transform 0.07s ease-out;
}

.needoh-toy.is-dragging .needoh-toy-inner {
  transition: transform 0.07s ease-out;
}

.needoh-toy-3d.is-dragging,
.needoh-toy.is-dragging .needoh-toy-3d {
  animation: none;
}

.needoh-toy.is-bouncing {
  animation: needohToyBounce var(--needoh-bounce-duration, 0.9s) cubic-bezier(0.34, 1.56, 0.64, 1);
}

.needoh-toy-3d {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  transform-style: preserve-3d;
  transform:
    rotateX(var(--needoh-tilt-x, 18deg))
    rotateY(var(--needoh-tilt-y, -14deg))
    translateZ(calc(var(--needoh-poke-depth, 0) * -95px))
    scale(calc(1 - var(--needoh-poke-depth, 0) * 0.32));
  transition: transform 0.18s ease-out;
  animation: needohIdleFloat 5s ease-in-out infinite;
}

@keyframes needohIdleFloat {
  0%, 100% {
    transform:
      rotateX(var(--needoh-tilt-x, 18deg))
      rotateY(var(--needoh-tilt-y, -14deg))
      translateZ(calc(var(--needoh-poke-depth, 0) * -95px))
      scale(calc(1 - var(--needoh-poke-depth, 0) * 0.32))
      translateY(0);
  }
  50% {
    transform:
      rotateX(calc(var(--needoh-tilt-x, 18deg) + 2deg))
      rotateY(calc(var(--needoh-tilt-y, -14deg) + 3deg))
      translateZ(calc(var(--needoh-poke-depth, 0) * -95px))
      scale(calc(1 - var(--needoh-poke-depth, 0) * 0.32))
      translateY(-6px);
  }
}

@keyframes needohToyBounce {
  0% { transform: translate(var(--needoh-squish-x, 0px), var(--needoh-squish-y, 0px)) scale(var(--needoh-scale-x, 1), var(--needoh-scale-y, 1)) skew(var(--needoh-skew-x, 0deg), var(--needoh-skew-y, 0deg)); }
  18% { transform: translate(var(--needoh-squish-x, 0px), calc(var(--needoh-squish-y, 0px) + 28px)) scale(calc(var(--needoh-scale-x, 1) * 1.42), calc(var(--needoh-scale-y, 1) * 0.58)) skew(calc(var(--needoh-skew-x, 0deg) * 0.4), calc(var(--needoh-skew-y, 0deg) * 0.4)); }
  38% { transform: translate(var(--needoh-squish-x, 0px), calc(var(--needoh-squish-y, 0px) - 18px)) scale(calc(var(--needoh-scale-x, 1) * 0.86), calc(var(--needoh-scale-y, 1) * 1.22)) skew(calc(var(--needoh-skew-x, 0deg) * -0.3), calc(var(--needoh-skew-y, 0deg) * -0.3)); }
  58% { transform: translate(var(--needoh-squish-x, 0px), calc(var(--needoh-squish-y, 0px) + 10px)) scale(calc(var(--needoh-scale-x, 1) * 1.12), calc(var(--needoh-scale-y, 1) * 0.88)) skew(calc(var(--needoh-skew-x, 0deg) * 0.15), calc(var(--needoh-skew-y, 0deg) * 0.15)); }
  78% { transform: translate(var(--needoh-squish-x, 0px), calc(var(--needoh-squish-y, 0px) - 4px)) scale(calc(var(--needoh-scale-x, 1) * 0.96), calc(var(--needoh-scale-y, 1) * 1.06)); }
  100% { transform: translate(var(--needoh-squish-x, 0px), var(--needoh-squish-y, 0px)) scale(var(--needoh-scale-x, 1), var(--needoh-scale-y, 1)) skew(0deg, 0deg); }
}

/* ── Glossy gel layers ── */
.needoh-toy-inner {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  transition: transform 0.38s cubic-bezier(0.34, 1.5, 0.64, 1);
  border: 2px solid rgba(255, 255, 255, 0.72);
  box-shadow:
    inset 0 4px 10px rgba(255, 255, 255, 0.98),
    inset 0 1px 0 rgba(255, 255, 255, 1),
    inset 6px 6px 18px rgba(255, 255, 255, 0.2),
    inset 0 -32px 56px rgba(0, 0, 0, 0.32),
    inset -10px -10px 28px rgba(0, 0, 0, 0.14),
    0 0 0 1px rgba(255, 255, 255, 0.35);
}

.needoh-toy-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 1;
  background:
    radial-gradient(ellipse 95% 55% at 50% 112%, rgba(0, 0, 0, 0.38) 0%, transparent 58%),
    radial-gradient(ellipse 35% 28% at 84% 80%, rgba(0, 0, 0, 0.18) 0%, transparent 100%);
  mix-blend-mode: multiply;
  opacity: 0.85;
}

.needoh-toy.is-dragging .needoh-toy-body::after {
  content: "";
  position: absolute;
  left: var(--needoh-poke-px, 50%);
  top: var(--needoh-poke-py, 50%);
  width: calc(var(--needoh-poke-r, 0px) * 2.4);
  height: calc(var(--needoh-poke-r, 0px) * 2.4);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  opacity: calc(0.42 + var(--needoh-poke-power, 0) * 0.62);
  background:
    radial-gradient(
      circle at 50% 50%,
      rgba(0, 0, 0, calc(0.42 * var(--needoh-poke-power, 0))) 0%,
      rgba(0, 0, 0, calc(0.22 * var(--needoh-poke-power, 0))) 22%,
      rgba(0, 0, 0, calc(0.1 * var(--needoh-poke-power, 0))) 38%,
      transparent 52%
    ),
    radial-gradient(
      circle at 50% 50%,
      transparent 44%,
      color-mix(in srgb, var(--needoh-highlight, #fff) calc(28% * var(--needoh-poke-power, 0)), transparent) 56%,
      transparent 72%
    );
  filter: blur(calc(0.4px + var(--needoh-poke-power, 0) * 1.2px));
}

.needoh-toy-body {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(ellipse 88% 72% at 32% 24%, color-mix(in srgb, var(--needoh-highlight, #fff) 28%, var(--needoh-base, #ff6b8a)) 0%, var(--needoh-gradient, var(--needoh-base, #ff6b8a)) 42%, color-mix(in srgb, var(--needoh-base, #ff6b8a) 82%, #000) 100%);
  box-shadow:
    inset 0 -18px 42px rgba(0, 0, 0, 0.22),
    inset 0 8px 24px rgba(255, 255, 255, 0.18);
}

.needoh-toy-spikes {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  pointer-events: none;
  z-index: 3;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.needoh-toy[data-spiky="true"] .needoh-toy-spikes {
  opacity: 1;
}

.needoh-toy[data-spiky="true"] .needoh-toy-body {
  background:
    radial-gradient(ellipse 95% 80% at 50% 52%, color-mix(in srgb, var(--needoh-base, #ff6b8a) 88%, #000) 0%, var(--needoh-base, #ff6b8a) 55%, color-mix(in srgb, var(--needoh-base, #ff6b8a) 75%, #000) 100%);
}

.needoh-toy[data-spiky="true"] .needoh-toy-shine--main,
.needoh-toy[data-spiky="true"] .needoh-toy-shine--hot {
  opacity: 0.55;
}

.needoh-toy[data-spiky="true"] .needoh-toy-gloss {
  opacity: 0.58;
  mix-blend-mode: soft-light;
}

.needoh-toy[data-spiky="true"] .needoh-toy-subsurface {
  opacity: 0.65;
  filter: blur(1px);
}

.needoh-toy[data-spiky="true"].is-dragging .needoh-toy-spikes {
  filter: blur(0.3px);
}

.needoh-toy-subsurface {
  position: absolute;
  inset: -5%;
  border-radius: inherit;
  background:
    radial-gradient(ellipse 75% 65% at 28% 22%, color-mix(in srgb, var(--needoh-highlight, #fff) 45%, transparent) 0%, transparent 50%),
    radial-gradient(ellipse 80% 70% at 50% 58%, color-mix(in srgb, var(--needoh-base, #ff6b8a) 40%, transparent) 0%, transparent 68%);
  opacity: 0.92;
  pointer-events: none;
}

.needoh-toy-caustic {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(ellipse 32% 20% at 22% 18%, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.35) 35%, transparent 100%),
    radial-gradient(ellipse 22% 14% at 72% 74%, rgba(255, 255, 255, 0.35) 0%, transparent 100%),
    radial-gradient(ellipse 45% 32% at 80% 26%, rgba(255, 255, 255, 0.22) 0%, transparent 100%);
  mix-blend-mode: screen;
  pointer-events: none;
  animation: needohCausticShift 6s ease-in-out infinite;
  opacity: 0.95;
}

@keyframes needohCausticShift {
  0%, 100% { opacity: 0.9; transform: translate(0, 0); }
  50% { opacity: 1; transform: translate(2%, 1%); }
}

.needoh-toy-shine {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
}

.needoh-toy-shine--main {
  top: var(--needoh-shine-y, 8%);
  left: var(--needoh-shine-x, 12%);
  width: 42%;
  height: 28%;
  background: radial-gradient(ellipse at 38% 32%, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.55) 32%, rgba(255, 255, 255, 0.12) 58%, transparent 75%);
  transform: rotate(-22deg);
  filter: blur(0.3px);
  z-index: 4;
  transition: left 0.08s ease-out, top 0.08s ease-out;
}

.needoh-toy-shine--hot {
  top: calc(var(--needoh-shine-y, 12%) + 4%);
  left: calc(var(--needoh-shine-x, 20%) + 8%);
  width: 16%;
  height: 11%;
  background: radial-gradient(circle, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.6) 40%, rgba(255, 255, 255, 0) 72%);
  animation: needohHotSpot 3.5s ease-in-out infinite;
  z-index: 5;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.85);
}

@keyframes needohHotSpot {
  0%, 100% { opacity: 0.88; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.2); }
}

.needoh-toy-shine--rim {
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.2) 16%, transparent 28%, transparent 72%, rgba(0, 0, 0, 0.08) 88%, rgba(0, 0, 0, 0.16) 100%);
  opacity: 0.88;
  z-index: 3;
}

.needoh-toy-gloss {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    162deg,
    rgba(255, 255, 255, 0.88) 0%,
    rgba(255, 255, 255, 0.42) 18%,
    rgba(255, 255, 255, 0.08) 34%,
    transparent 50%,
    transparent 62%,
    rgba(255, 255, 255, 0.14) 78%,
    rgba(255, 255, 255, 0.04) 100%
  );
  mix-blend-mode: soft-light;
  pointer-events: none;
  z-index: 4;
}

.needoh-toy-gloss::after {
  content: "";
  position: absolute;
  top: 5%;
  left: 10%;
  width: 44%;
  height: 26%;
  border-radius: 50%;
  background: linear-gradient(128deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.25) 55%, transparent 100%);
  transform: rotate(-18deg);
  filter: blur(0.8px);
  pointer-events: none;
}

/* Silicone fresnel edge — thicker rim when squished */
.needoh-toy-fresnel {
  position: absolute;
  inset: -2%;
  border-radius: inherit;
  pointer-events: none;
  z-index: 5;
  opacity: calc(0.55 + var(--needoh-stretch-power, 0) * 0.35);
  background:
    radial-gradient(ellipse 100% 100% at 50% 50%, transparent 58%, color-mix(in srgb, var(--needoh-highlight, #fff) 35%, transparent) 72%, color-mix(in srgb, var(--needoh-base, #ff6b8a) 55%, #000) 88%, rgba(0, 0, 0, 0.28) 100%);
  mix-blend-mode: screen;
  transition: opacity 0.1s ease-out;
}

/* Tension sheen — stretches with the poke */
.needoh-toy-stretch-sheen {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 6;
  opacity: calc(var(--needoh-stretch-power, 0) * 0.85);
  background:
    linear-gradient(
      calc(135deg + var(--needoh-skew-x, 0deg)),
      transparent 0%,
      rgba(255, 255, 255, 0.55) 42%,
      rgba(255, 255, 255, 0.22) 52%,
      transparent 68%
    ),
    radial-gradient(
      ellipse 55% 35% at var(--needoh-shine-x, 50%) var(--needoh-shine-y, 40%),
      rgba(255, 255, 255, 0.75) 0%,
      transparent 70%
    );
  mix-blend-mode: overlay;
  transform: scaleX(calc(1 + var(--needoh-stretch-power, 0) * 0.35)) scaleY(calc(1 - var(--needoh-stretch-power, 0) * 0.2));
  transition: opacity 0.08s ease-out;
}

/* Comic squish face */
.needoh-squish-face {
  position: absolute;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%) scale(0);
  font-size: calc(var(--needoh-size, 200px) * 0.22);
  line-height: 1;
  pointer-events: none;
  z-index: 12;
  opacity: 0;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25));
  transition: transform 0.12s cubic-bezier(0.34, 1.6, 0.64, 1), opacity 0.1s ease;
}

.needoh-squish-face.is-visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(var(--needoh-face-squish, 1));
  animation: needohFacePop 0.35s cubic-bezier(0.34, 1.7, 0.64, 1);
}

@keyframes needohFacePop {
  0% { transform: translate(-50%, -50%) scale(0.2) rotate(-12deg); }
  55% { transform: translate(-50%, -50%) scale(calc(var(--needoh-face-squish, 1) * 1.18)) rotate(6deg); }
  100% { transform: translate(-50%, -50%) scale(var(--needoh-face-squish, 1)) rotate(0deg); }
}

/* Impact ripples on release */
.needoh-ripple-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 8;
  overflow: hidden;
}

.needoh-ripple-ring {
  position: absolute;
  width: 24px;
  height: 24px;
  margin: -12px 0 0 -12px;
  border-radius: 50%;
  border: 3px solid color-mix(in srgb, var(--needoh-base, #ff6b8a) 70%, #fff);
  opacity: calc(0.55 * var(--needoh-ripple-power, 0.7));
  animation: needohRippleExpand 0.72s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  box-shadow:
    0 0 12px color-mix(in srgb, var(--needoh-base, #ff6b8a) 40%, transparent),
    inset 0 0 8px rgba(255, 255, 255, 0.4);
}

@keyframes needohRippleExpand {
  0% {
    transform: scale(0.4);
    opacity: calc(0.7 * var(--needoh-ripple-power, 0.7));
    border-width: 4px;
  }
  100% {
    transform: scale(calc(4 + var(--needoh-ripple-power, 0.7) * 5));
    opacity: 0;
    border-width: 1px;
  }
}

.needoh-toy.is-springing .needoh-toy-body {
  filter: saturate(calc(1.05 + var(--needoh-stretch-power, 0) * 0.2)) brightness(calc(1 + var(--needoh-stretch-power, 0) * 0.06));
}

.needoh-toy.is-dragging .needoh-toy-fresnel {
  opacity: calc(0.72 + var(--needoh-stretch-power, 0) * 0.45);
}

/* Local poke dents — crater + surrounding bulge */
.needoh-dents {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 5;
  transform-style: preserve-3d;
}

.needoh-dent {
  position: absolute;
  width: var(--dent-size, 40px);
  height: var(--dent-size, 40px);
  transform: translate(-50%, -50%) scale(var(--dent-crater, 0.72));
  border-radius: 50%;
  background: radial-gradient(
    circle at 42% 38%,
    rgba(0, 0, 0, calc(0.12 * var(--dent-depth, 0.5))) 0%,
    rgba(0, 0, 0, calc(0.38 * var(--dent-depth, 0.5))) 38%,
    rgba(0, 0, 0, calc(0.18 * var(--dent-depth, 0.5))) 52%,
    transparent 70%
  );
  box-shadow:
    inset 0 3px 12px rgba(0, 0, 0, calc(0.35 * var(--dent-depth, 0.5))),
    inset 0 -2px 6px rgba(255, 255, 255, calc(0.08 * var(--dent-depth, 0.5)));
  filter: blur(var(--dent-warp, 0px));
  mix-blend-mode: multiply;
}

.needoh-dent::before {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(
    circle at 45% 40%,
    rgba(0, 0, 0, calc(0.45 * var(--dent-depth, 0.5))) 0%,
    transparent 65%
  );
}

.needoh-dent::after {
  content: "";
  position: absolute;
  inset: -42%;
  border-radius: 50%;
  transform: scale(var(--dent-bulge, 1.12));
  background: radial-gradient(
    circle at 50% 50%,
    transparent 38%,
    color-mix(in srgb, var(--needoh-base, #ff6b8a) calc(18% * var(--dent-depth, 0.5)), transparent) 52%,
    rgba(255, 255, 255, calc(0.14 * var(--dent-depth, 0.5))) 58%,
    transparent 72%
  );
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.needoh-dent-bulge {
  position: absolute;
  width: var(--dent-size, 40px);
  height: var(--dent-size, 40px);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(
    circle at 50% 50%,
    transparent 32%,
    color-mix(in srgb, var(--needoh-highlight, #fff) calc(35% * var(--dent-depth, 0.5)), transparent) 46%,
    color-mix(in srgb, var(--needoh-base, #ff6b8a) calc(12% * var(--dent-depth, 0.5)), transparent) 58%,
    transparent 78%
  );
  opacity: calc(0.45 + var(--dent-depth, 0.5) * 0.4);
  mix-blend-mode: screen;
}

/* Tool visuals */
.needoh-studio-root--hide-tool-icons .needoh-tool-layer,
.needoh-studio-root--hide-tool-icons .needoh-hover-tool,
.needoh-studio-root--hide-tool-icons .needoh-dents,
.needoh-studio-root--hide-tool-icons .needoh-squish-face {
  visibility: hidden !important;
  pointer-events: none;
}

.needoh-tool-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 6;
  overflow: visible;
}

.needoh-tool {
  position: absolute;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: transform 0.08s ease-out;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.2));
}

.needoh-tool.is-pressing {
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.25));
}

.needoh-tool-pad {
  display: block;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffe8d6 0%, #f5c4a1 55%, #e8a87c 100%);
  border: 2px solid rgba(255, 255, 255, 0.65);
  box-shadow: inset 0 -4px 8px rgba(160, 90, 60, 0.25);
  transition: transform 0.08s ease-out, box-shadow 0.08s ease-out;
}

.needoh-dent--finger {
  mix-blend-mode: multiply;
}

.needoh-dent--finger::before {
  inset: 4%;
  background: radial-gradient(
    circle at 48% 44%,
    rgba(0, 0, 0, calc(0.62 * var(--dent-depth, 0.5))) 0%,
    rgba(0, 0, 0, calc(0.35 * var(--dent-depth, 0.5))) 28%,
    transparent 58%
  );
}

.needoh-dent--finger::after {
  inset: -48%;
}

.needoh-tool-fingertip {
  width: 34px;
  height: 44px;
  border-radius: 50% 50% 46% 46%;
  background: radial-gradient(ellipse at 40% 28%, #ffe8d6 0%, #f5c4a1 48%, #d4956a 100%);
  box-shadow:
    inset 0 -6px 10px rgba(140, 75, 45, 0.35),
    inset 0 4px 8px rgba(255, 255, 255, 0.45);
}

.needoh-tool--finger.is-pressing .needoh-tool-fingertip {
  transform: scale(1.08, 0.62) translateY(calc(var(--needoh-finger-bury, 0) * 6px));
  box-shadow: inset 0 10px 16px rgba(120, 65, 40, 0.45);
}

.needoh-tool--finger.is-pressing .needoh-tool-pad {
  transform: scale(1.05, 0.78);
  box-shadow: inset 0 6px 12px rgba(160, 90, 60, 0.35);
}

.needoh-tool--pin .needoh-tool-pin {
  display: block;
  width: 10px;
  height: 28px;
  border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, #ff6b8a, #c9184a);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  transform: translate(-50%, -100%);
}

.needoh-tool-stick {
  display: block;
  width: 8px;
  height: 56px;
  border-radius: 4px;
  background: linear-gradient(90deg, #a66b3f, #d4a574 45%, #8b5a2b);
  transform: rotate(var(--needoh-stick-angle, -30deg)) translateY(-48px);
  transform-origin: bottom center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.needoh-tool-tip {
  position: absolute;
  left: 50%;
  top: 0;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
  background: #5c3d1e;
  box-shadow: 0 0 0 2px #8b5a2b;
}

.needoh-tool-paddle {
  display: block;
  width: 72px;
  height: 52px;
  border-radius: 42% 42% 38% 38%;
  background: radial-gradient(ellipse at 40% 30%, #ff8fab, #f72585 70%);
  border: 3px solid rgba(255, 255, 255, 0.5);
  box-shadow: inset 0 -6px 12px rgba(0, 0, 0, 0.15);
}

.needoh-hand {
  position: relative;
  display: block;
  width: 64px;
  height: 72px;
}

.needoh-hand-palm {
  position: absolute;
  left: 8px;
  top: 28px;
  width: 48px;
  height: 40px;
  border-radius: 45% 45% 40% 40%;
  background: radial-gradient(ellipse at 40% 30%, #ffe8d6, #f0b88a 70%, #d4956a);
  border: 2px solid rgba(255, 255, 255, 0.5);
  box-shadow: inset 0 -5px 10px rgba(140, 80, 50, 0.2);
}

.needoh-hand-digit {
  position: absolute;
  width: 12px;
  height: 26px;
  border-radius: 8px 8px 6px 6px;
  background: linear-gradient(180deg, #ffe8d6, #e8a87c);
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.needoh-hand-digit--a { left: 12px; top: 4px; transform: rotate(-8deg); height: 30px; }
.needoh-hand-digit--b { left: 26px; top: 0; height: 34px; }
.needoh-hand-digit--c { left: 40px; top: 4px; transform: rotate(8deg); height: 30px; }

.needoh-hand-thumb {
  position: absolute;
  left: 0;
  top: 32px;
  width: 14px;
  height: 22px;
  border-radius: 8px;
  background: linear-gradient(135deg, #ffe8d6, #e8a87c);
  transform: rotate(-35deg);
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.needoh-hover-tool {
  position: absolute;
  font-size: 28px;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.15s ease;
  pointer-events: none;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

.needoh-hover-tool.is-visible {
  opacity: 0.55;
}

.needoh-tool-hint {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--needoh-muted);
}

.needoh-tool-chip {
  font-size: 12px;
}

.needoh-preview-stage {
  cursor: crosshair;
}

.needoh-toy[data-clear="true"] .needoh-toy-body {
  background:
    radial-gradient(ellipse 90% 70% at 32% 28%, rgba(255, 255, 255, 0.5) 0%, color-mix(in srgb, var(--needoh-base, #ff6b8a) 38%, transparent) 55%, color-mix(in srgb, var(--needoh-base, #ff6b8a) 12%, transparent) 100%);
  backdrop-filter: blur(3px);
}

.needoh-toy[data-chrome="true"] .needoh-toy-body {
  background:
    conic-gradient(from 210deg at 50% 50%, #f8f8fc, #8899aa, #ffffff, #667788, #dde2ea, #99aabb, #f0f0f5),
    radial-gradient(ellipse 85% 65% at 28% 22%, rgba(255, 255, 255, 0.95) 0%, transparent 45%);
  box-shadow:
    inset 0 -18px 36px rgba(40, 50, 70, 0.35),
    inset 0 12px 24px rgba(255, 255, 255, 0.55),
    0 8px 28px color-mix(in srgb, var(--needoh-base, #8899aa) 25%, transparent);
}

.needoh-toy[data-chrome="true"] .needoh-toy-shine--main {
  opacity: 0.95;
  background: radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.98) 0%, transparent 42%);
}

.needoh-studio-root--plasma .needoh-preview-stage::before {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
  opacity: calc(0.15 + var(--needoh-stress, 0) * 0.45);
  box-shadow:
    0 0 calc(20px + var(--needoh-stress, 0) * 40px) color-mix(in srgb, var(--needoh-stress-color, #ff2244) 55%, transparent),
    inset 0 0 calc(30px + var(--needoh-stress, 0) * 50px) color-mix(in srgb, var(--needoh-stress-color, #ff9f43) 35%, transparent);
  animation: needohPlasmaPulse 1.2s ease-in-out infinite;
}

@keyframes needohPlasmaPulse {
  0%, 100% { transform: scale(0.98); opacity: calc(0.12 + var(--needoh-stress, 0) * 0.4); }
  50% { transform: scale(1.02); opacity: calc(0.22 + var(--needoh-stress, 0) * 0.55); }
}

.needoh-studio-root--hard-mode .needoh-stress-pill-track {
  border-color: color-mix(in srgb, #ff2244 35%, transparent);
  box-shadow: inset 0 0 8px rgba(255, 34, 68, 0.12);
}

.needoh-toy[data-swirl="true"] .needoh-toy-body {
  background:
    conic-gradient(from 210deg at 50% 50%, var(--needoh-base, #ff6b8a), var(--needoh-accent, #ffd166), var(--needoh-base, #ff6b8a), var(--needoh-accent, #ffd166), var(--needoh-base, #ff6b8a)),
    radial-gradient(ellipse at 30% 25%, rgba(255, 255, 255, 0.5) 0%, transparent 40%);
}

.needoh-toy[data-fuzz="true"] .needoh-toy-inner::after {
  content: "";
  position: absolute;
  inset: -8%;
  border-radius: inherit;
  background:
    radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.9) 0 1px, transparent 2px),
    radial-gradient(circle at 35% 55%, rgba(255, 255, 255, 0.8) 0 1px, transparent 2px),
    radial-gradient(circle at 55% 35%, rgba(255, 255, 255, 0.75) 0 1px, transparent 2px),
    radial-gradient(circle at 75% 70%, rgba(255, 255, 255, 0.8) 0 1px, transparent 2px),
    radial-gradient(circle at 88% 28%, rgba(255, 255, 255, 0.7) 0 1px, transparent 2px);
  opacity: 0.95;
  pointer-events: none;
  z-index: 2;
}

.needoh-toy-glow-ring {
  position: absolute;
  inset: -14%;
  border-radius: inherit;
  opacity: 0;
  background: radial-gradient(circle, color-mix(in srgb, var(--needoh-base, #ff6b8a) 60%, transparent) 0%, transparent 68%);
  filter: blur(12px);
  pointer-events: none;
}

.needoh-toy[data-glow="true"] .needoh-toy-glow-ring {
  opacity: 0.9;
  animation: needohGlowPulse 2.4s ease-in-out infinite;
}

@keyframes needohGlowPulse {
  0%, 100% { opacity: 0.7; transform: scale(0.98); }
  50% { opacity: 1; transform: scale(1.06); }
}

.needoh-toy-sparkles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 4;
}

.needoh-toy[data-sparkles="true"] .needoh-toy-sparkles { opacity: 1; }

.needoh-sparkle-bit {
  position: absolute;
  width: 16px;
  height: 16px;
  background: linear-gradient(135deg, #fff8dc 0%, #ffd966 42%, #e6a800 100%);
  clip-path: polygon(50% 0%, 62% 35%, 100% 50%, 62% 65%, 50% 100%, 38% 65%, 0% 50%, 38% 35%);
  animation: needohTwinkle 1.8s ease-in-out infinite;
  filter: drop-shadow(0 0 9px rgba(255, 210, 70, 1)) drop-shadow(0 0 3px rgba(255, 255, 220, 0.95));
}

@keyframes needohTwinkle {
  0%, 100% { transform: scale(0.45); opacity: 0.35; }
  50% { transform: scale(1.45) rotate(25deg); opacity: 1; }
}

.needoh-squish-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 5;
}

.needoh-toy-name {
  margin: 10px 0 0;
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 700;
  text-align: center;
}

.needoh-toy-stats {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.needoh-stat-pill {
  font-size: 12px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--needoh-border);
  color: var(--needoh-muted);
}

.needoh-controls-panel { padding: 18px 16px 20px; }

.needoh-control-group {
  border: none;
  margin: 0 0 16px;
  padding: 0;
}

.needoh-control-group legend {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--needoh-text);
}

.needoh-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.needoh-shape-picker {
  max-height: 148px;
  overflow-y: auto;
  padding-right: 4px;
}

.needoh-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 12px;
  border: 2px solid var(--needoh-border);
  background: #fff;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  color: var(--needoh-text);
  cursor: pointer;
}

.needoh-chip.is-active {
  border-color: var(--needoh-accent);
  background: #fff0f7;
  box-shadow: 0 0 0 3px rgba(247, 37, 133, 0.12);
}

.needoh-chip-icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  flex-shrink: 0;
  position: relative;
  vertical-align: middle;
  --gel-light: #ffc4d4;
  --gel-mid: #ff6b8a;
  --gel-dark: #c93d5e;
  background: radial-gradient(circle at 30% 26%, var(--gel-light) 0%, var(--gel-mid) 50%, var(--gel-dark) 100%);
  box-shadow:
    inset 0 1px 2.5px rgba(255, 255, 255, 0.98),
    inset 0 -2px 5px rgba(0, 0, 0, 0.28),
    0 1px 3px rgba(0, 0, 0, 0.16),
    0 0 6px rgba(255, 255, 255, 0.35);
}

.needoh-shape-round {
  border-radius: 50%;
}

.needoh-shape-round::before,
.needoh-shape-gumdrop::before,
.needoh-shape-egg::before,
.needoh-shape-blob::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 4px;
  width: 6px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  pointer-events: none;
}

.needoh-shape-square {
  border-radius: 4px;
  background: radial-gradient(circle at 28% 22%, var(--gel-light) 0%, var(--gel-mid) 52%, var(--gel-dark) 100%);
}

.needoh-shape-square::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 3px;
  right: 3px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.85), transparent);
  pointer-events: none;
}

.needoh-shape-gumdrop {
  border-radius: 50% 50% 46% 46% / 58% 58% 38% 38%;
}

.needoh-shape-hex {
  clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0% 50%);
  border-radius: 0;
  background: radial-gradient(circle at 38% 30%, var(--gel-light) 0%, var(--gel-mid) 55%, var(--gel-dark) 100%);
}

.needoh-shape-star {
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  border-radius: 0;
  background: radial-gradient(circle at 42% 36%, var(--gel-light) 0%, var(--gel-mid) 58%, var(--gel-dark) 100%);
}

.needoh-shape-jellyfish {
  border-radius: 48% 48% 42% 42% / 58% 58% 38% 38%;
  height: 12px;
  width: 18px;
  margin-top: 2px;
  background: radial-gradient(ellipse 90% 80% at 50% 28%, var(--gel-light) 0%, var(--gel-mid) 55%, var(--gel-dark) 100%);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.85), 0 1px 2px rgba(0, 0, 0, 0.12);
}

.needoh-shape-jellyfish::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 5px;
  width: 5px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
}

.needoh-shape-jellyfish::after {
  content: "";
  position: absolute;
  left: 3px;
  right: 3px;
  bottom: -5px;
  height: 7px;
  background:
    linear-gradient(90deg, transparent 0%, var(--gel-mid) 12%, transparent 24%),
    linear-gradient(90deg, transparent 28%, var(--gel-mid) 38%, transparent 48%),
    linear-gradient(90deg, transparent 52%, var(--gel-mid) 62%, transparent 72%),
    linear-gradient(90deg, transparent 76%, var(--gel-mid) 86%, transparent 96%);
  opacity: 0.9;
  border-radius: 0 0 3px 3px;
}

.needoh-shape-heart {
  clip-path: polygon(50% 88%, 10% 48%, 10% 28%, 28% 12%, 50% 28%, 72% 12%, 90% 28%, 90% 48%);
  border-radius: 0;
  background: radial-gradient(circle at 42% 32%, var(--gel-light) 0%, var(--gel-mid) 55%, var(--gel-dark) 100%);
  transform: none;
}

.needoh-shape-donut {
  border-radius: 50%;
  background: radial-gradient(circle at 30% 26%, var(--gel-light) 0%, var(--gel-mid) 48%, var(--gel-dark) 100%);
  -webkit-mask: radial-gradient(circle at 50% 50%, transparent 30%, #000 36%);
  mask: radial-gradient(circle at 50% 50%, transparent 30%, #000 36%);
}

.needoh-shape-donut::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 4px;
  width: 5px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  -webkit-mask: none;
  mask: none;
}

.needoh-shape-egg {
  border-radius: 50% 50% 50% 50% / 58% 58% 42% 42%;
}

.needoh-shape-diamond {
  transform: rotate(45deg) scale(0.72);
  border-radius: 2px;
  background: linear-gradient(145deg, var(--gel-light) 0%, var(--gel-mid) 45%, var(--gel-dark) 100%);
}

.needoh-shape-blob {
  border-radius: 58% 42% 62% 38% / 48% 55% 45% 52%;
}

.needoh-shape-pyramid {
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
  border-radius: 0;
  background: linear-gradient(155deg, var(--gel-light) 0%, var(--gel-mid) 42%, var(--gel-dark) 100%);
  box-shadow: inset 0 -2px 3px rgba(0, 0, 0, 0.18), 0 1px 2px rgba(0, 0, 0, 0.14);
}

.needoh-color-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }

.needoh-swatch {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--needoh-border), inset 0 2px 8px rgba(255, 255, 255, 0.5), inset 0 -4px 8px rgba(0, 0, 0, 0.12);
  background: var(--swatch);
  cursor: pointer;
}

.needoh-swatch.is-active {
  box-shadow: 0 0 0 3px var(--needoh-accent), 0 4px 14px rgba(0, 0, 0, 0.15);
  transform: scale(1.08);
}

.needoh-custom-color {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--needoh-muted);
}

.needoh-slider-wrap {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
}

.needoh-slider-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--needoh-muted);
  white-space: nowrap;
}

.needoh-studio-root input[type="range"] {
  width: 100%;
  accent-color: var(--needoh-accent);
  cursor: pointer;
}

.needoh-slider-readout {
  margin: 8px 0 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--needoh-accent-2);
}

.needoh-toggle-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.needoh-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid var(--needoh-border);
  background: #fff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
}

.needoh-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.needoh-toggle-ui {
  width: 38px;
  height: 22px;
  border-radius: 999px;
  background: #e8dff0;
  position: relative;
  flex-shrink: 0;
}

.needoh-toggle-ui::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease;
}

.needoh-toggle input:checked + .needoh-toggle-ui {
  background: linear-gradient(135deg, var(--needoh-accent), var(--needoh-accent-2));
}

.needoh-toggle input:checked + .needoh-toggle-ui::after { transform: translateX(16px); }

.needoh-name-input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 2px solid var(--needoh-border);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--needoh-text);
  background: #fff;
}

.needoh-name-input:focus {
  outline: none;
  border-color: var(--needoh-accent);
  box-shadow: 0 0 0 3px rgba(247, 37, 133, 0.15);
}

.needoh-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.needoh-btn-primary,
.needoh-btn-secondary {
  border: none;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
  padding: 10px 16px;
  font-size: 14px;
}

.needoh-btn-primary {
  background: linear-gradient(135deg, var(--needoh-accent), var(--needoh-accent-2));
  color: #fff;
  box-shadow: 0 8px 18px rgba(247, 37, 133, 0.28);
}

.needoh-btn-secondary {
  background: #fff;
  color: var(--needoh-text);
  border: 2px solid var(--needoh-border);
}

/* ── Shape presets ── */
.needoh-toy[data-shape="round"],
.needoh-toy[data-shape="square"],
.needoh-toy[data-shape="gumdrop"],
.needoh-toy[data-shape="egg"],
.needoh-toy[data-shape="donut"] {
  clip-path: none;
  -webkit-mask-image: none;
  mask-image: none;
  animation: none;
  width: var(--needoh-size, 200px);
  height: var(--needoh-size, 200px);
}

.needoh-toy:not([data-shape="donut"]) .needoh-toy-inner {
  -webkit-mask: none;
  mask: none;
}

.needoh-toy:not([data-shape="jellyfish"]) .needoh-toy-inner {
  overflow: hidden;
}

.needoh-toy[data-shape="round"] {
  border-radius: 50%;
}

.needoh-toy[data-shape="round"] .needoh-toy-inner,
.needoh-toy[data-shape="round"] .needoh-toy-3d,
.needoh-toy[data-shape="round"] .needoh-toy-body,
.needoh-toy[data-shape="round"] .needoh-toy-spikes,
.needoh-toy[data-shape="round"] .needoh-toy-subsurface,
.needoh-toy[data-shape="round"] .needoh-toy-caustic,
.needoh-toy[data-shape="round"] .needoh-toy-gloss,
.needoh-toy[data-shape="round"] .needoh-dents {
  border-radius: 50%;
}

.needoh-toy[data-shape="round"] .needoh-toy-shine--main {
  top: 9%;
  left: 15%;
  width: 36%;
  height: 36%;
  border-radius: 50%;
  background: radial-gradient(circle at 36% 30%, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.62) 28%, rgba(255, 255, 255, 0.15) 55%, transparent 72%);
  transform: none;
  filter: none;
}

.needoh-toy[data-shape="round"] .needoh-toy-shine--hot {
  top: 14%;
  left: 23%;
  width: 13%;
  height: 13%;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.95);
}

.needoh-toy[data-shape="round"] .needoh-toy-body {
  background:
    radial-gradient(circle at 26% 20%, color-mix(in srgb, var(--needoh-highlight, #fff) 82%, transparent) 0%, transparent 38%),
    radial-gradient(ellipse 85% 75% at 30% 26%, color-mix(in srgb, var(--needoh-highlight, #fff) 55%, transparent) 0%, transparent 52%),
    var(--needoh-gradient);
}

.needoh-toy[data-shape="gumdrop"] .needoh-toy-shine--main,
.needoh-toy[data-shape="egg"] .needoh-toy-shine--main,
.needoh-toy[data-shape="blob"] .needoh-toy-shine--main {
  width: 36%;
  height: 36%;
  border-radius: 50%;
  transform: none;
}

.needoh-toy[data-shape="square"] {
  border-radius: 22%;
}

.needoh-toy[data-shape="square"] .needoh-toy-inner,
.needoh-toy[data-shape="square"] .needoh-toy-body,
.needoh-toy[data-shape="square"] .needoh-toy-spikes,
.needoh-toy[data-shape="square"] .needoh-toy-subsurface,
.needoh-toy[data-shape="square"] .needoh-toy-caustic,
.needoh-toy[data-shape="square"] .needoh-toy-gloss,
.needoh-toy[data-shape="square"] .needoh-dents {
  border-radius: 22%;
}

.needoh-toy[data-shape="gumdrop"] {
  border-radius: 48% 48% 42% 42% / 55% 55% 38% 38%;
}

.needoh-toy[data-shape="gumdrop"] .needoh-toy-inner,
.needoh-toy[data-shape="gumdrop"] .needoh-toy-body,
.needoh-toy[data-shape="gumdrop"] .needoh-toy-spikes,
.needoh-toy[data-shape="gumdrop"] .needoh-toy-subsurface,
.needoh-toy[data-shape="gumdrop"] .needoh-toy-caustic,
.needoh-toy[data-shape="gumdrop"] .needoh-toy-gloss,
.needoh-toy[data-shape="gumdrop"] .needoh-dents {
  border-radius: 48% 48% 42% 42% / 55% 55% 38% 38%;
}

.needoh-toy[data-shape="hex"] {
  clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0% 50%);
  border-radius: 0;
}

.needoh-toy[data-shape="hex"] .needoh-toy-inner {
  clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0% 50%);
  border-radius: 0;
}

.needoh-toy[data-shape="star"] {
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  border-radius: 0;
}

.needoh-toy[data-shape="star"] .needoh-toy-inner {
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  border-radius: 0;
}

.needoh-toy[data-shape="star"] .needoh-toy-body {
  background:
    radial-gradient(ellipse 55% 50% at 50% 45%, color-mix(in srgb, var(--needoh-highlight, #fff) 70%, transparent) 0%, var(--needoh-base) 50%, var(--needoh-deep) 100%),
    var(--needoh-gradient);
}

.needoh-toy-tentacles {
  display: none;
  pointer-events: none;
}

.needoh-toy[data-shape="jellyfish"] {
  width: var(--needoh-size, 200px);
  height: calc(var(--needoh-size, 200px) * 1.18);
  border-radius: 46% 46% 38% 38% / 52% 52% 28% 28%;
}

.needoh-toy[data-shape="jellyfish"] .needoh-toy-tentacles {
  display: block;
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: -2%;
  height: 38%;
  z-index: 1;
  background:
    radial-gradient(ellipse 8% 92% at 12% 0%, color-mix(in srgb, var(--needoh-base, #ff6b8a) 75%, transparent) 0%, transparent 100%),
    radial-gradient(ellipse 7% 88% at 28% 0%, color-mix(in srgb, var(--needoh-accent, #ffd166) 55%, transparent) 0%, transparent 100%),
    radial-gradient(ellipse 9% 95% at 44% 0%, color-mix(in srgb, var(--needoh-base, #ff6b8a) 70%, transparent) 0%, transparent 100%),
    radial-gradient(ellipse 7% 90% at 58% 0%, color-mix(in srgb, var(--needoh-accent, #ffd166) 50%, transparent) 0%, transparent 100%),
    radial-gradient(ellipse 8% 93% at 72% 0%, color-mix(in srgb, var(--needoh-base, #ff6b8a) 72%, transparent) 0%, transparent 100%),
    radial-gradient(ellipse 7% 85% at 86% 0%, color-mix(in srgb, var(--needoh-accent, #ffd166) 48%, transparent) 0%, transparent 100%);
  filter: blur(0.6px);
  opacity: 0.92;
  animation: needohJellyWiggle 3.5s ease-in-out infinite;
}

@keyframes needohJellyWiggle {
  0%, 100% { transform: scaleX(1) translateY(0); }
  50% { transform: scaleX(1.04) translateY(3px); }
}

.needoh-toy[data-shape="jellyfish"] .needoh-toy-body {
  background:
    radial-gradient(ellipse 80% 65% at 50% 28%, color-mix(in srgb, var(--needoh-highlight, #fff) 55%, transparent) 0%, transparent 55%),
    radial-gradient(ellipse 100% 80% at 50% 40%, var(--needoh-base) 0%, var(--needoh-deep) 100%);
}

.needoh-toy[data-shape="jellyfish"] .needoh-toy-inner {
  overflow: visible;
}

.needoh-toy[data-shape="heart"] {
  clip-path: polygon(50% 88%, 10% 48%, 10% 28%, 28% 12%, 50% 28%, 72% 12%, 90% 28%, 90% 48%);
  border-radius: 0;
}

.needoh-toy[data-shape="heart"] .needoh-toy-inner {
  clip-path: polygon(50% 88%, 10% 48%, 10% 28%, 28% 12%, 50% 28%, 72% 12%, 90% 28%, 90% 48%);
  border-radius: 0;
}

.needoh-toy[data-shape="donut"] {
  border-radius: 50%;
}

.needoh-toy[data-shape="donut"] .needoh-toy-inner,
.needoh-toy[data-shape="donut"] .needoh-toy-body,
.needoh-toy[data-shape="donut"] .needoh-toy-spikes,
.needoh-toy[data-shape="donut"] .needoh-dents {
  border-radius: 50%;
}

.needoh-toy[data-shape="donut"] .needoh-toy-inner {
  -webkit-mask: radial-gradient(circle at 50% 50%, transparent 30%, #000 32%);
  mask: radial-gradient(circle at 50% 50%, transparent 30%, #000 32%);
}

.needoh-toy[data-shape="egg"] {
  border-radius: 50% 50% 50% 50% / 58% 58% 42% 42%;
}

.needoh-toy[data-shape="egg"] .needoh-toy-inner,
.needoh-toy[data-shape="egg"] .needoh-toy-body,
.needoh-toy[data-shape="egg"] .needoh-toy-spikes,
.needoh-toy[data-shape="egg"] .needoh-toy-subsurface,
.needoh-toy[data-shape="egg"] .needoh-toy-caustic,
.needoh-toy[data-shape="egg"] .needoh-toy-gloss,
.needoh-toy[data-shape="egg"] .needoh-dents {
  border-radius: 50% 50% 50% 50% / 58% 58% 42% 42%;
}

.needoh-toy[data-shape="diamond"] {
  clip-path: polygon(50% 0%, 92% 50%, 50% 100%, 8% 50%);
  border-radius: 0;
}

.needoh-toy[data-shape="diamond"] .needoh-toy-inner {
  clip-path: polygon(50% 0%, 92% 50%, 50% 100%, 8% 50%);
  border-radius: 0;
}

.needoh-toy[data-shape="blob"] {
  border-radius: 58% 42% 62% 38% / 48% 55% 45% 52%;
  animation: needohBlobMorph 8s ease-in-out infinite;
}

.needoh-toy[data-shape="blob"] .needoh-toy-inner,
.needoh-toy[data-shape="blob"] .needoh-toy-body,
.needoh-toy[data-shape="blob"] .needoh-toy-spikes,
.needoh-toy[data-shape="blob"] .needoh-dents {
  border-radius: inherit;
  animation: needohBlobMorph 8s ease-in-out infinite;
}

.needoh-toy[data-shape="pyramid"] {
  clip-path: polygon(50% 2%, 96% 92%, 4% 92%);
  border-radius: 0;
}

.needoh-toy[data-shape="pyramid"] .needoh-toy-inner {
  clip-path: polygon(50% 2%, 96% 92%, 4% 92%);
  border-radius: 0;
}

@keyframes needohBlobMorph {
  0%, 100% { border-radius: 58% 42% 62% 38% / 48% 55% 45% 52%; }
  33% { border-radius: 45% 55% 40% 60% / 52% 42% 58% 48%; }
  66% { border-radius: 62% 38% 55% 45% / 44% 58% 42% 56%; }
}

.needoh-toy[data-shape="pyramid"] .needoh-toy-body {
  background:
    linear-gradient(155deg, var(--needoh-highlight, #fff) 0%, var(--needoh-base, #ff6b8a) 38%, var(--needoh-deep, #c44) 100%);
}

@media (max-width: 900px) {
  .needoh-studio-layout { grid-template-columns: 1fr; }
  .needoh-preview-panel,
  .needoh-controls-panel {
    position: static;
    max-height: none;
    overflow: visible;
  }
  .needoh-toggle-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .needoh-studio-root * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ── Squish pressure gauge ── */
.needoh-stress-ring {
  position: absolute;
  inset: 2.5%;
  pointer-events: none;
  z-index: 9;
  opacity: 0;
  transform: none;
  transition: opacity 0.3s ease;
  will-change: opacity;
}

.needoh-stress-ring.is-visible {
  opacity: calc(0.28 + var(--needoh-stress, 0) * 0.72);
}

.needoh-stress-ring.is-hot .needoh-stress-ring-fill {
  filter: drop-shadow(
    0 0 calc(6px + var(--needoh-stress, 0) * 10px)
      color-mix(in srgb, var(--needoh-stress-color, #ff9f43) 55%, transparent)
  );
}

.needoh-stress-ring.is-critical .needoh-stress-ring-fill {
  filter: drop-shadow(
    0 0 calc(8px + var(--needoh-stress, 0) * 14px) var(--needoh-stress-color, #ff2244)
  );
}

.needoh-stress-ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  overflow: visible;
}

.needoh-stress-ring-track {
  fill: none;
  stroke: rgba(255, 255, 255, 0.22);
  stroke-width: 3.2;
}

.needoh-stress-ring-fill {
  fill: none;
  stroke: var(--needoh-stress-color, #5eead4);
  stroke-width: 4.8;
  stroke-linecap: round;
  stroke-dasharray: 289;
  stroke-dashoffset: 289;
  filter: drop-shadow(0 0 8px color-mix(in srgb, var(--needoh-stress-color, #5eead4) 65%, transparent));
  transition: stroke 0.2s ease;
  vector-effect: non-scaling-stroke;
}

@keyframes needohStressRingPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.92; }
}

.needoh-stress-wrap {
  width: 100%;
  max-width: min(100%, 680px);
  margin-top: 8px;
  padding: 0 6px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.needoh-pressure-score {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  min-width: 72px;
  padding-bottom: 2px;
}

.needoh-pressure-score-main {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.needoh-pressure-score-num {
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--needoh-accent);
}

.needoh-pressure-score-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--needoh-muted);
}

.needoh-pressure-best {
  font-size: 10px;
  font-weight: 700;
  color: color-mix(in srgb, var(--needoh-stress-color, #ff9f43) 70%, var(--needoh-muted));
}

/* ── Pressure rewards ── */
.needoh-rewards-card {
  background: linear-gradient(145deg, rgba(94, 234, 212, 0.08), rgba(247, 37, 133, 0.06));
  border-radius: 16px;
  padding: 12px 14px 14px;
  border: 1px solid rgba(114, 9, 183, 0.12);
}

.needoh-rewards-tagline {
  margin: 0 0 10px;
  font-size: 12px;
  color: var(--needoh-muted);
  line-height: 1.45;
}

.needoh-rewards-next {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.55);
  font-size: 11px;
  font-weight: 700;
}

.needoh-rewards-next-bar {
  flex: 1 1 80px;
  height: 6px;
  border-radius: 999px;
  background: rgba(45, 27, 78, 0.08);
  overflow: hidden;
}

.needoh-rewards-next-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #5eead4, #f72585);
}

.needoh-rewards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 8px;
}

.needoh-reward-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(114, 9, 183, 0.1);
  overflow: hidden;
  opacity: 0.72;
}

.needoh-reward-card.is-unlocked {
  opacity: 1;
  border-color: color-mix(in srgb, #5eead4 45%, transparent);
  box-shadow: 0 0 12px rgba(94, 234, 212, 0.2);
}

.needoh-reward-emoji {
  font-size: 18px;
  line-height: 1;
}

.needoh-reward-name {
  font-size: 12px;
  font-weight: 800;
}

.needoh-reward-desc {
  font-size: 10px;
  color: var(--needoh-muted);
  line-height: 1.35;
}

.needoh-reward-cost {
  font-size: 10px;
  font-weight: 700;
  color: var(--needoh-accent);
  margin-top: 2px;
}

.needoh-reward-card.is-unlocked .needoh-reward-cost {
  color: #0d9488;
}

.needoh-reward-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: var(--needoh-reward-pct, 0%);
  max-width: 100%;
  background: linear-gradient(90deg, #5eead4, #7209b7);
  border-radius: 0 2px 0 0;
  opacity: 0.85;
}

.needoh-reward-card.is-unlocked .needoh-reward-progress {
  width: 100%;
  background: linear-gradient(90deg, #5eead4, #14b8a6);
}

.needoh-toggle--locked {
  opacity: 0.72;
}

.needoh-toggle--locked.is-unlocked {
  opacity: 1;
}

.needoh-unlock-badge {
  margin-left: auto;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(114, 9, 183, 0.1);
  color: var(--needoh-muted);
}

.needoh-toggle--unlock.is-unlocked .needoh-unlock-badge {
  background: rgba(20, 184, 166, 0.15);
  color: #0d9488;
}

.needoh-hard-mode {
  margin-top: 10px;
}

.needoh-stress-pill {
  flex: 1 1 200px;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.needoh-stress-pill-track {
  position: relative;
  height: 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(114, 9, 183, 0.14);
  overflow: hidden;
  box-shadow:
    inset 0 1px 4px rgba(45, 27, 78, 0.1),
    0 1px 0 rgba(255, 255, 255, 0.85);
}

.needoh-stress-pill-fill {
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--needoh-stress-color, #5eead4) 88%, #fff),
    var(--needoh-stress-color, #5eead4),
    color-mix(in srgb, var(--needoh-stress-color, #ff2244) 75%, #ff2244)
  );
  box-shadow:
    0 0 calc(6px + var(--needoh-stress, 0) * 16px)
      color-mix(in srgb, var(--needoh-stress-color, #5eead4) 55%, transparent);
  transition: width 0.08s linear, background 0.15s ease, box-shadow 0.15s ease;
}

.needoh-stress-pill-shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(255, 255, 255, 0.45) 45%,
    transparent 70%
  );
  transform: translateX(-120%);
  animation: needohStressShimmer 2.8s ease-in-out infinite;
  pointer-events: none;
  opacity: calc(0.25 + var(--needoh-stress, 0) * 0.55);
}

.needoh-stress-pill.is-hot .needoh-stress-pill-track {
  border-color: color-mix(in srgb, var(--needoh-stress-color, #ff9f43) 45%, transparent);
}

.needoh-stress-pill.is-critical .needoh-stress-pill-fill {
  animation: needohStressFillPulse 0.42s ease-in-out infinite;
}

.needoh-stress-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--needoh-muted);
}

.needoh-stress-icon {
  font-size: 13px;
  line-height: 1;
}

.needoh-stress-pill.is-hot .needoh-stress-label {
  color: color-mix(in srgb, var(--needoh-stress-color, #ff9f43) 55%, var(--needoh-text));
}

.needoh-stress-pill.is-critical .needoh-stress-label {
  color: var(--needoh-stress-color, #ff2244);
}

@keyframes needohStressShimmer {
  0%, 100% { transform: translateX(-120%); }
  45%, 55% { transform: translateX(120%); }
}

@keyframes needohStressFillPulse {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.22); }
}

.needoh-studio-root--bounce-game .needoh-squish-hud,
.needoh-studio-root--bounce-game .needoh-stress-ring {
  display: none !important;
  visibility: hidden;
  pointer-events: none;
}

.needoh-studio-root--bounce-game .needoh-viral-bar {
  display: none !important;
}

.needoh-studio-root[data-needoh-play-mode="squish"] .needoh-bounce-hud {
  display: none !important;
}

.needoh-studio-root[data-needoh-play-mode="bounce"] .needoh-squish-hud {
  display: none !important;
}

.needoh-squish-hud[hidden],
.needoh-bounce-hud[hidden] {
  display: none !important;
}

.needoh-studio-root--pro .needoh-stress-pill-track {
  background: rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(6px);
}

.needoh-studio-root--pro .needoh-stress-ring-track {
  stroke: rgba(255, 255, 255, 0.18);
  stroke-width: 2.8;
}

.needoh-studio-root--pro .needoh-stress-ring-fill {
  stroke-width: 5.2;
}

/* ── Viral / share / combo ── */
.needoh-viral-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(247, 37, 133, 0.08), rgba(114, 9, 183, 0.08));
  border: 1px solid rgba(247, 37, 133, 0.15);
}

.needoh-squish-score-num {
  display: block;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  color: var(--needoh-accent);
}

.needoh-squish-score-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--needoh-muted);
}

.needoh-combo-pill {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff;
  background: linear-gradient(135deg, #f72585, #7209b7);
  box-shadow: 0 0 calc(8px + var(--needoh-combo, 0) * 18px) rgba(247, 37, 133, 0.55);
  transform: scale(calc(1 + var(--needoh-combo, 0) * 0.12));
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.needoh-combo-pill.is-idle {
  opacity: 0;
  transform: scale(0.85);
  pointer-events: none;
}

.needoh-combo-burst {
  position: absolute;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%) scale(0.6);
  z-index: 8;
  pointer-events: none;
  font-size: clamp(22px, 5vw, 34px);
  font-weight: 800;
  color: #fff;
  text-shadow:
    0 2px 0 #f72585,
    0 4px 16px rgba(114, 9, 183, 0.65);
  opacity: 0;
}

.needoh-combo-burst.is-pop {
  animation: needohComboPop 0.85s cubic-bezier(0.34, 1.45, 0.64, 1) forwards;
}

@keyframes needohComboPop {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.5); }
  18% { opacity: 1; transform: translate(-50%, -58%) scale(1.15); }
  100% { opacity: 0; transform: translate(-50%, -95%) scale(1.05); }
}

.needoh-screen-shake {
  animation: needohScreenShake 0.42s ease-out;
}

.needoh-studio-root--pro.needoh-screen-shake .needoh-preview-stage,
.needoh-preview-stage.needoh-screen-shake {
  filter:
    drop-shadow(3px 0 0 rgba(255, 60, 140, 0.35))
    drop-shadow(-3px 0 0 rgba(60, 200, 255, 0.3));
}

@keyframes needohScreenShake {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-4px, 2px); }
  40% { transform: translate(4px, -2px); }
  60% { transform: translate(-3px, -1px); }
  80% { transform: translate(2px, 1px); }
}

.needoh-preview-stage.is-charging-explode {
  animation: none;
}

.needoh-preview-stage.is-charging-explode .needoh-toy {
  filter: brightness(calc(1 + var(--needoh-explode-charge, 0) * 0.08));
}

.needoh-preview-stage.is-charging-explode::before {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  box-shadow: 0 0 0 calc(8px * var(--needoh-explode-charge, 0)) rgba(247, 37, 133, 0.25);
  opacity: calc(0.35 + var(--needoh-explode-charge, 0) * 0.55);
}

@keyframes needohChargePulse {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(calc(1 + var(--needoh-explode-charge, 0) * 0.12)); }
}

.needoh-studio-root--pro .needoh-toy.is-overpressured .needoh-toy-3d {
  animation-duration: calc(5s - var(--needoh-explode-charge, 0) * 2.8s);
}

.needoh-toy.is-exploded {
  opacity: 0;
  transform: scale(0.2);
  transition: opacity 0.15s ease, transform 0.2s ease;
}

.needoh-screen-shake--mega {
  animation: needohScreenShakeMega 0.98s cubic-bezier(0.36, 0.07, 0.19, 0.97);
}

.needoh-preview-stage.is-explode-flash::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 12;
  background: radial-gradient(
    circle at 50% 46%,
    rgba(255, 255, 255, 0.72) 0%,
    color-mix(in srgb, var(--needoh-base, #ff6b8a) 42%, transparent) 28%,
    transparent 68%
  );
  animation: needohExplodeFlash 0.85s ease-out forwards;
}

@keyframes needohExplodeFlash {
  0% { opacity: 1; transform: scale(0.75); filter: brightness(1.8); }
  35% { opacity: 0.85; transform: scale(1.05); filter: brightness(1.35); }
  100% { opacity: 0; transform: scale(1.25); filter: brightness(1); }
}

@keyframes needohScreenShakeMega {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  12% { transform: translate(-12px, 5px) rotate(-1.2deg); }
  24% { transform: translate(13px, -7px) rotate(1.1deg); }
  36% { transform: translate(-11px, -4px) rotate(-0.9deg); }
  48% { transform: translate(10px, 3px) rotate(0.8deg); }
  60% { transform: translate(-7px, 2px) rotate(-0.5deg); }
  72% { transform: translate(5px, -2px) rotate(0.35deg); }
  84% { transform: translate(-3px, 1px) rotate(-0.2deg); }
}

.needoh-viral-card {
  background: linear-gradient(145deg, #fff8fc, #f3ecff);
  border-radius: 16px;
  border: 2px solid rgba(247, 37, 133, 0.18);
  padding: 4px 2px 2px;
}

.needoh-viral-tagline {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--needoh-muted);
}

.needoh-viral-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.needoh-btn-viral {
  flex: 1 1 140px;
  border: none;
  border-radius: 999px;
  padding: 10px 14px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(135deg, #f72585, #b5179e, #7209b7);
  box-shadow: 0 8px 20px rgba(247, 37, 133, 0.35);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.needoh-btn-viral:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(247, 37, 133, 0.42);
}

.needoh-btn-viral--ghost {
  color: var(--needoh-text);
  background: #fff;
  border: 2px solid var(--needoh-border);
  box-shadow: none;
}

.needoh-daily-teaser {
  margin: 10px 0 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--needoh-accent-2);
}

.needoh-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(12px);
  z-index: 9999;
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #2d1b4e, #7209b7);
  box-shadow: 0 12px 32px rgba(45, 27, 78, 0.35);
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
  max-width: min(92vw, 420px);
  text-align: center;
}

.needoh-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.needoh-bounce-hud {
  position: relative;
  top: auto;
  left: auto;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(18, 8, 28, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  color: rgba(255, 248, 252, 0.95);
  pointer-events: auto;
  width: 100%;
  max-width: min(100%, 520px);
}

.needoh-stage-hud {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  width: calc(100% - 24px);
  max-width: 520px;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.needoh-stage-hud > * {
  pointer-events: auto;
}

.needoh-squish-hud {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(114, 9, 183, 0.14);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(45, 27, 78, 0.1);
  width: 100%;
}

.needoh-stage-hud-title {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--needoh-muted);
}

.needoh-squish-hud-pressure {
  flex: 1 1 120px;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.needoh-squish-hud-pressure .needoh-stress-pill-track {
  flex: 1;
  min-width: 72px;
}

.needoh-squish-hud-pressure-label {
  font-size: 0.82rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--needoh-text);
  min-width: 2.5rem;
}

.needoh-stage-hud-score {
  font-size: 1rem;
  font-weight: 800;
  color: var(--needoh-accent);
  font-variant-numeric: tabular-nums;
}

.needoh-stage-hud-best {
  font-size: 0.72rem;
  font-weight: 700;
  color: color-mix(in srgb, var(--needoh-stress-color, #ff9f43) 70%, var(--needoh-muted));
}

.needoh-stage-hud-streak {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #f72585, #7209b7);
}

.needoh-preview-panel--dark .needoh-squish-hud {
  background: rgba(18, 8, 28, 0.72);
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 248, 252, 0.95);
}

.needoh-preview-panel--dark .needoh-stage-hud-title,
.needoh-preview-panel--dark .needoh-squish-hud-pressure-label {
  color: rgba(255, 248, 252, 0.75);
}

.needoh-preview-panel--dark .needoh-stage-hud-score {
  color: #ff9ecd;
}

.needoh-bounce-hud-level {
  font-size: 0.78rem;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255, 158, 205, 0.18);
  border: 1px solid rgba(255, 158, 205, 0.35);
  color: #ffb8dc;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.needoh-bounce-level-progress {
  flex: 1 1 100%;
  order: 10;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.needoh-bounce-level-progress span {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, #7bdcb5, #4cc9f0);
  transition: width 0.3s ease-out;
}

.needoh-bounce-hud-title {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.85;
}

.needoh-bounce-hud-score {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ff9ecd;
}

.needoh-bounce-hud-exit {
  margin-left: auto;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: inherit;
  font-size: 0.78rem;
  cursor: pointer;
}

.needoh-bounce-hud-exit:hover {
  background: rgba(255, 255, 255, 0.16);
}

.needoh-bounce-hud-combo {
  font-size: 0.82rem;
  font-weight: 800;
  color: #ffe066;
  text-shadow: 0 0 12px rgba(255, 224, 102, 0.45);
}

.needoh-bounce-size {
  flex: 1 1 88px;
  min-width: 72px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.needoh-bounce-size span {
  display: block;
  height: 100%;
  width: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ff6b8a, #ffd166);
  transition: width 0.25s ease-out;
}

.needoh-bounce-hud-status {
  font-size: 0.78rem;
  opacity: 0.88;
  min-width: 4.5rem;
}

.needoh-bounce-hud-status.is-shield {
  color: #ffd166;
  text-shadow: 0 0 12px rgba(255, 209, 102, 0.45);
}

.needoh-bounce-hud-status.is-leak {
  color: #ff8fab;
  animation: needohLeakPulse 0.85s ease-in-out infinite;
}

.needoh-bounce-hud-status.is-warning {
  color: #ffe566;
  animation: needohLeakPulse 0.55s ease-in-out infinite;
}

@keyframes needohLeakPulse {
  0%,
  100% {
    opacity: 0.75;
  }
  50% {
    opacity: 1;
  }
}

.needoh-studio-root--bounce-game .needoh-squish-face.is-visible {
  top: auto;
  bottom: 16%;
  left: 50%;
  transform: translateX(-50%);
  font-size: clamp(2rem, 8vw, 3.2rem);
  z-index: 16;
}

.needoh-btn-bounce-game.is-playing {
  opacity: 0.85;
}

.needoh-studio-root--bounce-game .needoh-preview-stage {
  cursor: ew-resize;
}

.needoh-studio-root--bounce-game .needoh-preview-stage.is-spinning {
  cursor: ew-resize;
}

.needoh-studio-root--pro.needoh-studio-root--bounce-game .needoh-preview-stage:not(.is-spinning):hover {
  cursor: ew-resize;
}

/* ── Pro WebGL mode (Three.js studio) ── */
.needoh-webgl-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  border-radius: inherit;
  background: transparent;
}

.needoh-preview-stage--pro {
  border: none;
  box-shadow: none;
  border-radius: 16px;
  transition: background 0.45s ease;
}

.needoh-preview-panel {
  transition: background 0.45s ease;
}

.needoh-preview-panel--dark .needoh-preview-hint,
.needoh-preview-panel--dark .needoh-toy-name,
.needoh-preview-panel--dark .needoh-squish-score-label {
  color: rgba(255, 240, 252, 0.82);
}

.needoh-preview-panel--dark .needoh-squish-score-num {
  color: #ff9ecd;
}

.needoh-preview-panel--dark .needoh-toy-stats .needoh-stat-pill {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
  color: rgba(255, 240, 252, 0.9);
}

.needoh-preview-stage--pro[data-needoh-bg="white"] .needoh-cinematic-vignette,
.needoh-preview-stage--pro[data-needoh-bg="candy"] .needoh-cinematic-vignette,
.needoh-preview-stage--pro[data-needoh-bg="sky"] .needoh-cinematic-vignette,
.needoh-preview-stage--pro[data-needoh-bg="mint"] .needoh-cinematic-vignette,
.needoh-preview-stage--pro[data-needoh-bg="sunset"] .needoh-cinematic-vignette,
.needoh-preview-stage--pro[data-needoh-bg="lavender"] .needoh-cinematic-vignette,
.needoh-preview-stage--pro[data-needoh-bg="neon"] .needoh-cinematic-vignette,
.needoh-preview-stage--pro[data-needoh-bg="galaxy"] .needoh-cinematic-vignette {
  box-shadow: none;
}

.needoh-bg-hint {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--needoh-muted);
}

.needoh-bg-picker {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  max-height: 220px;
  overflow-y: auto;
  padding-right: 4px;
}

.needoh-bg-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px !important;
  text-align: left;
}

.needoh-bg-swatch {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 8px rgba(45, 27, 78, 0.12);
}

.needoh-bg-chip-label {
  font-size: 12px;
  line-height: 1.2;
}

.needoh-bg-chip--white .needoh-bg-swatch {
  background: linear-gradient(145deg, #fff, #f3ecff);
}

.needoh-bg-chip--candy .needoh-bg-swatch {
  background: linear-gradient(145deg, #ffe8f4, #ffb3d9);
}

.needoh-bg-chip--sky .needoh-bg-swatch {
  background: linear-gradient(145deg, #e8f6ff, #7ec8e8);
}

.needoh-bg-chip--mint .needoh-bg-swatch {
  background: linear-gradient(145deg, #e0faf4, #5eead4);
}

.needoh-bg-chip--sunset .needoh-bg-swatch {
  background: linear-gradient(145deg, #ffe8d6, #ff9a6c);
}

.needoh-bg-chip--lavender .needoh-bg-swatch {
  background: linear-gradient(145deg, #f0e8ff, #b388ff);
}

.needoh-bg-chip--rose .needoh-bg-swatch {
  background: linear-gradient(145deg, #ffe8f0, #f72585);
}

.needoh-bg-chip--ocean .needoh-bg-swatch {
  background: linear-gradient(145deg, #d0ecf8, #2a88c0);
}

.needoh-bg-chip--forest .needoh-bg-swatch {
  background: linear-gradient(145deg, #dcf0e0, #3a9860);
}

.needoh-bg-chip--champagne .needoh-bg-swatch {
  background: linear-gradient(145deg, #f8f0e0, #c8a860);
}

.needoh-bg-chip--neon .needoh-bg-swatch {
  background: linear-gradient(145deg, #2a1848, #f72585);
}

.needoh-bg-chip--galaxy .needoh-bg-swatch {
  background: linear-gradient(145deg, #050310, #7209b7 55%, #4cc9f0);
}

.needoh-bg-chip--cosmos .needoh-bg-swatch {
  background:
    radial-gradient(circle at 70% 35%, #c48850 0%, transparent 45%),
    radial-gradient(circle at 25% 55%, #c44e32 0%, transparent 40%),
    linear-gradient(145deg, #030208, #1a1040);
}

.needoh-cinematic-vignette {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 90px rgba(0, 0, 0, 0.55);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.needoh-studio-root--pro .needoh-cinematic-vignette {
  opacity: var(--needoh-stage-vignette, 0.16);
  box-shadow: none;
}

.needoh-stage-env {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 1;
  background: transparent;
  border-radius: inherit;
  transition: background 0.45s ease;
  overflow: hidden;
}

.needoh-css-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.needoh-css-stars:not([hidden]) {
  opacity: 1;
}

.needoh-css-stars::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 10% 20%, rgba(255, 255, 255, 0.9), transparent),
    radial-gradient(1px 1px at 30% 65%, rgba(255, 255, 255, 0.75), transparent),
    radial-gradient(1.5px 1.5px at 55% 15%, rgba(200, 220, 255, 0.85), transparent),
    radial-gradient(1px 1px at 72% 42%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 88% 78%, rgba(255, 220, 240, 0.8), transparent),
    radial-gradient(1px 1px at 18% 88%, rgba(255, 255, 255, 0.65), transparent),
    radial-gradient(1px 1px at 45% 38%, rgba(255, 255, 255, 0.55), transparent),
    radial-gradient(1.5px 1.5px at 92% 12%, rgba(255, 255, 255, 0.9), transparent);
  background-size: 100% 100%;
  animation: needohStarTwinkle 4s ease-in-out infinite;
}

.needoh-css-stars::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 2px;
  top: 18%;
  left: -30%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.95), transparent);
  border-radius: 999px;
  opacity: 0;
  transform: rotate(-28deg);
  animation: needohShootingStar 7s linear infinite;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

.needoh-css-stars[data-needoh-cosmic="cosmos"]::after {
  animation-duration: 5.5s;
  animation-delay: 1.2s;
}

@keyframes needohStarTwinkle {
  0%, 100% { opacity: 0.85; }
  50% { opacity: 1; }
}

@keyframes needohShootingStar {
  0%, 78%, 100% { opacity: 0; left: -30%; top: 18%; }
  82% { opacity: 1; }
  92% { opacity: 0.6; left: 110%; top: 42%; }
}

.needoh-studio-root--pro .needoh-stage-env {
  opacity: 1;
}

.needoh-studio-root--pro .needoh-toy-inner,
.needoh-studio-root--pro .needoh-preview-shadow,
.needoh-studio-root--pro .needoh-floor-glow,
.needoh-studio-root--pro .needoh-floor-reflection {
  opacity: 0 !important;
  visibility: hidden;
}

.needoh-studio-root--pro .needoh-toy {
  background: transparent;
  filter: none;
  box-shadow: none;
}

.needoh-studio-root--pro .needoh-squish-face {
  position: absolute;
  left: 50%;
  top: 46%;
  z-index: 12;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
}

.needoh-studio-root--pro .needoh-preview-panel {
  border: 1px solid var(--needoh-border);
  box-shadow: var(--needoh-shadow);
  padding-bottom: 28px;
}

.needoh-studio-root--pro .needoh-preview-stage {
  width: 100%;
  max-width: none;
  min-height: clamp(400px, 54vw, 560px);
  margin-top: 6px;
  margin-bottom: 12px;
}

.needoh-studio-root--pro .needoh-controls-panel {
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow:
    0 20px 50px rgba(114, 9, 183, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.needoh-studio-root--pro .needoh-btn-primary {
  background: linear-gradient(135deg, #ff4d8d 0%, #c9186b 45%, #7209b7 100%);
  box-shadow:
    0 8px 24px rgba(247, 37, 133, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  letter-spacing: 0.02em;
}

.needoh-studio-root--pro .needoh-chip.is-active {
  box-shadow:
    0 0 0 2px #fff,
    0 0 0 4px var(--needoh-accent),
    0 8px 20px rgba(247, 37, 133, 0.25);
}

.needoh-studio-root--pro .needoh-combo-pill:not(.is-idle) {
  animation: needohComboPulse 0.8s ease-in-out infinite;
}

@keyframes needohComboPulse {
  0%, 100% { box-shadow: 0 0 16px rgba(247, 37, 133, 0.5); }
  50% { box-shadow: 0 0 28px rgba(247, 37, 133, 0.85); }
}

.needoh-studio-root--pro .needoh-viral-bar {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(243, 232, 255, 0.85));
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.needoh-studio-root--pro .needoh-toy-name {
  font-size: 20px;
  font-weight: 800;
  background: linear-gradient(135deg, #2d1b4e, #7209b7);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
