/* The predictor (predict.js): game cards with a win-chance bar, the day or week switcher, the record, the upset board and
   Beat the bot. Loads after pages.css. Every mark that means something (the pick, right or wrong, an upset) has words too. */
.gp-sports .pillbtn { flex-shrink: 0; }
.gp-sports .gp-offs { color: var(--muted); border-style: dashed; } /* off-season: still a link, dimmed by colour and a dashed edge */
.gp-sports .gp-offs[aria-current="page"] { color: #fff; border-style: solid; }
.gp-daynav { gap: 10px; margin-bottom: 4px; } .gp-daynav .btn { min-width: 44px; padding: 0 12px; font-size: 20px; }
.gp-dayh { font-size: 26px; } .gp-nob { visibility: hidden; }
.gp-scope { margin: 0 0 10px; gap: 10px; }
.gp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); gap: 12px; align-items: start; }
.gp-card { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px; }
.gp-card.upset { border-color: #a78bfa; box-shadow: inset 3px 0 0 #a78bfa; } /* the chip says it in words */
.gp-top { min-height: 24px; } .gp-top .chip { flex-shrink: 0; }
.gp-teams { display: flex; flex-direction: column; gap: 4px; }
.gp-team { display: flex; align-items: center; gap: 10px; min-height: 48px; min-width: 0; padding: 4px 8px; border: 1px solid transparent; border-radius: 10px; color: var(--soft); }
.gp-team.gp-pk { color: var(--text); background: var(--panel-2); border-color: var(--line-2); } /* the pick: a raised row, and the chip says it in words */
.gp-tname { display: flex; flex-direction: column; min-width: 0; } .gp-tname b { font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .gp-tname .small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gp-pct { font-size: 28px; min-width: 56px; text-align: right; } .gp-team:not(.gp-pk) .gp-pct { color: var(--soft); }
.gp-score { font-size: 22px; min-width: 34px; text-align: right; color: var(--text); }
.gp-mark { flex-shrink: 0; }
.gp-dface { width: 36px; height: 36px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; border: 1px dashed var(--line-2); color: var(--muted); font-weight: 700; }
.gp-bar { display: flex; height: 10px; border-radius: 5px; overflow: hidden; background: var(--bg-2); gap: 2px; }
.gp-bar i { display: block; height: 100%; background: var(--line-2); min-width: 2px; } .gp-bar i.pk { background: var(--accent); } .gp-bar i.dr { background: var(--field); }
.gp-meta { gap: 4px 14px; }
.gp-result { font-size: 14px; }
.gp-why summary { display: flex; align-items: center; min-height: 44px; font-weight: 700; font-size: 13px; color: var(--accent-hi); list-style: none; }
.gp-why summary::-webkit-details-marker { display: none; } .gp-why summary::after { content: "▾"; margin-left: 6px; } .gp-why[open] summary::after { content: "▴"; }
.gp-reasons { list-style: none; margin: 0 0 10px; padding: 0; }
.gp-r { display: flex; align-items: baseline; gap: 10px; padding: 6px 0; border-top: 1px solid var(--line); font-size: 13px; } .gp-r:first-child { border-top: 0; }
.gp-mine .pillbtn { min-width: 64px; }
.gp-how { margin: 4px 0 0; max-width: 780px; }
/* the side column: the record, the upset board, Beat the bot */
.gp-big { font-size: 44px; }
.gp-stats { display: grid; gap: 6px; margin: 0; } .gp-stats div { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; } .gp-stats dt { color: var(--muted); } .gp-stats dd { margin: 0; text-align: right; }
.gp-cal { width: 100%; border-collapse: collapse; font-size: 13px; } .gp-cal caption { text-align: left; padding-bottom: 4px; }
.gp-cal th { text-align: right; font: 700 11px var(--body); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); padding: 4px 6px; } .gp-cal th:first-child, .gp-cal td:first-child { text-align: left; }
.gp-cal td { text-align: right; padding: 5px 6px; border-top: 1px solid var(--line); }
.gp-all { margin-top: 4px; } .gp-all h3 { margin-bottom: 2px; } .gp-accw { width: 44px; text-align: right; }
.gp-ub { color: var(--text); gap: 10px; padding: 10px 0; align-items: flex-start; } .gp-ub .chip { margin-top: 2px; }
@media (hover: hover) { .gp-ub:hover b { color: var(--accent-hi); } }
.gp-botrow { gap: 10px; }
/* the full breakdown */
.gp-sec { margin-top: 14px; } .gp-sec h3 { margin-bottom: 2px; }
.gp-cw { text-align: right; font-size: 13px; }
.gp-inj { margin: 4px 0 0; padding-left: 18px; font-size: 13px; } .gp-inj li { padding: 2px 0; }
@media (max-width: 560px) { .gp-pct { font-size: 24px; min-width: 48px; } .gp-card { padding: 12px 14px; } .gp-dayh { font-size: 22px; } .gp-cw { font-size: 12px; } }
