/* Match-specific presentation; probability values still come from the shared presenter. */
.match-detail { color: #102b3b; }
.public-design .match-detail .design-match-hero { background: linear-gradient(90deg,#071b29f0,#071b29cc,#071b29f0),url('/images/home/football-goal.webp') center 32%/cover; border-color: #28414f; }
.match-detail .design-match-hero > div { padding-block: 26px; }
.match-detail .match-teams { display: grid; grid-template-columns: minmax(0,1fr) 160px minmax(0,1fr); align-items: start; gap: 24px; max-width: 760px; margin-inline: auto; }
.match-team { min-width: 0; width: 100%; max-width: none; }
.match-detail .match-team > :is(img,div:first-child) { width: 72px; height: 72px; object-fit: contain; margin: 0 auto 12px; }
.match-detail .match-team h2 { font-size: 20px; line-height: 1.3; }
.match-detail .match-score { min-width: 0; padding-top: 25px; }
.match-score > div:first-child { line-height: 1.1; }
.match-score > .inline-flex { justify-content: center; max-width: 100%; font-size: 10px; letter-spacing: .05em; line-height: 1.5; }
.match-scorers { margin-top: 7px; }
.match-scorers > div { font-size: 11px; line-height: 1.6; }
.match-detail .design-match-hero img.object-contain { padding: 7px; border-radius: 12px; background: #f8fbfc; }
.match-detail .design-match-tabs { box-shadow: 0 3px 8px #071b2905; }
.match-detail .match-content-grid { gap: 24px; align-items: start; }
.match-main-column { min-width: 0; }
.match-detail .border-l-4 { border-left-width: 1px; border-left-color: #dfe7ed; }
.match-detail .match-content-grid .bg-white.border { border-color: #dfe7ed; border-radius: 9px; }
.match-ad-slot:not(:has([data-position])) { display: none; }
.match-ad-slot:has([data-position]) { margin-block: 20px; }
.match-probability-grid { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); gap: 18px; }
.match-probability-panel,.match-prediction-summary { min-width: 0; padding: 22px; background: white; border: 1px solid #dfe7ed; border-radius: 9px; }
.match-probability-grid h2 { font-size: 16px; font-weight: 700; line-height: 1.4; }
.match-model-label { margin-top: 5px; font-size: 11px; color: #64748b; }
.match-probability-bars { margin-top: 18px; display: grid; gap: 13px; }
.match-probability-bars > div { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 6px; font-size: 12px; }
.match-probability-bars dd { font-weight: 750; font-variant-numeric: tabular-nums; }
.match-probability-track { grid-column: 1 / -1; height: 7px; border-radius: 4px; overflow: hidden; background: #eef2f5; }
.match-probability-track span { display: block; height: 100%; background: #708495; border-radius: inherit; }
.match-probability-bars .is-leading dd { color: #078258; }
.match-probability-bars .is-leading .match-probability-track span { background: #13c88b; }
.match-prediction-summary { display: flex; flex-direction: column; background: linear-gradient(135deg,#edfaf4,#fafffd); border-color: #cde8dc; }
.match-model-choice { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 20px 0 6px; color: #076c4d; }
.match-model-choice strong { font-size: 23px; }
.match-model-choice span { font-size: 26px; font-weight: 800; font-variant-numeric: tabular-nums; }
.match-prediction-summary > p { font-size: 12px; line-height: 1.65; color: #526b63; }
.match-prediction-summary .match-probability-note { margin: 14px 0 18px; font-size: 11px; }
.match-prediction-summary button { margin-top: auto; align-self: start; font-size: 12px; font-weight: 700; color: #087a58; min-height: 36px; }
.match-verdict { display: inline-flex; align-items: center; gap: 6px; margin: 12px 0 0; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: #d8f6e8; color: #076c4d; }
.match-verdict span { font-size: 13px; line-height: 1; }
.match-prediction-summary.is-missed { background: linear-gradient(135deg,#fff1f2,#fffafa); border-color: #f6cdd6; }
.match-prediction-summary.is-missed .match-verdict { background: #ffe0e4; color: #be123c; }
.match-prediction-summary.is-missed .match-model-choice { color: #be123c; }
.match-prediction-summary.is-missed > p { color: #6d5057; }
.match-prediction-summary.is-missed button { color: #be123c; }
.match-probability-empty { padding-block: 24px; font-size: 13px; color: #64748b; }
.match-form-heading { flex-wrap: wrap; gap: 10px; }
.match-form-row { gap: 12px; }
.match-form-row > div { min-width: 0; }
.match-form-row > span { flex-shrink: 0; white-space: nowrap; }
.match-h2h-row > div:first-child > div { flex: 1; }
.match-detail .match-content-grid h3 { line-height: 1.4; }
@media(max-width:639px) {
 .match-detail .design-match-hero > div { padding-block: 22px; }
 .match-detail .match-teams { grid-template-columns: minmax(0,1fr) 100px minmax(0,1fr); gap: 8px; }
 .match-detail .match-team > :is(img,div:first-child) { width: 56px; height: 56px; margin-bottom: 10px; }
 .match-detail .match-team h2 { font-size: 14px; }
 .match-detail .match-score { padding-top: 17px; }
 .match-score > .inline-flex { font-size: 9px; letter-spacing: .03em; }
 .match-detail .match-score > .text-4xl { font-size: 34px; }
 .match-scorers > div { font-size: 10px; }
 .match-probability-grid { grid-template-columns: minmax(0,1fr); gap: 12px; }
 .match-probability-panel,.match-prediction-summary { padding: 18px; }
 .match-model-choice { margin-top: 12px; }
 .match-prediction-summary .match-probability-note { margin: 10px 0; }
 .match-h2h-row { padding-inline: 15px; }
 .match-h2h-row > div:first-child > div { display: block; min-width: 0; }
 .match-h2h-row > div:first-child > div > span { display: block; margin-bottom: 6px; }
 .match-h2h-row > div:last-child { flex-wrap: wrap; gap: 4px 12px; }
}
