/* ==================== 棋盘容器样式 ==================== */
.board-container {
    position: relative;
    display: inline-block;
    max-width: 100%;
    max-height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

/* ==================== 棋盘SVG样式 ==================== */
.go-board {
    display: block;
    margin: 0;
    padding: 0;
    border: none;
    max-width: 100%;
    max-height: 100%;
}

/* 围棋棋盘样式 */
.go-board {
    position: relative;
    background-color: #deb887;
    border: none;
    margin: 0;
}

.board-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.board-line {
    stroke: #333;
    stroke-width: 1;
}

.board-stone {
    cursor: pointer;
    transition: all 0.2s;
}

.board-stone:hover {
    opacity: 0.8;
}

.black-stone {
    fill: #000;
    stroke: #333;
}

.white-stone {
    fill: #fff;
    stroke: #ccc;
}

/* ==================== 棋盘元素样式 ==================== */
.board-element {
    width: 340px;
    height: 340px;
    background-color: #deb887;
    position: relative;
}
