.specialty-box {
  margin-top: 17px;
}
.lottery-reels {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 7px;
  margin-top: 18px;
}
.lottery-reels span {
  border: 2px solid #485076;
  background: #10152d;
  padding: 10px 5px;
  color: var(--gold);
  text-align: center;
  font-family: var(--dialog);
  font-size: 22px;
  overflow-wrap: anywhere;
}
.lottery-reels.rolling {
  color: var(--cyan);
  padding: 15px;
  border: 2px dashed var(--cyan);
  min-height: 58px;
}
.shelf-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 12px 0;
}
.shelf-tabs .btn {
  font-size: 9px;
  min-height: 30px;
  padding: 6px;
}
.shelf-parts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}
.shelf-part {
  font: inherit;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
  min-width: 0;
  color: white;
  background: #10152d;
  border: 2px solid #485076;
  padding: 12px;
  cursor: grab;
}
.shelf-part small {
  font-family: var(--dialog);
  font-size: 20px;
  line-height: 1.1;
  color: #b5cbfb;
}
.shelf-part span {
  font-size: 9px;
  color: var(--cyan);
}
.shelf-part.fitted {
  border-color: var(--green);
}
#moduleSlots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: 11px;
}
.module-slot {
  background: #10152d;
  color: #d7e6fc;
  border: 2px dashed #6579a5;
  padding: 9px;
  font: inherit;
  text-align: left;
  min-width: 0;
}
.module-slot b {
  font-size: 10px;
  display: block;
}
.module-slot small {
  display: block;
  font-family: var(--dialog);
  font-size: 19px;
  line-height: 1.2;
}
.module-slot.fitted {
  border-style: solid;
  border-color: var(--green);
}
.drop-ready {
  outline: 3px solid var(--gold) !important;
  outline-offset: -3px;
  background: #183a38 !important;
}
.campaign-choices {
  display: grid;
  gap: 10px;
}
.campaign-choices .btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}
.campaign-choices small {
  font: 20px/1.15 var(--dialog);
  color: #a7c7df;
}
.campaign-modal {
  color: var(--ink);
  background: #080b1d;
  border: 4px solid white;
  padding: 25px;
  box-shadow: 8px 8px 0 #171e45;
  max-width: 640px;
  width: calc(100% - 30px);
  max-height: 88dvh;
  overflow: auto;
}
.campaign-modal::backdrop {
  background: #030512de;
}
.campaign-modal h2 {
  font-family: var(--pixel);
  font-size: 19px;
  line-height: 1.7;
  color: var(--gold);
}
.campaign-modal p {
  font-family: var(--dialog);
  font-size: 24px;
  line-height: 1.25;
}
.campaign-modal .eyebrow {
  font-size: 12px;
}
.build-needle {
  height: 45px;
  border: 2px solid #6579a5;
  background: #232643;
  position: relative;
  margin: 20px 0;
}
.build-needle .needle-zone {
  position: absolute;
  top: 0;
  bottom: 0;
  background: #63e0a7;
}
.build-needle b {
  position: absolute;
  top: -6px;
  bottom: -6px;
  width: 5px;
  background: white;
}
.final-design {
  height: 280px;
  background: radial-gradient(ellipse, #222e56, #060916);
  border: 2px solid #6579a5;
  display: grid;
  place-items: center;
}
.final-design svg {
  width: 95%;
  height: 95%;
  image-rendering: pixelated;
}
.assembly-piece {
  animation: assemble-stage 0.8s steps(5, end) both;
}
.assembly-piece:nth-child(2) {
  animation-delay: 0.6s;
}
.assembly-piece:nth-child(3) {
  animation-delay: 1.2s;
}
.assembly-piece:nth-child(4) {
  animation-delay: 1.8s;
}
.snap-in {
  animation: assembly-snap 0.35s steps(3, end);
}
.terminal-offline {
  border: 2px dashed #676487;
  background: repeating-linear-gradient(0deg, #14162b 0 3px, #0d1024 3px 7px);
  padding: 12px;
  min-height: 100px;
}
.terminal-offline .cheat-note {
  color: #b5b8d5;
}
.terminal-offline p {
  margin: 8px 0;
}
#rocketEquation {
  font-family: var(--dialog);
  font-size: 22px;
}
#optionalExtras .btn small {
  font-size: 18px;
}
@keyframes assemble-stage {
  from {
    opacity: 0;
    transform: translateY(-35px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes assembly-snap {
  50% {
    filter: brightness(1.6);
  }
}
@media (max-width: 600px) {
  .shelf-parts {
    grid-template-columns: 1fr;
  }
  .lottery-reels span {
    font-size: 18px;
  }
  .campaign-modal {
    padding: 17px;
  }
  .campaign-modal h2 {
    font-size: 15px;
  }
  .campaign-modal p {
    font-size: 21px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .assembly-piece,
  .snap-in {
    animation: none !important;
  }
  .rolling {
    animation: none !important;
  }
}
