.mn-scroll { overflow-x: auto; padding-bottom: 4px; }
.mn-board { --cols: 9; display: grid; grid-template-columns: repeat(var(--cols), minmax(22px, 1fr)); gap: 2px; margin: 0 auto; background: #d9e2df; padding: 3px; border-radius: 12px; width: fit-content; min-width: 100%; max-width: 100%; }
.mn-board[data-level="facil"] { max-width: 460px; min-width: 0; width: 100%; }
.mn-board[data-level="medio"] { max-width: 620px; min-width: 0; width: 100%; }
.mn-board[data-level="dificil"] { max-width: none; }
@media (min-width: 760px) { .mn-board[data-level="dificil"] { grid-template-columns: repeat(var(--cols), 26px); min-width: 0; } }
.mn-cell { aspect-ratio: 1; border: 0; padding: 0; border-radius: 3px; background: #a9cfc3; color: #fff; font: 700 clamp(.8rem, 2.6vw, 1.15rem)/1 var(--font-display); cursor: pointer; box-shadow: inset 0 -3px 0 rgba(0,0,0,.18), inset 0 2px 0 rgba(255,255,255,.25); touch-action: manipulation; -webkit-user-select: none; user-select: none; }
.mn-cell:hover { background: #bcdad0; }
.mn-cell.open { background: var(--ivory); box-shadow: none; cursor: default; }
.mn-cell.flag { color: var(--red); background: #a9cfc3; font-size: clamp(.8rem, 2.6vw, 1.1rem); }
.mn-cell.mine { background: #f3d4d6; color: #14211e; }
.mn-cell.boom { background: var(--red); color: #fff; }
.mn-cell.wrong { background: #f2d06b; text-decoration: line-through; }
.mn-cell[data-n="1"] { color: #1f5fbf; } .mn-cell[data-n="2"] { color: #1d8a4e; } .mn-cell[data-n="3"] { color: #c8323a; }
.mn-cell[data-n="4"] { color: #5a2ea6; } .mn-cell[data-n="5"] { color: #8a3b12; } .mn-cell[data-n="6"] { color: #0e7c86; }
.mn-cell[data-n="7"] { color: #14211e; } .mn-cell[data-n="8"] { color: #6b6b6b; }
:root[data-theme="dark"] .mn-cell[data-n="1"] { color: #79a8ff; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .mn-cell[data-n="1"] { color: #79a8ff; } :root:not([data-theme="light"]) .mn-cell[data-n="2"] { color: #4fd18a; } :root:not([data-theme="light"]) .mn-cell[data-n="3"] { color: #ff7a80; } :root:not([data-theme="light"]) .mn-cell[data-n="4"] { color: #b996ff; } }
