.MemoryBattle-module__ZL7egW__root{color:#e2e8f0;background:linear-gradient(#0b1120,#020617);flex-direction:column;justify-content:safe center;align-items:center;padding:5rem 1rem 1.5rem;font-family:system-ui,-apple-system,sans-serif;display:flex;position:fixed;inset:0;overflow:auto}.MemoryBattle-module__ZL7egW__board{background:#020617eb;border:2px solid #38bdf859;border-radius:1rem;width:min(100%,560px);padding:clamp(1rem,4vw,1.75rem);box-shadow:0 0 48px #0ea5e92e}.MemoryBattle-module__ZL7egW__scoreRow{grid-template-columns:1fr auto 1fr;align-items:center;gap:.75rem;margin-bottom:1rem;display:grid}.MemoryBattle-module__ZL7egW__scoreCard{background:#0f172ae6;border:2px solid #0000;border-radius:.75rem;flex-direction:column;align-items:center;gap:.15rem;padding:.55rem .75rem;transition:border-color .25s,box-shadow .25s,transform .25s;display:flex}.MemoryBattle-module__ZL7egW__scoreCard[data-active=true]{border-color:currentColor;transform:translateY(-2px);box-shadow:0 0 0 3px #ffffff0f,0 0 22px #38bdf840}.MemoryBattle-module__ZL7egW__scorePlayer{color:#38bdf8}.MemoryBattle-module__ZL7egW__scoreAi{color:#f472b6}.MemoryBattle-module__ZL7egW__scoreName{letter-spacing:.03em;text-transform:uppercase;opacity:.85;font-size:.75rem}.MemoryBattle-module__ZL7egW__scoreValue{color:#f8fafc;font-size:1.7rem;font-weight:800;line-height:1}.MemoryBattle-module__ZL7egW__turnBadge{color:#cbd5e1;text-align:center;flex-direction:column;align-items:center;gap:.2rem;font-size:.8rem;font-weight:700;display:flex}.MemoryBattle-module__ZL7egW__turnDot{background:#64748b;border-radius:999px;width:.7rem;height:.7rem;box-shadow:0 0 #38bdf880}.MemoryBattle-module__ZL7egW__turnDot[data-turn=player]{background:#38bdf8;animation:1.4s ease-in-out infinite MemoryBattle-module__ZL7egW__pulse}.MemoryBattle-module__ZL7egW__turnDot[data-turn=ai]{background:#f472b6;animation:1.4s ease-in-out infinite MemoryBattle-module__ZL7egW__pulse}@keyframes MemoryBattle-module__ZL7egW__pulse{0%{box-shadow:0 0 #94a3b880}70%{box-shadow:0 0 0 8px #94a3b800}to{box-shadow:0 0 #94a3b800}}.MemoryBattle-module__ZL7egW__message{text-align:center;color:#94a3b8;min-height:1.4rem;margin-bottom:.9rem;font-size:.95rem;font-weight:600}.MemoryBattle-module__ZL7egW__message[data-tone=good]{color:#4ade80}.MemoryBattle-module__ZL7egW__message[data-tone=bad]{color:#f87171}.MemoryBattle-module__ZL7egW__grid{gap:clamp(.35rem,1.8vw,.6rem);display:grid}.MemoryBattle-module__ZL7egW__cardCell{perspective:800px;aspect-ratio:3/4;cursor:pointer;background:0 0;border:none;padding:0}.MemoryBattle-module__ZL7egW__cardCell:disabled{cursor:default}.MemoryBattle-module__ZL7egW__cardCell:focus-visible .MemoryBattle-module__ZL7egW__cardInner{outline-offset:2px;outline:3px solid #fbbf24}.MemoryBattle-module__ZL7egW__cardInner{width:100%;height:100%;transform-style:preserve-3d;border-radius:.6rem;transition:transform .42s cubic-bezier(.2,.8,.2,1);position:relative}.MemoryBattle-module__ZL7egW__cardInner[data-flipped=true]{transform:rotateY(180deg)}.MemoryBattle-module__ZL7egW__cardFace{backface-visibility:hidden;border-radius:.6rem;justify-content:center;align-items:center;font-size:clamp(1.4rem,7vw,2.2rem);font-weight:800;display:flex;position:absolute;inset:0}.MemoryBattle-module__ZL7egW__cardBack{color:#94a3b88c;background:linear-gradient(150deg,#1e293b,#334155);border:2px solid #94a3b84d}.MemoryBattle-module__ZL7egW__cardCell:not(:disabled):hover .MemoryBattle-module__ZL7egW__cardBack{border-color:#38bdf8;box-shadow:inset 0 0 18px #38bdf859}.MemoryBattle-module__ZL7egW__cardFront{color:#fff;background:linear-gradient(150deg,#0ea5e9,#2563eb);border:2px solid #ffffff47;transform:rotateY(180deg)}.MemoryBattle-module__ZL7egW__cardMatched .MemoryBattle-module__ZL7egW__cardFront{background:linear-gradient(150deg,#16a34a,#22c55e);border-color:#ffffff59}.MemoryBattle-module__ZL7egW__cardMatched.MemoryBattle-module__ZL7egW__byAi .MemoryBattle-module__ZL7egW__cardFront{background:linear-gradient(150deg,#db2777,#f472b6)}.MemoryBattle-module__ZL7egW__cardMismatch .MemoryBattle-module__ZL7egW__cardFront{animation:.4s MemoryBattle-module__ZL7egW__shake}.MemoryBattle-module__ZL7egW__cardJustMatched .MemoryBattle-module__ZL7egW__cardFront{animation:.45s MemoryBattle-module__ZL7egW__pop}@keyframes MemoryBattle-module__ZL7egW__shake{0%,to{transform:rotateY(180deg)translate(0)}25%{transform:rotateY(180deg)translate(-5px)}75%{transform:rotateY(180deg)translate(5px)}}@keyframes MemoryBattle-module__ZL7egW__pop{0%{transform:rotateY(180deg)scale(1)}50%{transform:rotateY(180deg)scale(1.12)}to{transform:rotateY(180deg)scale(1)}}.MemoryBattle-module__ZL7egW__result{text-align:center;margin-top:1.1rem}.MemoryBattle-module__ZL7egW__resultTitle{margin-bottom:.2rem;font-size:1.9rem;font-weight:800}.MemoryBattle-module__ZL7egW__resultWin{color:#4ade80}.MemoryBattle-module__ZL7egW__resultLose{color:#f472b6}.MemoryBattle-module__ZL7egW__resultDraw{color:#fbbf24}.MemoryBattle-module__ZL7egW__resultSub{color:#94a3b8;font-size:.9rem}.MemoryBattle-module__ZL7egW__buttonRow{flex-wrap:wrap;gap:.75rem;margin-top:1.1rem;display:flex}.MemoryBattle-module__ZL7egW__primaryBtn,.MemoryBattle-module__ZL7egW__secondaryBtn{cursor:pointer;border-radius:.6rem;flex:150px;justify-content:center;align-items:center;gap:.5rem;padding:.75rem 1.25rem;font-size:1rem;font-weight:700;transition:transform .15s,background .15s,filter .15s;display:flex}.MemoryBattle-module__ZL7egW__primaryBtn{color:#04263c;background:#0ea5e9;border:none}.MemoryBattle-module__ZL7egW__primaryBtn:hover{filter:brightness(1.08);transform:translateY(-1px)}.MemoryBattle-module__ZL7egW__secondaryBtn{color:#e2e8f0;background:#334155cc;border:1px solid #64748be6}.MemoryBattle-module__ZL7egW__secondaryBtn:hover{background:#475569e6;transform:translateY(-1px)}@media (prefers-reduced-motion:reduce){.MemoryBattle-module__ZL7egW__cardInner{transition:none}.MemoryBattle-module__ZL7egW__cardMismatch .MemoryBattle-module__ZL7egW__cardFront,.MemoryBattle-module__ZL7egW__cardJustMatched .MemoryBattle-module__ZL7egW__cardFront,.MemoryBattle-module__ZL7egW__turnDot[data-turn]{animation:none}}
