/*!**************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** 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/paper-toss/paper-toss.module.css ***!
  \**************************************************************************************************************************************************************************************************************************************************************************************/
.paper-toss_wrapper__cXcRN {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(180deg, #2c3e50 0%, #1a252f 100%);
  padding: 0;
  color: white;
  -moz-user-select: none;
       user-select: none;
  -webkit-user-select: none;
  overflow: hidden;
}

.paper-toss_container__m3QbZ {
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  height: 100vh;
}

/* ── HUD ── */
.paper-toss_hud__WRRvc {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
}

.paper-toss_scoreBlock__kFuh5 {
  display: flex;
  gap: 16px;
}

.paper-toss_statItem__fwe5Q {
  text-align: center;
}

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

.paper-toss_statValue__gcydO {
  font-size: 1.4rem;
  font-weight: 800;
  color: #f1c40f;
}

/* ── Canvas ── */
.paper-toss_canvas__5Byq3 {
  width: 100%;
  height: 100%;
  display: block;
  touch-action: none;
  cursor: grab;
}

.paper-toss_canvasDragging__bBquE {
  cursor: grabbing;
}

/* ── Streak popup ── */
.paper-toss_streakPopup__FgXm0 {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2.5rem;
  font-weight: 900;
  color: #f1c40f;
  text-shadow: 0 0 20px rgba(241, 196, 15, 0.6), 0 4px 8px rgba(0, 0, 0, 0.4);
  pointer-events: none;
  animation: paper-toss_streakPop__kFYpA 1s ease-out forwards;
  z-index: 20;
  white-space: nowrap;
}

@keyframes paper-toss_streakPop__kFYpA {
  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;
  }
}

/* ── Controls ── */
.paper-toss_controlsOverlay__PvkUG {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.paper-toss_controlBtn__Nisfj {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.4);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  backdrop-filter: blur(4px);
}

.paper-toss_controlBtn__Nisfj:hover {
  background: rgba(0, 0, 0, 0.6);
  color: white;
}

/* ── Result text ── */
.paper-toss_resultText__K2GRt {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.8rem;
  font-weight: 900;
  pointer-events: none;
  animation: paper-toss_resultFade__fMncv 0.8s ease-out forwards;
  z-index: 15;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.paper-toss_resultMade__mof4J {
  color: #2ecc71;
}

.paper-toss_resultMiss__DR_SA {
  color: #e74c3c;
}

@keyframes paper-toss_resultFade__fMncv {
  0% {
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0;
  }
  30% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -55%);
    opacity: 0;
  }
}

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

