/*!**************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** 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/pool/pool.module.css ***!
  \**************************************************************************************************************************************************************************************************************************************************************************/
.pool_wrapper__3N19r {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(145deg, #0d2818 0%, #071a0f 100%);
  color: white;
  -moz-user-select: none;
       user-select: none;
  -webkit-user-select: none;
  position: relative;
  padding: 6px;
  gap: 4px;
}

/* ── HUD ── */
.pool_hud__uarF9 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 12px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 10px;
  width: 100%;
  max-width: 420px;
  flex-shrink: 0;
  gap: 8px;
  border: 1px solid rgba(212, 175, 55, 0.15);
}

.pool_hudLeft__W3Qh4 {
  display: flex;
  gap: 14px;
  align-items: center;
}

.pool_statItem__hzYVo {
  text-align: center;
}

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

.pool_statValue__l5uqW {
  font-size: 0.85rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.pool_statPlayer__53uHJ {
  color: #4fc3f7;
}

.pool_statAI__BbVvL {
  color: #ef5350;
}

.pool_turnBadge__zwgZ7 {
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pool_turnPlayer__D2p2t {
  background: rgba(79, 195, 247, 0.2);
  color: #4fc3f7;
  border: 1px solid rgba(79, 195, 247, 0.3);
}

.pool_turnAI__2rbG_ {
  background: rgba(239, 83, 80, 0.2);
  color: #ef5350;
  border: 1px solid rgba(239, 83, 80, 0.3);
}

.pool_newGameBtn__q7KTE {
  padding: 5px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.7rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}

.pool_newGameBtn__q7KTE:hover {
  background: rgba(255, 255, 255, 0.15);
  color: white;
}

/* ── Ball Status ── */
.pool_ballStatus__k0EfA {
  display: flex;
  gap: 3px;
  justify-content: center;
  align-items: center;
  max-width: 420px;
  min-height: 20px;
  flex-shrink: 0;
}

.pool_ballDot__GieBW {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.4rem;
  font-weight: 800;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.pool_ballDotPocketed__tfeSZ {
  opacity: 0.2;
}

.pool_ballDotStripe__mi17e {
  background: white;
  color: #333;
  position: relative;
  overflow: hidden;
}

.pool_stripeBand__RarzG {
  position: absolute;
  top: 25%;
  bottom: 25%;
  left: 0;
  right: 0;
}

/* ── Canvas ── */
.pool_canvasContainer__FNcbw {
  position: relative;
  width: 100%;
  max-width: 420px;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: none;
  min-height: 0;
}

.pool_gameCanvas__yhyFx {
  display: block;
  border-radius: 6px;
  border: 2px solid rgba(212, 175, 55, 0.3);
  cursor: crosshair;
}

/* ── Power Meter ── */
.pool_powerMeter__IZFDf {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 120px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  overflow: hidden;
  display: flex;
  flex-direction: column-reverse;
}

.pool_powerFill__NHEue {
  background: linear-gradient(to top, #27ae60, #f1c40f, #e74c3c);
  border-radius: 0 0 5px 5px;
  transition: height 0.05s;
}

/* ── Messages ── */
.pool_phaseMessage__QBtsC {
  text-align: center;
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  min-height: 18px;
  max-width: 420px;
  flex-shrink: 0;
}

.pool_foulText__k0h2p {
  color: #e74c3c;
  font-weight: 800;
}

.pool_groupText__0rwCL {
  color: #d4af37;
}

/* ── Overlay ── */
.pool_overlay__XS1H6 {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 50;
  gap: 16px;
}

.pool_overlayTitle__6IsAK {
  font-size: 1.8rem;
  font-weight: 900;
  color: #d4af37;
  text-align: center;
}

.pool_overlaySubtitle__49MC2 {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
}

.pool_overlayBtn__J2r_j {
  padding: 12px 40px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(145deg, #d4af37, #b8960c);
  color: #1a1a2e;
  font-size: 1.1rem;
  font-weight: 900;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.3);
}

.pool_overlayBtn__J2r_j:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
}

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

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

  .pool_ballDot__GieBW {
    width: 14px;
    height: 14px;
    font-size: 0.35rem;
  }

  .pool_powerMeter__IZFDf {
    height: 100px;
    width: 10px;
  }
}

@media (max-width: 360px) {
  .pool_ballDot__GieBW {
    width: 12px;
    height: 12px;
    font-size: 0.3rem;
  }

  .pool_statValue__l5uqW {
    font-size: 0.75rem;
  }
}

