/* ---------- Mashup Maker creative chaining game ---------- */
.mashup-maker-level {
  position: fixed;
  inset: 0;
  z-index: 30;
  overflow: auto;
  padding: 68px clamp(16px, 3vw, 38px) 24px;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 214, 107, 0.16), transparent 28%),
    radial-gradient(circle at 82% 66%, rgba(126, 231, 255, 0.13), transparent 32%),
    linear-gradient(180deg, rgba(7, 7, 20, 0.24), rgba(7, 7, 20, 0.94)),
    #070714;
}
.mashup-maker-shell {
  position: relative;
  z-index: 1;
  width: min(1160px, 100%);
  min-height: calc(100vh - 104px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(230px, 0.72fr) minmax(280px, 0.9fr) minmax(300px, 1fr);
  gap: clamp(16px, 2.4vw, 28px);
  align-items: stretch;
}
.mashup-maker-copy,
.mashup-maker-board,
.mashup-card-grid {
  border: 1px solid rgba(126, 231, 255, 0.24);
  border-radius: 18px;
  background: rgba(13, 12, 32, 0.72);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.mashup-maker-copy {
  padding: clamp(18px, 2.5vw, 28px);
}
.mashup-maker-copy > span,
.mashup-helper-card span {
  color: #9be8ff;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}
.mashup-maker-copy h1 {
  margin: 8px 0 10px;
  max-width: 12ch;
  color: #fff7d8;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 0.94;
}
.mashup-maker-copy p,
.mashup-invention p,
.mashup-card small {
  color: rgba(255, 248, 216, 0.82);
  font-weight: 700;
}
.mashup-helper-card,
.mashup-invention {
  margin-top: 18px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(255, 214, 107, 0.12);
  border: 1px solid rgba(255, 214, 107, 0.24);
}
.mashup-helper-card strong {
  display: block;
  margin: 6px 0 12px;
  color: #fff7d8;
  font-size: 21px;
}
.mashup-helper-card button,
.mashup-actions button {
  min-width: 44px;
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #7ee7ff, #2c9dff);
  color: #06101a;
  font-family: inherit;
  font-weight: 1000;
  padding: 10px 14px;
  cursor: pointer;
}
.mashup-maker-board {
  display: grid;
  place-items: center;
  padding: clamp(16px, 2.2vw, 24px);
}
.mashup-invention {
  width: 100%;
  margin: 0;
  text-align: center;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease;
}
.mashup-invention.ready {
  transform: translateY(-4px);
  border-color: rgba(126, 231, 255, 0.62);
  background: rgba(126, 231, 255, 0.13);
}
.mashup-orbit {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 10px;
  align-items: center;
}
.mashup-orbit span {
  min-height: 96px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  font-size: clamp(42px, 7vw, 70px);
}
.mashup-orbit i {
  color: #ffd66b;
  font-style: normal;
  font-size: 34px;
  font-weight: 1000;
}
.mashup-invention h2 {
  margin: 18px 0 8px;
  color: #fff7d8;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1;
}
.mashup-mechanic-cue {
  display: grid;
  gap: 5px;
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(126, 231, 255, 0.24);
  border-radius: 8px;
  background: rgba(126, 231, 255, 0.1);
  text-align: left;
}
.mashup-mechanic-cue strong {
  color: #d8f5ff;
  font-size: 12px;
  font-weight: 1000;
  text-transform: uppercase;
}
.mashup-mechanic-cue span {
  color: rgba(255, 248, 216, 0.84);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.28;
}
.mashup-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.mashup-actions button:disabled {
  opacity: 0.45;
  cursor: default;
}
.mashup-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: clamp(14px, 2vw, 20px);
}
.mashup-card {
  min-height: 132px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
  color: #fff7d8;
  font-family: inherit;
  display: grid;
  gap: 4px;
  justify-items: center;
  align-content: center;
  padding: 12px;
  cursor: pointer;
  transition:
    transform 0.16s ease,
    border-color 0.16s ease,
    background 0.16s ease;
}
.mashup-card span {
  font-size: 38px;
}
.mashup-card strong {
  font-size: 17px;
}
.mashup-card.selected {
  transform: translateY(-3px);
  border-color: rgba(255, 214, 107, 0.82);
  background: rgba(255, 214, 107, 0.16);
}
@media (max-width: 920px) {
  .mashup-maker-shell {
    grid-template-columns: 1fr;
  }
  .mashup-maker-copy h1 {
    max-width: 14ch;
  }
}

/* ---------- Connection Quest flexible-thinking game ---------- */
.connection-quest-level {
  position: fixed;
  inset: 0;
  z-index: 30;
  overflow: auto;
  padding: 68px clamp(16px, 3vw, 38px) 24px;
  background:
    radial-gradient(circle at 22% 24%, rgba(126, 231, 255, 0.16), transparent 30%),
    radial-gradient(circle at 82% 70%, rgba(255, 214, 107, 0.14), transparent 32%),
    linear-gradient(180deg, rgba(7, 7, 20, 0.24), rgba(7, 7, 20, 0.94)),
    #070714;
}
.connection-quest-shell {
  position: relative;
  z-index: 1;
  width: min(1160px, 100%);
  min-height: calc(100vh - 104px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(230px, 0.75fr) minmax(280px, 0.95fr) minmax(300px, 1fr);
  gap: clamp(16px, 2.4vw, 28px);
  align-items: stretch;
}
.connection-quest-problem,
.connection-quest-board,
.connection-card-grid {
  border: 1px solid rgba(126, 231, 255, 0.24);
  border-radius: 18px;
  background: rgba(13, 12, 32, 0.72);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.connection-quest-problem {
  padding: clamp(18px, 2.5vw, 28px);
}
.connection-quest-problem > span {
  color: #9be8ff;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}
.connection-quest-problem h1 {
  margin: 8px 0 10px;
  max-width: 11ch;
  color: #fff7d8;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 0.94;
}
.connection-quest-problem p,
.connection-build p,
.connection-card small {
  color: rgba(255, 248, 216, 0.82);
  font-weight: 700;
}
.connection-problem-icon {
  min-height: 110px;
  display: grid;
  place-items: center;
  margin: 18px 0;
  border-radius: 18px;
  background: rgba(255, 214, 107, 0.12);
  font-size: clamp(52px, 8vw, 84px);
}
.connection-quest-problem button,
.connection-actions button {
  min-width: 44px;
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #7ee7ff, #2c9dff);
  color: #06101a;
  font-family: inherit;
  font-weight: 1000;
  padding: 10px 14px;
  cursor: pointer;
}
.connection-quest-board {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: clamp(16px, 2.2vw, 24px);
}
.connection-brain-spark {
  padding: 14px;
  border-radius: 16px;
  background: rgba(126, 231, 255, 0.14);
  border: 1px solid rgba(126, 231, 255, 0.34);
  text-align: center;
}
.connection-brain-spark span {
  color: #9be8ff;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.connection-brain-spark strong {
  display: block;
  margin: 4px 0 10px;
  color: #fff7d8;
  font-size: 18px;
}
.connection-brain-spark button {
  min-width: 44px;
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  background: #ffd66b;
  color: #1b1431;
  font-family: inherit;
  font-weight: 1000;
  padding: 8px 12px;
  cursor: pointer;
}
.connection-build {
  padding: 16px;
  border-radius: 16px;
  background: rgba(255, 214, 107, 0.12);
  border: 1px solid rgba(255, 214, 107, 0.24);
  text-align: center;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease;
}
.connection-build.ready {
  transform: translateY(-4px);
  border-color: rgba(126, 231, 255, 0.62);
  background: rgba(126, 231, 255, 0.13);
}
.connection-pair {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 10px;
  align-items: center;
}
.connection-pair span {
  min-height: 96px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  font-size: clamp(42px, 7vw, 70px);
}
.connection-pair i {
  color: #ffd66b;
  font-style: normal;
  font-size: 34px;
  font-weight: 1000;
}
.connection-build h2 {
  margin: 18px 0 8px;
  color: #fff7d8;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1;
}
.connection-thinking-cue {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #dff8ff;
  font-size: 14px;
  font-weight: 900;
}
.connection-parent-prompt {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(126, 231, 255, 0.1);
  color: #fff7d8;
  font-size: 14px;
  font-weight: 900;
}
.connection-sequence-cue {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 214, 107, 0.1);
  color: #fff7d8;
  font-size: 14px;
  font-weight: 900;
}
.connection-idea-path {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
  margin-top: 12px;
}
.connection-idea-path span {
  min-height: 64px;
  display: grid;
  place-items: center;
  gap: 4px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 248, 216, 0.62);
  font-size: 11px;
  font-weight: 1000;
  text-transform: uppercase;
}
.connection-idea-path span.ready {
  border-color: rgba(255, 214, 107, 0.36);
  background: rgba(255, 214, 107, 0.13);
  color: #fff7d8;
}
.connection-idea-path em {
  font-size: 24px;
  font-style: normal;
  line-height: 1;
}
.connection-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.connection-actions button:disabled {
  opacity: 0.45;
  cursor: default;
}
.connection-counter {
  display: flex;
  justify-content: center;
  gap: 8px;
}
.connection-counter span {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}
.connection-counter span.on {
  background: #ffd66b;
  box-shadow: 0 0 18px rgba(255, 214, 107, 0.65);
}
.connection-flex-cue {
  text-align: center;
  color: rgba(255, 248, 216, 0.84);
  font-size: 14px;
  font-weight: 900;
}
.connection-made-list {
  display: grid;
  gap: 8px;
}
.connection-made-list span {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff7d8;
  font-size: 13px;
  font-weight: 900;
}
.connection-made-list b {
  font-size: 18px;
}
.connection-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: clamp(14px, 2vw, 20px);
}
.connection-card {
  min-height: 132px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
  color: #fff7d8;
  font-family: inherit;
  display: grid;
  gap: 4px;
  justify-items: center;
  align-content: center;
  padding: 12px;
  cursor: pointer;
  transition:
    transform 0.16s ease,
    border-color 0.16s ease,
    background 0.16s ease;
}
.connection-card span {
  font-size: 38px;
}
.connection-card strong {
  font-size: 17px;
}
.connection-card.selected {
  transform: translateY(-3px);
  border-color: rgba(255, 214, 107, 0.82);
  background: rgba(255, 214, 107, 0.16);
}
@media (max-width: 920px) {
  .connection-quest-shell {
    grid-template-columns: 1fr;
  }
  .connection-quest-problem h1 {
    max-width: 14ch;
  }
}
body.rocket-control-active .home-astronaut-dragger {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.88);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
}
.rocket-builder-stage {
  position: relative;
  z-index: 34;
  display: grid;
  grid-template-columns: minmax(430px, 1.1fr) minmax(300px, 0.82fr);
  align-items: stretch;
  gap: clamp(16px, 3vw, 34px);
  max-width: 1120px;
  width: 100%;
  min-height: min(760px, calc(100vh - 104px));
  margin: 0 auto;
}
.rocket-build-pad {
  position: relative;
  min-height: 640px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(154, 215, 255, 0.18);
  border-radius: 18px;
  background:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.05),
      transparent 16%,
      transparent 84%,
      rgba(255, 255, 255, 0.04)
    ),
    repeating-linear-gradient(
      90deg,
      rgba(154, 215, 255, 0.08) 0 2px,
      transparent 2px 84px
    ),
    radial-gradient(
      circle at 50% 44%,
      rgba(154, 215, 255, 0.16),
      transparent 42%
    ),
    rgba(13, 12, 32, 0.34);
  box-shadow:
    inset 0 -90px 90px rgba(0, 0, 0, 0.32),
    inset 0 0 70px rgba(0, 0, 0, 0.22),
    0 24px 70px rgba(0, 0, 0, 0.35);
  perspective: 900px;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}
.rocket-build-pad:focus-visible,
.rocket-build-pad:hover {
  border-color: rgba(255, 214, 107, 0.46);
  outline: none;
  box-shadow:
    inset 0 -90px 90px rgba(0, 0, 0, 0.32),
    inset 0 0 70px rgba(0, 0, 0, 0.22),
    0 0 0 6px rgba(255, 214, 107, 0.09),
    0 24px 70px rgba(0, 0, 0, 0.35);
}
.rocket-builder-stage.dragging .rocket-build-pad {
  border-color: rgba(255, 214, 107, 0.76);
  box-shadow:
    inset 0 -90px 90px rgba(0, 0, 0, 0.3),
    inset 0 0 80px rgba(255, 214, 107, 0.13),
    0 0 0 8px rgba(255, 214, 107, 0.08),
    0 24px 70px rgba(0, 0, 0, 0.35);
}
.rocket-build-pad::before,
.rocket-build-pad::after {
  content: "";
  position: absolute;
  pointer-events: none;
}
.rocket-build-pad::before {
  left: 9%;
  right: 9%;
  bottom: 32px;
  height: 34%;
  border-radius: 50%;
  background:
    radial-gradient(
      ellipse at center,
      rgba(126, 231, 255, 0.12),
      transparent 62%
    ),
    repeating-radial-gradient(
      ellipse at center,
      rgba(255, 255, 255, 0.11) 0 2px,
      transparent 2px 24px
    );
  transform: rotateX(70deg);
}
.rocket-build-pad::after {
  left: 50%;
  bottom: 52px;
  width: 260px;
  height: 54px;
  border: 2px solid rgba(255, 214, 107, 0.22);
  border-radius: 50%;
  transform: translateX(-50%) rotateX(68deg);
  box-shadow: 0 0 26px rgba(255, 214, 107, 0.16);
}
.rocket-drop-hint {
  position: absolute;
  left: 50%;
  bottom: 22px;
  z-index: 4;
  padding: 9px 14px;
  border: 2px dashed rgba(255, 214, 107, 0.58);
  border-radius: 999px;
  background: rgba(13, 12, 32, 0.72);
  color: #fff7d8;
  font-size: 13px;
  font-weight: 900;
  transform: translateX(-50%);
  pointer-events: none;
  animation: tap-helper-pop 1.2s ease-in-out infinite;
}
.rocket-builder-stage.dragging .rocket-drop-hint {
  border-style: solid;
  background: rgba(255, 214, 107, 0.2);
  color: #fff7d8;
  box-shadow: 0 0 26px rgba(255, 214, 107, 0.26);
}
.rocket-build-ship {
  position: relative;
  width: 250px;
  height: 472px;
  transform-origin: 50% 82%;
  transition: transform 0.4s ease;
  margin-top: -28px;
  transform: rotateX(7deg) rotateY(-8deg);
}
.rocket-builder-stage.launching .rocket-build-ship {
  animation: rocket-launch-away 2.6s ease-in forwards;
}
.rocket-part,
.rocket-part-img {
  position: absolute;
  left: 50%;
  opacity: 0.3;
  filter: grayscale(0.7);
  transform: translateX(-50%) scale(0.92);
  transition:
    opacity 0.26s ease,
    filter 0.26s ease,
    transform 0.26s ease;
}
.rocket-part.on,
.rocket-part-img.on {
  opacity: 1;
  filter: drop-shadow(0 12px 26px rgba(0, 0, 0, 0.42));
  transform: translateX(-50%) scale(1);
}
.rocket-part:not(.on),
.rocket-part-img:not(.on) {
  outline: 2px dashed rgba(255, 255, 255, 0.26);
  outline-offset: 4px;
}
.rocket-part-img {
  display: block;
  object-fit: contain;
  pointer-events: none;
}
.rocket-part-img > img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}
.rocket-part-img.tintable {
  isolation: isolate;
}
.rocket-part-img.tintable.on::after,
.rocket-choice-art.tintable::after,
.rocket-drag-ghost.tintable::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.2),
      transparent 34%,
      rgba(0, 0, 0, 0.16) 100%
    ),
    var(--rocket-color);
  mix-blend-mode: color;
  opacity: 0.95;
  -webkit-mask: var(--rocket-tint-mask) center / contain no-repeat;
  mask: var(--rocket-tint-mask) center / contain no-repeat;
}
.rocket-nose-img {
  top: 0;
  z-index: 5;
  width: 142px;
}
.rocket-body-img {
  top: 96px;
  z-index: 4;
  width: 148px;
}
.rocket-fins-img {
  top: 258px;
  z-index: 3;
  width: 220px;
}
.rocket-window-img {
  top: 132px;
  z-index: 7;
  width: 66px;
}
.rocket-engine-img {
  top: 308px;
  z-index: 6;
  width: 100px;
}
.rocket-fuel-tank-img {
  top: 216px;
  z-index: 2;
  width: 66px;
  margin-left: -78px;
}
.rocket-fuel-pipes-img {
  top: 248px;
  z-index: 5;
  width: 132px;
}
.rocket-igniter-img {
  top: 318px;
  z-index: 7;
  width: 48px;
  margin-left: 58px;
}
.rocket-booster-img {
  top: 112px;
  z-index: 2;
  width: 248px;
}
.rocket-antenna-img {
  top: -52px;
  z-index: 6;
  width: 92px;
}
.rocket-badge-img {
  top: 204px;
  z-index: 7;
  width: 58px;
  margin-left: 42px;
}
.rocket-nose {
  top: 6px;
  width: 118px;
  height: 118px;
  background: var(--rocket-color);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.rocket-body {
  top: 112px;
  width: 126px;
  height: 180px;
  border-radius: 56px 56px 24px 24px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.46), transparent 38%),
    var(--rocket-color);
}
.rocket-window {
  position: absolute;
  left: 50%;
  top: 36px;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 5px solid rgba(255, 255, 255, 0.86);
  border-radius: 50%;
  background: #102748;
  transform: translateX(-50%);
  box-shadow: inset 0 0 16px rgba(118, 216, 255, 0.65);
}
.rocket-window img {
  width: 110px;
  max-width: none;
  transform: translateY(10px) scale(1.35);
}
.rocket-fins {
  top: 260px;
  width: 170px;
  height: 76px;
}
.rocket-fins span {
  position: absolute;
  bottom: 0;
  width: 56px;
  height: 76px;
  background: #ffd66b;
}
.rocket-fins span:first-child {
  left: 0;
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}
.rocket-fins span:last-child {
  right: 0;
  clip-path: polygon(0 0, 100% 100%, 0 100%);
}
.rocket-flame {
  position: absolute;
  left: 50%;
  top: 340px;
  z-index: 1;
  width: 210px;
  height: auto;
  opacity: 0;
  transform: translateX(-50%) scaleY(0.35);
  transform-origin: top;
  pointer-events: none;
  filter: drop-shadow(0 0 24px rgba(255, 122, 61, 0.7));
}
.rocket-builder-stage.launching .rocket-flame {
  opacity: 1;
  animation: rocket-flame-flicker 0.13s ease-in-out infinite alternate;
}
@keyframes rocket-flame-flicker {
  from {
    transform: translateX(-50%) scaleY(0.82) scaleX(0.9);
  }
  to {
    transform: translateX(-50%) scaleY(1.18) scaleX(1.08);
  }
}
@keyframes rocket-launch-away {
  0%,
  20% {
    transform: translateY(0) rotate(0deg);
  }
  100% {
    transform: translateY(-820px) rotate(4deg);
  }
}
.rocket-pack-copy {
  display: grid;
  gap: 12px;
  color: var(--ink);
}
.rocket-pack-copy > span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.rocket-pack-copy h1 {
  font-family: "Fraunces", serif;
  font-size: clamp(42px, 7vw, 74px);
  line-height: 0.92;
  margin: 0;
}
.rocket-pack-copy p {
  max-width: 480px;
  color: var(--ink-dim);
  font-size: 15px;
  line-height: 1.45;
}
.rocket-pack-slots {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.rocket-pack-slots span {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  border: 1px dashed rgba(255, 255, 255, 0.22);
  background: rgba(13, 12, 32, 0.52);
  color: var(--ink-faint);
  font-size: 24px;
  font-weight: 900;
}
.rocket-pack-slots span.packed {
  border-style: solid;
  border-color: rgba(255, 214, 107, 0.48);
  background: rgba(255, 214, 107, 0.14);
}
.rocket-pack-slots span.next {
  border-style: solid;
  border-color: rgba(126, 231, 255, 0.82);
  background:
    radial-gradient(circle, rgba(126, 231, 255, 0.3), transparent 62%),
    rgba(13, 12, 32, 0.72);
  color: #fff7d8;
  box-shadow:
    0 0 0 5px rgba(126, 231, 255, 0.08),
    0 0 22px rgba(126, 231, 255, 0.22);
  animation: rocket-pack-hint 1.2s ease-in-out infinite;
}
.rocket-pack-slots img {
  width: 82%;
  height: 82%;
  object-fit: contain;
}
.rocket-next-part-cue {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border: 1px solid rgba(126, 231, 255, 0.24);
  border-radius: 8px;
  background: rgba(126, 231, 255, 0.09);
}
.rocket-next-part-cue strong {
  color: #d8f5ff;
  font-size: 12px;
  font-weight: 1000;
  text-transform: uppercase;
}
.rocket-next-part-cue span {
  color: rgba(255, 248, 216, 0.82);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
}
.rocket-color-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.rocket-mode-toggle {
  width: min(360px, 100%);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 5px;
  border: 1px solid rgba(154, 215, 255, 0.22);
  border-radius: 999px;
  background: rgba(13, 12, 32, 0.66);
}
.rocket-mode-toggle button {
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-dim);
  font-family: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}
.rocket-mode-toggle button.on {
  background: rgba(255, 214, 107, 0.2);
  color: #fff7d8;
  box-shadow: inset 0 0 0 1px rgba(255, 214, 107, 0.32);
}
.rocket-color-row button {
  width: 48px;
  height: 48px;
  border: 3px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  background: var(--swatch);
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.26);
}
.rocket-color-row button.on {
  border-color: #fff7d8;
  box-shadow:
    0 0 0 5px rgba(255, 214, 107, 0.22),
    0 10px 24px rgba(0, 0, 0, 0.26);
}
.rocket-custom-color {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 3px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  padding: 4px 12px 4px 5px;
  background: rgba(13, 12, 32, 0.76);
  color: #fff7d8;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.26);
}
.rocket-custom-color.on {
  border-color: #fff7d8;
  box-shadow:
    0 0 0 5px rgba(255, 214, 107, 0.22),
    0 10px 24px rgba(0, 0, 0, 0.26);
}
.rocket-custom-color input {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  padding: 0;
  background: transparent;
  cursor: pointer;
}
.rocket-pack-fact,
.rocket-pack-done {
  display: grid;
  gap: 4px;
  max-width: 500px;
  padding: 12px 14px;
  border: 1px solid rgba(154, 215, 255, 0.26);
  border-radius: 16px;
  background: rgba(13, 12, 32, 0.62);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.rocket-pack-fact.good {
  border-color: rgba(255, 214, 107, 0.48);
  background: rgba(255, 214, 107, 0.12);
}
.rocket-pack-fact.try {
  border-color: rgba(154, 215, 255, 0.34);
}
.rocket-pack-fact strong,
.rocket-pack-done strong {
  color: #fff7d8;
  font-size: 15px;
}
.rocket-pack-fact span {
  color: var(--ink-dim);
  font-size: 14px;
  line-height: 1.35;
}
.rocket-pack-done {
  grid-template-columns: 1fr;
  align-items: center;
  border-color: rgba(140, 255, 176, 0.45);
}
.rocket-pack-done button {
  min-height: 54px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #1b1308;
  font-family: inherit;
  font-weight: 900;
  font-size: 16px;
  padding: 13px 18px;
  cursor: pointer;
  box-shadow:
    0 8px 0 rgba(120, 72, 18, 0.72),
    0 16px 24px rgba(0, 0, 0, 0.24);
}
.rocket-pack-done button:active {
  transform: translateY(5px);
  box-shadow:
    0 3px 0 rgba(120, 72, 18, 0.72),
    0 10px 18px rgba(0, 0, 0, 0.2);
}
.pack-next-choice {
  width: min(360px, 100%);
  min-height: 150px;
  display: grid;
  grid-template-columns: 92px 1fr;
  align-items: center;
  justify-items: start;
  column-gap: 16px;
  row-gap: 4px;
  border: 2px solid rgba(255, 214, 107, 0.58);
  border-radius: 20px;
  background: rgba(13, 12, 32, 0.76);
  color: var(--ink);
  font-family: inherit;
  padding: 16px;
  cursor: pointer;
  touch-action: none;
  user-select: none;
  box-shadow:
    0 0 0 8px rgba(255, 214, 107, 0.09),
    0 18px 44px rgba(0, 0, 0, 0.34);
}
.pack-next-choice img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(255, 214, 107, 0.42));
  pointer-events: none;
}
.rocket-choice-art {
  position: relative;
  grid-row: 1 / 4;
  width: 86px;
  height: 86px;
  display: block;
  isolation: isolate;
  pointer-events: none;
}
.rocket-choice-art > img,
.rocket-choice-art > .safe-asset-image {
  position: relative;
  z-index: 1;
}
.rocket-drag-ghost {
  position: fixed;
  z-index: 1000;
  width: 132px;
  height: 132px;
  max-height: 150px;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(1.08);
  filter: drop-shadow(0 20px 28px rgba(0, 0, 0, 0.4));
  isolation: isolate;
}
.rocket-drag-ghost > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}
.rocket-part-icon {
  grid-row: 1 / 3;
  width: 86px;
  height: 86px;
  display: block;
  filter: drop-shadow(0 0 18px rgba(255, 214, 107, 0.42));
}
.rocket-part-icon.nose {
  background: var(--rocket-color);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.rocket-part-icon.body {
  border-radius: 38px 38px 16px 16px;
  background:
    radial-gradient(circle at 50% 42%, #9ad7ff 0 18%, transparent 20%),
    var(--rocket-color);
}
.rocket-part-icon.fins {
  position: relative;
}
.rocket-part-icon.fins::before,
.rocket-part-icon.fins::after {
  content: "";
  position: absolute;
  bottom: 8px;
  width: 42px;
  height: 62px;
  background: #ffd66b;
}
.rocket-part-icon.fins::before {
  left: 0;
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}
.rocket-part-icon.fins::after {
  right: 0;
  clip-path: polygon(0 0, 100% 100%, 0 100%);
}
.pack-next-choice span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.pack-next-choice strong {
  color: #fff7d8;
  font-family: "Fraunces", serif;
  font-size: 28px;
  line-height: 0.98;
  letter-spacing: 0;
}
.pack-next-choice em {
  color: var(--ink-dim);
  font-size: 13px;
  font-style: normal;
  line-height: 1.2;
}
@keyframes rocket-pack-hint {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}
