/* Twelve gods uses the same frame, nine fixed rows and box model as standard shogi. */
html[data-practice-game=kishin] #board-frame{box-sizing:border-box;width:min(100%,calc(var(--width,9)*72px + 40px));max-width:100%;min-width:0;grid-template-columns:minmax(0,1fr) 24px;grid-template-rows:26px auto;margin:0 auto;padding:7px}
html[data-practice-game=kishin] #board{display:grid!important;box-sizing:content-box!important;width:calc(100% - 10px)!important;height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:var(--width,9)/9!important;grid-template-columns:repeat(var(--width,9),minmax(0,1fr))!important;grid-template-rows:repeat(9,minmax(0,1fr))!important;border:5px solid transparent!important;margin:0!important}
html[data-practice-game=kishin] #board .square{min-width:0!important;min-height:0!important;padding:0!important;margin:0!important;overflow:hidden}
html[data-practice-game=kishin] #board .kishin-disc{min-width:0;min-height:0;max-width:85%;max-height:90%}
@media(max-width:600px){html[data-practice-game=kishin] #board-frame{grid-template-columns:minmax(0,1fr) 20px;grid-template-rows:22px auto;padding:4px}}
