.number-match-memory{--nmm-purple:#6540a8;--nmm-deep:#342263;background:linear-gradient(180deg,#6d50bc,#b7a8ee 68%,#59428e 0)}.number-match-memory .prek-immersive-heading p{color:#6d56aa}.number-match-memory.is-immersive .prek-machine{background:#7b5bc6;box-shadow:0 10px 0 #54359d,0 22px 42px #34205d66}.number-match-memory.is-immersive .prek-prompt,.number-match-memory.is-immersive .prek-status{color:#3e296d;background:#fffaf0ed;box-shadow:0 7px 20px #28184f45}.number-match-memory.is-immersive .prek-stars svg{color:#8f82b7;fill:#ded7f5}.number-match-memory.is-immersive .prek-stars svg.is-done{color:#d69017;fill:#ffe168}.number-match-memory.is-immersive .prek-stars svg.is-current{color:#d94983;fill:#ff9ac0}.nmm-scene{position:absolute;z-index:0;inset:0;min-height:0;overflow:hidden;color:#fff;isolation:isolate}.nmm-background{z-index:-4;object-fit:cover;object-position:center;user-select:none}.nmm-scene-shade{position:absolute;z-index:-2;inset:0;pointer-events:none;background:linear-gradient(180deg,#3d276629 0 19%,transparent 39% 75%,#30205240 100%)}.nmm-board{position:absolute;z-index:10;top:139px;left:50%;display:grid;grid-template-columns:repeat(3,minmax(0,142px));gap:15px 18px;width:min(470px,calc(100% - 310px));justify-content:center;transform:translateX(-50%)}.nmm-card{position:relative;width:142px;height:177px;padding:0;cursor:pointer;border:0;border-radius:28px;background:transparent;font:inherit;perspective:900px;touch-action:manipulation;-webkit-tap-highlight-color:transparent}.nmm-card:focus-visible{outline:7px solid #fff367;outline-offset:5px}.nmm-card:hover:not(:disabled):not(.is-open) .nmm-card-inner{transform:translateY(-6px) rotateY(0);filter:brightness(1.07)}.nmm-card:active:not(:disabled) .nmm-card-inner{transform:translateY(3px) scale(.97)}.nmm-card:disabled{cursor:default}.nmm-card-inner{position:absolute;inset:0;display:block;transition:transform .52s cubic-bezier(.2,.78,.25,1),filter .18s ease;transform-style:preserve-3d}.nmm-card.is-open .nmm-card-inner{transform:rotateY(180deg)}.nmm-card.is-wrong .nmm-card-inner{animation:nmm-card-wrong .48s ease}.nmm-card.is-matched .nmm-card-inner{filter:drop-shadow(0 0 14px #ffe783);transform:none}.nmm-card.is-matched .nmm-card-back{visibility:hidden;opacity:0}.nmm-card.is-matched .nmm-card-front{backface-visibility:visible;transform:none}.nmm-card-back,.nmm-card-front{position:absolute;inset:0;display:grid;overflow:hidden;place-items:center;border-radius:28px;backface-visibility:hidden}.nmm-card-back img{object-fit:contain}.nmm-card-front{border:5px solid #fff7bf;color:var(--nmm-deep);background:linear-gradient(150deg,#fffdf0,#dcf8f4 60%,#c8c1f1);box-shadow:inset 0 -11px #7c71b94a,0 8px 13px #281a5f66;transform:rotateY(180deg)}.nmm-card-front:before{position:absolute;inset:6px;content:"";border:2px solid #7656bd4d;border-radius:19px;pointer-events:none}.nmm-numeral{font-size:clamp(52px,6vw,74px);font-weight:1000;line-height:1;text-shadow:0 5px #ffffff,0 8px #9182c8}.nmm-dots{display:grid;grid-template-columns:repeat(3,23px);gap:10px;place-content:center}.nmm-dots i{width:23px;height:23px;border:3px solid #fff;border-radius:50%;background:linear-gradient(145deg,#ff94b9,#d74782);box-shadow:inset 0 3px #ffffff73,0 3px #8b3466}.nmm-ten-frames{display:grid;gap:6px;width:112px}.nmm-ten-frame{display:grid;grid-template-columns:repeat(5,1fr);gap:3px;padding:5px;border:4px solid #6550a0;border-radius:11px;background:#fffdf8}.nmm-ten-frame i{aspect-ratio:1;border:2px solid #a5a0c8;border-radius:50%;background:#eceaf6}.nmm-ten-frame i.is-filled{border-color:#209f99;background:linear-gradient(145deg,#7cf0dc,#32bdb5);box-shadow:inset 0 2px #ffffff75}.nmm-base-ten{display:flex;max-width:118px;align-items:center;justify-content:center;gap:7px}.nmm-rods{display:flex;gap:4px}.nmm-rod{display:grid;width:22px;grid-template-rows:repeat(10,8px);gap:1px;padding:3px;border:2px solid #c36b31;border-radius:7px;background:#f6a748;box-shadow:0 3px #95512b}.nmm-rod i{border-radius:2px;background:#ffd66d;box-shadow:inset 0 1px #fff3b0}.nmm-ones{display:grid;grid-template-columns:repeat(3,15px);gap:4px}.nmm-ones i{width:15px;height:15px;border:2px solid #2c9b97;border-radius:4px;background:#72e1d3;box-shadow:inset 0 2px #d6fff9,0 2px #1c6f72}.nmm-match-star{position:absolute;top:6px;right:7px;color:#ffb91f;font-size:28px;line-height:1;text-shadow:0 2px #8b4a24,0 0 8px #fff8a2;animation:nmm-star-pop .42s cubic-bezier(.2,1.4,.4,1)}.nmm-cherry{position:absolute;z-index:16;bottom:0;left:clamp(-28px,-1.2vw,-10px);width:clamp(216px,25.2vw,273.6px);aspect-ratio:1;pointer-events:none;filter:drop-shadow(0 12px 9px #27165052);animation:nmm-cherry-breathe 3.2s ease-in-out infinite}.nmm-cherry img{object-fit:contain;object-position:center bottom}.nmm-cherry.is-happy{animation:nmm-cherry-cheer .7s cubic-bezier(.2,1.4,.4,1)}.nmm-cherry.is-wrong{animation:nmm-cherry-wrong .5s ease}.nmm-feedback{position:absolute;z-index:18;right:13%;bottom:12px;left:17%;min-height:28px;margin:0;color:#fff;text-align:center;font-size:clamp(17px,2vw,23px);font-weight:1000;line-height:1.2;text-shadow:0 3px #352160,0 0 10px #261849}@keyframes nmm-card-wrong{25%{transform:rotateY(180deg) translateX(-7px) rotate(-1deg)}65%{transform:rotateY(180deg) translateX(7px) rotate(1deg)}}@keyframes nmm-star-pop{0%{opacity:.2;transform:scale(.35) rotate(-18deg)}}@keyframes nmm-cherry-breathe{50%{transform:translateY(-6px) scale(1.015)}}@keyframes nmm-cherry-cheer{48%{transform:translateY(-15px) rotate(4deg) scale(1.055)}}@keyframes nmm-cherry-wrong{30%{transform:translateX(-6px) rotate(-3deg)}70%{transform:translateX(5px) rotate(2deg)}}@media (max-width:1000px){.nmm-board{top:163px;width:min(470px,calc(100% - 80px))}.nmm-cherry{width:220.8px}}@media (max-width:700px){.nmm-board{top:157px;grid-template-columns:repeat(3,minmax(0,104px));gap:11px 8px;width:calc(100% - 20px)}.nmm-card{width:104px;height:132px}.nmm-card,.nmm-card-back,.nmm-card-front{border-radius:22px}.nmm-card-front{border-width:4px}.nmm-card-front:before{inset:4px;border-radius:15px}.nmm-numeral{font-size:50px}.nmm-dots{grid-template-columns:repeat(3,17px);gap:6px}.nmm-dots i{width:17px;height:17px;border-width:2px}.nmm-ten-frames{width:82px;gap:4px}.nmm-ten-frame{gap:2px;padding:3px;border-width:3px;border-radius:8px}.nmm-base-ten{max-width:89px;gap:4px;transform:scale(.82)}.nmm-cherry{left:-23px;width:146.4px}.nmm-feedback{right:3%;bottom:7px;left:26%;font-size:15px}}@media (max-width:390px){.nmm-board{top:153px;grid-template-columns:repeat(3,minmax(0,92px));gap:9px 7px}.nmm-card{width:92px;height:119px}.nmm-card,.nmm-card-back,.nmm-card-front{border-radius:19px}.nmm-numeral{font-size:44px}.nmm-dots{grid-template-columns:repeat(3,15px);gap:5px}.nmm-dots i{width:15px;height:15px}.nmm-ten-frames{width:74px}.nmm-rod{width:19px;grid-template-rows:repeat(10,7px)}.nmm-ones{grid-template-columns:repeat(3,13px);gap:3px}.nmm-ones i{width:13px;height:13px}.nmm-cherry{width:132px}.nmm-feedback{left:28%;font-size:13px}}@media (max-height:760px) and (orientation:landscape){.nmm-board{top:117px;grid-template-columns:repeat(3,minmax(0,118px));gap:9px 12px;width:min(395px,calc(100% - 260px))}.nmm-card{width:118px;height:147px}.nmm-ten-frames{width:94px}.nmm-cherry{width:174px}}@media (prefers-reduced-motion:reduce){.nmm-card-inner,.nmm-card.is-wrong .nmm-card-inner,.nmm-card:hover:not(:disabled):not(.is-open) .nmm-card-inner,.nmm-cherry,.nmm-match-star{animation:none;transition-duration:.01ms}}