.lme-memory {max-width:680px; padding:clamp(16px,3vw,30px);box-sizing:border-box;border:1px solid #b8c5b7;background:#fffdf6;border-radius:12px;color:#193e2e}
.lme-memory h2,.lme-memory p {margin:0 0 .7rem}
.lme-memory-board {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.lme-memory-board button {padding:0;cursor:pointer;aspect-ratio:1.55;border:2px solid #193e2e;border-radius:8px;overflow:hidden;background:#193e2e;color:#f8dc25;font:bold 1.8rem/1 system-ui}
.lme-memory-board button[aria-pressed=true] {background:#f7f4e9}
.lme-memory-board button[data-matched] {border:4px solid #668247;cursor:default}
.lme-memory-board img {display:block;width:100%;height:100%;object-fit:contain}
.lme-memory .lme-memory-status {min-height:1.5em;margin:.7rem 0}
.lme-memory-restart,.lme-memory summary {min-height:44px;cursor:pointer}
.lme-memory-restart {padding:.6rem 1rem;border:0;border-radius:4px;background:#f8dc25;color:#193e2e;font:600 1rem system-ui}
.lme-memory summary {display:list-item;padding-top:.7rem}
