body {
    background-color: #f0f0f0;
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    display: flex;
    justify-content: center;
}

.container {
    text-align: center;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.board {
    width: 450px;
    height: 500px;
    background-color: #e3c498; /* 棋盘木纹底色 */
    margin: 20px auto;
    position: relative;
    border: 2px solid #333;
}

/* 棋子通用样式 */
.piece {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
    border: 2px solid #333;
}

/* 黑白区分 */
.piece.white {
    background-color: #ffffff;
    color: #333;
}

.piece.black {
    background-color: #333333;
    color: #fff;
}

/* 棋子选中高亮效果 */
.piece.selected {
    box-shadow: 0 0 10px red, 2px 2px 5px rgba(0,0,0,0.3);
    border-color: red;
    transform: scale(1.05);
    transition: all 0.1s ease;
}