/* RingoChess v247: ayuda compacta de apertura, sin tocar el tablero principal. */
#r247OpeningExplorer{max-width:100%;margin:9px 0 1px;padding:8px;border:1px solid rgba(148,175,197,.3);border-radius:11px;background:rgba(25,35,48,.65)}
#r247OpeningExplorer summary{cursor:pointer;font-weight:650;font-size:13px;line-height:1.4}
#r247OpeningExplorerStatus{margin:8px 0;font-size:12px;color:#cedbe9;line-height:1.4}
.r247-opening-choices{display:grid;gap:6px;grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr))}
.r247-opening-choice{display:flex;align-items:flex-start;flex-direction:column;gap:3px;text-align:left;min-width:0;padding:8px;border:1px solid #58738a;border-radius:9px;background:#253649;color:#f3f9ff;cursor:pointer}
.r247-opening-choice strong{font-size:15px}.r247-opening-choice span{font-size:11px;line-height:1.4;color:#cdddeb}
.r247-opening-choice[aria-pressed="true"]{outline:2px solid #8abddd}
#r247OpeningPreview{max-width:288px;margin:10px auto 3px}
.r247-opening-miniboard{width:100%;display:grid;grid-template-columns:repeat(8,minmax(0,1fr));border:2px solid #566579;border-radius:5px;overflow:hidden;aspect-ratio:1}
.r247-opening-square{aspect-ratio:1;display:flex;align-items:center;justify-content:center;min-width:0}.r247-opening-square.light{background:#f0d9b5}.r247-opening-square.dark{background:#b58863}.r247-opening-square img{max-width:90%;max-height:90%;width:90%;height:90%;object-fit:contain}
@media(max-width:740px){.r247-opening-choices{grid-template-columns:1fr}#r247OpeningExplorer summary{font-size:14px}.r247-opening-choice{min-height:44px}}
