.MemoryMatchGame-module__wsVrkq__menuWrapper,.MemoryMatchGame-module__wsVrkq__gameWrapper{font-family:var(--font-fredoka,"Fredoka", sans-serif)}.MemoryMatchGame-module__wsVrkq__menuWrapper{touch-action:manipulation;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;background-color:#f0f4f8;justify-content:center;align-items:center;width:100%;height:100%;padding:.5rem;display:flex;overflow-y:auto}.MemoryMatchGame-module__wsVrkq__setupMenu{text-align:center;background-color:#fff;border-radius:1.5rem;width:100%;max-width:28rem;max-height:100%;padding:1.5rem 2rem;overflow-y:auto;box-shadow:0 20px 25px -5px #0000001a,0 8px 10px -6px #0000001a}.MemoryMatchGame-module__wsVrkq__menuIcon{margin-bottom:1rem;font-size:3.75rem}.MemoryMatchGame-module__wsVrkq__menuTitle{color:#1f2937;margin-bottom:1.5rem;font-size:1.875rem;font-weight:700}.MemoryMatchGame-module__wsVrkq__section{margin-bottom:1.5rem}.MemoryMatchGame-module__wsVrkq__sectionLabel{color:#6b7280;text-transform:uppercase;letter-spacing:.05em;margin-bottom:.75rem;font-size:.75rem;font-weight:700}.MemoryMatchGame-module__wsVrkq__modeRow{justify-content:center;gap:.75rem;display:flex}.MemoryMatchGame-module__wsVrkq__modeBtn{color:#4b5563;background-color:#0000;border:2px solid #e5e7eb;border-radius:.75rem;flex-direction:column;flex:1;padding:.75rem 1rem;font-family:inherit;font-size:1rem;font-weight:700;transition:border-color .2s,background-color .2s,color .2s}.MemoryMatchGame-module__wsVrkq__modeBtnSelected{color:#fff;background-color:#4f46e5;border-color:#4f46e5}.MemoryMatchGame-module__wsVrkq__modeSub{font-size:.65rem;font-weight:400;display:block}.MemoryMatchGame-module__wsVrkq__pairsGrid{grid-template-columns:1fr 1fr;gap:.75rem;display:grid}.MemoryMatchGame-module__wsVrkq__pairsBtn{color:#4b5563;background-color:#0000;border:2px solid #e5e7eb;border-radius:.75rem;padding:.5rem;font-family:inherit;font-size:.875rem;font-weight:700;transition:border-color .2s,background-color .2s,color .2s}.MemoryMatchGame-module__wsVrkq__pairsBtnSelected{color:#fff;background-color:#4f46e5;border-color:#4f46e5}.MemoryMatchGame-module__wsVrkq__bestHint{color:#6b7280;margin-bottom:1rem;font-size:.875rem}.MemoryMatchGame-module__wsVrkq__bestValue{color:#db2777;font-weight:700}.MemoryMatchGame-module__wsVrkq__backRow{align-items:center;margin-bottom:.75rem;display:flex}.MemoryMatchGame-module__wsVrkq__startBtn{color:#fff;background-color:#4f46e5;border-radius:.75rem;width:100%;padding:.75rem 1rem;font-family:inherit;font-size:1.125rem;font-weight:700;transition:background-color .2s;box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a}.MemoryMatchGame-module__wsVrkq__startBtn:hover{background-color:#4338ca}.MemoryMatchGame-module__wsVrkq__gameWrapper{touch-action:manipulation;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;background-color:#f0f4f8;flex-direction:column;width:100%;height:100%;display:flex;position:relative;overflow:hidden}.MemoryMatchGame-module__wsVrkq__scoreboard{background-color:#fff;border-radius:1rem;flex-shrink:0;justify-content:space-between;align-items:center;width:100%;max-width:48rem;min-height:5rem;margin:.5rem auto;padding:.5rem;display:flex;position:relative;overflow:hidden;box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a}.MemoryMatchGame-module__wsVrkq__scoreCell{border-radius:.75rem;flex-direction:column;align-items:center;width:33%;padding:.25rem;transition:background-color .3s,opacity .3s;display:flex}.MemoryMatchGame-module__wsVrkq__activePlayer{opacity:1}.MemoryMatchGame-module__wsVrkq__inactivePlayer{opacity:.5}.MemoryMatchGame-module__wsVrkq__scoreCenterCell{z-index:1;flex-direction:column;justify-content:center;align-items:center;width:33%;display:flex}.MemoryMatchGame-module__wsVrkq__scoreLabelSm{color:#6b7280;text-transform:uppercase;letter-spacing:.05em;font-size:.65rem;font-weight:700}.MemoryMatchGame-module__wsVrkq__scoreBig{color:#4f46e5;font-size:1.875rem;font-weight:700;line-height:1}.MemoryMatchGame-module__wsVrkq__scoreBigPink{color:#db2777;margin-top:.125rem;font-size:1.5rem;font-weight:700;line-height:1}.MemoryMatchGame-module__wsVrkq__scoreGameTitle{color:#1f2937;font-size:.875rem;font-weight:700}.MemoryMatchGame-module__wsVrkq__scorePairsLabel{color:#6b7280;font-size:.65rem;font-weight:600}.MemoryMatchGame-module__wsVrkq__menuBtn{color:#4b5563;background-color:#f3f4f6;border-radius:9999px;min-height:1.75rem;margin-top:.25rem;padding:.25rem .75rem;font-family:inherit;font-size:.65rem;font-weight:600;transition:background-color .2s}.MemoryMatchGame-module__wsVrkq__menuBtn:hover{background-color:#e5e7eb}.MemoryMatchGame-module__wsVrkq__turnText{text-transform:uppercase;letter-spacing:.1em;text-align:center;margin-bottom:.125rem;font-size:.65rem;font-weight:700}.MemoryMatchGame-module__wsVrkq__turnTextP1{color:#4f46e5}.MemoryMatchGame-module__wsVrkq__turnTextP2{color:#db2777}.MemoryMatchGame-module__wsVrkq__playerDot{background-color:#4f46e5;border-radius:9999px;width:.375rem;height:.375rem;margin-top:.25rem;animation:2s cubic-bezier(.215,.61,.355,1) infinite MemoryMatchGame-module__wsVrkq__pulseRing;display:block}@keyframes MemoryMatchGame-module__wsVrkq__pulseRing{0%{box-shadow:0 0 #6366f1b3}70%{box-shadow:0 0 0 10px #6366f100}to{box-shadow:0 0 #6366f100}}.MemoryMatchGame-module__wsVrkq__gameBoard{grid-template-columns:repeat(var(--cols,4), minmax(0, 1fr));grid-template-rows:repeat(var(--rows,5), minmax(0, 1fr));flex:1;gap:.5rem;width:100%;max-width:75rem;min-height:0;margin:0 auto;padding:.5rem;display:grid}@media (min-width:640px){.MemoryMatchGame-module__wsVrkq__gameBoard{gap:.75rem}}.MemoryMatchGame-module__wsVrkq__card{cursor:pointer;perspective:1000px;touch-action:manipulation;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;user-select:none;background:0 0;border:none;width:100%;min-width:0;height:100%;min-height:0;margin:0;padding:0;container-type:size}.MemoryMatchGame-module__wsVrkq__card:focus-visible{outline-offset:2px;border-radius:.5rem;outline:3px solid #4f46e5}.MemoryMatchGame-module__wsVrkq__card:disabled{cursor:default;pointer-events:none}.MemoryMatchGame-module__wsVrkq__cardInner{text-align:center;width:100%;height:100%;transform-style:preserve-3d;transition:transform .5s cubic-bezier(.4,.2,.2,1);position:relative}.MemoryMatchGame-module__wsVrkq__cardFlipped .MemoryMatchGame-module__wsVrkq__cardInner,.MemoryMatchGame-module__wsVrkq__cardMatched .MemoryMatchGame-module__wsVrkq__cardInner{transform:rotateY(180deg)}.MemoryMatchGame-module__wsVrkq__cardFront,.MemoryMatchGame-module__wsVrkq__cardBack{backface-visibility:hidden;border-radius:.5rem;justify-content:center;align-items:center;width:100%;height:100%;display:flex;position:absolute;box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f}.MemoryMatchGame-module__wsVrkq__cardFront{color:#fff;background:linear-gradient(135deg,#6366f1 0%,#4f46e5 100%);border:2px solid #fff;font-size:40cqmin}.MemoryMatchGame-module__wsVrkq__cardBack{color:#333;background-color:#fff;border:2px solid #e5e7eb;font-size:50cqmin;transform:rotateY(180deg)}.MemoryMatchGame-module__wsVrkq__cardMatched .MemoryMatchGame-module__wsVrkq__cardInner{animation:.4s ease-out forwards MemoryMatchGame-module__wsVrkq__matchPulse}@keyframes MemoryMatchGame-module__wsVrkq__matchPulse{0%{transform:rotateY(180deg)scale(1)}50%{transform:rotateY(180deg)scale(1.08)}to{transform:rotateY(180deg)scale(1)}}.MemoryMatchGame-module__wsVrkq__modalOverlay{z-index:50;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background-color:#00000080;justify-content:center;align-items:center;padding:1rem;display:flex;position:fixed;inset:0}.MemoryMatchGame-module__wsVrkq__modalContent{text-align:center;background-color:#fff;border-radius:1.5rem;width:100%;max-width:28rem;padding:1.5rem 2rem;transition:transform .3s ease-out;transform:scale(.9);box-shadow:0 25px 50px -12px #00000040}.MemoryMatchGame-module__wsVrkq__modalContentShown{transform:scale(1)}.MemoryMatchGame-module__wsVrkq__modalIcon{margin-bottom:1rem;font-size:3.75rem}.MemoryMatchGame-module__wsVrkq__modalTitle{color:#1f2937;margin-bottom:.5rem;font-size:1.875rem;font-weight:700}.MemoryMatchGame-module__wsVrkq__modalText{color:#4b5563;margin-bottom:.5rem;font-size:1.25rem}.MemoryMatchGame-module__wsVrkq__newRecord{color:#db2777;margin-bottom:1.5rem;font-size:.875rem;font-weight:700}.MemoryMatchGame-module__wsVrkq__modalButtons{flex-direction:column;gap:.75rem;margin-top:1.5rem;display:flex}@media (min-width:640px){.MemoryMatchGame-module__wsVrkq__modalButtons{flex-direction:row;justify-content:center}}.MemoryMatchGame-module__wsVrkq__btnPlayAgain{color:#fff;background-color:#4f46e5;border-radius:9999px;padding:.75rem 1.5rem;font-family:inherit;font-size:1rem;font-weight:700;transition:background-color .2s,transform .2s;box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a}.MemoryMatchGame-module__wsVrkq__btnPlayAgain:hover{background-color:#4338ca}.MemoryMatchGame-module__wsVrkq__btnMainMenu{color:#1f2937;background-color:#e5e7eb;border-radius:9999px;padding:.75rem 1.5rem;font-family:inherit;font-size:1rem;font-weight:700;transition:background-color .2s;box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a}.MemoryMatchGame-module__wsVrkq__btnMainMenu:hover{background-color:#d1d5db}.MemoryMatchGame-module__wsVrkq__confettiContainer{pointer-events:none;z-index:100;position:fixed;inset:0;overflow:hidden}.MemoryMatchGame-module__wsVrkq__confetti{background-color:red;border-radius:2px;width:10px;height:10px;animation:linear forwards MemoryMatchGame-module__wsVrkq__confettiFall;position:absolute;top:-10px}@keyframes MemoryMatchGame-module__wsVrkq__confettiFall{to{transform:translateY(100vh)rotate(720deg)}}@media (prefers-reduced-motion:reduce){.MemoryMatchGame-module__wsVrkq__cardInner{transition:none}.MemoryMatchGame-module__wsVrkq__cardMatched .MemoryMatchGame-module__wsVrkq__cardInner{animation:none}.MemoryMatchGame-module__wsVrkq__modalContent{transition:none;transform:scale(1)}.MemoryMatchGame-module__wsVrkq__playerDot{animation:none}.MemoryMatchGame-module__wsVrkq__confetti{animation:none;display:none}}
