/* Match details only. Upcoming details retain their existing prediction layout. */
.detail-refresh .mp-forecast .mp-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-bottom: 22px; padding-bottom: 16px; border-bottom: 1px solid var(--detail-line); }
.detail-refresh .mp-forecast .mp-heading h2 { margin: 0; padding: 0; color: var(--detail-text); font: 650 16px/1.5 var(--detail-font); }
.detail-refresh .mp-forecast .mp-confidence { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; color: var(--detail-muted); font-size: 11px; line-height: 1.5; }
.detail-refresh .mp-forecast .mp-confidence-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border: 1px solid var(--detail-line); border-radius: 6px; color: var(--detail-text); background: var(--detail-soft); font-size: 10px; font-weight: 650; letter-spacing: .03em; }
.detail-refresh .mp-forecast .mp-confidence-badge::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--detail-muted); }
.detail-refresh .mp-forecast .mp-confidence--low::before { background: #c99729; }
.detail-refresh .mp-forecast .mp-confidence--medium::before { background: #4f83bb; }
.detail-refresh .mp-forecast .mp-confidence--high::before { background: #359769; }
.detail-refresh .mp-forecast .mp-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); align-items: stretch; gap: 22px; min-width: 0; }
.detail-refresh .mp-forecast .mp-grid > * { min-width: 0; }
.detail-refresh .mp-forecast .mp-probabilities { --mp-home-color: #275e9b; --mp-draw-color: #9baabd; --mp-away-color: #dfb858; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.detail-refresh .mp-forecast .mp-home { --mp-tile-color: var(--mp-home-color); }
.detail-refresh .mp-forecast .mp-draw { --mp-tile-color: var(--mp-draw-color); }
.detail-refresh .mp-forecast .mp-away { --mp-tile-color: var(--mp-away-color); }
.detail-refresh .mp-forecast .mp-probability-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.detail-refresh .mp-forecast .mp-probability-tile { display: grid; grid-template-rows: auto 1fr auto; min-width: 0; min-height: 154px; padding: 14px; border: 1px solid var(--detail-line); border-top: 3px solid var(--mp-tile-color); border-radius: 10px; background: var(--detail-surface); }
.detail-refresh .mp-forecast .mp-probability-tile.is-top { border-color: var(--detail-blue); border-top-color: var(--mp-tile-color); background: var(--detail-blue-soft); }
.detail-refresh .mp-forecast .mp-tile-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px; min-height: 22px; color: var(--detail-muted); font-size: 12px; line-height: 1.4; }
.detail-refresh .mp-forecast .mp-top-tag { padding: 2px 5px; border-radius: 4px; background: var(--detail-surface); color: var(--detail-blue); font-size: 9px; font-weight: 650; }
.detail-refresh .mp-forecast .mp-probability-tile strong { display: block; align-self: end; margin: 12px 0 8px; color: var(--detail-text); font-size: 36px; font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; letter-spacing: -.04em; }
.detail-refresh .mp-forecast .mp-probability-tile.is-top strong { color: var(--detail-blue); }
.detail-refresh .mp-forecast .mp-probability-tile strong span { margin-inline-start: 2px; color: var(--detail-muted); font-size: 15px; font-weight: 500; letter-spacing: 0; }
.detail-refresh .mp-forecast .mp-tile-team { min-height: 2.8em; color: var(--detail-muted); font-size: 11px; line-height: 1.4; overflow-wrap: anywhere; }
.detail-refresh .mp-forecast .mp-probability-track { display: flex; gap: 4px; height: 14px; overflow: hidden; border-radius: 5px; background: var(--detail-soft); }
.detail-refresh .mp-forecast .mp-probability-track > span { min-width: 0; }
.detail-refresh .mp-forecast .mp-track-home { background: var(--mp-home-color); }
.detail-refresh .mp-forecast .mp-track-draw { background: var(--mp-draw-color); }
.detail-refresh .mp-forecast .mp-track-away { background: var(--mp-away-color); }
html[data-theme="dark"] .detail-refresh .mp-forecast .mp-probabilities { --mp-home-color: #75aceb; }
.detail-refresh .mp-forecast .mp-score { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 12px; padding: 20px; border: 1px solid var(--detail-line); border-radius: 10px; background: var(--detail-soft); }
.detail-refresh .mp-forecast .mp-label { color: var(--detail-muted); font-size: 11px; font-weight: 600; line-height: 1.5; }
.detail-refresh .mp-forecast .mp-score-number { display: flex; align-items: center; justify-content: center; gap: 16px; color: var(--detail-blue); font-size: 46px; font-weight: 650; line-height: 1.2; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.detail-refresh .mp-forecast .mp-score-number > span { color: var(--detail-muted); font-size: 25px; font-weight: 400; }
.detail-refresh .mp-forecast .mp-score-teams { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; width: 100%; color: var(--detail-muted); font-size: 11px; line-height: 1.5; text-align: center; }
.detail-refresh .mp-forecast .mp-score-teams span { min-width: 0; overflow-wrap: anywhere; }
.detail-refresh .mp-forecast .mp-score-unavailable { max-width: 100%; padding: 20px 0; color: var(--detail-muted); font-size: 14px; line-height: 1.6; text-align: center; overflow-wrap: anywhere; }
.detail-refresh .mp-forecast .mp-picks { grid-column: 1 / -1; padding-top: 18px; border-top: 1px solid var(--detail-line); }
.detail-refresh .mp-forecast .mp-picks-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 10px 0 0; padding: 0; list-style: none; }
.detail-refresh .mp-forecast .mp-picks-list li { display: flex; align-items: flex-start; gap: 9px; min-width: 0; min-height: 48px; margin: 0; padding: 12px; border: 1px solid var(--detail-line); border-radius: 8px; background: var(--detail-soft); color: var(--detail-text); font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
.detail-refresh .mp-forecast .mp-picks-list .mp-primary-pick { background: var(--detail-blue-soft); font-weight: 600; }
.detail-refresh .mp-forecast .mp-pick-dot { flex: 0 0 5px; width: 5px; height: 5px; margin-top: .55em; border-radius: 50%; background: #9baabd; }
.detail-refresh .mp-forecast .mp-primary-pick .mp-pick-dot { background: #c99c31; }
.detail-refresh .mp-forecast .mp-note { margin: 18px 0 0; padding: 12px 14px; border-inline-start: 2px solid #dfb858; border-radius: 0 6px 6px 0; background: var(--detail-soft); color: var(--detail-muted); font-size: 10px; line-height: 1.8; text-align: start; }
.detail-refresh .mp-forecast .mp-note strong { color: var(--detail-text); font-weight: 500; }

/* A grid lets the reveal card grow naturally when its explanatory details open. */
.detail-refresh .mp-forecast .mp-gate { display: grid; border-radius: 0; }
.detail-refresh .mp-forecast .mp-gate > .fc-gate__content { grid-area: 1 / 1; min-width: 0; transition: none; }
.detail-refresh .mp-forecast .mp-gate.is-locked > .fc-gate__content { filter: blur(6px) !important; opacity: .55 !important; visibility: visible; pointer-events: none; user-select: none; }
.detail-refresh .mp-forecast .mp-gate > .fc-gate__overlay { grid-area: 1 / 1; position: relative !important; inset: auto !important; display: flex !important; align-items: center; justify-content: center; min-width: 0; padding: 12px 0; border: 0; background: none !important; backdrop-filter: none; transform: none; opacity: 1; }
.detail-refresh .mp-forecast .mp-gate.is-locked > .fc-gate__overlay { background: radial-gradient(1200px 240px at 50% 0%, rgba(10,78,163,.10), rgba(242,183,5,.06) 85%, transparent 100%) !important; border-radius: 16px; }
.detail-refresh .mp-forecast .mp-gate:not(.is-locked) > .fc-gate__overlay { display: none !important; }
.detail-refresh .mp-forecast .mp-gate .fc-gate__overlayCard { width: 100%; max-width: 460px; margin: 0; padding: 22px; border: 1px solid var(--detail-line); border-radius: 10px; background: var(--detail-soft) !important; box-shadow: none; backdrop-filter: none; color: var(--detail-text); }
.detail-refresh .mp-forecast .mp-gate .fc-gate__title { margin: 0 0 12px; color: var(--detail-text) !important; font-size: 16px; font-weight: 650; }
.detail-refresh .mp-forecast .mp-gate .fc-gate__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-bottom: 12px; }
.detail-refresh .mp-forecast .mp-gate .fc-chip { padding: 4px 7px; border: 1px solid var(--detail-line); border-radius: 5px; background: var(--detail-surface); color: var(--detail-muted); font-size: 10px; box-shadow: none; }
.detail-refresh .mp-forecast .mp-gate .fc-gate__details { margin: 0 0 14px; color: var(--detail-muted); font-size: 11px; line-height: 1.7; text-align: start; }
.detail-refresh .mp-forecast .mp-gate .fc-gate__details summary { padding: 6px 0; cursor: pointer; }
.detail-refresh .mp-forecast .mp-gate .fc-gate__detailsBody { color: var(--detail-muted); }
.detail-refresh .mp-forecast .mp-gate .fc-gate__detailsBody ul { margin: 8px 0; padding-inline-start: 18px; }
.detail-refresh .mp-forecast .mp-gate .fc-gate__btn { min-height: 44px; padding: 11px 22px; border: 1px solid #0a4ea3 !important; border-radius: 8px; background: #0a4ea3 !important; color: #fff !important; font-size: 12px; line-height: 1.5; box-shadow: none !important; }
.detail-refresh .mp-forecast .mp-gate .fc-gate__btn:hover { background: #154f91 !important; transform: none; }
.detail-refresh .mp-forecast .mp-gate .fc-gate__ctaText { margin-top: 10px; color: var(--detail-muted); font-size: 10px; line-height: 1.7; }

@media (max-width: 760px) {
    .detail-refresh .mp-forecast .mp-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
    .detail-refresh .mp-forecast .mp-picks-list { grid-template-columns: minmax(0, 1fr); }
    .detail-refresh .mp-forecast .mp-score { padding: 16px; }
    .detail-refresh .mp-forecast .mp-score-teams { max-width: 330px; }
    .detail-refresh .mp-forecast .mp-picks { grid-column: auto; }
    .detail-refresh .mp-forecast .mp-note { font-size: 11px; }
}
@media (max-width: 420px) {
    .detail-refresh .mp-forecast .mp-heading { margin-bottom: 16px; gap: 8px; }
    .detail-refresh .mp-forecast .mp-probability-tiles { gap: 7px; }
    .detail-refresh .mp-forecast .mp-probability-tile { min-height: 144px; padding: 10px 9px; }
    .detail-refresh .mp-forecast .mp-tile-heading { font-size: 11px; }
    .detail-refresh .mp-forecast .mp-probability-tile strong { font-size: 30px; }
    .detail-refresh .mp-forecast .mp-tile-team { font-size: 10px; }
    .detail-refresh .mp-forecast .mp-gate .fc-gate__overlayCard { padding: 18px 14px; }
}
@media (max-width: 374px) {
    .detail-refresh .mp-forecast .mp-probability-tile strong { font-size: 27px; }
}
