* {
	margin: 0;
	padding: 0;
}

body {
    background-color: #ffffff;;
	font-family: "wf_SegoeUI","Segoe UI","Segoe","Segoe WP","Tahoma","Verdana","Arial","sans-serif";
}

nav {
	margin: 10px auto 0;
	width: 990px;
	height: 25px;
}

nav ul li {
	list-style-type: none;
	display: inline-block;
	text-align: center;
}

nav a {
			padding: 0 0 0 0;
			width: 150px;
			height: 25px;
			font-size: 1.5em;
			line-height: 25px;
			text-decoration: none;
			color: #000000;
			display: inline-block;
}

nav a:hover {
	background-color: #89ee4e;
}

#game {
    width: 100vw; /* 游戏区域宽度占满屏幕 */
    height: 100vh; /* 游戏区域高度占满屏幕高度 */
    margin: 0; /* 清除边距 */
    padding: 0;
    background-color: #fbfaf8;
    display: flex; /* 使用flex布局 */
    justify-content: center; /* 水平居中 */
    align-items: center; /* 垂直居中 */
}

#controls {
    position: absolute; /* 绝对定位 */
    bottom: 0; /* 放置在游戏区域底部 */
    background-color: #ddd; /* 设置操作信息显示区域的背景色 */
}
#board {
	background: url("board.svg");
	background-size: 630px 700px;
	height: 700px;
	width: 630px;
    float: right;
}




.board_space {
	width: 64px;
	height: 64px;
	padding: 3px;
	float: right;
}

.occupied:hover {
	background-color: rgba(0, 0, 255, .9);
	cursor: pointer;
}

.valid_move {
	background-color: rgba(100, 255, 100, .9);
    cursor: pointer;
}

.valid_move:hover {
	background-color: rgba(0, 255, 0, .9);
}

.selected {
	background-color: rgba(100, 100, 255, .9);
}
