.motion-core {
  min-height: 180px;
}

.motion-force-orb {
  width: 138px;
  height: 138px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  text-align: center;
  position: absolute;
  z-index: 3;
  background:
    radial-gradient(circle, rgba(0, 255, 213, 0.30), rgba(0, 255, 213, 0.045) 58%, rgba(0, 0, 0, 0.36));
  border: 1px solid rgba(0, 255, 213, 0.34);
  box-shadow:
    0 0 42px rgba(0, 255, 213, 0.28),
    inset 0 0 34px rgba(0, 255, 213, 0.10);
}

.motion-force-label {
  display: block;
  margin-top: 16px;
  color: rgba(236, 255, 251, 0.58);
  font-size: 10px;
  letter-spacing: 0.22em;
  font-weight: 1000;
}

.motion-force-orb strong {
  display: block;
  color: #ecfffb;
  font-size: 34px;
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.motion-force-orb small {
  display: block;
  color: #00ffd5;
  font-size: 10px;
  letter-spacing: 0.12em;
  font-weight: 1000;
}

.motion-controller-core {
  opacity: 0.26;
  transform: scale(0.92);
}

.motion-panel {
  border: 1px solid rgba(0, 255, 213, 0.24);
  border-radius: 22px;
  padding: 13px;
  display: grid;
  gap: 11px;
  background:
    linear-gradient(180deg, rgba(0, 255, 213, 0.08), rgba(0, 0, 0, 0.16)),
    rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 0 28px rgba(0, 255, 213, 0.025);
}

.motion-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.motion-kicker {
  margin: 0 0 4px;
  color: #00ffd5;
  font-size: 10px;
  letter-spacing: 0.20em;
  font-weight: 1000;
}

.motion-panel h2 {
  margin: 0;
  color: #ecfffb;
  font-size: 22px;
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.motion-pill {
  min-width: 82px;
  min-height: 34px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  color: rgba(236, 255, 251, 0.68);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.10);
  font-size: 10px;
  font-weight: 1000;
  letter-spacing: 0.12em;
}

.motion-pill.is-armed {
  color: #001412;
  background: linear-gradient(90deg, #00ffd5, #52ff9a);
  border-color: rgba(0, 255, 213, 0.46);
  box-shadow: 0 0 22px rgba(0, 255, 213, 0.30);
}

.motion-pill.is-hit {
  color: #001412;
  background: linear-gradient(90deg, #ff7a18, #00ffd5);
  box-shadow: 0 0 30px rgba(255, 122, 24, 0.42);
}

.motion-levels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.motion-level {
  min-height: 46px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  gap: 2px;
  padding: 7px;
  background: rgba(0, 0, 0, 0.24);
  border: 1px solid rgba(236, 255, 251, 0.08);
}

.motion-level b {
  color: rgba(236, 255, 251, 0.82);
  font-size: 11px;
  letter-spacing: 0.12em;
}

.motion-level span {
  color: #00ffd5;
  font-size: 16px;
  font-weight: 1000;
}

.motion-meter {
  height: 11px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(236, 255, 251, 0.09);
  border: 1px solid rgba(0, 255, 213, 0.18);
}

.motion-meter div {
  width: 0%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #00ffd5, #52ff9a, #ff7a18);
  box-shadow: 0 0 18px rgba(0, 255, 213, 0.55);
  transition: width 110ms linear;
}

.motion-button {
  width: 100%;
  min-height: 58px;
  border: 0;
  border-radius: 19px;
  color: #001412;
  background: linear-gradient(90deg, #00ffd5, #6ffff0);
  box-shadow:
    0 0 30px rgba(0, 255, 213, 0.35),
    inset 0 -2px 0 rgba(0, 0, 0, 0.12);
  font-size: 15px;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.motion-button:active {
  transform: scale(0.985);
}

.motion-button.is-active {
  background: linear-gradient(90deg, #52ff9a, #00ffd5);
}

.motion-help {
  margin: -2px 0 0;
  color: rgba(236, 255, 251, 0.52);
  font-size: 12px;
  line-height: 1.28;
  font-weight: 700;
  text-align: center;
}

body.motion-armed #motionCore {
  border-color: rgba(82, 255, 154, 0.44);
  box-shadow:
    0 0 34px rgba(82, 255, 154, 0.18),
    inset 0 0 28px rgba(0, 255, 213, 0.08);
}

body.motion-hit-light .motion-force-orb,
body.motion-hit-medium .motion-force-orb,
body.motion-hit-hard .motion-force-orb {
  animation: motionHit 260ms ease-out;
}

body.motion-hit-medium .motion-force-orb {
  box-shadow:
    0 0 54px rgba(0, 255, 213, 0.44),
    inset 0 0 34px rgba(0, 255, 213, 0.14);
}

body.motion-hit-hard .motion-force-orb {
  border-color: rgba(255, 122, 24, 0.72);
  box-shadow:
    0 0 66px rgba(255, 122, 24, 0.46),
    inset 0 0 36px rgba(255, 122, 24, 0.14);
}

@keyframes motionHit {
  0% {
    transform: scale(0.92);
  }

  50% {
    transform: scale(1.12);
  }

  100% {
    transform: scale(1);
  }
}

@media (max-width: 390px), (max-height: 780px) {
  .motion-core {
    min-height: 138px;
  }

  .motion-force-orb {
    width: 112px;
    height: 112px;
  }

  .motion-force-orb strong {
    font-size: 28px;
  }

  .motion-force-label,
  .motion-force-orb small {
    font-size: 9px;
  }

  .motion-controller-core {
    transform: scale(0.78);
  }

  .motion-panel {
    border-radius: 19px;
    padding: 11px;
    gap: 9px;
  }

  .motion-panel h2 {
    font-size: 19px;
  }

  .motion-pill {
    min-width: 74px;
    min-height: 30px;
    font-size: 9px;
  }

  .motion-level {
    min-height: 40px;
    border-radius: 14px;
  }

  .motion-level b {
    font-size: 10px;
  }

  .motion-level span {
    font-size: 14px;
  }

  .motion-button {
    min-height: 52px;
    border-radius: 17px;
    font-size: 14px;
  }

  .motion-help {
    font-size: 11px;
  }
}

@media (max-height: 720px) {
  .motion-panel {
    gap: 8px;
  }

  .motion-core {
    min-height: 116px;
  }

  .motion-force-orb {
    width: 96px;
    height: 96px;
  }

  .motion-force-orb strong {
    font-size: 24px;
  }

  .motion-levels {
    gap: 6px;
  }

  .motion-level {
    min-height: 36px;
  }
}
