/* ================================
   MOT DU JOUR - Styles spécifiques
   ================================ */

body.page-jeux { background: #faf8f0; }

/* CONTAINER */
.container-mot {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 200px 1fr 200px;
    gap: 20px;
    align-items: start;
    position: relative;
}

/* SCORES */
.scores-mot {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

#box-essais { background: #5ced8c; color: #232526; }
#box-temps  { background: #4a90d9; }

/* STATS */
.stats-mot {
    background: white;
    border-radius: 12px;
    padding: 10px 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.stat-ligne {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.8em;
}

.stat-ligne:last-child { border-bottom: none; }

.stat-label { color: #888; }
.stat-valeur { font-weight: 700; color: #232526; }

/* PUB REWARDED */
.pub-rewarded {
    background: linear-gradient(135deg, #f65e3b 0%, #ff9a3c 100%);
    border-radius: 12px;
    padding: 12px;
    color: white;
    text-align: center;
}

.pub-titre {
    font-size: 0.85em;
    font-weight: 700;
    margin-bottom: 5px;
}

.pub-label {
    font-size: 0.75em;
    opacity: 0.9;
    margin-bottom: 8px;
    line-height: 1.3;
}

.btn-pub {
    background: white;
    color: #f65e3b;
    border: none;
    padding: 7px 14px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.8em;
    width: 100%;
}

/* GRILLE MOT */
.grille-mot {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 15px;
}

.grille-ligne {
    display: flex;
    gap: 6px;
    justify-content: center;
}

.grille-case {
    width: 45px;
    height: 45px;
    border: 2px solid #ddd;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3em;
    font-weight: 800;
    text-transform: uppercase;
    background: white;
    color: #232526;
    transition: all 0.3s;
}
.grille-case.active { border-color: #aaa; }

.grille-case.correcte {
    background: #5ced8c;
    border-color: #5ced8c;
    color: #232526;
}

.grille-case.presente {
    background: #edcf72;
    border-color: #edcf72;
    color: #232526;
}

.grille-case.absente {
    background: #414345;
    border-color: #414345;
    color: white;
}

/* CLAVIER */
.clavier-mot {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
}

.clavier-ligne {
    display: flex;
    gap: 5px;
}

.btn-lettre {
    width: 38px;
    height: 50px;
    border: none;
    border-radius: 6px;
    background: #e0e0e0;
    color: #232526;
    font-size: 0.9em;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.1s;
}

.btn-lettre:hover { background: #ccc; }

.btn-entree {
    width: 70px;
    font-size: 0.7em;
}

.btn-effacer { width: 50px; }

.btn-lettre.correcte {
    background: #5ced8c;
    color: #232526;
}

.btn-lettre.presente {
    background: #edcf72;
    color: #232526;
}

.btn-lettre.absente {
    background: #414345;
    color: white;
}

/* MESSAGE FIN - couleur Mot du Jour */
.message-contenu button { background: #5ced8c; color: #232526; }

.pub-message {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pub-message-label {
    font-size: 0.95em;
    color: #555;
    margin-bottom: 5px;
}

.btn-pub-message {
    background: #5ced8c;
    color: #232526;
    border: none;
    padding: 12px 20px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.95em;
}

.btn-abandon {
    background: #eee;
    color: #666;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 0.85em;
}