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

/* ── HUD ── */
.bowling_hud__yZ9zx {
  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);
}

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

.bowling_statItem__bf7NL {
  text-align: center;
}

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

.bowling_statValue__1TK5e {
  font-size: 0.85rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: #d4af37;
}

.bowling_newGameBtn__Q8qbr {
  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;
}

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

/* ── Score Card ── */
.bowling_scoreCard__nHrE2 {
  display: flex;
  gap: 1px;
  width: 100%;
  max-width: 420px;
  flex-shrink: 0;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.bowling_frameBox__YYvDb {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  min-width: 0;
}

.bowling_frameBoxTenth__g9Vvi {
  flex: 1.4;
}

.bowling_frameActive__lMRCF {
  background: rgba(212, 175, 55, 0.12);
}

.bowling_frameNum__VC5D9 {
  font-size: 0.45rem;
  color: rgba(255, 255, 255, 0.3);
  padding: 2px 0 1px;
  font-weight: 600;
}

.bowling_frameBalls__gBQ33 {
  display: flex;
  gap: 1px;
  font-size: 0.55rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  min-height: 14px;
  align-items: center;
}

.bowling_ballCell__Srk0U {
  width: 14px;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
}

.bowling_strikeCell__fK3__ {
  color: #e74c3c;
}

.bowling_spareCell__ZmvLy {
  color: #2ecc71;
}

.bowling_frameScore__n7kFa {
  font-size: 0.6rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.8);
  padding: 1px 0 3px;
  min-height: 14px;
  font-variant-numeric: tabular-nums;
}

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

.bowling_gameCanvas__APJK7 {
  display: block;
  border-radius: 6px;
  border: 2px solid rgba(100, 80, 140, 0.3);
  cursor: crosshair;
}

/* ── Power Meter ── */
.bowling_powerMeter__cHm6Y {
  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;
}

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

/* ── Spin Meter ── */
.bowling_spinMeter__rEhqX {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.bowling_spinTrack__NP5nW {
  width: 100px;
  height: 8px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: visible;
}

.bowling_spinIndicator__y4K6a {
  position: absolute;
  top: 50%;
  width: 10px;
  height: 10px;
  background: #ff9944;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: left 0.05s;
  box-shadow: 0 0 6px rgba(255, 153, 68, 0.5);
}

.bowling_spinLabel__aLLbI {
  font-size: 0.5rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

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

.bowling_strikeText__k2lb_ {
  color: #e74c3c;
  font-weight: 900;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.bowling_spareText__QyTo4 {
  color: #2ecc71;
  font-weight: 900;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.bowling_gutterText__TBmp9 {
  color: #95a5a6;
  font-weight: 700;
}

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

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

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

.bowling_overlayScore__YSCJb {
  font-size: 2.5rem;
  font-weight: 900;
  color: #e74c3c;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.bowling_overlayBtn__93qtS {
  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);
}

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

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

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

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

  .bowling_ballCell__Srk0U {
    width: 12px;
    font-size: 0.5rem;
  }

  .bowling_frameScore__n7kFa {
    font-size: 0.5rem;
  }
}

@media (max-width: 360px) {
  .bowling_ballCell__Srk0U {
    width: 10px;
    font-size: 0.45rem;
  }

  .bowling_frameNum__VC5D9 {
    font-size: 0.4rem;
  }

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

