body {
    font-family: 'Arial', sans-serif;
    display: flex;
	flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    background-color: #f0f0f0; /* Светлый фон, как в пятнашках */
    color: #333;
}
#parent-control { 
            background: rgba(255,255,255,0.9); 
            padding: 10px; 
            border-radius: 12px; 
            margin: 10px auto; 
            max-width: 320px;
            font-weight: bold; 
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
            font-size: 14px;
        }

        .warning { color: #ff0000; animation: blink 1.5s infinite; }
        @keyframes blink { 50% { opacity: 0.3; } }

        #stats { margin: 15px 0; font-size: 18px; color: #333; font-weight: 500; }
.container {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 400px;
    width: 90%;
}

h1 {
    color: #007bff; /* Примерный синий цвет из пятнашек */
    margin-bottom: 20px;
}

.game-board {
    display: grid;
    grid-template-columns: repeat(3, 100px);
    grid-template-rows: repeat(3, 100px);
    gap: 5px;
    margin: 20px auto;
    width: 315px; /* 3*100 + 2*5 */
    height: 315px;
    border: 1px solid #ccc;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.05);
}

.cell {
    width: 100px;
    height: 100px;
    background-color: #eee;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
}

.cell:hover {
    background-color: #ddd;
}

.cell.x {
    color: #dc3545; /* Красный для Крестика */
}

.cell.o {
    color: #28a745; /* Зеленый для Нолика */
}

#gameStatus {
    margin: 20px 0;
    font-size: 1.2em;
    font-weight: bold;
}

button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
}

button:hover {
    background-color: #0056b3;
}