/* Killer sudoku (js/games/killer-sudoku.js). The grid and number pad are sudoku's
 * (css/games/sudoku.css, loaded with this file); here only the cages: a dotted line just
 * inside each square on the sides where the next square belongs to another cage, and the
 * cage's sum in the corner of its top-left square. */
.sd-cell::after {
  content: ''; position: absolute; pointer-events: none;
  top: -2px; right: -2px; bottom: -2px; left: -2px;
  border: 1.5px dashed transparent;
}
.sd-cell.ks-t::after { top: 9%; border-top-color: var(--ink-muted); }
.sd-cell.ks-b::after { bottom: 9%; border-bottom-color: var(--ink-muted); }
.sd-cell.ks-l::after { left: 9%; border-left-color: var(--ink-muted); }
.sd-cell.ks-r::after { right: 9%; border-right-color: var(--ink-muted); }
.ks-sum {
  position: absolute; top: 2%; left: 4%; z-index: 1; padding: 0 2px; border-radius: 3px;
  background: inherit; color: var(--ink);
  font: 600 calc(var(--sd-g) / 9 * .24) / 1.1 var(--font-sans); font-variant-numeric: tabular-nums;
}
.sd-cell.is-sel .ks-sum, .sd-cell.is-peer .ks-sum, .sd-cell.is-same .ks-sum, .sd-cell.is-unit .ks-sum { background: inherit; }
/* pencil marks sit a little lower where the sum is */
.ks-has-sum .sd-notes { padding-top: 26%; }
.sd-box { overflow: hidden; }
