/* Styling Umum */
body {
    background-color: #f8f9fa;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Container Utama Permainan TTS */
.tts-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

@media (min-width: 992px) {
    .tts-container {
        flex-direction: row;
        align-items: flex-start;
    }
}

/* Area Grid TTS yang bisa digeser (Scrollable) jika layar terlalu kecil */
.tts-grid-wrapper {
    overflow: auto;
    max-width: 100%;
    background: #ffffff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

/* Grid TTS menggunakan CSS Grid */
.tts-grid {
    display: grid;
    /* Ukuran kolom akan diatur dinamis via PHP/JS, contoh default: repeat(10, minmax(30px, 1fr)) */
    gap: 2px;
}

/* Kotak Sel TTS */
.tts-cell {
    width: 32px;
    height: 32px;
    text-align: center;
    font-weight: bold;
    text-transform: uppercase;
    border: 1px solid #ced4da;
    background-color: #fff;
    font-size: 14px;
    padding: 0;
}

/* Jika sel tidak aktif / hitam */
.tts-cell.disabled {
    background-color: #212529;
    border-color: #212529;
    pointer-events: none;
}

/* Penomoran kecil di dalam kotak */
.cell-container {
    position: relative;
}

.cell-number {
    position: absolute;
    top: 1px;
    left: 2px;
    font-size: 9px;
    color: #495057;
    pointer-events: none;
}

/* Panel Pertanyaan (Clues) */
.tts-clues {
    background: #ffffff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    max-height: 500px;
    overflow-y: auto;
}