/* ============================================
   go.css —— 围棋游戏专属样式
   与全站 style.css 配合使用
   ============================================ */

.go-container {
    background: #fff;
    padding: 25px 30px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.go-controls {
    margin-bottom: 15px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.go-controls select,
.go-controls button {
    padding: 8px 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    background-color: #fff;
    font-family: inherit;
}

.go-controls button {
    background-color: #3498db;
    color: #fff;
    border: none;
    font-weight: 600;
    transition: background-color 0.2s;
}

.go-controls button:hover {
    background-color: #2980b9;
}

#reset-btn {
    background-color: #e74c3c;
}

#reset-btn:hover {
    background-color: #c0392b;
}

#board-canvas {
    background: #dcb35c;
    /* 原木色棋盘背景 */
    border: 3px solid #8b5a2b;
    /* 深棕色边框 */
    cursor: pointer;
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    /* 轻微阴影，更有质感 */
}

#status {
    margin: 12px 0;
    font-weight: bold;
    min-height: 1.5em;
    color: #333;
    font-size: 1rem;
}