#mm2{margin:1.5rem 0;font-family:inherit;color:#1a1a1a}
#mm2 *{box-sizing:border-box}
#mm2 .mm2-bar{display:flex;flex-wrap:wrap;gap:.6rem;align-items:center;margin-bottom:1rem}
#mm2 .mm2-toggle{display:inline-flex;border:1px solid #51B1AB;border-radius:999px;overflow:hidden}
#mm2 .mm2-toggle button{border:0;background:#fff;color:#51B1AB;padding:.45rem 1rem;font-size:.9rem;cursor:pointer;font-family:inherit}
#mm2 .mm2-toggle button.is-active{background:#51B1AB;color:#fff}
#mm2 .mm2-pill{display:inline-block;background:#51B1AB;color:#fff;border-radius:999px;padding:.3rem .8rem;font-size:.8rem}
#mm2 .mm2-actions{margin-left:auto;display:inline-flex;gap:.5rem}
#mm2 .mm2-actions button{background:#fff;border:1px solid #d0d0d0;padding:.4rem .9rem;font-size:.9rem;cursor:pointer;font-family:inherit;color:#1a1a1a}
#mm2 .mm2-actions button:hover{border-color:#51B1AB;color:#51B1AB}
#mm2 .mm2-main{display:flex;flex-wrap:wrap;gap:1.5rem;align-items:flex-start}
#mm2 .mm2-gridwrap{flex:1 1 320px;max-width:560px}
#mm2 .mm2-grid{display:grid;gap:3px;width:100%;user-select:none;-webkit-user-select:none;touch-action:none}
#mm2 .mm2-cell{aspect-ratio:1/1;display:flex;align-items:center;justify-content:center;background:#fff;border:1px solid #d0d0d0;border-radius:3px;color:#1a1a1a;font-size:clamp(.85rem,2.8vw,1.2rem);line-height:1;cursor:pointer}
#mm2 .mm2-grid.mm2-ipa .mm2-cell{font-family:'Charis SIL','Gentium Plus','Doulos SIL',serif}
#mm2 .mm2-cell,#mm2 .mm2-list li{font-weight:400}
#mm2 .mm2-cell:hover{background:#f0fafa}
#mm2 .mm2-cell.f0{background:#bfe5e2}
#mm2 .mm2-cell.f1{background:#f7d9a8}
#mm2 .mm2-cell.f2{background:#d6c8ef}
#mm2 .mm2-cell.f3{background:#f4c1c1}
#mm2 .mm2-cell.f4{background:#cfe3a7}
#mm2 .mm2-cell.f5{background:#b7d3f2}
#mm2 .mm2-cell.is-solution{background:#fff3cd;border:1px dashed #c9a227}
#mm2 .mm2-cell.is-sel{background:#51B1AB;border-color:#51B1AB;color:#fff}
#mm2 .mm2-cell.is-bad{background:#f4c1c1;border-color:#d46a6a}
#mm2 .mm2-list{flex:1 1 220px}
#mm2 .mm2-label{font-size:.75rem;letter-spacing:.04em;text-transform:uppercase;color:#51B1AB;margin-bottom:.5rem}
#mm2 .mm2-list ul{list-style:none;margin:0;padding:0}
#mm2 .mm2-list li{border:1px solid #d0d0d0;background:#fff;padding:.45rem .7rem;margin-bottom:.45rem;font-size:.95rem}
#mm2 .mm2-list.mm2-ipa li{font-family:'Charis SIL','Gentium Plus','Doulos SIL',serif;font-size:1.05rem}
#mm2 .mm2-list li.is-done{background:#e6f5f4;border-color:#51B1AB;color:#51B1AB;text-decoration:line-through}
#mm2 .mm2-list li.is-revealed{background:#fff3cd;border-color:#c9a227;color:#7a5f00}
#mm2 .mm2-msg{min-height:1.4rem;margin-top:.8rem;font-size:.95rem;color:#51B1AB}
