/* Promotion dialog — adapted from Lichess _promotion.scss */
#promotion-choice {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 205;
    background: rgba(0, 0, 0, 0.3);
}

#promotion-choice square {
    display: block;
    cursor: pointer;
    border-radius: 50%;
    background-color: #b0b0b0;
    box-shadow: inset 0 0 25px 3px #808080;
    pointer-events: all;
    transition: box-shadow 0.15s, border-radius 0.15s;
}

#promotion-choice square:hover {
    box-shadow: inset 0 0 48px 8px #d97706;
    border-radius: 0;
}

#promotion-choice piece {
    pointer-events: none;
    width: 100%;
    height: 100%;
    display: block;
    transition: transform 0.15s;
    transform: scale(0.8);
}

#promotion-choice square:hover piece {
    transform: none;
}
