#wptt-tictactoe-game {
    max-width: 450px;
    margin: 20px auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    box-sizing: border-box;
}

.wptt-header {
    text-align: center;
    margin-bottom: 20px;
}

.wptt-controls {
    text-align: center;
    margin-bottom: 20px;
}

.wptt-board-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.wptt-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 90px) !important;
    grid-template-rows: repeat(3, 90px) !important;
    gap: 4px !important;
    background-color: #888 !important;
    padding: 4px !important;
    border: 2px solid #666 !important;
    width: 286px !important;
    height: 286px !important;
    margin: 0 auto !important;
}

.wptt-grid div.wptt-cell {
    width: 90px !important;
    height: 90px !important;
    background-color: #ffffff !important;
    border: 1px solid #ccc !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 42px !important;
    font-weight: bold !important;
    box-sizing: border-box !important;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.2s;
}

.wptt-grid div.wptt-cell:hover {
    background-color: #f0f0f0 !important;
}

.wptt-grid div.wptt-cell.x-mark {
    color: #0073aa !important;
}

.wptt-grid div.wptt-cell.o-mark {
    color: #d63638 !important;
}

.wptt-status-message {
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    margin: 15px 0;
    color: #333;
}