/* Coronación visual, sin modificar dimensiones ni estilos del tablero. */
.board{position:relative}
.jere-promotion-list{position:absolute;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;padding:5px;border:1px solid #b9cbdf;border-radius:10px;background:#10243bf5;box-shadow:0 8px 25px #0009;z-index:50;pointer-events:auto}
.jere-promotion-choice,.jere-promotion-cancel{appearance:none;width:100%;aspect-ratio:1;min-width:0;min-height:0;padding:2px!important;border:0!important;border:1px solid #54708e!important;border-radius:6px!important;background:#203956!important;display:flex;align-items:center;justify-content:center;cursor:pointer}
.jere-promotion-choice:hover,.jere-promotion-choice:focus-visible,.jere-promotion-cancel:hover{background:#365c80!important;outline:2px solid #d5e6f6;outline-offset:-2px}
.jere-promotion-choice img{display:block;max-width:95%;max-height:95%;width:90%;height:90%;object-fit:contain;pointer-events:none}
.jere-promotion-choice .piece{font-size:clamp(24px,4vw,54px);line-height:1;pointer-events:none}
.jere-promotion-choice .piece.white{color:#fff;text-shadow:0 1px 2px #000,0 0 2px #000}
.jere-promotion-choice .piece.black{color:#101419;text-shadow:0 1px 1px #fffc}
.jere-promotion-cancel{grid-column:1/-1;aspect-ratio:auto;height:30px;color:#d7e2ee;font-size:18px}
@media(prefers-reduced-motion:reduce){.jere-promotion-list *{transition:none!important}}

/* Mantener visibles las cuatro opciones incluso con estilos generales de botones. */
.jere-promotion-list .jere-promotion-choice{width:100%;height:auto;opacity:1!important;}
.jere-promotion-list .jere-promotion-choice img{min-width:0;min-height:0;}
