/* masyu (P0297) - loop board adapted from the Loop puzzle (B74) */
.ms-row { margin: 8px 0; }
.ms-lab { font-weight: bold; margin-right: 6px; }
.ms-sel, .ms-in { min-height: 46px; padding: 0 8px; border: 2px solid #8C96A6; border-radius: 10px; font: inherit; background: #FFFFFF; margin: 0 10px 8px 0; box-sizing: border-box; }
.ms-in { width: 7em; }
.ms-btn { min-height: 46px; padding: 0 14px; border: 2px solid #24334B; border-radius: 10px; background: #24334B; color: #FFFFFF; font: inherit; font-weight: bold; cursor: pointer; margin: 0 6px 8px 0; }
.ms-btn.ms-ghost { background: #FFFFFF; color: #24334B; }
#ms-mode[aria-pressed="true"] { background: #3B6970; color: #FFFFFF; border-color: #3B6970; }
.ms-wrap { margin: 6px 0; }
.ms-board { display: block; width: 100%; max-width: 520px; height: auto; touch-action: manipulation; cursor: pointer; border-radius: 10px; }
.ms-board:focus { outline: 3px solid #8A5A1F; outline-offset: 2px; }
.ms-bg { fill: #FFFFFF; }
.ms-cur { fill: #EEF4F3; }
.ms-grid { stroke: #C9D1DB; stroke-width: 1; }
.ms-line { stroke: transparent; stroke-width: 7; stroke-linecap: round; }
.ms-x { stroke: transparent; stroke-width: 2.5; fill: none; }
.ms-on .ms-line { stroke: #3B6970; }
.ms-off .ms-x { stroke: #8A5A1F; }
.ms-wrong .ms-line { stroke-dasharray: 6 5; stroke: #8A5A1F; }
.ms-wrong .ms-x { stroke-dasharray: 3 2; }
.ms-pearl { stroke: #24334B; stroke-width: 3; pointer-events: none; }
.ms-black { fill: #24334B; }
.ms-white { fill: #FFFFFF; }
.ms-good { stroke: #8C96A6; }
.ms-black.ms-good { fill: #4A5568; }
.ms-bad { stroke: #8A5A1F; stroke-dasharray: 5 3; stroke-width: 4; }
