/*!*************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** 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/word-guess/wordguess.module.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************************************/
.wordguess_wrapper__0A3eV {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
  background: var(--background);
}

.wordguess_container__l7iJB {
  width: 100%;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Header */
.wordguess_header__OIvoT {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 0.5rem;
  position: relative;
}

.wordguess_titleBlock__EhYxP h1 {
  font-family: var(--font-raleway, sans-serif);
  font-weight: 900;
  font-size: 2rem;
  color: var(--primary);
  line-height: 1;
  text-align: center;
}

.wordguess_titleBlock__EhYxP p {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 2px;
  text-align: center;
}

/* Toast */
.wordguess_toastContainer__pbKwm {
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}

.wordguess_toast__LwTuh {
  background: #1a1a1b;
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  animation: wordguess_toastIn__ix7e6 0.2s ease, wordguess_toastOut__78K8T 0.3s ease 1.2s forwards;
}

@keyframes wordguess_toastIn__ix7e6 {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

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

/* Board */
.wordguess_board__iVvJj {
  display: grid;
  grid-template-rows: repeat(6, 1fr);
  gap: 5px;
  margin-bottom: 1rem;
}

.wordguess_row__z7U0y {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 5px;
}

.wordguess_rowShake__XG4_Y {
  animation: wordguess_shake__9_G83 0.5s ease;
}

@keyframes wordguess_shake__9_G83 {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-4px); }
  20%, 40%, 60%, 80% { transform: translateX(4px); }
}

/* Tile */
.wordguess_tile__eG3H1 {
  width: clamp(52px, 14vw, 62px);
  height: clamp(52px, 14vw, 62px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(1.6rem, 5vw, 2rem);
  font-weight: 800;
  text-transform: uppercase;
  border: 2px solid #d3d6da;
  background: white;
  color: var(--text);
  -moz-user-select: none;
       user-select: none;
  -webkit-user-select: none;
}

.wordguess_tileFilled__G62it {
  border-color: #878a8c;
  animation: wordguess_pop___FJ38 0.1s ease;
}

@keyframes wordguess_pop___FJ38 {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.wordguess_tileFlip__zNVE6 {
  animation: wordguess_flipIn__UTpuy 0.3s ease forwards;
}

@keyframes wordguess_flipIn__UTpuy {
  0% { transform: rotateX(0deg); }
  50% { transform: rotateX(90deg); }
  100% { transform: rotateX(0deg); }
}

.wordguess_tileCorrect__kGlIj {
  background: #6aaa64;
  border-color: #6aaa64;
  color: white;
}

.wordguess_tilePresent__GHgh_ {
  background: #c9b458;
  border-color: #c9b458;
  color: white;
}

.wordguess_tileAbsent__94yju {
  background: #787c7e;
  border-color: #787c7e;
  color: white;
}

.wordguess_tileBounce__ayUMe {
  animation: wordguess_bounce__hnYZk 0.5s ease;
}

@keyframes wordguess_bounce__hnYZk {
  0%, 100% { transform: translateY(0); }
  30% { transform: translateY(-20px); }
  60% { transform: translateY(-8px); }
}

/* Keyboard */
.wordguess_keyboard__w3zz6 {
  width: 100%;
  max-width: 500px;
}

.wordguess_keyRow__qeLrn {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-bottom: 6px;
}

.wordguess_key__5M3aI {
  height: 58px;
  min-width: 32px;
  padding: 0 6px;
  border-radius: 6px;
  border: none;
  background: #d3d6da;
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  flex: 1;
  max-width: 44px;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.1s, color 0.1s;
  -moz-user-select: none;
       user-select: none;
  -webkit-user-select: none;
}

.wordguess_key__5M3aI:active {
  opacity: 0.8;
}

.wordguess_keyWide__byn_5 {
  max-width: 65px;
  min-width: 50px;
  font-size: 0.7rem;
}

.wordguess_keyCorrect__sq1p5 {
  background: #6aaa64;
  color: white;
}

.wordguess_keyPresent__qQEI7 {
  background: #c9b458;
  color: white;
}

.wordguess_keyAbsent__pwUX8 {
  background: #787c7e;
  color: white;
}

/* Stats Modal */
.wordguess_overlay__UBIUM {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
}

.wordguess_modal___F3mO {
  background: white;
  border-radius: 12px;
  padding: 24px;
  max-width: 400px;
  width: 90%;
  text-align: center;
}

.wordguess_modal___F3mO h2 {
  font-family: var(--font-raleway, sans-serif);
  font-weight: 900;
  font-size: 1.3rem;
  margin-bottom: 16px;
  color: var(--text);
}

.wordguess_statsRow__K3yF7 {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
}

.wordguess_statItem__iJQsL {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.wordguess_statNumber__invfo {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}

.wordguess_statLabel__lWXhY {
  font-size: 0.65rem;
  color: var(--text-light);
  margin-top: 4px;
}

/* Distribution */
.wordguess_distContainer__fPjkD {
  text-align: left;
  margin-bottom: 20px;
}

.wordguess_distContainer__fPjkD h3 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-light);
  margin-bottom: 8px;
}

.wordguess_distRow__bmr9h {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 3px;
}

.wordguess_distLabel__YPLdf {
  font-size: 0.8rem;
  font-weight: 700;
  width: 12px;
  text-align: right;
  color: var(--text);
}

.wordguess_distBar__sPtTv {
  min-width: 20px;
  padding: 2px 6px;
  background: #787c7e;
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  text-align: right;
  border-radius: 2px;
}

.wordguess_distBarHighlight__ICKKO {
  background: #6aaa64;
}

.wordguess_btn___JZPr {
  background: #6aaa64;
  color: white;
  border: none;
  padding: 14px 24px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s;
  width: 100%;
}

.wordguess_btn___JZPr:hover {
  opacity: 0.85;
}

.wordguess_btnRow__C_Sov {
  display: flex;
  gap: 8px;
}

.wordguess_btnSecondary__ByJy7 {
  background: var(--accent);
}

.wordguess_solutionReveal__YBRVG {
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 12px;
}

.wordguess_solutionReveal__YBRVG strong {
  text-transform: uppercase;
  font-weight: 800;
}

/* Mobile */
@media (max-width: 480px) {
  .wordguess_wrapper__0A3eV {
    padding: 0.5rem;
  }

  .wordguess_titleBlock__EhYxP h1 {
    font-size: 1.6rem;
  }

  .wordguess_key__5M3aI {
    height: 50px;
    font-size: 0.75rem;
  }

  .wordguess_keyWide__byn_5 {
    font-size: 0.6rem;
    min-width: 44px;
  }
}

