#ttt-wrapper {
    font-family: 'Arial', sans-serif;
    background-color: #f3f4f6;
    padding: 20px;
    border-radius: 10px;
    max-width: 350px;
    margin: 20px auto;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}
.ttt-header {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
}
.ttt-header h2 { margin: 0; color: #1f2937; }
.ttt-status-box {
    background-color: #374151;
    color: #fff;
    padding: 8px 15px;
    font-weight: bold;
    border-radius: 5px;
    font-size: 16px;
    min-height: 20px;
}
.ttt-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    background-color: #e5e7eb;
    padding: 8px;
    border-radius: 5px;
}
.ttt-controls select {
    padding: 5px;
    font-weight: bold;
    border-radius: 3px;
    border: 1px solid #d1d5db;
    color: #374151;
}
#ttt_resetBtn {
    background-color: #2563eb;
    color: #fff;
    border: none;
    padding: 6px 12px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
}
.ttt-board {
    width: 270px;
    height: 270px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 8px;
}
.ttt-cell {
    background-color: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 42px;
    font-weight: bold;
    cursor: pointer;
    user-select: none;
}
.ttt-cell-x { color: #ef4444; }
.ttt-cell-o { color: #3b82f6; }
