body {
    margin: 0;
    overflow: hidden;
    background: #333;
}

#statusBar {
    /*
    display: flex;
    justify-content: space-between;
    align-items: center;

    width: 100%;
    padding: 10px 20px;
    box-sizing: border-box;
    */

    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    height: 60px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 15px;
    box-sizing: border-box;

    background: #555;
    color: white;

    z-index: 10;
}

#gameStatus {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);

    font-size: 24px;
    font-weight: bold;
}
/*
#statusContainer {
    display: flex;
    gap: 10px;
}
*/
.statusButton {
    width: 42px;
    height: 42px;

    border: none;
    border-radius: 6px;

    background: #444;
    color: white;

    font-size: 26px;
    line-height: 1;

    cursor: pointer;
}

.statusButton:hover {
    background: #666;
}

.statusButton:active {
    background: #333;
}

/*
#statusButtons button {
    padding: 8px 16px;
    font-size: 16px;
    cursor: pointer;
}
*/
.canvas-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

canvas {
    border: 2px solid black;
    display: block;
}

canvas {
    border: 2px solid black;
    display: block;
    transition: box-shadow 0.2s ease;
}

canvas.turn-x {
    box-shadow: 0 0 20px 4px rgba(255, 0, 0, 0.7);
    border-color: red;
}

canvas.turn-o {
    box-shadow: 0 0 20px 4px rgba(0, 0, 255, 0.7);
    border-color: blue;
}