/* Mastermind (wwwroot/js/mastermind.js): rows of round pegs, hints as small black / white dots. Colours also carry a symbol, so they do not rely on colour alone. */
.mm-history { display: flex; flex-direction: column; gap: 6px; margin-bottom: 10px; }
.mm-row { display: flex; align-items: center; justify-content: center; gap: 10px; }
.mm-pegs { display: flex; gap: 6px; }
.mm-peg { width: 44px; height: 44px; border-radius: 50%; border: 2px solid rgba(0, 0, 0, .35); display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.2rem; font-weight: 700; color: #fff; text-shadow: 0 0 3px rgba(0, 0, 0, .7); padding: 0; background: #e9ecef; }
.mm-current .mm-peg { cursor: pointer; border-style: dashed; }
.mm-current .mm-peg.mm-filled { border-style: solid; }
.mm-current .mm-peg.mm-active { outline: 3px solid #228be6; outline-offset: 2px; }
.mm-current .mm-peg.mm-hint { outline: 4px solid #ff6b6b; outline-offset: 2px; }
.mm-current { display: flex; justify-content: center; gap: 6px; margin-bottom: 12px; }
.mm-palette { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 12px; }
.mm-palette .mm-peg { cursor: pointer; }
.mm-palette .mm-peg:focus-visible, .mm-current .mm-peg:focus-visible { outline: 3px solid #212529; outline-offset: 2px; }
.mm-score { display: grid; grid-template-columns: repeat(3, 14px); gap: 3px; min-width: 56px; }
/* Three clearly different dots: black (right place), white with a thick dark ring (right colour, wrong place), a small grey dot (no hit). */
.mm-dot { width: 14px; height: 14px; box-sizing: border-box; border-radius: 50%; background: #ced4da; transform: scale(.45); }
.mm-dot.mm-black { background: #212529; transform: none; }
.mm-dot.mm-white { background: #fff; border: 3px solid #212529; transform: none; }
.mm-legend { text-align: center; margin: 4px 0 10px; }
.mm-legend .mm-dot { display: inline-block; vertical-align: middle; margin: 0 2px; }
.mm-secret { display: flex; justify-content: center; margin: 12px 0; }
.mm-c0 { background: #e03131; } .mm-c1 { background: #1c7ed6; } .mm-c2 { background: #2f9e44; } .mm-c3 { background: #f08c00; }
.mm-c4 { background: #7048e8; } .mm-c5 { background: #0c8599; } .mm-c6 { background: #c2255c; } .mm-c7 { background: #5c3d2e; }
@media (max-width: 420px) { .mm-peg { width: 38px; height: 38px; } }
