body {
    font-family: sans-serif;
    background-color: #f0f0f0;
    color: #333;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 10px;
    touch-action: manipulation;
}

#game-container {
    position: relative;
    width: 90vw;
    max-width: 500px;
    height: 90vw;
    max-height: 500px;
    margin: 10px 0;
}

canvas {
    width: 100%;
    height: 100%;
    background-color: #f3d9b1;
    border: 2px solid #6b4e2a;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

#game-info {
    margin-bottom: 10px;
}

#status-text {
    font-size: 1.2em;
    font-weight: bold;
    min-height: 1.5em; /* Verhindert Springen des Layouts */
}

#phase-text {
    font-size: 1em;
    color: #555;
    min-height: 1.2em;
}

button {
    padding: 10px 20px;
    font-size: 1em;
    cursor: pointer;
    border: none;
    background-color: #8b6b4a;
    color: white;
    border-radius: 5px;
    transition: background-color 0.3s;
    margin: 5px;
}

button:hover {
    background-color: #6b4e2a;
}

/* NEU: Stile für geschlagene Steine */
.captured-area {
    width: 90vw;
    max-width: 500px;
    min-height: 35px;
    margin: 5px 0;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 5px;
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 5px;
}

.captured-stone {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    margin: 0 4px;
    box-shadow: inset 1px 1px 3px rgba(0,0,0,0.4);
    border: 1px solid #555;
}

.captured-stone.white {
    background-color: #ffffff;
}

.captured-stone.black {
    background-color: #000000;
}
