#ui.is-pre-gameplay .hud-invasion-title,
#ui.is-pre-gameplay .hud-progress,
#ui.is-pre-gameplay .hud-top-right {
  display: none !important;
}

.pre-gameplay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 11;
}

.pre-gameplay__hurry {
  position: absolute;
  top: 14vh;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  font-size: 5vh;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-align: center;
  line-height: 1;
  white-space: nowrap;
  -webkit-text-stroke: 0.14vh #000000;
  paint-order: stroke fill;
  animation: pre-gameplay-pulse 1.2s ease-in-out infinite;
}

.pre-gameplay__bottom {
  position: absolute;
  left: 50%;
  bottom: 10vh;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5vh;
}

.pre-gameplay__drag {
  margin: 0;
  font-size: 4.2vh;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-align: center;
  line-height: 1;
  white-space: nowrap;
  -webkit-text-stroke: 0.12vh #000000;
  paint-order: stroke fill;
}

.pre-gameplay-joystick {
  position: relative;
  width: 22vh;
  height: 22vh;
}

.pre-gameplay-joystick__base {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 0.35vh solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.12);
  box-sizing: border-box;
}

.pre-gameplay-joystick__knob {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8vh;
  height: 8vh;
  margin-left: -4vh;
  margin-top: -4vh;
  border-radius: 50%;
  background: #ffffff;
  animation: pre-gameplay-joystick-knob 2.4s ease-in-out infinite;
}

@keyframes pre-gameplay-pulse {
  0%,
  100% {
    transform: translateX(-50%) scale(1);
  }
  50% {
    transform: translateX(-50%) scale(1.06);
  }
}

@keyframes pre-gameplay-joystick-knob {
  0%,
  100% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(5vh, 0);
  }
  50% {
    transform: translate(0, -3.5vh);
  }
  75% {
    transform: translate(-5vh, 0);
  }
}

@media (orientation: landscape) {
  .pre-gameplay__hurry {
    top: 8vh;
    font-size: 4vh;
  }

  .pre-gameplay__bottom {
    bottom: 6vh;
    gap: 1.5vh;
  }

  .pre-gameplay__drag {
    font-size: 3.2vh;
  }

  .pre-gameplay-joystick {
    width: 18vh;
    height: 18vh;
  }

  .pre-gameplay-joystick__knob {
    width: 6.5vh;
    height: 6.5vh;
    margin-left: -3.25vh;
    margin-top: -3.25vh;
  }

  @keyframes pre-gameplay-joystick-knob {
    0%,
    100% {
      transform: translate(0, 0);
    }
    25% {
      transform: translate(4vh, 0);
    }
    50% {
      transform: translate(0, -2.8vh);
    }
    75% {
      transform: translate(-4vh, 0);
    }
  }
}
