.gomoku-meta {
    font-size: 14px;
    color: #374151;
}

.gomoku-board {
    display: grid;
    width: min(100%, 480px);
    aspect-ratio: 1;
    background: #deb887;
    border: 2px solid #8b5a2b;
    border-radius: 8px;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.gomoku-cell {
    position: relative;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
}

.gomoku-cell::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: rgba(0, 0, 0, 0.35);
    transform: translateX(-50%);
}

.gomoku-cell::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(0, 0, 0, 0.35);
    transform: translateY(-50%);
}

.gomoku-stone {
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    width: 72%;
    height: 72%;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.gomoku-stone.is-black {
    background: radial-gradient(circle at 35% 30%, #555, #111);
}

.gomoku-stone.is-white {
    background: radial-gradient(circle at 35% 30%, #fff, #d1d5db);
}

.gomoku-cell.is-last .gomoku-stone::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 22%;
    height: 22%;
    border-radius: 50%;
    background: #ef4444;
    transform: translate(-50%, -50%);
}
