/* Two-column command group: salvo, BIO, SOS; movement aligned to BIO. */
.hex-command-side{display:grid;grid-template-columns:repeat(2,54px);grid-template-rows:26px repeat(3,62px);column-gap:8px;row-gap:2px;flex:0 0 116px;align-items:center;justify-items:center;align-content:start}
.hex-command-side .hex-command-close{grid-column:1;grid-row:1}
.hex-command-side .hex-command-salvo{grid-column:1;grid-row:2}
.hex-command-side .hex-command-bio{grid-column:1;grid-row:3}
.hex-command-side .hex-command-help{grid-column:1;grid-row:4}
.hex-command-side .hex-command-move{grid-column:2;grid-row:3;margin:0}
@media(max-width:720px),(max-height:700px){.hex-command-side{grid-template-columns:repeat(2,46px);grid-template-rows:26px repeat(3,52px);column-gap:6px;flex-basis:98px}}
@media(max-width:720px){
  .hex-command{position:fixed;left:6px;bottom:calc(var(--chat-height, 250px) + 8px);max-height:min(72dvh,calc(100dvh - var(--chat-height, 250px) - 16px))}
}
@media(max-width:720px){.battle-board:has(.hex-command){transform:none}}
