/* Grundlayout for AI Kryds og Bolle */

:root {
  --board-size: 300px;
}

#akb-board {
  width: var(--board-size);
  aspect-ratio: 1 / 1;
}

#akb-game-container {
    max-width: 600px;
    margin: 0 auto;
    font-family: sans-serif;
}

#akb-mode-select button,
#akb-ai-difficulty button,
#akb-reset-score {
    margin: 5px;
    padding: 10px 15px;
    font-size: 1em;
    cursor: pointer;
}

#akb-board {
    margin: 20px auto;
    border-collapse: collapse;
    width: 100%;
    max-width: 600px;
    table-layout: fixed;
}

#akb-board td {
    border: 2px solid #333;
    height: 100px;
    font-size: 2.5em;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#akb-board td.win {
    color: var(--win-color, green);
    font-weight: bold;
}

#akb-scoreboard {
    text-align: center;
    font-weight: bold;
    font-size: 1.2em;
    margin-top: 10px;
}

#akb-status {
    margin-top: 15px;
    font-size: 1.1em;
}

@media (max-width: 500px) {
    #akb-board td {
        height: 80px;
        font-size: 2em;
    }
}
#akb-status {
    text-align: center;
    font-weight: bold;
}
#akb-play-again,
#akb-reset-score,
#akb-ai-difficulty {
    display: none;
}
