#gameScreen {
    box-sizing: border-box;
    position: fixed;
    inset: 0;
    z-index: 10;
    width: 100vw;
    max-width: none;
    margin: 0;
    padding: 28px;
    overflow: auto;
    border: 0;
    border-radius: 0;
    background: rgba(8, 8, 8, 0.9);
    box-shadow: inset 0 0 0 8px #2f2330, inset 0 0 0 12px #7e6a82;
    text-align: center;
}

#gameScreen h2 {
    margin: 0 0 12px;
    color: #f7ead7;
    letter-spacing: 0.08em;
}

#playerInfo,
#turnInfo {
    margin: 8px 0;
    color: #f7ead7;
    font-size: 18px;
}

#gameCanvas {
    display: block;
    margin: 18px auto;
    border: 4px solid #3a2a36;
    border-radius: 12px;
    background: #dceef7;
    box-shadow: 0 10px 0 rgba(0, 0, 0, 0.28);
}

#pauseButton,
#restartButton,
#backToMenuButton,
#acceptRestartButton,
#rejectRestartButton {
    padding: 10px 18px;
    border: 3px solid #3a2a36;
    border-radius: 10px;
    background: #f7ead7;
    color: #2b211e;
    font-weight: 700;
    cursor: pointer;
}

#restartPrompt {
    position: fixed;
    inset: 0;
    z-index: 40;
    display: grid;
    place-items: center;
    background: rgba(0, 0, 0, 0.72);
}

.restart-card {
    width: min(420px, 90vw);
    padding: 28px;
    border: 5px solid #3a2a36;
    border-radius: 16px;
    background: #f7ead7;
    color: #2b211e;
    text-align: center;
    box-shadow: 0 12px 0 rgba(0, 0, 0, 0.32);
}
