/* Generated from the approved V3 preview. Component-scoped for Fecify. */
.bbx-v3 {
  color-scheme: light;
  --ink: #101127;
  --lavender-ink: #6c48aa;
  --acid: #c6ff2e;
  --scene-ratio: 1.776833;
  --bbx-stage-vw: 1vw;
  --bbx-section-bg: var(--bbx-full-bleed-bg, rgb(var(--color-background, 248, 242, 237)));
}

.bbx-v3 * { box-sizing: border-box; }

.bbx-v3,
.bbx-v3 { margin: 0; min-width: 320px; background: var(--bbx-section-bg); }

.bbx-v3 {
  color: var(--ink);
  font-family: Inter, Montserrat, "Helvetica Neue", Arial, sans-serif;
}

.bbx-v3 button,
.bbx-v3 a { font: inherit; }

.bbx-v3 {
  width: 100%;
  overflow: clip;
  background: var(--bbx-section-bg);
}

.bbx-v3 .core-studio__container {
  width: 100%;
  height: 100%;
  margin-inline: auto;
}

.bbx-v3 .core-studio__frame {
  width: min(100%, 3840px);
  aspect-ratio: 1672 / 941;
  margin-inline: auto;
  position: relative;
}

.bbx-v3 .core-studio__scene {
  position: absolute;
  inset: 0;
  overflow: visible;
  isolation: isolate;
  background-color: var(--bbx-section-bg);
  background-image: url("../../production-assets-v3/studio-architecture-desktop-4k-v3.png");
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
}

.bbx-v3 .core-studio__scene:focus { outline: none; }

.bbx-v3 .site-header {
  position: absolute;
  z-index: 90;
  inset: 0 0 auto;
  height: 7.864%;
  min-height: 54px;
  display: grid;
  grid-template-columns: 25% 1fr 25%;
  align-items: center;
  padding-inline: 3.05% 3.55%;
  background: rgba(255, 255, 255, 0.965);
  border-bottom: 1px solid rgba(16, 17, 39, 0.12);
}

.bbx-v3 .site-header a { color: var(--ink); text-decoration: none; }

.bbx-v3 .site-header__logo {
  justify-self: start;
  font-size: clamp(18px, calc(var(--bbx-stage-vw) * 1.7), 65px);
  font-weight: 900;
  letter-spacing: -0.06em;
}

.bbx-v3 .site-header__nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(35px, calc(var(--bbx-stage-vw) * 5.55), 93px);
  white-space: nowrap;
}

.bbx-v3 .site-header__nav a,
.bbx-v3 .site-header__cta {
  font-size: clamp(9px, calc(var(--bbx-stage-vw) * 0.84), 32px);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.bbx-v3 .site-header__cta {
  justify-self: end;
  display: grid;
  place-items: center;
  width: calc(var(--bbx-stage-vw) * 10.17);
  max-width: 390px;
  min-width: 138px;
  height: clamp(38px, calc(var(--bbx-stage-vw) * 2.51), 96px);
  border-radius: 999px;
  background: var(--acid);
}

.bbx-v3 .hero-copy {
  position: absolute;
  z-index: 35;
  left: 5.03%;
  top: 18.17%;
  width: 32.5%;
}

.bbx-v3 .hero-copy__eyebrow {
  margin: 0 0 1.05%;
  font-size: clamp(10px, calc(var(--bbx-stage-vw) * 0.82), 30px);
  font-weight: 500;
  letter-spacing: 0.24em;
  line-height: 1.15;
}

.bbx-v3 .hero-copy h1 {
  margin: 0;
  font-family: Butler, "Bodoni 72", Didot, "Times New Roman", serif;
  font-size: clamp(52px, calc(var(--bbx-stage-vw) * 4.45), 166px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 0.88;
}

.bbx-v3 .hero-copy__sub {
  margin: 4.6% 0 0 0.2%;
  font-family: Butler, "Bodoni 72", Didot, "Times New Roman", serif;
  font-size: clamp(16px, calc(var(--bbx-stage-vw) * 1.34), 49px);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.bbx-v3 .hero-copy__prompt {
  margin-top: 4.2%;
  width: 56.5%;
  height: clamp(42px, calc(var(--bbx-stage-vw) * 3.05), 117px);
  padding: 0 clamp(12px, calc(var(--bbx-stage-vw) * 0.96), 37px);
  display: inline-flex;
  align-items: center;
  gap: clamp(9px, calc(var(--bbx-stage-vw) * 0.9), 35px);
  border: clamp(1px, calc(var(--bbx-stage-vw) * 0.06), 2.3px) solid rgba(16, 17, 39, 0.48);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 253, 250, 0.62);
  font-size: clamp(9px, calc(var(--bbx-stage-vw) * 0.76), 28px);
  font-weight: 500;
  letter-spacing: 0.15em;
  white-space: nowrap;
}

.bbx-v3 .hero-copy__hand {
  width: clamp(19px, calc(var(--bbx-stage-vw) * 1.38), 53px);
  height: clamp(19px, calc(var(--bbx-stage-vw) * 1.38), 53px);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.bbx-v3 .hero-copy__hand svg { width: 100%; height: 100%; overflow: visible; }
.bbx-v3 .hero-copy__hand path { fill: none; stroke: currentColor; stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; }

.bbx-v3 .main-pedestal {
  position: absolute;
  z-index: 20;
  left: var(--stage-center-x, 50%);
  top: 49.31%;
  width: 48.68%;
  height: auto;
  transform: translateX(-50%);
  pointer-events: none;
}

.bbx-v3 .stage-character {
  position: absolute;
  z-index: 30;
  left: var(--stage-center-x, 50%);
  top: var(--stage-foot-desktop, 53.15%);
  width: var(--stage-width-desktop, 22.85%);
  translate: -50% -100%;
  transform-origin: 50% 88%;
  overflow: visible;
  pointer-events: none;
}

.bbx-v3 .stage-character__core {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 12px 12px rgba(63, 39, 78, 0.13));
}

.bbx-v3 .core-idle-eyes {
  position: absolute;
  z-index: 3;
  inset: 0;
  pointer-events: none;
}

.bbx-v3 .stage-character.is-plush .core-idle-eyes { display: none; }

.bbx-v3 .core-idle-eye {
  position: absolute;
  top: var(--core-eye-y, 54.5%);
  width: var(--core-eye-size, 23%);
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 50%;
  translate: calc(-50% + var(--core-eye-shift-x, 0px)) calc(-50% + var(--core-eye-shift-y, 0px));
  transform-origin: 50% 52%;
  animation: core-eye-blink 5.8s ease-in-out infinite;
  box-shadow: inset 0 0 0 1px rgba(139,226,255,.42), 0 0 10px rgba(87,217,255,.2);
}

.bbx-v3 .core-idle-eye--left { left: var(--core-eye-left-x, 31%); }
.bbx-v3 .core-idle-eye--right { left: var(--core-eye-right-x, 69%); }
.bbx-v3 .core-idle-eye img {
  display: block;
  width: 116%;
  height: 116%;
  object-fit: cover;
  transform: translate(-7%, -7%);
  animation: core-eye-wander 4.8s ease-in-out infinite alternate;
}
.bbx-v3 .core-idle-eye--right img { animation-delay: -1.4s; }

@keyframes core-eye-wander {
  0%, 18% { transform: translate(-9%, -7%) scale(1.02); }
  42%, 60% { transform: translate(-5%, -9%) scale(1.04); }
  82%, 100% { transform: translate(-7%, -4%) scale(1.02); }
}

@keyframes core-eye-blink {
  0%, 44%, 48%, 100% { transform: scaleY(1); }
  46% { transform: scaleY(.08); }
}

.bbx-v3 .stage-character__contact-shadow {
  position: absolute;
  z-index: 0;
  left: 50%;
  bottom: 0.4%;
  width: var(--stage-shadow-width, 66%);
  height: 5.5%;
  border-radius: 50%;
  background: rgb(65 43 76 / var(--stage-shadow-opacity, .32));
  filter: blur(clamp(4px, calc(var(--bbx-stage-vw) * 0.36), 14px));
  transform: translateX(-50%) scaleX(1.08);
  pointer-events: none;
}

.bbx-v3 .stage-character > .stage-character__sprite { display: none; }
.bbx-v3 .stage-character.is-plush .stage-character__core { display: none; }
.bbx-v3 .stage-character.is-plush .stage-character__sprite { display: block; }
.bbx-v3 .stage-character__sprite .character-sprite__contact-shadow { display: none; }

.bbx-v3 .character-sprite {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1;
  overflow: visible;
  isolation: isolate;
  pointer-events: none;
}

.bbx-v3 .character-sprite__fur,
.bbx-v3 .character-sprite__eyes,
.bbx-v3 .character-sprite__custom {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.bbx-v3 .character-sprite__custom {
  z-index: 2;
  display: none;
  object-fit: contain;
  filter: drop-shadow(0 8px 10px rgba(54, 37, 67, 0.1));
}

.bbx-v3 .character-sprite.is-custom-image .character-sprite__fur,
.bbx-v3 .character-sprite.is-custom-image .character-sprite__eyes { display: none; }
.bbx-v3 .character-sprite.is-custom-image .character-sprite__custom { display: block; }
.bbx-v3 .character-sprite.is-custom-image::after { display: none; }

.bbx-v3 .character-sprite__fur {
  z-index: 1;
  background-image: linear-gradient(var(--fur-color, #ff8fc5), var(--fur-color, #ff8fc5)), var(--sprite-url);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  background-blend-mode: color;
  -webkit-mask-image: var(--sprite-url);
  mask-image: var(--sprite-url);
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
  filter: brightness(var(--fur-brightness, 1)) contrast(var(--fur-contrast, 1.1)) saturate(var(--fur-saturation, 1)) drop-shadow(0 8px 10px rgba(54, 37, 67, 0.1));
}

.bbx-v3 .character-sprite__fur::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--sprite-url) center / contain no-repeat;
  filter: grayscale(1) contrast(1.32);
  mix-blend-mode: soft-light;
  opacity: var(--fur-detail, .46);
}

.bbx-v3 .character-sprite__eyes {
  z-index: 2;
  object-fit: contain;
  filter: none;
  -webkit-mask-image:
    radial-gradient(circle at var(--sprite-eye-left-x, 34%) var(--sprite-eye-y, 60%), #000 0 11.5%, transparent 12.3%),
    radial-gradient(circle at var(--sprite-eye-right-x, 66%) var(--sprite-eye-y, 60%), #000 0 11.5%, transparent 12.3%);
  mask-image:
    radial-gradient(circle at var(--sprite-eye-left-x, 34%) var(--sprite-eye-y, 60%), #000 0 11.5%, transparent 12.3%),
    radial-gradient(circle at var(--sprite-eye-right-x, 66%) var(--sprite-eye-y, 60%), #000 0 11.5%, transparent 12.3%);
  -webkit-mask-composite: source-over;
  mask-composite: add;
}

.bbx-v3 .character-sprite::after {
  content: "";
  position: absolute;
  z-index: 3;
  inset: 0;
  background-image: linear-gradient(var(--iris-color, #62d8ff), var(--iris-color, #62d8ff)), var(--sprite-url);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  background-blend-mode: color;
  -webkit-mask-image:
    radial-gradient(circle at var(--sprite-eye-left-x, 34%) var(--sprite-eye-y, 60%), #000 0 7.8%, transparent 8.4%),
    radial-gradient(circle at var(--sprite-eye-right-x, 66%) var(--sprite-eye-y, 60%), #000 0 7.8%, transparent 8.4%);
  mask-image:
    radial-gradient(circle at var(--sprite-eye-left-x, 34%) var(--sprite-eye-y, 60%), #000 0 7.8%, transparent 8.4%),
    radial-gradient(circle at var(--sprite-eye-right-x, 66%) var(--sprite-eye-y, 60%), #000 0 7.8%, transparent 8.4%);
  -webkit-mask-composite: source-over;
  mask-composite: add;
}

.bbx-v3 .character-sprite__contact-shadow {
  position: absolute;
  z-index: 0;
  left: 50%;
  bottom: 0.7%;
  width: var(--shadow-width, 66%);
  height: 5.8%;
  border-radius: 50%;
  background: rgb(63 42 74 / var(--shadow-opacity, .30));
  filter: blur(clamp(3px, calc(var(--bbx-stage-vw) * 0.36), 12px));
  transform: translateX(-50%) scaleX(1.05);
}

.bbx-v3 .stage-character__eyes {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: visible;
  pointer-events: none;
}

.bbx-v3 .dynamic-eye {
  position: absolute;
  top: var(--eye-y, 53%);
  width: var(--eye-size, 18%);
  aspect-ratio: 1;
  border-radius: 50%;
  opacity: 0;
  transform: translate(calc(-50% + var(--eye-shift-x, 0px)), calc(-50% + var(--eye-shift-y, 0px)));
  transition: opacity 180ms ease;
}

.bbx-v3 .dynamic-eye--left { left: var(--eye-left-x, 34%); }
.bbx-v3 .dynamic-eye--right { left: var(--eye-right-x, 68%); }

.bbx-v3 .stage-character.is-eye-enabled .dynamic-eye { opacity: 1; }

.bbx-v3 .dynamic-eye::before,
.bbx-v3 .dynamic-eye::after {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border-radius: inherit;
}

.bbx-v3 .dynamic-eye__asset {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: none;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

.bbx-v3 .stage-character.has-custom-eye-assets .dynamic-eye__asset { display: block; }
.bbx-v3 .stage-character.has-custom-eye-assets .dynamic-eye::before,
.bbx-v3 .stage-character.has-custom-eye-assets .dynamic-eye::after { opacity: 0.18; }

.bbx-v3 .dynamic-eye::before {
  content: "";
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.62), 0 0 12px var(--eye-glow, rgba(111, 227, 255, 0.45));
  background: radial-gradient(circle at 34% 27%, rgba(255,255,255,0.82) 0 5%, transparent 6%), radial-gradient(circle, transparent 54%, var(--eye-tint, rgba(79, 211, 255, 0.34)) 78%, transparent 81%);
  animation: eye-breathe 2.8s ease-in-out infinite;
}

.bbx-v3 .dynamic-eye::after {
  font-family: Arial, sans-serif;
  font-size: 30%;
  color: rgba(255,255,255,0.9);
  text-shadow: 0 0 8px currentColor;
}

.bbx-v3 .stage-character[data-eye-mode="heart"] { --eye-tint: rgba(59, 219, 255, 0.38); --eye-glow: rgba(85, 222, 255, 0.5); }
.bbx-v3 .stage-character[data-eye-mode="heart"] .dynamic-eye::after { content: "♥"; animation: eye-heart 1.6s ease-in-out infinite; }
.bbx-v3 .stage-character[data-eye-mode="spark"] { --eye-tint: rgba(255, 189, 44, 0.46); --eye-glow: rgba(255, 185, 42, 0.54); }
.bbx-v3 .stage-character[data-eye-mode="spark"] .dynamic-eye::after { content: "✦"; animation: eye-spark 1.9s linear infinite; }
.bbx-v3 .stage-character[data-eye-mode="sleepy"] { --eye-tint: rgba(167, 114, 255, 0.42); --eye-glow: rgba(158, 103, 255, 0.52); }
.bbx-v3 .stage-character[data-eye-mode="sleepy"] .dynamic-eye::after { content: "⌒"; font-size: 44%; transform: translateY(-10%); animation: eye-sleepy 3.4s ease-in-out infinite; }

.bbx-v3 .interaction-fx {
  position: absolute;
  z-index: 55;
  inset: 0;
  overflow: visible;
  pointer-events: none;
}

.bbx-v3 .drag-trail {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  opacity: 0;
  transition: opacity 120ms ease;
}

.bbx-v3 .drag-trail path {
  fill: none;
  stroke: #c6ff2e;
  stroke-width: 4;
  stroke-linecap: round;
  filter: drop-shadow(0 0 7px rgba(198,255,46,0.9)) drop-shadow(0 0 15px rgba(153,94,255,0.56));
  stroke-dasharray: 10 10;
  animation: trail-flow 0.55s linear infinite;
}

.bbx-v3.is-dragging .drag-trail { opacity: 0.78; }

.bbx-v3 .magnet-ring,
.bbx-v3 .fusion-wave {
  position: absolute;
  left: 50%;
  top: 35%;
  width: 26%;
  aspect-ratio: 1;
  border-radius: 50%;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.82);
}

.bbx-v3 .magnet-ring {
  border: 2px dashed rgba(198,255,46,0.82);
  box-shadow: 0 0 28px rgba(198,255,46,0.24), inset 0 0 26px rgba(174,111,255,0.15);
}

.bbx-v3.is-magnetized .magnet-ring {
  opacity: 1;
  animation: magnet-pulse 0.9s ease-in-out infinite;
}

.bbx-v3 .fusion-wave { border: 3px solid rgba(198,255,46,0.9); }
.bbx-v3.is-fusing .fusion-wave { animation: fusion-wave 0.72s cubic-bezier(.2,.8,.2,1) both; }

.bbx-v3 .particle-field { position: absolute; inset: 0; overflow: visible; }
.bbx-v3 .fusion-particle {
  position: absolute;
  left: 50%;
  top: 35%;
  width: 7px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--particle-color, #c6ff2e);
  box-shadow: 0 0 10px currentColor;
  animation: particle-out 0.75s ease-out both;
}

.bbx-v3 .drag-proxy {
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: var(--proxy-width, 150px);
  pointer-events: none;
  will-change: transform, opacity;
  transform: translate3d(-50%, -50%, 0);
  transform-origin: center;
  filter: drop-shadow(0 18px 18px rgba(53,31,70,0.24));
}

.bbx-v3 .drag-proxy img { display: block; width: 100%; height: auto; }

.bbx-v3 .eye-dock {
  position: absolute;
  z-index: 40;
  left: 70.4%;
  top: 34.01%;
  width: 18.66%;
  height: 20.08%;
  padding: 1.06% 1.32% 1.15%;
  overflow: visible;
  color: #fff;
  background: radial-gradient(circle at 42% 15%, #22233d 0, #15162f 55%, #101126 100%);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 10.25% / 16.4%;
  box-shadow: 0 16px 27px rgba(53, 36, 69, 0.21), inset 0 1px 0 rgba(255,255,255,0.08);
}

.bbx-v3 .eye-dock h2 {
  margin: 0;
  text-align: center;
  font-size: clamp(9px, calc(var(--bbx-stage-vw) * 0.8), 31px);
  font-weight: 500;
  letter-spacing: 0.09em;
  line-height: 1;
}

.bbx-v3 .eye-dock__modes {
  height: 84%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  gap: 2.8%;
  padding-top: 6.5%;
  overflow: visible;
}

.bbx-v3 .eye-mode {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: start;
  min-width: 0;
  padding: 0;
  border: 0;
  color: #f8f5ff;
  background: transparent;
  overflow: visible;
}

.bbx-v3 .eye-mode__image {
  width: 88%;
  aspect-ratio: 1;
  display: block;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.13);
}

.bbx-v3 .eye-mode__image img { display: block; width: 100%; height: 100%; object-fit: cover; }

.bbx-v3 .eye-mode.is-active .eye-mode__image {
  box-shadow: 0 0 0 3px #d4ff35, 0 0 15px rgba(205, 255, 53, 0.28);
}

.bbx-v3 .eye-mode__dot {
  display: none;
}

.bbx-v3 .eye-mode.is-active::after { display: none; }

.bbx-v3 .eye-mode__name {
  margin-top: clamp(12px, calc(var(--bbx-stage-vw) * 0.82), 30px);
  font-size: clamp(7px, calc(var(--bbx-stage-vw) * 0.73), 28px);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.bbx-v3 .ip-shelf {
  position: absolute;
  z-index: 50;
  inset: 0;
  overflow: visible;
  pointer-events: none;
}

.bbx-v3 .ip-shelf__swipe-hint { display: none; }

.bbx-v3 .ip-shelf__track {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  column-gap: 2%;
  padding-inline: 4%;
}

.bbx-v3 .ip-shelf__platform {
  position: absolute;
  z-index: 0;
  left: 0;
  top: 84.27%;
  width: 100%;
  height: 11.05%;
  object-fit: fill;
}

.bbx-v3 .ip-piece {
  position: relative;
  z-index: 2;
  left: auto;
  top: 64.1%;
  width: auto;
  overflow: visible;
  height: 35.9%;
  cursor: grab;
  pointer-events: auto;
  touch-action: none;
  user-select: none;
}

.bbx-v3 .ip-piece:active { cursor: grabbing; }

.bbx-v3 .ip-piece > .character-sprite {
  position: absolute;
  left: 50%;
  top: 0;
  width: 72%;
  transform: translateX(-50%);
  pointer-events: none;
  transition: transform 180ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .bbx-v3 .ip-piece:hover > .character-sprite {
    transform: translateX(-50%) translateY(-2.5%) scale(1.035);
  }

  .bbx-v3 .ip-piece:hover .character-slot {
    transform: translateX(-50%) translateY(-2px);
    border-color: rgba(198, 255, 46, 0.85);
    box-shadow: 0 8px 18px rgba(82, 52, 112, 0.16), inset 0 1px 0 rgba(255,255,255,.9), 0 0 0 2px rgba(198,255,46,.16);
  }

  .bbx-v3 .ip-piece:hover .character-slot__icon { color: #7d51b7; transform: rotate(18deg) scale(1.08); }
}

.bbx-v3 .ip-piece:focus-visible { outline: none; }
.bbx-v3 .ip-piece:focus-visible .character-slot__name { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

@keyframes trail-flow { to { stroke-dashoffset: -20; } }
@keyframes magnet-pulse { 50% { opacity: .65; transform: translate(-50%, -50%) scale(.9); } }
@keyframes fusion-wave { 0% { opacity: 0; transform: translate(-50%, -50%) scale(.3); } 18% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -50%) scale(1.35); } }
@keyframes particle-out { to { opacity: 0; transform: translate(var(--particle-x), var(--particle-y)) scale(.2); } }
@keyframes eye-breathe { 50% { filter: brightness(1.17); transform: scale(1.035); } }
@keyframes eye-heart { 50% { transform: scale(1.22); } }
@keyframes eye-spark { to { transform: rotate(360deg); } }
@keyframes eye-sleepy { 0%,72%,100% { transform: translateY(-10%) scaleY(1); } 78%,88% { transform: translateY(-4%) scaleY(.35); } }

.bbx-v3 .ip-piece h3 {
  position: absolute;
  left: 50%;
  top: var(--label-top);
  margin: 0;
  transform: translateX(-50%);
  min-width: 68%;
  height: clamp(25px, calc(var(--bbx-stage-vw) * 2.2), 48px);
  padding: 0 clamp(8px, calc(var(--bbx-stage-vw) * 0.72), 18px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(4px, calc(var(--bbx-stage-vw) * 0.38), 9px);
  border: 1px solid rgba(111, 78, 151, 0.22);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,.82), rgba(244,235,250,.72));
  box-shadow: 0 5px 12px rgba(72, 49, 91, 0.1), inset 0 1px 0 rgba(255,255,255,.92);
  backdrop-filter: blur(7px);
  font-size: clamp(9px, calc(var(--bbx-stage-vw) * 0.82), 30px);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.bbx-v3 .character-slot__icon {
  color: #9a70c8;
  font-size: .82em;
  transition: color 180ms ease, transform 180ms ease;
}

.bbx-v3 .character-slot__state { display: none; font-size: 0; letter-spacing: .12em; }
.bbx-v3 .character-slot__state::before { font-size: clamp(7px, calc(var(--bbx-stage-vw) * 0.62), 22px); }
.bbx-v3 .ip-piece.is-drag-source .character-slot__name,
.bbx-v3 .ip-piece.is-linking .character-slot__name,
.bbx-v3 .ip-piece.is-linked .character-slot__name { display: none; }
.bbx-v3 .ip-piece.is-drag-source .character-slot__state,
.bbx-v3 .ip-piece.is-linking .character-slot__state,
.bbx-v3 .ip-piece.is-linked .character-slot__state { display: inline; }
.bbx-v3 .ip-piece.is-drag-source .character-slot__state::before { content: "CONNECTING"; }
.bbx-v3 .ip-piece.is-linking .character-slot__state::before { content: "SYNCING"; }
.bbx-v3 .ip-piece.is-linked .character-slot__state::before { content: "LINKED ✓"; }
.bbx-v3 .ip-piece.is-linked .character-slot { border-color: rgba(198,255,46,.9); background: rgba(245,255,219,.88); }
.bbx-v3 .ip-piece.is-rejected .character-slot { animation: slot-reject 320ms ease; }

.bbx-v3 .ip-piece { --label-top: 71.5%; }
.bbx-v3 .ip-piece--taotao { --iris-color:#43ccff; --fur-contrast:1.10; --fur-detail:.44; }
.bbx-v3 .ip-piece--qingmang { --iris-color:#a86cff; --fur-contrast:1.14; --fur-detail:.52; }
.bbx-v3 .ip-piece--yuebai { --iris-color:#71df55; --fur-contrast:1.24; --fur-saturation:.42; --fur-detail:.72; }
.bbx-v3 .ip-piece--jiuzi { --iris-color:#ffb62f; --fur-contrast:1.16; --fur-detail:.54; }
.bbx-v3 .ip-piece--xuantian { --iris-color:#d9e34b; --fur-contrast:1.42; --fur-saturation:.78; --fur-detail:.88; }

@keyframes slot-reject { 25% { transform: translateX(calc(-50% - 4px)); } 50% { transform: translateX(calc(-50% + 4px)); } 75% { transform: translateX(calc(-50% - 2px)); } }

@media (max-width: 1279px) {
  .bbx-v3 .site-header__nav { gap: calc(var(--bbx-stage-vw) * 3.4); }
  .bbx-v3 .hero-copy { width: 38%; }
  .bbx-v3 .hero-copy__prompt { padding-inline: 15px; gap: 9px; }
}

@media (max-width: 767px) {
  .bbx-v3 {
    min-height: 100svh;
    overflow: clip;
  }

  .bbx-v3 .core-studio__frame {
    width: 100%;
    height: 100svh;
    min-height: 760px;
    max-height: 960px;
    aspect-ratio: auto;
  }

  .bbx-v3 .core-studio__scene {
    background-image: url("../../production-assets-v3/studio-architecture-mobile-1440x2560-v3.png");
    background-size: cover;
    background-position: center;
  }

  .bbx-v3 .site-header {
    height: 64px;
    min-height: 64px;
    grid-template-columns: 1fr auto;
    padding-inline: 18px;
  }

  .bbx-v3 .site-header__logo {
    font-size: 22px;
  }

  .bbx-v3 .site-header__nav { display: none; }

  .bbx-v3 .site-header__cta {
    min-width: 0;
    width: 122px;
    max-width: none;
    height: 38px;
    font-size: 10px;
  }

  .bbx-v3 .hero-copy {
    left: 20px;
    top: 86px;
    width: calc(100% - 40px);
    text-align: center;
  }

  .bbx-v3 .hero-copy__eyebrow {
    margin-bottom: 8px;
    font-size: 9px;
    letter-spacing: 0.22em;
  }

  .bbx-v3 .hero-copy h1 {
    font-size: clamp(36px, calc(var(--bbx-stage-vw) * 10.25), 42px);
    line-height: 0.9;
    letter-spacing: -0.025em;
  }

  .bbx-v3 .hero-copy__sub {
    margin-top: 14px;
    font-size: 15px;
  }

  .bbx-v3 .hero-copy__prompt {
    width: 222px;
    height: 40px;
    margin-top: 14px;
    padding-inline: 13px;
    gap: 8px;
    font-size: 9px;
    letter-spacing: 0.12em;
    margin-left: auto;
    margin-right: auto;
  }

  .bbx-v3 .hero-copy__prompt > span:last-child { display: none; }
  .bbx-v3 .hero-copy__prompt::after { content: attr(data-mobile-label); }
  .bbx-v3 .hero-copy__hand { width: 19px; height: 19px; }

  .bbx-v3 .main-pedestal {
    left: var(--stage-center-x, 50%);
    top: 49%;
    width: 88%;
  }

  .bbx-v3 .stage-character {
    left: var(--stage-center-x, 50%);
    top: var(--stage-foot-mobile, 50.7%);
    width: var(--stage-width-mobile, 50%);
  }

  .bbx-v3 .magnet-ring,
.bbx-v3 .fusion-wave { top: 42%; width: 62%; }
  .bbx-v3 .fusion-particle { top: 42%; }

  .bbx-v3 .eye-dock {
    left: 7%;
    top: 63%;
    width: 86%;
    height: 14.8%;
    padding: 10px 16px 8px;
    border-radius: 25px;
  }

  .bbx-v3 .eye-dock h2 { font-size: 10px; }

  .bbx-v3 .eye-dock__modes {
    height: calc(100% - 14px);
    gap: 8px;
    padding-top: 5px;
  }

  .bbx-v3 .eye-mode__image { width: 66%; }
  .bbx-v3 .eye-mode.is-active::after { display: none; }
  .bbx-v3 .eye-mode__name { margin-top: 4px; font-size: 8px; }

  .bbx-v3 .ip-shelf {
    inset: auto 0 0;
    width: 100%;
    height: 20%;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: calc(var(--bbx-stage-vw) * 11);
    scrollbar-width: none;
    touch-action: pan-x;
    pointer-events: auto;
  }

  .bbx-v3 .ip-shelf::-webkit-scrollbar { display: none; }

  .bbx-v3 .ip-shelf__swipe-hint {
    position: sticky;
    z-index: 8;
    left: 50%;
    top: 2px;
    width: max-content;
    margin-inline: auto;
    margin-bottom: -30px;
    display: flex;
    align-items: center;
    gap: 7px;
    translate: -50% 0;
    padding: 5px 10px;
    border: 1px solid rgba(105,74,145,.18);
    border-radius: 999px;
    color: #684b8d;
    background: rgba(255,255,255,.72);
    box-shadow: 0 5px 14px rgba(70,43,92,.1);
    backdrop-filter: blur(8px);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .14em;
    pointer-events: none;
    transition: opacity 220ms ease, visibility 220ms ease;
  }

  .bbx-v3.has-shelf-interacted .ip-shelf__swipe-hint,
.bbx-v3.has-shelf-interacted .ip-shelf__swipe-hint {
    opacity: 0;
    visibility: hidden;
  }

  .bbx-v3 .ip-shelf__swipe-hint b { color: #9d6bd0; font-size: 13px; animation: swipe-cue 1.4s ease-in-out infinite; }

  .bbx-v3 .ip-shelf__track {
    position: relative;
    inset: auto;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: calc(var(--bbx-stage-vw) * 28);
    column-gap: calc(var(--bbx-stage-vw) * 2);
    width: max-content;
    min-width: 100%;
    height: 100%;
    padding-inline: calc(var(--bbx-stage-vw) * 11);
  }

  .bbx-v3 .ip-shelf__platform {
    left: 0;
    top: 51%;
    width: 100%;
    height: 49%;
    max-width: none;
  }

  .bbx-v3 .ip-piece {
    top: 1.5%;
    width: auto;
    height: 100%;
    touch-action: pan-x;
    scroll-snap-align: center;
    scroll-snap-stop: normal;
  }

  .bbx-v3 .ip-piece h3 {
    top: 76%;
    min-width: 76%;
    height: 25px;
    padding-inline: 7px;
    gap: 4px;
    font-size: 9px;
  }

  .bbx-v3 .ip-piece > .character-sprite { width: 86%; }
}

@keyframes swipe-cue { 50% { transform: translateX(4px); } }

@media (max-width: 370px) {
  .bbx-v3 .hero-copy { top: 80px; }
  .bbx-v3 .hero-copy h1 { font-size: 36px; }
  .bbx-v3 .hero-copy__sub { margin-top: 10px; }
  .bbx-v3 .hero-copy__prompt { margin-top: 10px; }
  .bbx-v3 .stage-character { --stage-foot-mobile: 50.2%; }
  .bbx-v3 .main-pedestal { top: 48.5%; }
  .bbx-v3 .eye-dock { top: 62.5%; }
}

@media (max-height: 720px) and (max-width: 767px) {
  .bbx-v3 .hero-copy { top: 74px; }
  .bbx-v3 .hero-copy h1 { font-size: 35px; }
  .bbx-v3 .hero-copy__sub { display: none; }
  .bbx-v3 .hero-copy__prompt { margin-top: 10px; }
  .bbx-v3 .stage-character { --stage-foot-mobile: 48.5%; --stage-width-mobile: 46%; }
  .bbx-v3 .main-pedestal { top: 46%; }
  .bbx-v3 .eye-dock { top: 60%; }
  .bbx-v3 .ip-shelf { height: 21%; }
}

@media (prefers-reduced-motion: reduce) {
  .bbx-v3 .drag-trail path,
.bbx-v3 .magnet-ring,
.bbx-v3 .fusion-wave,
.bbx-v3 .fusion-particle,
.bbx-v3 .dynamic-eye::before,
.bbx-v3 .dynamic-eye::after { animation: none !important; }
  .bbx-v3 .core-idle-eye,
.bbx-v3 .core-idle-eye img,
.bbx-v3 .ip-shelf__swipe-hint b { animation: none !important; }
}

/* Fecify production composition: the real theme header sits outside this Section. */
.bbx-v3 {
  min-width: 0;
  --bbx-header-offset-desktop: 74px;
  --bbx-header-offset-mobile: 64px;
}

.bbx-v3 .site-header { display: none !important; }

.bbx-v3 .core-studio__frame {
  width: min(100%, 3840px);
  aspect-ratio: 1672 / 867;
}

.bbx-v3 .core-studio__scene { background-image: var(--bbx-background-desktop); }
.bbx-v3 .hero-copy { top: 11.19%; }
.bbx-v3 .main-pedestal { top: 44.98%; }
.bbx-v3 .stage-character { --stage-foot-desktop: 49%; }
.bbx-v3 .eye-dock { top: 28.37%; }
.bbx-v3 .magnet-ring,
.bbx-v3 .fusion-wave { top: 30.5%; }
.bbx-v3 .fusion-particle { top: 30.5%; }
.bbx-v3 .ip-shelf__platform { top: 82.93%; height: 12%; }

.bbx-v3 .ip-shelf {
  container-type: inline-size;
  overflow-x: visible;
  overflow-y: visible;
  scrollbar-width: none;
  pointer-events: none;
}

.bbx-v3 .ip-shelf::-webkit-scrollbar { display: none; }

.bbx-v3 .ip-shelf__track {
  position: relative;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 16.8cqw;
  column-gap: 2cqw;
  width: max-content;
  min-width: 100cqw;
  height: 100%;
  padding-inline: 3.6cqw;
}

.bbx-v3 .ip-shelf__track .ip-shelf__platform { left: 0; width: 100%; }

.bbx-v3 .ip-shelf__track .ip-piece {
  position: relative;
  left: auto;
  top: calc(64.1% + var(--shelf-offset-y, 0px));
  width: 100%;
  height: 35.9%;
  --label-top: 71.5%;
}

.bbx-v3 .ip-shelf__track .ip-piece > .character-sprite {
  width: calc(72% * var(--shelf-scale, 1));
}

.bbx-v3 .ip-shelf__track .ip-piece h3 { top: var(--label-top); }

.bbx-v3 .shelf-arrow {
  position: absolute;
  z-index: 75;
  top: 82%;
  display: none;
  place-items: center;
  width: clamp(34px, calc(var(--bbx-stage-vw) * 2.5), 64px);
  aspect-ratio: 1;
  border: 1px solid rgba(16,17,39,.16);
  border-radius: 50%;
  color: #4d3874;
  background: rgba(255,255,255,.86);
  box-shadow: 0 8px 18px rgba(49,31,62,.14);
  transform: translateY(-50%);
  cursor: pointer;
}

.bbx-v3.has-shelf-overflow .shelf-arrow { display: grid; }
.bbx-v3 .shelf-arrow--prev { left: 1.1%; }
.bbx-v3 .shelf-arrow--next { right: 1.1%; }

@media (max-width: 767px) {
  .bbx-v3 .core-studio__frame {
    height: calc(100svh - var(--bbx-header-offset-mobile));
    min-height: 696px;
    max-height: 896px;
  }

  .bbx-v3 .core-studio__scene { background-image: var(--bbx-background-mobile); }
  .bbx-v3 .hero-copy { top: 22px; }
  .bbx-v3 .main-pedestal { top: 44.82%; }
  .bbx-v3 .stage-character { --stage-foot-mobile: 47%; }
  .bbx-v3 .eye-dock { top: 59.96%; }
  .bbx-v3 .magnet-ring,
  .bbx-v3 .fusion-wave { top: 38%; }
  .bbx-v3 .fusion-particle { top: 38%; }
  .bbx-v3 .ip-shelf {
    height: 21.67%;
    overflow-x: auto;
    overflow-y: hidden;
    pointer-events: auto;
  }

  .bbx-v3 .ip-shelf__track {
    grid-auto-columns: 28cqw;
    column-gap: 2cqw;
    padding-inline: 11cqw;
  }

  .bbx-v3 .ip-shelf__track .ip-shelf__platform { top: 51%; height: 49%; }
  .bbx-v3 .ip-shelf__track .ip-piece { top: 2%; height: 100%; }
  .bbx-v3 .ip-shelf__track .ip-piece > .character-sprite { width: calc(88% * var(--shelf-scale, 1)); }
  .bbx-v3 .ip-shelf__track .ip-piece h3 { top: 76%; }
  .bbx-v3 .shelf-arrow { display: none !important; }
}

/* BOIBOIBOX LIVE HOTFIX V4 — production-only precision fixes */
.bbx-v3 .core-studio__frame {
  height: var(--bbx-live-frame-height, auto);
  min-height: 0;
  max-height: none;
}

.bbx-v3 .eye-dock {
  z-index: 80;
  pointer-events: auto;
}

.bbx-v3 .eye-dock h2 {
  position: relative;
  z-index: 2;
  color: #ffffff !important;
  opacity: 1 !important;
}

.bbx-v3 .eye-dock__modes {
  position: relative;
  z-index: 2;
}

.bbx-v3 .eye-mode {
  z-index: 1;
  pointer-events: auto;
  cursor: pointer;
}

.bbx-v3 .ip-shelf {
  pointer-events: none;
}

.bbx-v3 .ip-piece {
  pointer-events: auto;
}

.bbx-v3 .ip-piece h3 {
  top: var(--bbx-label-top-px, var(--label-top));
  padding-block: 0;
  align-items: center;
  line-height: 1 !important;
}

@media (max-width: 767px) {
  .bbx-v3 .core-studio__frame {
    height: var(--bbx-live-frame-height, calc(100svh - var(--bbx-header-offset-mobile)));
    min-height: 0;
    max-height: none;
  }

  .bbx-v3 .hero-copy h1 {
    font-size: clamp(24px, calc(var(--bbx-stage-vw) * 7.2), 34px);
    line-height: 1;
    letter-spacing: -0.02em;
    white-space: nowrap;
  }

  .bbx-v3 .hero-copy h1 br {
    display: none;
  }

  .bbx-v3 .hero-copy__sub {
    margin-top: 11px;
    font-size: 13px;
  }

  .bbx-v3 .ip-shelf {
    pointer-events: auto;
  }
}

/* BOIBOIBOX LIVE HOTFIX V4.1 - Fecify custom-element sizing */
core-shell-studio-v3.bbx-v3,
.bbx-v3 {
  display: block;
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 100%;
}

/* BOIBOIBOX LIVE HOTFIX V4.2 - enforce measured shelf-label center */
.bbx-v3 .ip-shelf__track .ip-piece h3 {
  top: var(--bbx-label-top-px, var(--label-top));
}

/* BOIBOIBOX LIVE HOTFIX V4.3 - viewport fit and restored drag portal */
.bbx-v3 {
  height: var(--bbx-live-frame-height, auto);
  min-height: 0 !important;
}

.bbx-v3 .core-studio__frame,
.bbx-v3 .core-studio__scene {
  height: 100%;
  min-height: 0;
  max-height: none;
}

.bbx-v3.is-dragging {
  overflow: visible;
}

.bbx-v3 > .drag-proxy {
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: var(--proxy-width, 150px);
  pointer-events: none;
  will-change: transform, opacity;
  transform: translate3d(-50%, -50%, 0);
  transform-origin: center;
  filter: drop-shadow(0 18px 18px rgba(53,31,70,0.24));
}

@media (min-width: 768px) {
  .bbx-v3 .ip-shelf__track .ip-shelf__platform {
    top: auto;
    bottom: 0;
    height: 12%;
  }

  .bbx-v3 .ip-shelf__track .ip-piece {
    top: calc(69.17% + var(--shelf-offset-y, 0px));
    height: 30.83%;
  }
}

/* BOIBOIBOX LIVE HOTFIX V4.5 - editor-selectable container width.
   The root stays in normal page flow; the inner container is the measurement
   box used by JS for proportional type, spacing, and stage height. */
@media (min-width: 768px) {
  .bbx-v3.bbx-v3--container .core-studio__container {
    width: min(100% - 48px, 1280px);
    max-width: 1280px;
  }

  .bbx-v3.bbx-v3--container-fluid .core-studio__container {
    width: min(100% - 32px, 1600px);
    max-width: 1600px;
  }

  .bbx-v3.bbx-v3--w-full .core-studio__container {
    width: 100%;
    max-width: none;
  }

  .bbx-v3--container .core-studio__container,
  .bbx-v3--container-fluid .core-studio__container,
  .bbx-v3--container .core-studio__frame,
  .bbx-v3--container-fluid .core-studio__frame {
    height: 100%;
  }

  .bbx-v3--container .core-studio__scene,
  .bbx-v3--container-fluid .core-studio__scene {
    height: 100%;
  }
}
