/*!****************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[5].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[5].use[3]!./app/games/joust/joust.module.css ***!
  \****************************************************************************************************************************************************************************************************************************************************************************/
.joust_wrapper__MfFY5 {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #000;
  padding: 0;
  color: white;
  -moz-user-select: none;
       user-select: none;
  -webkit-user-select: none;
  overflow: hidden;
}

.joust_container__eUZmp {
  width: 100%;
  max-width: 460px;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100vh;
}

/* ── HUD ── */
.joust_hud__lixAO {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  z-index: 10;
  flex-shrink: 0;
}

.joust_scoreBlock__bzMsJ {
  display: flex;
  gap: 16px;
}

.joust_statItem__L_qd0 {
  text-align: center;
}

.joust_statLabel__lSYSX {
  font-size: 0.55rem;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.08em;
}

.joust_statValue__YKfIr {
  font-size: 1.3rem;
  font-weight: 800;
  color: #FFD700;
}

.joust_lives__gIV83 {
  display: flex;
  gap: 4px;
  align-items: center;
}

.joust_lifeIcon__FzFvp {
  width: 10px;
  height: 12px;
  background: #FFD700;
  border-radius: 2px;
  opacity: 0.8;
}

/* ── Canvas area ── */
.joust_canvasArea__7wKdw {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  overflow: hidden;
  min-height: 0;
  position: relative;
}

.joust_canvas__GTnTl {
  display: block;
  touch-action: none;
  cursor: default;
}

/* ── Controls ── */
.joust_controls__Rcsiu {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  margin: 6px auto 10px;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 320px;
  padding: 0 16px;
}

.joust_controlBtn__lMAgm {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  border: 1px solid rgba(255, 215, 0, 0.25);
  background: rgba(255, 215, 0, 0.06);
  color: rgba(255, 215, 0, 0.5);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.1s;
  -webkit-tap-highlight-color: transparent;
}

.joust_controlBtn__lMAgm:active {
  background: rgba(255, 215, 0, 0.2);
  color: #FFD700;
}

.joust_controlSpacer__A6_G9 {
  flex: 1;
}

.joust_flapBtn___EuHq {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* ── Overlay ── */
.joust_overlay__PNJLX {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 20;
  gap: 12px;
  animation: joust_fadeIn__Wuzhs 0.25s ease-out;
}

@keyframes joust_fadeIn__Wuzhs {
  from { opacity: 0; }
  to { opacity: 1; }
}

.joust_overlayTitle__opOIP {
  font-size: 2.2rem;
  font-weight: 900;
  color: #FFD700;
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.joust_overlaySubtitle__ujiWa {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
}

.joust_overlayBtn__uojP4 {
  margin-top: 8px;
  padding: 12px 32px;
  border-radius: 10px;
  border: 2px solid #FFD700;
  background: transparent;
  color: #FFD700;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s, box-shadow 0.15s;
}

.joust_overlayBtn__uojP4:hover {
  background: rgba(255, 215, 0, 0.1);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

/* ── Wave popup ── */
.joust_wavePopup__Zfw6E {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.8rem;
  font-weight: 900;
  color: #FFD700;
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
  pointer-events: none;
  z-index: 20;
  white-space: nowrap;
  animation: joust_popIn__blwaj 1.2s ease-out forwards;
}

@keyframes joust_popIn__blwaj {
  0% { transform: translate(-50%, -50%) scale(0.5); opacity: 0; }
  20% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
  100% { transform: translate(-50%, -60%) scale(1); opacity: 0; }
}

/* ── Responsive ── */
@media (max-width: 400px) {
  .joust_statValue__YKfIr {
    font-size: 1.1rem;
  }

  .joust_controlBtn__lMAgm {
    width: 44px;
    height: 44px;
    font-size: 1rem;
  }

  .joust_flapBtn___EuHq {
    width: 56px;
    height: 56px;
    font-size: 0.65rem;
  }

  .joust_controls__Rcsiu {
    gap: 6px;
  }
}

