.game-board__pendu {
    align-items: center;
    justify-content: space-around;
}

/* Dessin SVG */
.hangman-visual {
    width: 150px;
    height: 180px;
}

.hangman-svg {
    width: 100%;
    height: 100%;
    stroke: var(--color-ice-10);
    stroke-width: 4;
    stroke-linecap: round;
    fill: none;
}

.draw-base { stroke: var(--color-slate-07); }
.draw-rope { stroke: var(--color-orange-10); }
.draw-head { stroke: var(--color-red-10); }

/* Mot */
.word-display {
    display: flex;
    gap: var(--spacing-small);
    margin: var(--font-xlarge) 0;
    flex-wrap: wrap;
    justify-content: center;
}

.letter-slot {
    font-size: var(--font-xlarge);
    font-weight: bold;
    width: 3rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 4px solid var(--color-slate-08);
    color: var(--color-ice-10);
    text-transform: uppercase;
}

.letter-slot.missing {
    color: transparent;
}

.key-btn:hover:not(:disabled) {
    background: var(--color-slate-07);
    border: solid 1px;
    transform: translateY(-2px);
}

.key-btn.correct {
    background: var(--color-green-10);
    color: #fff;
}

.key-btn.wrong {
    background: var(--color-red-10);
    opacity: 0.5;
}

.key-btn:disabled {
    cursor: not-allowed;
    transform: none;
}

.key-large {
    padding: 0 1rem;
    width: auto !important;
    min-width: 3rem;
    font-size: 0.9rem;
}

@media (max-width: 600px) {
    .hangman-visual {
        width: 100px;
        height: 120px;
    }

    .letter-slot {
        width: 2rem;
        height: 2.5rem;
        font-size: 1.5rem;
        border-bottom-width: 3px;
    }
    
    .key-large {
        min-width: 2rem;
        padding: 0 0.5rem;
        font-size: 0.7rem;
    }
}

@media (max-width: 500px) {
    .letter-slot {
        width: 1.4rem;
        height: 2.5rem;
        font-size: 1.5rem;
        border-bottom-width: 3px;
    }
    
    .key-large {
        min-width: 2rem;
        padding: 0 0.5rem;
        font-size: 0.7rem;
    }

    .word-display {
        gap: 1px;
    }

}