/* v231: revisión compacta independiente del tablero principal */
.r231-history {margin:7px 0;border:1px solid #4b5a6d;border-radius:8px;padding:6px 8px;}
.r231-history summary {cursor:pointer;font-weight:650;}
.r231-history-status {margin:5px 0;font-size:.83rem;color:#b8c2d2;}
.r231-history-content {display:grid;grid-template-columns:minmax(170px,230px) minmax(0,1fr);gap:8px;align-items:start;}
.r231-history-board {display:grid;grid-template-columns:repeat(8,minmax(0,1fr));aspect-ratio:1;min-width:0;border:3px solid #3a2b25;border-radius:5px;overflow:hidden;user-select:none;}
.r231-history-square {display:flex;align-items:center;justify-content:center;min-width:0;font-size:clamp(12px,2.3vw,27px);line-height:1;}
.r231-history-square.light {background:#ecd4b4;color:#111;}
.r231-history-square.dark {background:#98745c;color:#111;}
.r231-history-square.highlight {box-shadow:inset 0 0 0 3px #e4d24c;}
.r231-history-moves {display:flex;flex-wrap:wrap;gap:3px;align-content:start;max-height:220px;overflow:auto;}
.r231-history-moves button,.r231-history-actions button {padding:3px 6px;font-size:.8rem;min-height:26px;}
.r231-history-moves button[aria-pressed='true'] {outline:2px solid #85b6ef;outline-offset:0;}
.r231-history-actions {display:flex;flex-wrap:wrap;gap:4px;margin-top:5px;}
.r231-history-status[data-stale='true'] {color:#e3b875;}
.r231-update-hidden {display:none!important;visibility:hidden!important;pointer-events:none!important;}
@media (max-width:560px){.r231-history-content {grid-template-columns:minmax(0,1fr);} .r231-history-board {max-width:240px;}}
