body {
    font-family: 'Microsoft YaHei', sans-serif;
    background-color: #f5f5f5;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    color: #333;
}

.game-container {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    max-width: 600px;
    width: 100%;
}

h1 {
    color: #2c3e50;
    margin-bottom: 20px;
}

.game-info {
    margin-bottom: 20px;
}

.player-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.player {
    display: flex;
    align-items: center;
    font-weight: bold;
}

.player.you {
    color: #2c3e50;
}

.player.ai {
    color: #7f8c8d;
}

.piece {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-right: 8px;
}

.piece.black {
    background-color: black;
    border: 1px solid #333;
}

.piece.white {
    background-color: white;
    border: 1px solid #ddd;
}

.score {
    font-size: 24px;
    font-weight: bold;
    color: #2c3e50;
}

.status {
    font-size: 18px;
    margin: 10px 0;
    padding: 8px;
    background-color: #ecf0f1;
    border-radius: 5px;
}

.cheat-warning {
    background-color: #f39c12;
    color: white;
    padding: 10px;
    border-radius: 5px;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.cheat-warning.hidden {
    opacity: 0;
    height: 0;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

.penalty-bar {
    height: 6px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    margin-top: 8px;
    overflow: hidden;
}

.penalty-progress {
    height: 100%;
    width: 0%;
    background-color: #e74c3c;
    transition: width 0.3s ease;
}

.board {
    display: grid;
    grid-template-columns: repeat(15, 1fr);
    grid-template-rows: repeat(15, 1fr);
    gap: 1px;
    background-color: #deb887;
    border: 2px solid #8b4513;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    position: relative;
}

.cell {
    aspect-ratio: 1/1;
    background-color: rgba(222, 184, 135, 0.8);
    position: relative;
    cursor: pointer;
}

.cell::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

.cell:hover::before {
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
}

.cell.black::before {
    background-color: black;
    border-radius: 50%;
    border: 1px solid #333;
}

.cell.white::before {
    background-color: white;
    border-radius: 50%;
    border: 1px solid #ddd;
}

.game-over {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 100;
    color: white;
}

.game-over.hidden {
    display: none;
}

#continue-btn {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

#continue-btn:hover {
    background-color: #2980b9;
}
/* 其他原有样式保持不变... */

.board {
    display: grid;
    grid-template-columns: repeat(15, 1fr);
    grid-template-rows: repeat(15, 1fr);
    gap: 1px;
    background-color: #dcb35c; /* 棋盘颜色改为木质黄色 */
    border: 2px solid #8b4513;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    position: relative;
    background-image: 
        linear-gradient(to right, #8b4513 1px, transparent 1px),
        linear-gradient(to bottom, #8b4513 1px, transparent 1px);
    background-size: calc(100% / 15) calc(100% / 15);
}

.cell {
    aspect-ratio: 1/1;
    position: relative;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 添加落棋点样式 */
.cell::before {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: #8b4513;
    border-radius: 50%;
    opacity: 0.3;
}

/* 突出显示棋盘上的五个特殊点 */
.cell[data-row="3"][data-col="3"]::before,
.cell[data-row="3"][data-col="11"]::before,
.cell[data-row="7"][data-col="7"]::before,
.cell[data-row="11"][data-col="3"]::before,
.cell[data-row="11"][data-col="11"]::before {
    width: 10px;
    height: 10px;
    opacity: 0.8;
}

.cell:hover::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.1);
}

.cell.black::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    background-color: black;
    border-radius: 50%;
    border: 1px solid #333;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
}

.cell.white::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    background-color: white;
    border-radius: 50%;
    border: 1px solid #ddd;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
}

/* 其他原有样式保持不变... */