/* jungle - B105 square-board kit v2 (Seega, Dara, Lines of Action) */
.sb-tool .controls label { font-weight: bold; margin-right: 4px; }
.sb-count { font-weight: bold; color: #3B6970; }
.sb-wrap { overflow-x: auto; }
.sb-board { border-collapse: collapse; border: 4px solid #24334B; margin: 6px 0; }
.sb-board td { padding: 0; }
.sb-lt { background: #F3E6C9; } .sb-dk { background: #DCC394; }
.sb-mark { background: #C9A97A; }
.sb-sq { display: block; width: 50px; height: 50px; margin: 0; padding: 0; border: 0; background: transparent; cursor: pointer; position: relative; }
.sb-sq:focus { outline: 3px solid #24334B; outline-offset: -3px; }
.sb-pw:after, .sb-pb:after { content: ""; position: absolute; left: 9px; top: 9px; width: 32px; height: 32px; border-radius: 50%; box-sizing: border-box; }
.sb-pw:after { background: #FBF7EE; border: 3px solid #24334B; }
.sb-pb:after { background: #24334B; border: 3px solid #F7F5F0; }
.sb-sel { box-shadow: inset 0 0 0 4px #3B6970; }
.sb-t:before { content: ""; position: absolute; left: 19px; top: 19px; width: 12px; height: 12px; border-radius: 50%; background: #3B6970; z-index: 2; }
.sb-take { box-shadow: inset 0 0 0 4px #A3271F; }
.sb-take:before { content: "\00D7"; position: absolute; left: 0; right: 0; top: 10px; text-align: center; font-size: 26px; font-weight: bold; color: #A3271F; z-index: 2; }
.sb-last { box-shadow: inset 0 0 0 3px #8A5A1F; }
.sb-row button { min-height: 44px; padding: 0 14px; border: 2px solid #24334B; border-radius: 10px; background: #FFFFFF; color: #24334B; font: inherit; font-weight: bold; cursor: pointer; margin: 0 6px 6px 0; }
.sb-n8 .sb-sq { width: 44px; height: 44px; } .sb-n8 .sb-pw:after, .sb-n8 .sb-pb:after { left: 7px; top: 7px; width: 30px; height: 30px; } .sb-n8 .sb-t:before { left: 16px; top: 16px; } .sb-n8 .sb-take:before { top: 7px; }
@media (max-width: 480px) {
  .sb-sq, .sb-n8 .sb-sq { width: 40px; height: 40px; }
  .sb-pw:after, .sb-pb:after, .sb-n8 .sb-pw:after, .sb-n8 .sb-pb:after { left: 6px; top: 6px; width: 28px; height: 28px; }
  .sb-t:before, .sb-n8 .sb-t:before { left: 14px; top: 14px; }
  .sb-take:before, .sb-n8 .sb-take:before { top: 5px; }
}
/* kit v2: labelled pieces and special squares */
.sb-sq.sb-pw, .sb-sq.sb-pb { font: bold 13px/50px 'Segoe UI', Tahoma, sans-serif; text-align: center; }
.sb-sq { z-index: 0; }
.sb-sq.sb-pw:after, .sb-sq.sb-pb:after { z-index: -1; }
.sb-sq.sb-pb { color: #FFFFFF; }
.sb-sq.sb-pw { color: #24334B; }
.sb-water { background: #A9CBE0; }
.sb-trap { background: #E8C98F; }
.sb-den { background: #C38B4A; }
.sb-n9 .sb-sq { width: 46px; height: 46px; } .sb-n9 .sb-pw:after, .sb-n9 .sb-pb:after { left: 8px; top: 8px; width: 30px; height: 30px; } .sb-n9 .sb-t:before { left: 17px; top: 17px; } .sb-n9 .sb-take:before { top: 8px; }
.sb-lab .sb-sq { font-size: 12px; line-height: 50px; }
@media (max-width: 480px) {
  .sb-n9 .sb-sq { width: 35px; height: 35px; } .sb-n9 .sb-pw:after, .sb-n9 .sb-pb:after { left: 4px; top: 4px; width: 27px; height: 27px; } .sb-n9 .sb-t:before { left: 12px; top: 12px; } .sb-n9 .sb-take:before { top: 3px; }
  .sb-lab .sb-sq { font-size: 11px; line-height: 40px; }
}
/* Jungle: blue and red sides */
.sb-sq.sb-pw:after { background: #D6E6F5; border-color: #2F5F8A; }
.sb-sq.sb-pw { color: #1E3F5E; }
.sb-sq.sb-pb:after { background: #B23A2E; border-color: #FBF1E4; }
.sb-sq.sb-pb { color: #FFFFFF; }
