/*!************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** 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/bomberman/bomberman.module.css ***!
  \************************************************************************************************************************************************************************************************************************************************************************************/
.bomberman_wrapper__K2VpG {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #000;
  color: white;
  -moz-user-select: none;
       user-select: none;
  -webkit-user-select: none;
  position: relative;
  padding: 4px;
  gap: 4px;
}

/* ── HUD ── */
.bomberman_hud__dZc_U {
  display: flex;
  gap: 16px;
  width: 100%;
  max-width: 480px;
  justify-content: center;
  padding: 4px 8px;
  background: #111;
  border-radius: 4px;
  flex-shrink: 0;
}

.bomberman_hudItem__gZ9AS {
  font-family: monospace;
  font-size: 0.7rem;
  font-weight: 800;
  color: #fcfcfc;
  letter-spacing: 0.05em;
}

/* ── Canvas ── */
.bomberman_canvasContainer___3vxb {
  position: relative;
  width: 100%;
  max-width: 480px;
}

.bomberman_gameCanvas__ku_pM {
  display: block;
  width: 100%;
  height: auto;
  border: 2px solid #333;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  background: #388700;
}

/* ── Touch Controls ── */
.bomberman_controls__tuzWL {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 480px;
  padding: 8px 16px;
}

/* D-pad */
.bomberman_dpad__R5xPJ {
  position: relative;
  width: 90px;
  height: 90px;
}

.bomberman_dpadBtn__BF7da {
  position: absolute;
  background: #333;
  border: 1px solid #555;
  cursor: pointer;
  touch-action: manipulation;
}

.bomberman_dpadBtn__BF7da:active {
  background: #666;
}

.bomberman_dpadUp__YKGan {
  top: 0;
  left: 30px;
  width: 30px;
  height: 30px;
  border-radius: 4px 4px 0 0;
}

.bomberman_dpadDown__mqLNU {
  bottom: 0;
  left: 30px;
  width: 30px;
  height: 30px;
  border-radius: 0 0 4px 4px;
}

.bomberman_dpadLeft__dgkD7 {
  top: 30px;
  left: 0;
  width: 30px;
  height: 30px;
  border-radius: 4px 0 0 4px;
}

.bomberman_dpadRight__FoovT {
  top: 30px;
  right: 0;
  width: 30px;
  height: 30px;
  border-radius: 0 4px 4px 0;
}

.bomberman_dpadCenter__P5si8 {
  position: absolute;
  top: 30px;
  left: 30px;
  width: 30px;
  height: 30px;
  background: #333;
  border: 1px solid #555;
}

/* Bomb button */
.bomberman_bombBtn__2JX45 {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 3px solid #990000;
  background: #cc0000;
  color: #fcfcfc;
  font-family: monospace;
  font-size: 0.75rem;
  font-weight: 900;
  cursor: pointer;
  touch-action: manipulation;
  letter-spacing: 0.05em;
  transition: transform 0.05s;
}

.bomberman_bombBtn__2JX45:active {
  transform: scale(0.92);
  background: #ff2222;
}

/* ── Overlays ── */
.bomberman_overlay__pOtet {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
  gap: 12px;
  padding: 24px;
}

.bomberman_overlayTransparent__qKye7 {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
  gap: 8px;
}

.bomberman_titleLogo__cuHif {
  font-size: 2.2rem;
  font-weight: 900;
  color: #fcfcfc;
  letter-spacing: 0.15em;
  text-align: center;
  font-family: monospace;
  text-shadow: 3px 3px 0 #cc0000;
}

.bomberman_instructions__Xr6Hc {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  line-height: 1.8;
  max-width: 300px;
  font-family: monospace;
}

.bomberman_instructions__Xr6Hc p {
  margin: 0;
}

.bomberman_instructions__Xr6Hc strong {
  color: rgba(255, 255, 255, 0.9);
}

.bomberman_startBtn__Emts_ {
  padding: 12px 40px;
  border-radius: 6px;
  border: 2px solid #006800;
  background: #00a800;
  color: #fcfcfc;
  font-size: 1rem;
  font-weight: 900;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: monospace;
  transition: transform 0.1s;
  margin-top: 8px;
}

.bomberman_startBtn__Emts_:hover {
  transform: translateY(-2px);
  background: #00c800;
}

.bomberman_startBtn__Emts_:active {
  transform: translateY(0);
}

.bomberman_hiScore__b8M2K {
  font-size: 0.75rem;
  color: #fccc00;
  font-weight: 700;
  font-family: monospace;
}

.bomberman_clearText__ufNfF {
  font-size: 2rem;
  font-weight: 900;
  color: #fcfc00;
  font-family: monospace;
  text-shadow: 2px 2px 0 #000;
}

.bomberman_clearBonus__HK3qT {
  font-size: 1.2rem;
  font-weight: 800;
  color: #00d800;
  font-family: monospace;
}

.bomberman_gameOverText__UR4Tk {
  font-size: 2rem;
  font-weight: 900;
  color: #fc0000;
  font-family: monospace;
  text-shadow: 2px 2px 0 #800000;
}

.bomberman_finalScore__Urvqf {
  font-size: 1.2rem;
  color: #fcfcfc;
  font-weight: 700;
  font-family: monospace;
}

.bomberman_newRecord__uiuDy {
  font-size: 1rem;
  color: #fcfc00;
  font-weight: 900;
  font-family: monospace;
  animation: bomberman_pulse__VUIJO 0.5s infinite alternate;
}

@keyframes bomberman_pulse__VUIJO {
  from { opacity: 0.7; }
  to { opacity: 1; }
}

/* ── Responsive ── */
@media (max-width: 480px) {
  .bomberman_wrapper__K2VpG {
    padding: 2px;
    gap: 2px;
  }

  .bomberman_hud__dZc_U {
    gap: 10px;
    padding: 3px 6px;
  }

  .bomberman_hudItem__gZ9AS {
    font-size: 0.6rem;
  }

  .bomberman_dpad__R5xPJ {
    width: 80px;
    height: 80px;
  }

  .bomberman_dpadUp__YKGan, .bomberman_dpadDown__mqLNU, .bomberman_dpadLeft__dgkD7, .bomberman_dpadRight__FoovT {
    width: 26px;
    height: 26px;
  }

  .bomberman_dpadUp__YKGan { left: 27px; }
  .bomberman_dpadDown__mqLNU { left: 27px; }
  .bomberman_dpadLeft__dgkD7 { top: 27px; }
  .bomberman_dpadRight__FoovT { top: 27px; }
  .bomberman_dpadCenter__P5si8 { top: 27px; left: 27px; width: 26px; height: 26px; }

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

  .bomberman_titleLogo__cuHif {
    font-size: 1.6rem;
  }
}

