`;
let n = `Our ensemble model predicts ${picked} to win with a ${winProb.toFixed(0)}% win probability`;
if (vegasImpl!==null && !isNaN(vegasImpl)) {
const ev=winProb-vegasImpl; const ec=ev>0?'var(--green)':'var(--red)';
n += ` vs. Vegas's implied ${vegasImpl.toFixed(0)}% (EV: ${(ev>=0?'+':'')+ev.toFixed(1)}%)`;
}
n += `. Predicted score: ${Math.round(pa)} β ${Math.round(ph)}, total ${predTotal} pts. `;
if (lineupA&&lineupH) { const diff=Math.abs(parseFloat(lineupA)-parseFloat(lineupH)); const s=parseFloat(lineupA)>parseFloat(lineupH)?away:home; n += diff>=5?`Lineup edge to ${s} (${lineupA}% vs ${lineupH}%). `:`Rosters evenly matched (${lineupA}% vs ${lineupH}%). `; }
if (injA) n += `β οΈ ${away}: ${injA}. `;
if (injH) n += `β οΈ ${home}: ${injH}. `;
document.getElementById('explainBody').innerHTML = `
β οΈ Model output only β not financial advice. Past performance does not guarantee future results.
Picks are for informational and entertainment purposes only.