.memory-game .memory-tile{display:inline-grid;place-items:center;min-width:42px;min-height:42px;padding:.35em;background:#ede4ff;border-radius:8px;font-weight:650}
.memory-grid{width:min(100%,390px);display:grid;grid-template-columns:repeat(var(--memory-side),minmax(0,1fr));gap:3px;margin:0 auto 8px}
.memory-grid .memory-tile,.memory-grid .wave-button{min-width:0;min-height:0;padding:0;aspect-ratio:1;border-radius:6px}
.memory-grid .wave-button[aria-pressed="true"]{background:#e8d7ff;color:#462388}
.memory-choices{flex-basis:100%;display:flex;gap:8px;justify-content:center;flex-wrap:wrap}
.memory-game .memory-grid{flex-basis:100%}
