/* Chess.com-inspired analysis details (original implementation). */
.opening-summary { display:flex; align-items:center; gap:12px; padding:12px 14px; margin-bottom:10px; min-height:66px; }
.opening-summary-icon { display:flex; align-items:center; justify-content:center; width:40px; height:40px; flex:0 0 40px; border-radius:12px; color:#9bc1ff; background:rgba(79,140,255,.14); font-size:18px; }
.opening-summary-text { display:flex; flex-direction:column; min-width:0; gap:2px; }
.opening-summary-label { color:var(--text-muted); font-size:11px; }
.opening-summary-text strong { color:var(--text-primary); font-size:13px; font-weight:800; overflow-wrap:anywhere; }
.opening-summary-text small { color:var(--text-muted); font-size:10px; direction:ltr; text-align:right; }
.move-insight { padding:13px 14px; margin-bottom:10px; min-width:0; }
.move-insight-head { display:flex; justify-content:space-between; align-items:center; gap:8px; color:var(--text-secondary); font-size:12px; font-weight:700; padding-bottom:10px; border-bottom:1px solid var(--border); }
.move-insight-head i { color:var(--primary); margin-left:5px; }
.move-insight-ply { font-variant-numeric:tabular-nums; color:var(--text-muted); }
.move-insight-main { display:flex; align-items:center; gap:10px; padding:12px 0 7px; }
.move-insight-badge { display:flex; align-items:center; justify-content:center; width:38px; height:38px; flex:0 0 38px; border-radius:11px; background:var(--surface-hover); color:var(--text-primary); font-size:19px; }
.move-insight-title-wrap { display:flex; flex-direction:column; gap:2px; min-width:0; }
.move-insight-title-wrap strong { color:var(--text-primary); font-size:13px; font-weight:800; }
.move-insight-title-wrap small { color:var(--text-muted); font-size:11px; direction:ltr; text-align:right; }
#move-insight-text { color:var(--text-secondary); font-size:12px; line-height:1.9; margin:4px 0 10px; }
.move-insight-meta { display:flex; flex-wrap:wrap; gap:6px; }
.move-insight-meta span { padding:5px 8px; border-radius:7px; background:var(--surface); border:1px solid var(--border); color:var(--text-secondary); font-size:10px; }
.move.book { color:#d9b35a !important; }
.move-insight-badge.book { background:rgba(217,179,90,.15); color:#d9b35a; }
.move-insight-badge.brilliant { background:rgba(168,85,247,.15); color:#c084fc; }
.move-insight-badge.blunder,.move-insight-badge.mistake { background:rgba(239,68,68,.13); color:#f87171; }
.move-insight-badge.inaccuracy { background:rgba(245,158,11,.13); color:#fbbf24; }
.move-insight-badge.best,.move-insight-badge.excellent { background:rgba(16,185,129,.13); color:#34d399; }
@media (max-width: 900px) { .opening-summary,.move-insight { margin-left:0; margin-right:0; } }
