.mah-memory-wrap{max-width:760px;margin:32px auto;padding:clamp(18px,4vw,34px);background:#f5f3e9;border:1px solid #dce2d4;border-radius:24px;color:#354b38;font-family:inherit;box-shadow:0 12px 35px rgba(45,67,47,.08)}
.mah-memory-heading{text-align:center}.mah-memory-kicker{font-size:11px;letter-spacing:2px;color:#75866d;font-weight:700}.mah-memory-heading h2{font-size:clamp(25px,4vw,36px);margin:8px 0;color:#405b43}.mah-memory-heading p{margin:0 0 20px;color:#687765}.mah-memory-stats{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;background:#e7ecdf;padding:12px 15px;border-radius:14px;font-size:14px}.mah-memory-stats button,.mah-memory-prize button{border:0;border-radius:999px;padding:10px 18px;background:#405b43;color:#fff;cursor:pointer;font:inherit}.mah-memory-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:18px auto;max-width:540px}.mah-memory-card{aspect-ratio:1/1;border:1px solid #d5dece;border-radius:15px;background:#49664c;color:#f7f4e9;display:grid;place-items:center;font-size:clamp(25px,6vw,42px);cursor:pointer;transition:transform .18s,background .18s;box-shadow:0 3px 8px rgba(35,55,38,.12)}.mah-memory-card:focus-visible{outline:3px solid #b79b5b;outline-offset:3px}.mah-memory-card.is-open,.mah-memory-card.is-matched{background:#fffdf5;color:#405b43;border-color:#aab99e;transform:rotateY(0)}.mah-memory-card.is-matched{background:#e4ebdd;cursor:default}.mah-memory-message{text-align:center;min-height:28px;color:#596d55;font-weight:600}.mah-memory-prize{margin-top:18px;text-align:center;background:#fffdf5;border:2px solid #c6d2bc;border-radius:20px;padding:24px 16px}.mah-memory-prize[hidden]{display:none}.mah-prize-star{font-size:34px;color:#b59a5d}.mah-memory-prize h3{font-size:25px;margin:5px 0;color:#405b43}.mah-memory-prize strong{display:block;direction:ltr;font-size:22px;letter-spacing:.5px;background:#edf1e8;border:1px dashed #9eaf95;border-radius:10px;padding:12px;margin:14px auto;max-width:300px;user-select:all}.mah-memory-prize small{display:block;margin-top:12px;color:#687765}.mah-memory-prize button{background:#a58a4e}@media(max-width:480px){.mah-memory-grid{gap:7px}.mah-memory-card{border-radius:11px}.mah-memory-stats{font-size:12px}}
