.zhendi-grid {
  position:relative;
  width:100%;
}

#attackFrame {
  position:absolute;
  z-index:3;
  box-sizing:border-box;
  border:2px solid #ad7622;
  border-radius:5px;
  background:#dca3401a;
  pointer-events:none;
}

#attackFrame[hidden] {
  display:none;
}

.game-zhendi .stats {
  flex-wrap:wrap;
  gap:6px 12px;
}

@media (min-width:780px) and (min-height:540px) {
  .board-fullscreen .game-zhendi .fullscreen-stage .zhendi-grid {
    width:min(100%,calc(var(--zhendi-width-ratio,110)*1cqh - 2px));
  }

  .board-fullscreen .game-zhendi .fullscreen-stage .zhendi-grid #board {
    width:100%;
  }
}
.game-zhendi {
  overflow-x:clip;
}

