.mb-quantum[hidden] { display: none; }

html.mb-quantum-active {
  overflow: hidden;
  scrollbar-gutter: stable;
}

.mb-quantum-active .mb-quantum {
  position: fixed;
  z-index: 2147483000;
  inset: 0 auto 0 0;
  width: 100vw;
  display: grid !important;
  place-items: center;
  overflow: hidden;
  background: radial-gradient(ellipse at center, #10253e 0%, #040811 67%);
  color: #a5f3fc;
  touch-action: none;
}

.mb-quantum__assembly {
  position: relative;
  display: grid;
  justify-items: center;
  width: min(100%, 360px);
}

.mb-quantum__stage {
  position: relative;
  width: 190px;
  height: 190px;
}

.mb-quantum__stage::before {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  box-shadow: 0 0 46px #008cff4d;
}

.mb-quantum__logo,
.mb-quantum__slices,
.mb-quantum__slices i,
.mb-quantum__shine,
.mb-quantum__shine i {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.mb-quantum__logo,
.mb-quantum__slices i,
.mb-quantum__scan,
.mb-quantum__particles i {
  opacity: 0;
}

.mb-quantum__slices i {
  background: center / 100% 100% no-repeat;
}

.mb-quantum__particles {
  position: absolute;
  top: 50%;
  left: 50%;
}

.mb-quantum__particles i {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #a5f3fc;
  box-shadow: 0 0 9px #008cff, 0 0 4px #00d5ff;
}

.mb-quantum__scan {
  position: absolute;
  top: 0;
  left: -8%;
  width: 116%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #008cff 18%, #a5f3fc 50%, #00d5ff 82%, transparent);
  box-shadow: 0 0 8px #008cff95;
}

.mb-quantum__shine {
  overflow: hidden;
  -webkit-mask: var(--mb-quantum-logo) center / contain no-repeat;
  mask: var(--mb-quantum-logo) center / contain no-repeat;
}

.mb-quantum__shine i {
  transform: translateX(-150%);
  background: linear-gradient(120deg, transparent 38%, #a5f3fc35 48%, #eafaff65 51%, #00d5ff30 56%, transparent 65%);
}

.mb-quantum__status {
  position: absolute;
  top: calc(100% + 24px);
  margin: 0;
  color: #a5f3fc;
  font: 650 11px/1.5 Inter, system-ui, sans-serif;
  letter-spacing: 4px;
}

.mb-quantum__progress {
  position: absolute;
  top: calc(100% + 50px);
  width: 126px;
  height: 2px;
  overflow: hidden;
  border-radius: 99px;
  background: #133653;
}

.mb-quantum__progress i {
  display: block;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, #008cff, #00d5ff);
}

@media (max-width: 640px) {
  .mb-quantum__stage {
    width: 140px;
    height: 140px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html.mb-quantum-active { overflow: auto; }
  .mb-quantum-active .mb-quantum { display: none !important; }
}

