/* ==========================================================================
   FOResportia — Match Product Page
   Feuille de production alignée sur le mockup premium validé.
   Scope volontairement fort pour neutraliser les styles génériques.
   ========================================================================== */

.match-product-page .mp-page {
  --mp-bg: #f6f8fc;
  --mp-card: #ffffff;
  --mp-card-soft: #f8faff;
  --mp-text: #071a43;
  --mp-muted: #667596;
  --mp-line: #dfe7f3;
  --mp-blue: #155eef;
  --mp-blue-dark: #0a3caa;
  --mp-red: #f33046;
  --mp-green: #11a65b;
  --mp-orange: #f59e0b;
  --mp-gray: #a1a8b7;
  --mp-shadow: 0 10px 34px rgba(30, 64, 120, .07);
  --mp-shadow-soft: 0 4px 18px rgba(30, 64, 120, .055);

  margin: 0;
  color: var(--mp-text);
  background: var(--mp-bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
}

.match-product-page .mp-page *,
.match-product-page .mp-page *::before,
.match-product-page .mp-page *::after {
  box-sizing: border-box;
}

.match-product-page .mp-page a {
  color: inherit;
  text-decoration: none;
}

.match-product-page .mp-page input,
.match-product-page .mp-page button:not(.mp-info) {
  font: inherit;
}

.match-product-page .mp-page svg {
  display: block;
}

.match-product-page .mp-state-view {
  display: none;
}

.match-product-page[data-page-state="prediction_available"] .mp-state-view[data-view="prediction"],
.match-product-page[data-page-state="early_prediction"] .mp-state-view[data-view="prediction"],
.match-product-page[data-page-state="played_verified"] .mp-state-view[data-view="played"],
.match-product-page[data-page-state="calendar_only"] .mp-state-view[data-view="waiting"],
.match-product-page[data-page-state="postponed"] .mp-state-view[data-view="waiting"],
.match-product-page[data-page-state="cancelled"] .mp-state-view[data-view="waiting"] {
  display: block;
}

.mp-page {
  min-width: 0;
  overflow: clip;
  background:
    radial-gradient(900px 400px at 50% 110px, rgba(21, 94, 239, .05), transparent 70%),
    var(--mp-bg);
}

.mp-shell {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.mp-top {
  position: relative;
  padding: 18px 0 26px;
  isolation: isolate;
}

.mp-top::before,
.mp-top::after {
  position: absolute;
  z-index: -1;
  width: 420px;
  height: 260px;
  content: "";
  opacity: .36;
  background:
    linear-gradient(30deg, transparent 46%, rgba(21, 94, 239, .10) 47% 48%, transparent 49%),
    linear-gradient(150deg, transparent 46%, rgba(21, 94, 239, .08) 47% 48%, transparent 49%);
  background-size: 76px 76px;
  pointer-events: none;
}

.mp-top::before { left: -90px; top: 52px; transform: rotate(-7deg); }
.mp-top::after { right: -110px; top: 46px; transform: rotate(8deg); }

.mp-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  min-height: 28px;
  color: #687796;
  font-size: .72rem;
  font-weight: 650;
}

.mp-breadcrumb a:hover {
  color: var(--mp-blue);
}

.mp-match-meta {
  display: grid;
  justify-items: center;
  gap: 5px;
  margin-top: 17px;
  color: #536584;
  font-size: .77rem;
  line-height: 1.35;
  text-align: center;
}

.mp-kicker,
.mp-eyebrow {
  color: #304b79;
  font-size: .64rem;
  font-weight: 900;
  letter-spacing: .085em;
  line-height: 1.2;
  text-transform: uppercase;
}

.mp-match-meta .mp-kicker {
  color: #112f69;
}

.mp-top h1 {
  max-width: 940px;
  margin: 13px auto 17px;
  color: var(--mp-text);
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 880;
  letter-spacing: -.035em;
  line-height: 1.08;
  text-align: center;
}

.mp-hero-grid {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr) 270px;
  align-items: stretch;
  gap: 14px;
}

.mp-team-card,
.mp-balance-card,
.mp-score-card,
.mp-waiting-card,
.mp-verdict-card,
.mp-card {
  border: 1px solid var(--mp-line);
  background: rgba(255, 255, 255, .97);
  box-shadow: var(--mp-shadow);
}

.mp-team-card {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  grid-template-rows: 1fr auto;
  align-items: center;
  gap: 8px 14px;
  min-height: 178px;
  padding: 16px 17px;
  border-radius: 15px;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.mp-team-card:hover {
  transform: translateY(-2px);
  border-color: #b9cae6;
  box-shadow: 0 15px 36px rgba(30, 64, 120, .10);
}

.mp-team-logo {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 92px;
  height: 104px;
}

.mp-team-logo img {
  width: 86px;
  height: 86px;
  object-fit: contain;
  filter: drop-shadow(0 6px 10px rgba(15, 32, 67, .09));
}

.mp-team-copy {
  min-width: 0;
  align-self: center;
}

.mp-team-copy strong {
  display: block;
  color: var(--mp-text);
  font-size: 1.05rem;
  font-weight: 850;
  line-height: 1.15;
}

.mp-team-copy small {
  display: block;
  margin-top: 7px;
  color: var(--mp-blue);
  font-size: .68rem;
  font-weight: 750;
}

.mp-form {
  display: flex;
  flex-wrap: nowrap;
  align-self: end;
  gap: 5px;
}

.mp-form b {
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  border-radius: 5px;
  color: #fff;
  font-size: .64rem;
  font-weight: 900;
}

.mp-form .is-w { background: #16a65b; }
.mp-form .is-d { background: #a8adb7; }
.mp-form .is-l { background: #ef3348; }

.mp-balance-card {
  align-self: center;
  padding: 16px 18px 17px;
  border-radius: 14px;
}

.mp-balance-card > .mp-eyebrow {
  display: block;
  margin-bottom: 12px;
  text-align: center;
}

.mp-balance-values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
}

.mp-balance-values div {
  min-width: 0;
  text-align: center;
}

.mp-balance-values strong {
  display: block;
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: -.025em;
}

.mp-balance-values span {
  display: block;
  margin-top: 4px;
  color: #273c62;
  font-size: .72rem;
  font-weight: 700;
  line-height: 1.25;
}

.mp-balance-values .is-home { color: var(--mp-blue); }
.mp-balance-values .is-draw { color: #8d929b; }
.mp-balance-values .is-away { color: var(--mp-red); }

.mp-balance-track {
  display: flex;
  height: 8px;
  margin-top: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #e7ebf2;
}

.mp-balance-track i {
  display: block;
  height: 100%;
}

.mp-balance-track .is-home { background: var(--mp-blue); }
.mp-balance-track .is-draw { background: #babdc4; }
.mp-balance-track .is-away { background: var(--mp-red); }

.mp-balance-card--after {
  width: min(720px, 100%);
  margin: 14px auto 0;
}

.mp-score-card {
  align-self: center;
  display: grid;
  place-items: center;
  min-height: 145px;
  padding: 14px;
  border-radius: 14px;
  text-align: center;
}

.mp-score-card > strong {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 7px 0 4px;
  font-size: 2.3rem;
  font-style: normal;
  letter-spacing: -.04em;
}

.mp-score-card > strong i {
  color: #9aa4b6;
  font-style: normal;
  font-weight: 500;
}

.mp-score-card small {
  color: var(--mp-green);
  font-size: .72rem;
  font-weight: 800;
}

.mp-waiting-card {
  align-self: center;
  min-height: 150px;
  padding: 18px;
  border-radius: 14px;
  text-align: center;
}

.mp-waiting-card > strong {
  display: block;
  margin-top: 6px;
  color: var(--mp-text);
  font-size: 1.18rem;
  font-weight: 850;
}

.mp-waiting-card > p {
  max-width: 470px;
  margin: 7px auto 0;
  color: var(--mp-muted);
  font-size: .76rem;
  line-height: 1.5;
}

.mp-progress-steps {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 14px;
}

.mp-progress-steps span {
  padding: 6px 9px;
  border-radius: 999px;
  color: #7c879b;
  background: #eef2f8;
  font-size: .62rem;
  font-weight: 800;
}

.mp-progress-steps .done {
  color: #087b42;
  background: #e9f8f0;
}

.mp-verdict-card {
  display: grid;
  grid-template-columns: 1.7fr .75fr 1fr;
  gap: 0;
  width: min(770px, 100%);
  margin: 14px auto 0;
  overflow: hidden;
  border-radius: 14px;
}

.mp-verdict-card > div {
  min-width: 0;
  padding: 15px 18px;
}

.mp-verdict-card > div + div {
  border-left: 1px solid var(--mp-line);
}

.mp-verdict-main strong,
.mp-verdict-alt strong {
  display: block;
  margin-top: 4px;
  font-size: .96rem;
  font-weight: 900;
  line-height: 1.25;
}

.mp-verdict-main strong {
  color: #e31e34;
}

.mp-verdict-main p,
.mp-verdict-alt small,
.mp-verdict-stat small {
  margin: 6px 0 0;
  color: #536584;
  font-size: .69rem;
  line-height: 1.48;
}

.mp-verdict-stat strong {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 8px;
  color: var(--mp-text);
  font-size: .98rem;
}

.mp-verdict-alt strong {
  color: #07994e;
}

.mp-verdict-card--played .mp-verdict-main strong {
  color: var(--mp-red);
}

.mp-verdict-card--waiting .mp-verdict-main strong {
  color: var(--mp-blue);
}

.mp-result-badge {
  display: inline-flex;
  margin-top: 8px;
  padding: 5px 8px;
  border-radius: 999px;
  font-size: .64rem;
  font-weight: 850;
  font-style: normal;
}

.mp-result-badge.bad {
  color: #b6162b;
  background: #feecef;
}

.mp-info {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  padding: 0;
  border: 1px solid #b6c6df;
  border-radius: 50%;
  color: #597093;
  background: #fff;
  font-size: .65rem;
  font-weight: 800;
  cursor: help;
}

.mp-info[data-open="1"]::after {
  position: absolute;
  z-index: 20;
  width: min(280px, calc(100vw - 30px));
  margin-top: 70px;
  padding: 9px 10px;
  border: 1px solid var(--mp-line);
  border-radius: 8px;
  color: #3c4e6f;
  background: #fff;
  box-shadow: var(--mp-shadow);
  content: attr(data-tip);
  font-size: .68rem;
  font-weight: 600;
  line-height: 1.4;
}

.mp-dots {
  display: flex;
  gap: 5px;
  margin-top: 10px;
}

.mp-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #dce3ee;
}

.mp-dots i.on {
  background: #132f6b;
}

.mp-content {
  display: grid;
  gap: 12px;
  padding-bottom: 46px;
}

.mp-card {
  min-width: 0;
  padding: 15px 16px;
  border-radius: 14px;
}

.mp-card-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  margin-bottom: 12px;
}

.mp-card-title h2 {
  margin: 0;
  color: #102854;
  font-size: .87rem;
  font-weight: 900;
  letter-spacing: -.01em;
  line-height: 1.25;
  text-transform: uppercase;
}

.mp-title-icon {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: #617ba7;
}

.mp-title-icon svg,
.mp-driver-grid svg,
.mp-pending-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mp-card-title .mp-title-icon + h2 {
  margin-right: auto;
}

.mp-driver-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.mp-driver-grid article {
  display: grid;
  grid-template-columns: 33px minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 9px 10px;
  min-width: 0;
  padding: 4px 16px 3px;
  border-left: 1px solid var(--mp-line);
}

.mp-driver-grid article:first-child {
  border-left: 0;
}

.mp-driver-grid article > svg {
  width: 29px;
  height: 29px;
  color: #68768d;
}

.mp-driver-grid article > div:nth-child(2) {
  min-width: 0;
}

.mp-driver-grid strong {
  display: block;
  color: #273a61;
  font-size: .69rem;
  font-weight: 850;
  line-height: 1.2;
}

.mp-driver-grid span {
  display: block;
  margin-top: 3px;
  color: #50607e;
  font-size: .64rem;
  font-weight: 650;
  line-height: 1.3;
}

.mp-microbar {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 3px;
  height: 4px;
}

.mp-microbar i {
  border-radius: 999px;
  background: #d9dfe8;
}

.mp-microbar .hot {
  background: var(--mp-red);
}

.mp-microbar .soft {
  background: #9aa7b9;
}

.mp-microbar.is-green .hot { background: var(--mp-green); }
.mp-microbar.is-red .hot { background: var(--mp-red); }
.mp-microbar.is-orange .hot { background: var(--mp-orange); }
.mp-microbar.is-blue .hot { background: var(--mp-blue); }

.mp-ad {
  width: 100%;
  margin: 0;
}

.mp-ad .fs-manual-ad-shell {
  width: 100%;
  max-width: none;
}

.mp-ad .fs-manual-ad {
  min-height: 92px;
}

.mp-grid {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.mp-grid--2 {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
}

.mp-grid--3-analysis {
  grid-template-columns: 1fr 1fr 1.06fr;
}

.mp-grid--bottom {
  grid-template-columns: 1fr 1.05fr .85fr;
}

.mp-prob-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 10px;
  padding: 8px 6px;
}

.mp-prob-row + .mp-prob-row {
  border-top: 1px solid #edf1f7;
}

.mp-prob-row > span {
  color: #1f365f;
  font-size: .74rem;
  font-weight: 800;
}

.mp-prob-row > strong {
  font-size: .82rem;
  font-weight: 900;
}

.mp-mini-team {
  display: flex;
  align-items: center;
  gap: 7px;
}

.mp-mini-team img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.mp-ball {
  display: grid;
  place-items: center;
  width: 22px;
  color: #8e96a3;
}

.mp-rail {
  grid-column: 1 / -1;
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: #e7ecf4;
}

.mp-rail i {
  display: block;
  height: 100%;
  border-radius: inherit;
}

.mp-rail .home { background: var(--mp-blue); }
.mp-rail .draw { background: #9ca0a8; }
.mp-rail .away { background: var(--mp-red); }

.away-text { color: var(--mp-red); }

.mp-prob-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 10px;
  overflow: hidden;
  border: 1px solid var(--mp-line);
  border-radius: 9px;
  background: #fafbfe;
}

.mp-prob-summary p {
  margin: 0;
  padding: 9px;
  text-align: center;
}

.mp-prob-summary p + p {
  border-left: 1px solid var(--mp-line);
}

.mp-prob-summary span {
  display: block;
  color: #7a869d;
  font-size: .56rem;
  font-weight: 750;
}

.mp-prob-summary strong {
  display: block;
  margin-top: 3px;
  color: #19315d;
  font-size: .67rem;
  font-weight: 850;
}

.mp-prob-summary .danger,
.danger {
  color: var(--mp-red) !important;
}

.mp-market-table {
  display: grid;
  border: 1px solid #e3e9f2;
  border-radius: 9px;
  overflow: hidden;
}

.mp-market-table > div {
  display: grid;
  grid-template-columns: 1.35fr .85fr .65fr 1fr;
  align-items: center;
  min-width: 0;
  min-height: 32px;
  padding: 6px 9px;
  gap: 8px;
  color: #263a61;
  border-top: 1px solid #edf1f6;
  font-size: .62rem;
}

.mp-market-table > div:first-child {
  border-top: 0;
}

.mp-market-table .head {
  min-height: 27px;
  color: #8190aa;
  background: #f8faff;
  font-size: .54rem;
  font-weight: 850;
  letter-spacing: .025em;
  text-transform: uppercase;
}

.mp-market-table strong,
.mp-market-table b {
  font-weight: 850;
}

.pill {
  display: inline-flex;
  justify-self: start;
  padding: 4px 7px;
  border-radius: 999px;
  font-size: .53rem;
  font-style: normal;
  font-weight: 850;
  white-space: nowrap;
}

.pill.good { color: #078342; background: #e8f8ef; }
.pill.fair { color: #178849; background: #effaf4; }
.pill.neutral { color: #66748c; background: #f0f3f7; }
.pill.bad { color: #c71c34; background: #feeaee; }

.mp-text-link {
  display: inline-block;
  margin-top: 10px;
  color: var(--mp-blue);
  font-size: .63rem;
  font-weight: 850;
}

.mp-xg-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
}

.mp-xg-strip p {
  margin: 0;
  padding: 11px 8px;
  border: 1px solid #e5eaf2;
  border-radius: 9px;
  background: #fbfcff;
  text-align: center;
}

.mp-xg-strip p.featured {
  border-color: #5b6f98;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(21, 94, 239, .08);
}

.mp-xg-strip span,
.mp-two-metrics span,
.mp-score-head {
  display: block;
  color: #6b7892;
  font-size: .54rem;
  font-weight: 850;
  letter-spacing: .025em;
  text-transform: uppercase;
}

.mp-xg-strip strong {
  display: block;
  margin-top: 4px;
  color: #0c2d73;
  font-size: 1.15rem;
  font-weight: 900;
}

.mp-xg-strip .featured strong {
  color: #071a43;
  font-size: 1.45rem;
}

.mp-xg-strip small {
  display: block;
  margin-top: 2px;
  color: #476089;
  font-size: .58rem;
}

.mp-two-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin-top: 7px;
}

.mp-two-metrics p {
  margin: 0;
  padding: 9px 10px;
  border: 1px solid #e5eaf2;
  border-radius: 9px;
  background: #fbfcff;
}

.mp-two-metrics strong {
  display: block;
  margin-top: 4px;
  color: #173873;
  font-size: .9rem;
  font-weight: 900;
}

.mp-two-metrics i {
  display: block;
  width: 80px;
  height: 4px;
  margin-top: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: #e3e8f0;
}

.mp-two-metrics i b {
  display: block;
  height: 100%;
  background: var(--mp-blue);
}

.mp-two-metrics i.green b {
  background: var(--mp-green);
}

.mp-score-head {
  margin-top: 10px;
}

.mp-score-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 5px;
  margin-top: 6px;
}

.mp-score-grid span {
  display: grid;
  gap: 2px;
  padding: 8px 4px;
  border: 1px solid #e5eaf2;
  border-radius: 8px;
  background: #fbfcff;
  text-align: center;
}

.mp-score-grid strong {
  color: #15366e;
  font-size: .86rem;
  font-weight: 900;
}

.mp-score-grid small {
  color: #536584;
  font-size: .58rem;
  font-weight: 750;
}

.mp-final-note {
  margin: 8px 0 0;
  padding: 7px 8px;
  border-radius: 7px;
  color: #5b6880;
  background: #f7f9fc;
  font-size: .62rem;
}

.mp-final-note b {
  color: var(--mp-text);
}

.mp-scenario-teams,
.mp-compare-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 5px 3px 9px;
}

.mp-scenario-teams span,
.mp-compare-head a {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #22375f;
  font-size: .64rem;
  font-weight: 850;
}

.mp-scenario-teams img,
.mp-compare-head img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.mp-scenario-list {
  display: grid;
  gap: 7px;
}

.mp-scenario-list[hidden] {
  display: none;
}

.mp-scenario-list article {
  display: grid;
  grid-template-columns: 1fr minmax(88px, .85fr) 1fr;
  align-items: center;
  gap: 10px;
  min-height: 57px;
  padding: 7px 9px;
  border: 1px solid #e7ebf2;
  border-radius: 8px;
  background: #fbfcff;
}

.mp-scenario-list article > span {
  color: #4c5e7c;
  font-size: .6rem;
  font-weight: 750;
  text-align: center;
}

.mp-scenario-list article > div strong {
  color: var(--mp-blue);
  font-size: .83rem;
  font-weight: 900;
}

.mp-scenario-list article > div.away {
  text-align: right;
}

.mp-scenario-list article > div.away strong {
  color: var(--mp-red);
}

.mp-scenario-list article > div i {
  display: block;
  width: 100%;
  height: 4px;
  margin-top: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: #e8ecf3;
}

.mp-scenario-list article > div i b {
  display: block;
  height: 100%;
  background: var(--mp-blue);
}

.mp-scenario-list article > div.away i b {
  margin-left: auto;
  background: var(--mp-red);
}

.mp-compare-head {
  padding: 6px 4px 9px;
  border: 1px solid #e7ebf2;
  border-radius: 8px 8px 0 0;
  background: #fbfcff;
}

.mp-compare-head a:hover {
  color: var(--mp-blue);
}

.mp-compare-table {
  overflow: hidden;
  border: 1px solid #e7ebf2;
  border-top: 0;
  border-radius: 0 0 8px 8px;
}

.mp-compare-table div {
  display: grid;
  grid-template-columns: 1fr 1.35fr 1fr;
  align-items: center;
  min-height: 28px;
  padding: 4px 9px;
  border-top: 1px solid #eef2f7;
  text-align: center;
}

.mp-compare-table div:first-child {
  border-top: 0;
}

.mp-compare-table strong {
  color: #1d3562;
  font-size: .65rem;
  font-weight: 850;
}

.mp-compare-table span {
  color: #65728a;
  font-size: .58rem;
}

.mp-reliability {
  display: grid;
  grid-template-columns: .95fr 1.05fr 1.8fr;
  align-items: stretch;
  padding: 0;
  overflow: hidden;
}

.mp-reliability > div {
  min-width: 0;
  padding: 15px 17px;
}

.mp-reliability > div + div {
  border-left: 1px solid var(--mp-line);
}

.mp-reliability-copy > strong {
  display: block;
  margin-top: 7px;
  color: var(--mp-red);
  font-size: 1.2rem;
  font-weight: 900;
}

.mp-reliability-copy > p {
  margin: 7px 0 0;
  color: #4d5f7d;
  font-size: .67rem;
  line-height: 1.55;
}

.mp-reliability-score {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  align-content: center;
  gap: 3px 12px;
}

.mp-reliability-score > .mp-eyebrow,
.mp-reliability-score > small {
  grid-column: 1 / -1;
}

.mp-reliability-score > small {
  color: #61718b;
  font-size: .57rem;
  font-weight: 750;
}

.mp-ring {
  grid-row: 3 / 6;
  display: grid;
  place-items: center;
  width: 80px;
  height: 80px;
  margin-top: 4px;
  border-radius: 50%;
  background: conic-gradient(var(--mp-green) calc(var(--p) * 1%), #e7ecf2 0);
}

.mp-ring::before {
  grid-area: 1 / 1;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #fff;
  content: "";
}

.mp-ring span {
  position: relative;
  grid-area: 1 / 1;
  color: #1c315a;
  font-size: .9rem;
  font-weight: 900;
}

.mp-reliability-score > p {
  align-self: center;
  margin: 0;
  color: #3e4e69;
  font-size: .64rem;
  line-height: 1.45;
}

.mp-reliability-score > p strong {
  color: #1e335c;
}

.mp-reliability-score > a {
  grid-column: 2;
  color: var(--mp-blue);
  font-size: .58rem;
  font-weight: 850;
}

.mp-history-chart > .mp-eyebrow {
  display: block;
  margin-bottom: 2px;
}

.mp-history-chart svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.mp-history-chart .grid line {
  stroke: #e4eaf2;
  stroke-width: 1;
}

.mp-history-chart .axis text,
.mp-history-chart .chart-label {
  fill: #75839b;
  font-size: 10px;
  font-weight: 650;
}

.mp-history-chart .target {
  stroke: #9ee0ba;
  stroke-width: 1.2;
  stroke-dasharray: 4 4;
}

.mp-history-chart .curve {
  fill: none;
  stroke: var(--mp-green);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mp-history-chart .last {
  fill: var(--mp-green);
}

.mp-history-chart .chart-value {
  fill: var(--mp-green);
  font-size: 12px;
  font-weight: 900;
}

.mp-verified-box {
  display: grid;
  gap: 8px;
  margin-top: 8px;
  padding: 13px;
  border: 1px solid #cfeadc;
  border-radius: 10px;
  background: #f3fbf7;
}

.mp-verified-box strong {
  color: #087f44;
}

.mp-verified-box p {
  margin: 0;
  color: #53667f;
  font-size: .67rem;
}

.mp-verified-box a {
  color: var(--mp-blue);
  font-size: .62rem;
  font-weight: 850;
}

.mp-faq details {
  border-top: 1px solid #ebeff5;
}

.mp-faq details:first-of-type {
  border-top: 0;
}

.mp-faq summary {
  position: relative;
  padding: 8px 22px 8px 5px;
  color: #354866;
  font-size: .65rem;
  font-weight: 750;
  cursor: pointer;
  list-style: none;
}

.mp-faq summary::-webkit-details-marker {
  display: none;
}

.mp-faq summary::after {
  position: absolute;
  right: 5px;
  content: "⌄";
  color: #123977;
  font-weight: 900;
}

.mp-faq details[open] summary::after {
  content: "⌃";
}

.mp-faq details p {
  margin: 0 5px 9px;
  color: #66748d;
  font-size: .62rem;
  line-height: 1.5;
}

.mp-more > a {
  display: grid;
  grid-template-columns: 29px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  min-height: 47px;
  padding: 7px 4px;
  border-top: 1px solid #ebeff5;
}

.mp-more > a:first-of-type {
  border-top: 0;
}

.mp-link-icon {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 7px;
  color: #fff;
  background: var(--mp-blue);
  font-size: .72rem;
  font-weight: 900;
}

.mp-more strong {
  display: block;
  color: #253a60;
  font-size: .65rem;
  font-weight: 850;
}

.mp-more small {
  display: block;
  margin-top: 2px;
  color: #77849a;
  font-size: .56rem;
  line-height: 1.3;
}

.mp-more b {
  color: #234a8e;
}

.mp-trust p {
  margin: 8px 0 0;
  color: #53627c;
  font-size: .65rem;
  line-height: 1.4;
}

.mp-editorial {
  padding: 4px 10px 0;
}

.mp-editorial h2 {
  margin: 0 0 5px;
  color: #24395e;
  font-size: .7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.mp-editorial p {
  margin: 0;
  color: #6b7890;
  font-size: .62rem;
  line-height: 1.55;
}

.mp-pending-card {
  display: grid;
  grid-template-columns: .85fr 1fr;
  gap: 10px 17px;
}

.mp-pending-card .mp-card-title {
  grid-column: 1 / -1;
}

.mp-pending-visual {
  display: grid;
  justify-items: center;
  align-content: center;
  min-height: 190px;
  padding: 16px;
  border: 1px dashed #cbd7e8;
  border-radius: 10px;
  background: #f9fbff;
  text-align: center;
}

.mp-pending-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 8px;
  color: var(--mp-blue);
}

.mp-pending-visual strong {
  font-size: .85rem;
}

.mp-pending-visual p {
  max-width: 320px;
  margin: 7px auto 0;
  color: #617089;
  font-size: .64rem;
  line-height: 1.5;
}

.mp-pending-list {
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 10px 12px;
  padding: 10px;
}

.mp-pending-list span {
  color: #52627d;
  font-size: .65rem;
}

.mp-pending-list b {
  color: #8b97aa;
  font-size: .6rem;
  font-weight: 850;
}

@media (max-width: 1050px) {
  .mp-hero-grid {
    grid-template-columns: 235px minmax(0, 1fr) 235px;
  }

  .mp-team-card {
    grid-template-columns: 72px minmax(0, 1fr);
    padding: 14px;
  }

  .mp-team-logo {
    width: 72px;
    height: 88px;
  }

  .mp-team-logo img {
    width: 70px;
    height: 70px;
  }

  .mp-grid--3-analysis {
    grid-template-columns: 1fr 1fr;
  }

  .mp-compare-card {
    grid-column: 1 / -1;
  }

  .mp-grid--bottom {
    grid-template-columns: 1fr 1fr;
  }

  .mp-trust {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .match-product-page .mp-page {
    font-size: 17px;
  }

  .mp-shell {
    width: min(100% - 20px, 620px);
  }

  .mp-top {
    padding-top: 9px;
    padding-bottom: 16px;
  }

  .mp-top::before,
  .mp-top::after {
    width: 240px;
    height: 190px;
    opacity: .22;
  }

  .mp-breadcrumb {
    gap: 5px;
    min-height: 24px;
    font-size: .62rem;
  }

  .mp-match-meta {
    gap: 4px;
    margin-top: 12px;
    font-size: .68rem;
  }

  .mp-top h1 {
    margin: 10px auto 13px;
    font-size: 1.48rem;
    line-height: 1.12;
  }

  .mp-hero-grid,
  .mp-hero-grid--played {
    grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr);
    gap: 7px;
  }

  .mp-team-card {
    grid-template-columns: 58px minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 6px 8px;
    min-height: 96px;
    padding: 9px;
    border-radius: 12px;
  }

  .mp-team-logo {
    grid-row: 1;
    width: 58px;
    height: 58px;
  }

  .mp-team-logo img {
    width: 56px;
    height: 56px;
  }

  .mp-team-copy strong {
    font-size: .76rem;
  }

  .mp-team-copy small {
    margin-top: 4px;
    font-size: .58rem;
  }

  .mp-form {
    grid-column: 1 / -1;
    justify-content: center;
    gap: 3px;
  }

  .mp-form b {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    font-size: .56rem;
  }

  .mp-balance-card,
  .mp-waiting-card,
  .mp-score-card {
    grid-column: 1 / -1;
    grid-row: 2;
    min-height: 0;
    margin-top: 1px;
  }

  .mp-team-card--away {
    grid-column: 3;
  }

  .mp-team-card--home {
    grid-column: 1;
  }

  .mp-hero-grid > .mp-balance-card,
  .mp-hero-grid > .mp-waiting-card {
    grid-column: 1 / -1;
  }

  .mp-hero-grid .mp-score-card {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    min-height: 52px;
    padding: 4px;
    border-radius: 50%;
    box-shadow: var(--mp-shadow-soft);
  }

  .mp-score-card .mp-eyebrow,
  .mp-score-card small {
    display: none;
  }

  .mp-score-card > strong {
    gap: 4px;
    margin: 0;
    font-size: 1rem;
  }

  .mp-balance-card {
    padding: 12px 10px;
  }

  .mp-balance-values strong {
    font-size: 1.1rem;
  }

  .mp-balance-values span {
    font-size: .62rem;
  }

  .mp-balance-track {
    height: 7px;
  }

  .mp-verdict-card {
    grid-template-columns: 1fr 1fr;
    width: 100%;
    margin-top: 8px;
  }

  .mp-verdict-main {
    grid-column: 1 / -1;
  }

  .mp-verdict-card > div {
    padding: 12px 13px;
  }

  .mp-verdict-card > div + div {
    border-left: 0;
    border-top: 1px solid var(--mp-line);
  }

  .mp-verdict-stat + .mp-verdict-alt {
    border-left: 1px solid var(--mp-line);
  }

  .mp-verdict-main strong,
  .mp-verdict-alt strong {
    font-size: .85rem;
  }

  .mp-verdict-main p,
  .mp-verdict-alt small,
  .mp-verdict-stat small {
    font-size: .66rem;
  }

  .mp-content {
    gap: 9px;
  }

  .mp-card {
    padding: 12px;
    border-radius: 11px;
  }

  .mp-card-title {
    margin-bottom: 9px;
  }

  .mp-card-title h2 {
    font-size: .78rem;
  }

  .mp-driver-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .mp-driver-grid article {
    grid-template-columns: 28px minmax(0, 1fr) 95px;
    grid-template-rows: auto;
    align-items: center;
    padding: 8px 3px;
    border-top: 1px solid #edf1f6;
    border-left: 0;
  }

  .mp-driver-grid article:first-child {
    border-top: 0;
  }

  .mp-driver-grid article > svg {
    width: 24px;
    height: 24px;
  }

  .mp-driver-grid strong {
    font-size: .69rem;
  }

  .mp-driver-grid span {
    font-size: .62rem;
  }

  .mp-driver-grid .mp-microbar {
    grid-column: 3;
    width: 95px;
  }

  .mp-grid--2,
  .mp-grid--3-analysis,
  .mp-grid--bottom,
  .mp-waiting-grid {
    grid-template-columns: 1fr;
  }

  .mp-compare-card,
  .mp-trust {
    grid-column: auto;
  }

  .mp-market-table > div {
    grid-template-columns: 1.2fr .9fr .65fr;
    min-height: 36px;
    padding: 7px;
    font-size: .61rem;
  }

  .mp-market-table > div > :nth-child(4) {
    display: none;
  }

  .mp-market-table .head > :nth-child(4) {
    display: none;
  }

  .mp-prob-summary {
    margin-top: 8px;
  }

  .mp-xg-strip strong {
    font-size: 1rem;
  }

  .mp-xg-strip .featured strong {
    font-size: 1.2rem;
  }

  .mp-two-metrics strong {
    font-size: .85rem;
  }

  .mp-score-grid {
    gap: 4px;
  }

  .mp-score-grid strong {
    font-size: .77rem;
  }

  .mp-scenario-list article {
    grid-template-columns: 1fr minmax(90px, .8fr) 1fr;
    gap: 8px;
  }

  .mp-reliability {
    grid-template-columns: 1fr;
  }

  .mp-reliability > div + div {
    border-top: 1px solid var(--mp-line);
    border-left: 0;
  }

  .mp-reliability-score {
    grid-template-columns: 80px minmax(0, 1fr);
  }

  .mp-ring {
    width: 70px;
    height: 70px;
  }

  .mp-ring::before {
    width: 52px;
    height: 52px;
  }

  .mp-history-chart svg {
    min-height: 175px;
  }

  .mp-ad .fs-manual-ad {
    min-height: 100px;
  }

  .mp-grid--bottom .mp-card {
    padding: 12px;
  }

  .mp-pending-card {
    grid-template-columns: 1fr;
  }

  .mp-pending-card .mp-card-title {
    grid-column: auto;
  }

  .mp-pending-visual {
    min-height: 160px;
  }
}

@media (max-width: 420px) {
  .match-product-page .mp-page {
    font-size: 17.5px;
  }

  .mp-shell {
    width: calc(100% - 14px);
  }

  .mp-top h1 {
    font-size: 1.34rem;
  }

  .mp-team-card {
    grid-template-columns: 48px minmax(0, 1fr);
    padding: 8px 7px;
  }

  .mp-team-logo {
    width: 48px;
    height: 52px;
  }

  .mp-team-logo img {
    width: 47px;
    height: 47px;
  }

  .mp-team-copy strong {
    font-size: .70rem;
  }

  .mp-team-copy small {
    font-size: .54rem;
  }

  .mp-balance-values strong {
    font-size: 1rem;
  }

  .mp-balance-values span {
    font-size: .57rem;
  }

  .mp-driver-grid article {
    grid-template-columns: 26px minmax(0, 1fr) 80px;
    gap: 7px;
  }

  .mp-driver-grid .mp-microbar {
    width: 80px;
  }

  .mp-market-table > div {
    grid-template-columns: 1.2fr .82fr .58fr;
    font-size: .57rem;
  }

  .mp-prob-row > span {
    font-size: .69rem;
  }

  .mp-score-grid span {
    padding: 7px 2px;
  }

  .mp-score-grid strong {
    font-size: .70rem;
  }

  .mp-score-grid small {
    font-size: .53rem;
  }

  .mp-scenario-list article {
    grid-template-columns: 1fr 82px 1fr;
    padding-inline: 6px;
  }

  .mp-scenario-list article > span {
    font-size: .55rem;
  }

  .mp-compare-table div {
    grid-template-columns: .8fr 1.4fr .8fr;
    padding-inline: 5px;
  }

  .mp-compare-table strong {
    font-size: .6rem;
  }

  .mp-compare-table span {
    font-size: .54rem;
  }
}

/* ==========================================================================
   PASS ISO MOCKUP — V2
   Cette couche affine la V1 pour se rapprocher au maximum du mockup final :
   proportions, typographie, cartes, densité, couleurs, grilles et overflow.
   ========================================================================== */

.match-product-page .mp-page {
  --mp-bg: #f7f9fc;
  --mp-card: #ffffff;
  --mp-card-soft: #fafbfe;
  --mp-text: #0a1d46;
  --mp-muted: #62718d;
  --mp-line: #e3e8f1;
  --mp-blue: #1264f3;
  --mp-blue-dark: #0b3d9f;
  --mp-red: #ff263e;
  --mp-green: #0daa59;
  --mp-orange: #f3a20b;
  --mp-gray: #9aa2af;
  --mp-shadow: 0 10px 30px rgba(31, 58, 109, .055);
  --mp-shadow-soft: 0 4px 15px rgba(31, 58, 109, .045);
  font-size: 16.5px;
}

.match-product-page,
.match-product-page .mp-page,
.match-product-page .mp-shell,
.match-product-page .mp-content,
.match-product-page .mp-grid,
.match-product-page .mp-card,
.match-product-page .mp-card > *,
.match-product-page .mp-hero-grid > *,
.match-product-page .mp-driver-grid > *,
.match-product-page .mp-reliability > * {
  min-width: 0;
}

.match-product-page,
.match-product-page .mp-page {
  max-width: 100%;
  overflow-x: clip;
}

.mp-shell {
  width: min(1230px, calc(100% - 34px));
}

.mp-top {
  padding: 18px 0 24px;
  background:
    radial-gradient(760px 285px at 50% 10%, rgba(20, 98, 243, .035), transparent 72%);
}

.mp-top::before,
.mp-top::after {
  opacity: .25;
  background-size: 82px 82px;
}

.mp-breadcrumb {
  color: #667695;
  font-size: .71rem;
  font-weight: 680;
}

.mp-match-meta {
  margin-top: 18px;
  gap: 5px;
  color: #56698d;
  font-size: .76rem;
}

.mp-match-meta .mp-kicker,
.mp-kicker,
.mp-eyebrow {
  color: #243e70;
  font-weight: 900;
  letter-spacing: .082em;
}

.mp-top h1 {
  margin-top: 14px;
  margin-bottom: 17px;
  max-width: 980px;
  color: #071a43;
  font-size: clamp(1.72rem, 2.7vw, 2.38rem);
  font-weight: 900;
  letter-spacing: -.038em;
}

/* HERO — proportions plus proches du mockup final */
.mp-hero-grid {
  grid-template-columns: 280px minmax(440px, 1fr) 280px;
  gap: 15px;
  align-items: stretch;
}

.mp-team-card {
  min-height: 166px;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 8px 15px;
  padding: 17px 19px;
  border-radius: 13px;
  border-color: #e0e6f0;
  box-shadow: 0 9px 26px rgba(31, 58, 109, .05);
}

.mp-team-card:hover {
  transform: translateY(-1px);
  border-color: #cbd6e8;
  box-shadow: 0 13px 31px rgba(31, 58, 109, .075);
}

.mp-team-logo {
  width: 88px;
  height: 98px;
}

.mp-team-logo img {
  width: 82px;
  height: 82px;
}

.mp-team-copy strong {
  font-size: 1.04rem;
  line-height: 1.12;
}

.mp-team-copy small {
  margin-top: 6px;
  font-size: .66rem;
}

.mp-form {
  gap: 5px;
}

.mp-form b {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  font-size: .63rem;
}

.mp-balance-card {
  align-self: center;
  padding: 18px 20px 16px;
  border-radius: 12px;
  border-color: #e0e6f0;
  box-shadow: 0 8px 24px rgba(31, 58, 109, .048);
}

.mp-balance-card > .mp-eyebrow {
  margin-bottom: 12px;
  font-size: .62rem;
}

.mp-balance-values strong {
  font-size: 1.5rem;
}

.mp-balance-values span {
  margin-top: 5px;
  color: #20385f;
  font-size: .70rem;
  font-weight: 760;
}

.mp-balance-track {
  height: 7px;
  margin-top: 12px;
}

.mp-verdict-card {
  width: min(865px, 100%);
  grid-template-columns: 1.72fr .72fr 1fr;
  margin-top: 13px;
  border-radius: 12px;
  border-color: #e1e6ee;
  box-shadow: 0 8px 24px rgba(31, 58, 109, .047);
}

.mp-verdict-card > div {
  padding: 15px 18px 16px;
}

.mp-verdict-main strong,
.mp-verdict-alt strong {
  font-size: 1.00rem;
  letter-spacing: -.012em;
}

.mp-verdict-main p,
.mp-verdict-alt small,
.mp-verdict-stat small {
  font-size: .69rem;
  line-height: 1.48;
}

.mp-verdict-stat strong {
  margin-top: 7px;
  font-size: .98rem;
}

/* CARTES — moins "boxy", plus premium */
.mp-content {
  gap: 11px;
  padding-bottom: 44px;
}

.mp-card {
  padding: 16px 17px;
  border-radius: 12px;
  border-color: #e2e7ef;
  box-shadow: 0 8px 25px rgba(31, 58, 109, .046);
}

.mp-card-title {
  margin-bottom: 13px;
}

.mp-card-title h2 {
  color: #132d5b;
  font-size: .88rem;
  font-weight: 900;
  letter-spacing: -.012em;
}

.mp-title-icon {
  width: 23px;
  height: 23px;
  color: #536f9d;
}

/* Pourquoi le modèle voit ça */
.mp-drivers {
  padding-top: 15px;
  padding-bottom: 14px;
}

.mp-driver-grid article {
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 8px 11px;
  padding: 4px 18px 2px;
}

.mp-driver-grid article > svg {
  width: 30px;
  height: 30px;
  color: #667389;
}

.mp-driver-grid strong {
  color: #24395f;
  font-size: .70rem;
}

.mp-driver-grid span {
  color: #4f5e78;
  font-size: .63rem;
  line-height: 1.32;
}

.mp-microbar {
  height: 4px;
  gap: 4px;
}

.mp-microbar i {
  background: #dce2ea;
}

/* Grilles : conserver les 3 colonnes beaucoup plus longtemps.
   Le mockup final garde flow/scénarios/comparaison sur la même ligne. */
.mp-grid--2 {
  grid-template-columns: .96fr 1.04fr;
}

.mp-grid--3-analysis {
  grid-template-columns: .93fr .93fr 1.14fr;
}

.mp-grid--bottom {
  grid-template-columns: 1fr 1.12fr .86fr;
}

/* Probabilités */
.mp-prob-row {
  padding: 8px 5px 9px;
}

.mp-prob-row > span {
  font-size: .72rem;
}

.mp-prob-row > strong {
  font-size: .82rem;
}

.mp-rail {
  height: 5px;
}

.mp-prob-summary {
  margin-top: 11px;
  background: #fbfcff;
}

.mp-prob-summary p {
  padding: 9px 7px;
}

.mp-prob-summary span {
  font-size: .55rem;
}

.mp-prob-summary strong {
  font-size: .66rem;
}

/* Table marchés — plus légère et plus lisible */
.mp-market-table {
  border-color: #e4e9f1;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.mp-market-table > div {
  grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr) minmax(58px, .62fr) minmax(90px, .95fr);
  min-height: 34px;
  padding: 6px 9px;
  column-gap: 8px;
  overflow: hidden;
  color: #26395d;
  font-size: .61rem;
}

.mp-market-table > div > * {
  min-width: 0;
  overflow-wrap: anywhere;
}

.mp-market-table .head {
  min-height: 27px;
  color: #7b88a0;
  background: #f8faff;
  font-size: .53rem;
}

.pill {
  max-width: 100%;
  padding: 4px 7px;
  font-size: .51rem;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Flow */
.mp-xg-strip {
  gap: 6px;
}

.mp-xg-strip p {
  padding: 11px 8px 10px;
  border-radius: 8px;
}

.mp-xg-strip strong {
  font-size: 1.08rem;
}

.mp-xg-strip .featured {
  border-color: #163d83;
  box-shadow: inset 0 0 0 1px rgba(18, 100, 243, .06);
}

.mp-xg-strip .featured strong {
  font-size: 1.38rem;
}

.mp-two-metrics p {
  padding: 9px 10px;
  border-radius: 8px;
}

.mp-score-grid {
  gap: 5px;
}

.mp-score-grid span {
  border-radius: 7px;
  padding: 8px 3px;
}

/* Scénarios — garde les libellés centrés, jamais de débordement */
.mp-scenarios-card {
  overflow: hidden;
}

.mp-scenario-teams {
  padding: 5px 4px 9px;
}

.mp-scenario-teams span {
  min-width: 0;
  font-size: .61rem;
}

.mp-scenario-list article {
  grid-template-columns: minmax(0, 1fr) minmax(92px, .86fr) minmax(0, 1fr);
  min-height: 58px;
  gap: 9px;
  padding: 8px 9px;
  overflow: hidden;
  border-radius: 8px;
}

.mp-scenario-list article > span {
  min-width: 0;
  color: #3e4f6c;
  font-size: .58rem;
  line-height: 1.28;
  overflow-wrap: anywhere;
}

.mp-scenario-list article > div {
  min-width: 0;
}

.mp-scenario-list article > div strong {
  font-size: .82rem;
}

/* Comparaison — ajoute et stylise la série en cours */
.mp-compare-card {
  overflow: hidden;
}

.mp-compare-head {
  min-width: 0;
  padding: 7px 8px 9px;
}

.mp-compare-head a {
  min-width: 0;
  color: #20365c;
  font-size: .62rem;
  white-space: normal;
}

.mp-compare-head a:last-child {
  justify-content: flex-end;
  text-align: right;
}

.mp-compare-table {
  border-color: #e4e9f1;
}

.mp-compare-table div {
  grid-template-columns: minmax(0, .88fr) minmax(110px, 1.36fr) minmax(0, .88fr);
  min-height: 31px;
  padding: 5px 8px;
  background: #fff;
}

.mp-compare-table div:nth-child(even) {
  background: #fbfcfe;
}

.mp-compare-table strong {
  color: #173568;
  font-size: .64rem;
}

.mp-compare-table span {
  min-width: 0;
  color: #61718c;
  font-size: .56rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.mp-compare-form-row {
  min-height: 37px !important;
}

.mp-compare-form {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
}

.mp-compare-form i {
  display: grid;
  place-items: center;
  width: 15px;
  height: 15px;
  border-radius: 3px;
  color: #fff;
  font-size: .47rem;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
}

.mp-compare-form i.is-w { background: #13a85b; }
.mp-compare-form i.is-d { background: #f2a90f; }
.mp-compare-form i.is-l { background: #f03b4f; }

/* Reliability Lens : proportions et respiration du mockup */
.mp-reliability {
  grid-template-columns: 1.02fr 1.08fr 1.72fr;
  border-radius: 12px;
}

.mp-reliability > div {
  padding: 16px 18px;
}

.mp-reliability-copy > strong {
  margin-top: 8px;
  color: var(--mp-red);
  font-size: 1.05rem;
}

.mp-reliability-copy > p {
  font-size: .65rem;
  line-height: 1.52;
}

.mp-reliability-score {
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 4px 11px;
}

.mp-ring {
  width: 76px;
  height: 76px;
}

.mp-ring::before {
  width: 57px;
  height: 57px;
}

.mp-ring span {
  font-size: .84rem;
}

.mp-reliability-score > p {
  color: #2d4268;
  font-size: .61rem;
  line-height: 1.45;
}

.mp-reliability-score > a {
  font-size: .57rem;
}

.mp-history-chart {
  display: grid;
  align-content: center;
}

.mp-history-chart svg {
  width: 100%;
  max-height: 178px;
}

.mp-history-chart .curve {
  stroke-width: 2.4;
}

/* Bottom */
.mp-grid--bottom .mp-card {
  min-height: 100%;
}

.mp-faq summary {
  font-size: .64rem;
}

.mp-more strong {
  font-size: .64rem;
}

.mp-more small {
  font-size: .55rem;
}

.mp-trust p {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 8px;
  color: #52617c;
  font-size: .63rem;
}

.mp-trust-icon {
  color: #7285a7;
  font-weight: 900;
}

.mp-editorial {
  padding-top: 6px;
}

.mp-editorial h2 {
  font-size: .68rem;
}

.mp-editorial p {
  font-size: .60rem;
}

/* Tooltip : ne doit jamais provoquer d'overflow horizontal */
.mp-info {
  position: relative;
}

.mp-info[data-open="1"]::after {
  left: 50%;
  transform: translateX(-50%);
  max-width: min(280px, calc(100vw - 24px));
  overflow-wrap: anywhere;
}

/* ---------- BREAKPOINTS ---------- */

@media (max-width: 1120px) and (min-width: 761px) {
  .mp-shell {
    width: min(100% - 26px, 1120px);
  }

  .mp-hero-grid {
    grid-template-columns: 245px minmax(360px, 1fr) 245px;
    gap: 11px;
  }

  .mp-team-card {
    grid-template-columns: 74px minmax(0, 1fr);
    padding: 14px;
  }

  .mp-team-logo {
    width: 74px;
    height: 82px;
  }

  .mp-team-logo img {
    width: 70px;
    height: 70px;
  }

  /* Important : contrairement à la V1, on ne casse plus les 3 cartes
     analytiques ni les 3 cartes basses à 1050px. */
  .mp-grid--3-analysis {
    grid-template-columns: .93fr .93fr 1.14fr;
  }

  .mp-grid--bottom {
    grid-template-columns: 1fr 1.12fr .86fr;
  }

  .mp-compare-card,
  .mp-trust {
    grid-column: auto;
  }

  .mp-driver-grid article {
    padding-inline: 12px;
  }
}

@media (max-width: 900px) and (min-width: 761px) {
  .mp-grid--3-analysis {
    grid-template-columns: 1fr 1fr;
  }

  .mp-compare-card {
    grid-column: 1 / -1;
  }

  .mp-grid--bottom {
    grid-template-columns: 1fr 1fr;
  }

  .mp-trust {
    grid-column: 1 / -1;
  }

  .mp-reliability {
    grid-template-columns: 1fr 1fr;
  }

  .mp-history-chart {
    grid-column: 1 / -1;
    border-left: 0 !important;
    border-top: 1px solid var(--mp-line);
  }
}

@media (max-width: 760px) {
  .match-product-page .mp-page {
    font-size: 17.25px;
  }

  .mp-shell {
    width: min(100% - 16px, 620px);
  }

  .mp-breadcrumb {
    font-size: .61rem;
  }

  .mp-match-meta {
    font-size: .66rem;
  }

  .mp-top h1 {
    max-width: 360px;
    font-size: 1.40rem;
  }

  .mp-hero-grid {
    grid-template-columns: minmax(0, 1fr) 50px minmax(0, 1fr);
    gap: 6px;
  }

  .mp-team-card {
    grid-template-columns: 52px minmax(0, 1fr);
    min-height: 92px;
    padding: 8px;
  }

  .mp-team-logo {
    width: 52px;
    height: 55px;
  }

  .mp-team-logo img {
    width: 50px;
    height: 50px;
  }

  .mp-team-copy strong {
    font-size: .72rem;
  }

  .mp-team-copy small {
    font-size: .55rem;
  }

  .mp-form b {
    width: 18px;
    height: 18px;
  }

  .mp-balance-card {
    padding: 11px 9px;
  }

  .mp-balance-values strong {
    font-size: 1.05rem;
  }

  .mp-balance-values span {
    font-size: .58rem;
  }

  .mp-verdict-card {
    grid-template-columns: 1fr 1fr;
  }

  .mp-verdict-card > div {
    padding: 11px 12px;
  }

  .mp-verdict-main strong,
  .mp-verdict-alt strong {
    font-size: .82rem;
  }

  .mp-verdict-main p,
  .mp-verdict-alt small,
  .mp-verdict-stat small {
    font-size: .62rem;
  }

  .mp-card {
    padding: 12px;
  }

  .mp-card-title h2 {
    font-size: .76rem;
  }

  .mp-driver-grid article {
    grid-template-columns: 27px minmax(0, 1fr) 88px;
    gap: 7px;
    padding: 8px 2px;
  }

  .mp-driver-grid .mp-microbar {
    grid-column: 3;
    width: 88px;
  }

  .mp-market-table > div {
    grid-template-columns: minmax(0, 1.22fr) minmax(0, .86fr) minmax(52px, .56fr);
    font-size: .58rem;
  }

  .mp-market-table > div > :nth-child(4),
  .mp-market-table .head > :nth-child(4) {
    display: none;
  }

  .mp-scenario-list article {
    grid-template-columns: minmax(0, 1fr) minmax(86px, .82fr) minmax(0, 1fr);
    gap: 6px;
    padding: 8px 6px;
  }

  .mp-scenario-list article > span {
    font-size: .54rem;
  }

  .mp-compare-table div {
    grid-template-columns: minmax(0, .85fr) minmax(92px, 1.3fr) minmax(0, .85fr);
    padding: 5px 4px;
  }

  .mp-compare-form {
    gap: 2px;
  }

  .mp-compare-form i {
    width: 13px;
    height: 13px;
    font-size: .42rem;
  }

  .mp-reliability {
    grid-template-columns: 1fr;
  }

  .mp-reliability > div + div {
    border-left: 0;
    border-top: 1px solid var(--mp-line);
  }

  .mp-history-chart {
    grid-column: auto;
  }

  .mp-grid--bottom {
    grid-template-columns: 1fr;
  }

  .mp-trust {
    grid-column: auto;
  }
}

@media (max-width: 410px) {
  .match-product-page .mp-page {
    font-size: 17.5px;
  }

  .mp-shell {
    width: calc(100% - 12px);
  }

  .mp-top h1 {
    font-size: 1.30rem;
  }

  .mp-team-card {
    grid-template-columns: 46px minmax(0, 1fr);
    padding: 7px 6px;
  }

  .mp-team-logo {
    width: 46px;
    height: 49px;
  }

  .mp-team-logo img {
    width: 44px;
    height: 44px;
  }

  .mp-team-copy strong {
    font-size: .66rem;
    overflow-wrap: anywhere;
  }

  .mp-balance-values strong {
    font-size: .96rem;
  }

  .mp-balance-values span {
    font-size: .54rem;
  }

  .mp-driver-grid article {
    grid-template-columns: 25px minmax(0, 1fr) 72px;
  }

  .mp-driver-grid .mp-microbar {
    width: 72px;
  }

  .mp-market-table > div {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .82fr) 50px;
    padding-inline: 5px;
    font-size: .54rem;
  }

  .mp-scenario-list article {
    grid-template-columns: minmax(0, 1fr) 76px minmax(0, 1fr);
  }

  .mp-compare-table div {
    grid-template-columns: minmax(0, .82fr) minmax(82px, 1.3fr) minmax(0, .82fr);
  }

  .mp-compare-form i {
    width: 12px;
    height: 12px;
    font-size: .38rem;
  }
}


/* ==========================================================================
   V3 — MOBILE PRODUCT PASS
   Desktop V2 is intentionally untouched.
   ========================================================================== */

@media (max-width: 900px) {

  /* ---------- global / overflow ---------- */
  .match-product-page,
  .match-product-page .mp-page {
    width: 100%;
    max-width: 100%;
    overflow-x: clip !important;
  }

  .match-product-page .mp-shell {
    width: min(100% - 18px, 640px);
    max-width: 100%;
  }

  .match-product-page .mp-content {
    gap: 10px;
    padding-bottom: 86px;
  }

  .match-product-page .mp-card,
  .match-product-page .mp-team-card,
  .match-product-page .mp-balance-card,
  .match-product-page .mp-verdict-card {
    max-width: 100%;
    overflow: hidden;
  }

  /* ---------- hero ---------- */
  .match-product-page .mp-top {
    padding: 10px 0 17px;
  }

  .match-product-page .mp-breadcrumb {
    min-height: 22px;
    gap: 5px;
    font-size: .62rem;
  }

  .match-product-page .mp-match-meta {
    margin-top: 11px;
    gap: 3px;
    font-size: .66rem;
  }

  .match-product-page .mp-top h1 {
    max-width: 390px;
    margin: 10px auto 12px;
    font-size: 1.42rem;
    line-height: 1.10;
  }

  .match-product-page .mp-hero-grid,
  .match-product-page .mp-hero-grid--played {
    grid-template-columns: minmax(0, 1fr) 52px minmax(0, 1fr) !important;
    align-items: center;
    gap: 7px;
  }

  .match-product-page .mp-team-card {
    grid-template-columns: 50px minmax(0, 1fr);
    grid-template-rows: auto auto;
    min-height: 94px;
    gap: 5px 7px;
    padding: 8px;
    border-radius: 11px;
  }

  .match-product-page .mp-team-card--home {
    grid-column: 1;
    grid-row: 1;
  }

  .match-product-page .mp-team-card--away {
    grid-column: 3;
    grid-row: 1;
  }

  .match-product-page .mp-team-logo {
    grid-row: 1;
    width: 50px;
    height: 54px;
  }

  .match-product-page .mp-team-logo img {
    width: 48px;
    height: 48px;
  }

  .match-product-page .mp-team-copy strong {
    font-size: .72rem;
    line-height: 1.10;
    overflow-wrap: anywhere;
  }

  .match-product-page .mp-team-copy small {
    margin-top: 3px;
    font-size: .54rem;
  }

  .match-product-page .mp-form {
    grid-column: 1 / -1;
    justify-content: center;
    gap: 3px;
  }

  .match-product-page .mp-form b {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    font-size: .53rem;
  }

  .match-product-page .mp-balance-card,
  .match-product-page .mp-waiting-card {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    width: 100%;
    min-height: 0;
    margin: 0;
    padding: 11px 10px;
  }

  .match-product-page .mp-balance-card > .mp-eyebrow {
    margin-bottom: 8px;
    font-size: .57rem;
  }

  .match-product-page .mp-balance-values strong {
    font-size: 1.04rem;
  }

  .match-product-page .mp-balance-values span {
    margin-top: 3px;
    font-size: .57rem;
  }

  .match-product-page .mp-balance-track {
    height: 6px;
    margin-top: 9px;
  }

  /* ---------- verdict ---------- */
  .match-product-page .mp-verdict-card {
    grid-template-columns: 1fr 1fr !important;
    width: 100%;
    margin-top: 8px;
  }

  .match-product-page .mp-verdict-main {
    grid-column: 1 / -1;
  }

  .match-product-page .mp-verdict-card > div {
    padding: 11px 12px;
  }

  .match-product-page .mp-verdict-card > div + div {
    border-left: 0;
    border-top: 1px solid var(--mp-line);
  }

  .match-product-page .mp-verdict-stat + .mp-verdict-alt {
    border-left: 1px solid var(--mp-line);
  }

  .match-product-page .mp-verdict-main strong,
  .match-product-page .mp-verdict-alt strong {
    font-size: .84rem;
  }

  .match-product-page .mp-verdict-main p,
  .match-product-page .mp-verdict-alt small,
  .match-product-page .mp-verdict-stat small {
    font-size: .63rem;
    line-height: 1.45;
  }

  /* ---------- cards / type ---------- */
  .match-product-page .mp-card {
    padding: 12px;
    border-radius: 11px;
  }

  .match-product-page .mp-card-title {
    margin-bottom: 10px;
  }

  .match-product-page .mp-card-title h2 {
    font-size: .78rem;
    line-height: 1.18;
  }

  .match-product-page .mp-title-icon {
    width: 21px;
    height: 21px;
  }

  /* ---------- drivers ---------- */
  .match-product-page .mp-driver-grid {
    grid-template-columns: 1fr !important;
    gap: 0;
  }

  .match-product-page .mp-driver-grid article {
    grid-template-columns: 27px minmax(0, 1fr) 86px !important;
    grid-template-rows: auto;
    align-items: center;
    gap: 7px;
    padding: 8px 2px;
    border-top: 1px solid #edf1f6;
    border-left: 0;
  }

  .match-product-page .mp-driver-grid article:first-child {
    border-top: 0;
  }

  .match-product-page .mp-driver-grid article > svg {
    width: 24px;
    height: 24px;
  }

  .match-product-page .mp-driver-grid strong {
    font-size: .68rem;
  }

  .match-product-page .mp-driver-grid span {
    font-size: .59rem;
  }

  .match-product-page .mp-driver-grid .mp-microbar {
    grid-column: 3 !important;
    width: 86px;
    height: 4px;
  }

  /* ---------- CRITICAL: never retain desktop multi-columns on mobile ---------- */
  .match-product-page .mp-grid--2,
  .match-product-page .mp-grid--3-analysis,
  .match-product-page .mp-grid--bottom,
  .match-product-page .mp-waiting-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 10px !important;
  }

  .match-product-page .mp-grid--2 > *,
  .match-product-page .mp-grid--3-analysis > *,
  .match-product-page .mp-grid--bottom > *,
  .match-product-page .mp-waiting-grid > * {
    grid-column: 1 !important;
    width: 100%;
    min-width: 0;
  }

  /* ---------- probabilities ---------- */
  .match-product-page .mp-prob-row {
    padding: 8px 4px;
  }

  .match-product-page .mp-prob-row > span {
    font-size: .70rem;
  }

  .match-product-page .mp-prob-row > strong {
    font-size: .78rem;
  }

  .match-product-page .mp-prob-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .match-product-page .mp-prob-summary p {
    padding: 8px 5px;
  }

  .match-product-page .mp-prob-summary span {
    font-size: .52rem;
  }

  .match-product-page .mp-prob-summary strong {
    font-size: .62rem;
  }

  /* ---------- alternatives: mobile cards rather than crushed table ---------- */
  .match-product-page .mp-market-table {
    display: grid;
    gap: 6px;
    border: 0;
    overflow: visible;
    background: transparent;
  }

  .match-product-page .mp-market-table .head {
    display: none !important;
  }

  .match-product-page .mp-market-table > div:not(.head) {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto auto !important;
    grid-template-areas:
      "market choice probability"
      "market reading reading";
    align-items: center;
    gap: 5px 9px;
    min-height: 54px;
    padding: 8px 9px;
    border: 1px solid #e5eaf2 !important;
    border-radius: 8px;
    background: #fbfcff;
    font-size: .61rem;
  }

  .match-product-page .mp-market-table > div:not(.head) > :nth-child(1) {
    grid-area: market;
    color: #53637e;
    line-height: 1.25;
  }

  .match-product-page .mp-market-table > div:not(.head) > :nth-child(2) {
    grid-area: choice;
    color: #183568;
    text-align: right;
    white-space: normal;
  }

  .match-product-page .mp-market-table > div:not(.head) > :nth-child(3) {
    grid-area: probability;
    color: #0d2857;
    text-align: right;
  }

  .match-product-page .mp-market-table > div:not(.head) > :nth-child(4) {
    grid-area: reading;
    display: inline-flex !important;
    justify-self: end;
    max-width: 100%;
  }

  /* ---------- match flow ---------- */
  .match-product-page .mp-xg-strip {
    gap: 5px;
  }

  .match-product-page .mp-xg-strip p {
    padding: 10px 6px;
  }

  .match-product-page .mp-xg-strip span,
  .match-product-page .mp-two-metrics span,
  .match-product-page .mp-score-head {
    font-size: .51rem;
  }

  .match-product-page .mp-xg-strip strong {
    font-size: 1.0rem;
  }

  .match-product-page .mp-xg-strip .featured strong {
    font-size: 1.22rem;
  }

  .match-product-page .mp-two-metrics {
    gap: 6px;
  }

  .match-product-page .mp-two-metrics strong {
    font-size: .82rem;
  }

  .match-product-page .mp-score-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 4px;
  }

  .match-product-page .mp-score-grid span {
    padding: 7px 2px;
  }

  .match-product-page .mp-score-grid strong {
    font-size: .72rem;
  }

  .match-product-page .mp-score-grid small {
    font-size: .51rem;
  }

  /* ---------- scenarios ---------- */
  .match-product-page .mp-scenarios-card {
    overflow: hidden;
  }

  .match-product-page .mp-scenario-teams {
    padding-inline: 2px;
  }

  .match-product-page .mp-scenario-teams span {
    min-width: 0;
    font-size: .61rem;
    overflow-wrap: anywhere;
  }

  .match-product-page .mp-scenario-list article {
    grid-template-columns: minmax(0, 1fr) minmax(96px, .9fr) minmax(0, 1fr) !important;
    gap: 7px;
    min-height: 62px;
    padding: 8px;
  }

  .match-product-page .mp-scenario-list article > span {
    font-size: .57rem;
    line-height: 1.28;
  }

  .match-product-page .mp-scenario-list article > div strong {
    font-size: .79rem;
  }

  /* ---------- comparison ---------- */
  .match-product-page .mp-compare-head {
    padding: 7px 6px 9px;
  }

  .match-product-page .mp-compare-head a {
    max-width: 48%;
    font-size: .62rem;
    overflow-wrap: anywhere;
  }

  .match-product-page .mp-compare-table div {
    grid-template-columns: minmax(0, .92fr) minmax(112px, 1.25fr) minmax(0, .92fr) !important;
    min-height: 34px;
    padding: 5px 6px;
  }

  .match-product-page .mp-compare-table strong {
    font-size: .64rem;
  }

  .match-product-page .mp-compare-table span {
    font-size: .56rem;
    line-height: 1.22;
  }

  .match-product-page .mp-compare-form {
    gap: 3px;
  }

  .match-product-page .mp-compare-form i {
    width: 15px;
    height: 15px;
    font-size: .45rem;
  }

  /* ---------- reliability ---------- */
  .match-product-page .mp-reliability {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }

  .match-product-page .mp-reliability > div {
    padding: 13px;
  }

  .match-product-page .mp-reliability > div + div {
    border-left: 0 !important;
    border-top: 1px solid var(--mp-line);
  }

  .match-product-page .mp-reliability-copy > strong {
    font-size: 1.02rem;
  }

  .match-product-page .mp-reliability-copy > p {
    font-size: .63rem;
  }

  .match-product-page .mp-reliability-score {
    grid-template-columns: 76px minmax(0, 1fr);
  }

  .match-product-page .mp-ring {
    width: 68px;
    height: 68px;
  }

  .match-product-page .mp-ring::before {
    width: 51px;
    height: 51px;
  }

  .match-product-page .mp-reliability-score > p {
    font-size: .61rem;
  }

  .match-product-page .mp-history-chart svg {
    width: 100%;
    min-height: 155px;
    max-height: 190px;
  }

  /* ---------- bottom ---------- */
  .match-product-page .mp-faq summary {
    min-height: 38px;
    display: flex;
    align-items: center;
    padding-top: 9px;
    padding-bottom: 9px;
    font-size: .64rem;
  }

  .match-product-page .mp-more > a {
    min-height: 52px;
  }

  .match-product-page .mp-more strong {
    font-size: .65rem;
  }

  .match-product-page .mp-more small {
    font-size: .56rem;
  }

  .match-product-page .mp-trust p {
    font-size: .63rem;
  }

  .match-product-page .mp-editorial {
    padding: 4px 4px 0;
  }

  .match-product-page .mp-editorial h2 {
    font-size: .66rem;
    line-height: 1.3;
  }

  .match-product-page .mp-editorial p {
    font-size: .59rem;
  }

  /* Publicités : jamais plus larges que la page */
  .match-product-page .mp-ad,
  .match-product-page .mp-ad .fs-manual-ad-shell,
  .match-product-page .mp-ad .fs-manual-ad {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }
}

@media (max-width: 420px) {
  .match-product-page .mp-shell {
    width: calc(100% - 12px);
  }

  .match-product-page .mp-top h1 {
    font-size: 1.31rem;
  }

  .match-product-page .mp-team-card {
    grid-template-columns: 44px minmax(0, 1fr);
    padding: 7px 6px;
  }

  .match-product-page .mp-team-logo {
    width: 44px;
    height: 48px;
  }

  .match-product-page .mp-team-logo img {
    width: 42px;
    height: 42px;
  }

  .match-product-page .mp-team-copy strong {
    font-size: .65rem;
  }

  .match-product-page .mp-driver-grid article {
    grid-template-columns: 25px minmax(0, 1fr) 72px !important;
  }

  .match-product-page .mp-driver-grid .mp-microbar {
    width: 72px;
  }

  .match-product-page .mp-market-table > div:not(.head) {
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-areas:
      "market probability"
      "choice reading";
  }

  .match-product-page .mp-market-table > div:not(.head) > :nth-child(2) {
    text-align: left;
  }

  .match-product-page .mp-market-table > div:not(.head) > :nth-child(4) {
    justify-self: end;
  }

  .match-product-page .mp-scenario-list article {
    grid-template-columns: minmax(0, 1fr) 86px minmax(0, 1fr) !important;
    gap: 5px;
    padding-inline: 6px;
  }

  .match-product-page .mp-compare-table div {
    grid-template-columns: minmax(0, .86fr) minmax(96px, 1.25fr) minmax(0, .86fr) !important;
    padding-inline: 4px;
  }

  .match-product-page .mp-compare-form i {
    width: 13px;
    height: 13px;
    font-size: .39rem;
  }
}
/* ==========================================================================
   FINAL PASS — TYPOGRAPHIE / SCOPE / DARK MODE / GRAPH MOBILE
   À conserver tout en bas du fichier.
   ========================================================================== */

/* Le body porte la classe de page, mais la refonte ne doit jamais styliser
   directement le header/footer chargés par layoutLoader. */
body.match-product-page {
  margin: 0;
}

/* Sécurité si l'ancien bouton est encore présent dans un HTML de test. */
.match-product-page .mp-page .mp-collapse-btn {
  display: none !important;
}

/* --------------------------------------------------------------------------
   TYPOGRAPHIE — desktop
   -------------------------------------------------------------------------- */

.match-product-page .mp-page {
  font-size: 18px;
}

.match-product-page .mp-page .mp-verdict-main p,
.match-product-page .mp-page .mp-verdict-alt small,
.match-product-page .mp-page .mp-verdict-stat small,
.match-product-page .mp-page .mp-driver-grid span,
.match-product-page .mp-page .mp-reliability-copy > p,
.match-product-page .mp-page .mp-reliability-score > p,
.match-product-page .mp-page .mp-faq details p,
.match-product-page .mp-page .mp-more small,
.match-product-page .mp-page .mp-trust p,
.match-product-page .mp-page .mp-editorial p {
  font-size: 0.72rem;
  line-height: 1.5;
}

.match-product-page .mp-page .mp-kicker,
.match-product-page .mp-page .mp-eyebrow,
.match-product-page .mp-page .mp-xg-strip span,
.match-product-page .mp-page .mp-two-metrics span,
.match-product-page .mp-page .mp-score-head {
  font-size: 0.64rem;
}

.match-product-page .mp-page .mp-breadcrumb {
  font-size: 0.76rem;
}

.match-product-page .mp-page .mp-match-meta {
  font-size: 0.82rem;
}

.match-product-page .mp-page .mp-top h1 {
  font-size: clamp(1.9rem, 3vw, 2.5rem);
}

.match-product-page .mp-page .mp-card-title h2 {
  font-size: 0.96rem;
}

.match-product-page .mp-page .mp-team-copy strong {
  font-size: 1.10rem;
}

.match-product-page .mp-page .mp-team-copy small {
  font-size: 0.72rem;
}

.match-product-page .mp-page .mp-balance-values strong {
  font-size: 1.58rem;
}

.match-product-page .mp-page .mp-balance-values span {
  font-size: 0.76rem;
}

.match-product-page .mp-page .mp-verdict-main strong,
.match-product-page .mp-page .mp-verdict-alt strong,
.match-product-page .mp-page .mp-verdict-stat strong {
  font-size: 1.03rem;
}

.match-product-page .mp-page .mp-driver-grid strong {
  font-size: 0.76rem;
}

.match-product-page .mp-page .mp-driver-grid span {
  font-size: 0.69rem;
}

.match-product-page .mp-page .mp-prob-row > span {
  font-size: 0.79rem;
}

.match-product-page .mp-page .mp-prob-row > strong {
  font-size: 0.90rem;
}

.match-product-page .mp-page .mp-prob-summary span {
  font-size: 0.62rem;
}

.match-product-page .mp-page .mp-prob-summary strong {
  font-size: 0.74rem;
}

.match-product-page .mp-page .mp-market-table > div {
  font-size: 0.70rem;
}

.match-product-page .mp-page .mp-market-table .head {
  font-size: 0.60rem;
}

.match-product-page .mp-page .pill {
  font-size: 0.59rem;
}

.match-product-page .mp-page .mp-xg-strip strong {
  font-size: 1.22rem;
}

.match-product-page .mp-page .mp-xg-strip .featured strong {
  font-size: 1.52rem;
}

.match-product-page .mp-page .mp-two-metrics strong {
  font-size: 1rem;
}

.match-product-page .mp-page .mp-score-grid strong {
  font-size: 0.90rem;
}

.match-product-page .mp-page .mp-score-grid small {
  font-size: 0.64rem;
}

.match-product-page .mp-page .mp-scenario-list article > span {
  font-size: 0.68rem;
}

.match-product-page .mp-page .mp-scenario-list article > div strong {
  font-size: 0.92rem;
}

.match-product-page .mp-page .mp-compare-head a {
  font-size: 0.72rem;
}

.match-product-page .mp-page .mp-compare-table strong {
  font-size: 0.73rem;
}

.match-product-page .mp-page .mp-compare-table span {
  font-size: 0.64rem;
}

.match-product-page .mp-page .mp-reliability-copy > strong {
  font-size: 1.16rem;
}

.match-product-page .mp-page .mp-reliability-score > p {
  font-size: 0.68rem;
}

.match-product-page .mp-page .mp-reliability-score > a {
  font-size: 0.65rem;
}

.match-product-page .mp-page .mp-faq summary {
  font-size: 0.72rem;
}

.match-product-page .mp-page .mp-more strong {
  font-size: 0.72rem;
}

.match-product-page .mp-page .mp-more small {
  font-size: 0.63rem;
}

/* --------------------------------------------------------------------------
   DARK MODE — uniquement le contenu .mp-page.
   Header/footer continuent d'utiliser le thème générique Foresportia.
   -------------------------------------------------------------------------- */

html[data-theme="dark"] .match-product-page .mp-page {
  --mp-bg: #091221;
  --mp-card: #101b2d;
  --mp-card-soft: #142136;
  --mp-text: #f1f5fd;
  --mp-muted: #a4b1c6;
  --mp-line: #26354d;
  --mp-blue: #5c91ff;
  --mp-blue-dark: #8aafff;
  --mp-red: #ff5265;
  --mp-green: #27c978;
  --mp-orange: #f5b432;
  --mp-gray: #a9b4c5;
  --mp-shadow: 0 10px 30px rgba(0, 0, 0, .20);
  --mp-shadow-soft: 0 4px 15px rgba(0, 0, 0, .15);

  color: var(--mp-text);
  background:
    radial-gradient(900px 420px at 50% 100px, rgba(37, 99, 235, .10), transparent 72%),
    var(--mp-bg);
}

html[data-theme="dark"] .match-product-page .mp-top {
  background:
    radial-gradient(760px 285px at 50% 10%, rgba(63, 122, 255, .08), transparent 72%);
}

html[data-theme="dark"] .match-product-page .mp-top::before,
html[data-theme="dark"] .match-product-page .mp-top::after {
  opacity: .13;
}

html[data-theme="dark"] .match-product-page .mp-breadcrumb,
html[data-theme="dark"] .match-product-page .mp-match-meta {
  color: #a6b4ca;
}

html[data-theme="dark"] .match-product-page .mp-breadcrumb a:hover {
  color: #8fb2ff;
}

html[data-theme="dark"] .match-product-page .mp-top h1 {
  color: #f4f7fd;
}

html[data-theme="dark"] .match-product-page .mp-kicker,
html[data-theme="dark"] .match-product-page .mp-eyebrow {
  color: #9fb5dc;
}

html[data-theme="dark"] .match-product-page .mp-team-card,
html[data-theme="dark"] .match-product-page .mp-balance-card,
html[data-theme="dark"] .match-product-page .mp-score-card,
html[data-theme="dark"] .match-product-page .mp-waiting-card,
html[data-theme="dark"] .match-product-page .mp-verdict-card,
html[data-theme="dark"] .match-product-page .mp-card {
  border-color: var(--mp-line);
  background: #101b2d;
  box-shadow: var(--mp-shadow);
}

html[data-theme="dark"] .match-product-page .mp-team-card:hover {
  border-color: #405271;
  box-shadow: 0 13px 31px rgba(0, 0, 0, .25);
}

html[data-theme="dark"] .match-product-page .mp-team-copy strong,
html[data-theme="dark"] .match-product-page .mp-card-title h2,
html[data-theme="dark"] .match-product-page .mp-driver-grid strong,
html[data-theme="dark"] .match-product-page .mp-prob-row > span,
html[data-theme="dark"] .match-product-page .mp-compare-head a,
html[data-theme="dark"] .match-product-page .mp-more strong,
html[data-theme="dark"] .match-product-page .mp-balance-values span,
html[data-theme="dark"] .match-product-page .mp-score-grid strong,
html[data-theme="dark"] .match-product-page .mp-xg-strip strong,
html[data-theme="dark"] .match-product-page .mp-two-metrics strong,
html[data-theme="dark"] .match-product-page .mp-compare-table strong {
  color: #edf3ff;
}

html[data-theme="dark"] .match-product-page .mp-team-copy small,
html[data-theme="dark"] .match-product-page .mp-driver-grid span,
html[data-theme="dark"] .match-product-page .mp-verdict-main p,
html[data-theme="dark"] .match-product-page .mp-verdict-alt small,
html[data-theme="dark"] .match-product-page .mp-verdict-stat small,
html[data-theme="dark"] .match-product-page .mp-editorial p,
html[data-theme="dark"] .match-product-page .mp-faq details p,
html[data-theme="dark"] .match-product-page .mp-compare-table span,
html[data-theme="dark"] .match-product-page .mp-score-grid small,
html[data-theme="dark"] .match-product-page .mp-xg-strip small {
  color: #a7b4c8;
}

html[data-theme="dark"] .match-product-page .mp-prob-summary,
html[data-theme="dark"] .match-product-page .mp-market-table,
html[data-theme="dark"] .match-product-page .mp-market-table > div,
html[data-theme="dark"] .match-product-page .mp-xg-strip p,
html[data-theme="dark"] .match-product-page .mp-two-metrics p,
html[data-theme="dark"] .match-product-page .mp-score-grid span,
html[data-theme="dark"] .match-product-page .mp-scenario-list article,
html[data-theme="dark"] .match-product-page .mp-compare-head,
html[data-theme="dark"] .match-product-page .mp-compare-table div,
html[data-theme="dark"] .match-product-page .mp-pending-visual {
  border-color: #26354d;
  background: #142136;
}

html[data-theme="dark"] .match-product-page .mp-market-table .head,
html[data-theme="dark"] .match-product-page .mp-compare-table div:nth-child(even) {
  color: #91a1ba;
  background: #18263b;
}

html[data-theme="dark"] .match-product-page .mp-rail,
html[data-theme="dark"] .match-product-page .mp-two-metrics i,
html[data-theme="dark"] .match-product-page .mp-scenario-list article > div i,
html[data-theme="dark"] .match-product-page .mp-balance-track,
html[data-theme="dark"] .match-product-page .mp-microbar i {
  background: #29374c;
}

html[data-theme="dark"] .match-product-page .mp-prob-row + .mp-prob-row,
html[data-theme="dark"] .match-product-page .mp-faq details,
html[data-theme="dark"] .match-product-page .mp-more > a {
  border-color: #26354d;
}

html[data-theme="dark"] .match-product-page .mp-info {
  border-color: #50617d;
  color: #afbdd2;
  background: #142136;
}

html[data-theme="dark"] .match-product-page .mp-info[data-open="1"]::after {
  border-color: #344661;
  color: #d9e2f0;
  background: #101b2d;
}

html[data-theme="dark"] .match-product-page .mp-ring::before {
  background: #101b2d;
}

html[data-theme="dark"] .match-product-page .mp-ring span {
  color: #eef4ff;
}

html[data-theme="dark"] .match-product-page .mp-reliability-score > p,
html[data-theme="dark"] .match-product-page .mp-reliability-copy > p {
  color: #adbad0;
}

html[data-theme="dark"] .match-product-page .mp-history-chart .grid line {
  stroke: #26354d;
}

html[data-theme="dark"] .match-product-page .mp-history-chart .axis text,
html[data-theme="dark"] .match-product-page .mp-history-chart .chart-label {
  fill: #9cabc3;
}

html[data-theme="dark"] .match-product-page .mp-history-chart .target {
  stroke: #367e5c;
}

html[data-theme="dark"] .match-product-page .mp-history-chart .curve {
  stroke: #28cb79;
}

html[data-theme="dark"] .match-product-page .mp-history-chart .last {
  fill: #28cb79;
}

html[data-theme="dark"] .match-product-page .mp-history-chart .chart-value {
  fill: #28cb79;
}

html[data-theme="dark"] .match-product-page .mp-verified-box {
  border-color: #285340;
  background: #102c22;
}

html[data-theme="dark"] .match-product-page .mp-verified-box strong {
  color: #54dc95;
}

html[data-theme="dark"] .match-product-page .mp-verified-box p {
  color: #afbdcd;
}

/* --------------------------------------------------------------------------
   MOBILE — typographie et lisibilité
   -------------------------------------------------------------------------- */

@media (max-width: 900px) {
  .match-product-page .mp-page {
    font-size: 19px;
  }

  .match-product-page .mp-page .mp-top h1 {
    font-size: 1.55rem;
  }

  .match-product-page .mp-page .mp-breadcrumb {
    font-size: 0.68rem;
  }

  .match-product-page .mp-page .mp-match-meta {
    font-size: 0.73rem;
  }

  .match-product-page .mp-page .mp-team-copy strong {
    font-size: 0.80rem;
  }

  .match-product-page .mp-page .mp-team-copy small {
    font-size: 0.62rem;
  }

  .match-product-page .mp-page .mp-balance-values strong {
    font-size: 1.15rem;
  }

  .match-product-page .mp-page .mp-balance-values span {
    font-size: 0.64rem;
  }

  .match-product-page .mp-page .mp-verdict-main strong,
  .match-product-page .mp-page .mp-verdict-alt strong,
  .match-product-page .mp-page .mp-verdict-stat strong {
    font-size: 0.92rem;
  }

  .match-product-page .mp-page .mp-verdict-main p,
  .match-product-page .mp-page .mp-verdict-alt small,
  .match-product-page .mp-page .mp-verdict-stat small {
    font-size: 0.70rem;
  }

  .match-product-page .mp-page .mp-card-title h2 {
    font-size: 0.87rem;
  }

  .match-product-page .mp-page .mp-driver-grid strong {
    font-size: 0.75rem;
  }

  .match-product-page .mp-page .mp-driver-grid span {
    font-size: 0.68rem;
  }

  .match-product-page .mp-page .mp-prob-row > span {
    font-size: 0.76rem;
  }

  .match-product-page .mp-page .mp-prob-row > strong {
    font-size: 0.84rem;
  }

  .match-product-page .mp-page .mp-market-table > div:not(.head) {
    font-size: 0.68rem;
  }

  .match-product-page .mp-page .pill {
    font-size: 0.60rem;
  }

  .match-product-page .mp-page .mp-xg-strip span,
  .match-product-page .mp-page .mp-two-metrics span,
  .match-product-page .mp-page .mp-score-head {
    font-size: 0.58rem;
  }

  .match-product-page .mp-page .mp-xg-strip strong {
    font-size: 1.08rem;
  }

  .match-product-page .mp-page .mp-xg-strip .featured strong {
    font-size: 1.30rem;
  }

  .match-product-page .mp-page .mp-two-metrics strong {
    font-size: 0.92rem;
  }

  .match-product-page .mp-page .mp-score-grid strong {
    font-size: 0.80rem;
  }

  .match-product-page .mp-page .mp-score-grid small {
    font-size: 0.58rem;
  }

  .match-product-page .mp-page .mp-scenario-list article > span {
    font-size: 0.64rem;
  }

  .match-product-page .mp-page .mp-scenario-list article > div strong {
    font-size: 0.86rem;
  }

  .match-product-page .mp-page .mp-compare-head a {
    font-size: 0.68rem;
  }

  .match-product-page .mp-page .mp-compare-table strong {
    font-size: 0.69rem;
  }

  .match-product-page .mp-page .mp-compare-table span {
    font-size: 0.61rem;
  }

  .match-product-page .mp-page .mp-reliability-copy > p,
  .match-product-page .mp-page .mp-reliability-score > p {
    font-size: 0.68rem;
  }

  .match-product-page .mp-page .mp-faq summary {
    font-size: 0.70rem;
  }

  .match-product-page .mp-page .mp-faq details p {
    font-size: 0.67rem;
  }

  .match-product-page .mp-page .mp-more strong {
    font-size: 0.70rem;
  }

  .match-product-page .mp-page .mp-more small {
    font-size: 0.62rem;
  }

  .match-product-page .mp-page .mp-trust p {
    font-size: 0.67rem;
  }

  .match-product-page .mp-page .mp-editorial h2 {
    font-size: 0.72rem;
  }

  .match-product-page .mp-page .mp-editorial p {
    font-size: 0.65rem;
  }

  /* Graphe historique : le SVG 560×180 est réduit sur mobile,
     donc on surdimensionne volontairement ses labels internes. */
  .match-product-page .mp-page .mp-history-chart {
    display: block;
    width: 100%;
    padding: 5px 0 2px;
    overflow: visible;
  }

  .match-product-page .mp-page .mp-history-chart > .mp-eyebrow {
    display: block;
    margin-bottom: 10px;
  }

  .match-product-page .mp-page .mp-history-chart svg {
    display: block;
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
    margin: 0;
    overflow: visible;
  }

  .match-product-page .mp-page .mp-history-chart .axis text,
  .match-product-page .mp-page .mp-history-chart .chart-label {
    font-size: 18px;
    font-weight: 750;
  }

  .match-product-page .mp-page .mp-history-chart .chart-value {
    font-size: 19px;
    font-weight: 900;
  }

  .match-product-page .mp-page .mp-history-chart .curve {
    stroke-width: 3.6;
  }

  .match-product-page .mp-page .mp-history-chart .last {
    r: 6px;
  }

  .match-product-page .mp-page .mp-history-chart .grid line {
    stroke-width: 1.25;
  }

  .match-product-page .mp-page .mp-history-chart .target {
    stroke-width: 1.6;
    stroke-dasharray: 6 5;
  }
}

/* =========================================================
   DARK MODE — PATCH FINAL
   Alternatives au 1X2 + microbars
   À placer TOUT EN BAS du CSS
   ========================================================= */

/* ---------------------------------------------------------
   ALTERNATIVES AU 1X2
   --------------------------------------------------------- */

html[data-theme="dark"]
.match-product-page
.mp-market-table {
  border-color: #26354d;
  background: transparent;
}

html[data-theme="dark"]
.match-product-page
.mp-market-table > div {
  color: #dce6f7;
  border-color: #26354d;
  background: #142136;
}

html[data-theme="dark"]
.match-product-page
.mp-market-table > div:nth-child(even):not(.head) {
  background: #111e31;
}

html[data-theme="dark"]
.match-product-page
.mp-market-table .head {
  color: #91a1ba;
  border-color: #26354d;
  background: #18263b;
}

/* Libellés marché */
html[data-theme="dark"]
.match-product-page
.mp-market-table > div > span {
  color: #aab7ca;
}

/* Choix */
html[data-theme="dark"]
.match-product-page
.mp-market-table > div > strong {
  color: #f0f5ff;
}

/* Probabilité */
html[data-theme="dark"]
.match-product-page
.mp-market-table > div > b {
  color: #f4f7fd;
}

/* Liens sous les marchés */
html[data-theme="dark"]
.match-product-page
.mp-market-table + .mp-text-link {
  color: #70a5ff;
}


/* ---------------------------------------------------------
   VERSION MOBILE DES ALTERNATIVES
   Elle possède son propre background clair dans le responsive
   --------------------------------------------------------- */

@media (max-width: 900px) {

  html[data-theme="dark"]
  .match-product-page
  .mp-market-table > div:not(.head) {
    border-color: #26354d !important;
    background: #142136 !important;
  }

  html[data-theme="dark"]
  .match-product-page
  .mp-market-table > div:not(.head):nth-child(even) {
    background: #111e31 !important;
  }

  html[data-theme="dark"]
  .match-product-page
  .mp-market-table > div:not(.head) > :nth-child(1) {
    color: #aab7ca;
  }

  html[data-theme="dark"]
  .match-product-page
  .mp-market-table > div:not(.head) > :nth-child(2) {
    color: #f0f5ff;
  }

  html[data-theme="dark"]
  .match-product-page
  .mp-market-table > div:not(.head) > :nth-child(3) {
    color: #f4f7fd;
  }
}


/* ---------------------------------------------------------
   MICROBAR — segments inactifs
   --------------------------------------------------------- */

html[data-theme="dark"]
.match-product-page
.mp-microbar i {
  background: #344258;
}

/* Segment "soft" / intermédiaire */
html[data-theme="dark"]
.match-product-page
.mp-microbar .soft {
  background: #728097;
}


/* ---------------------------------------------------------
   MICROBAR — segments actifs
   On réaffirme les couleurs pour éviter qu'elles soient
   écrasées par le background dark générique.
   --------------------------------------------------------- */

/* Rouge par défaut */
html[data-theme="dark"]
.match-product-page
.mp-microbar .hot {
  background: #ff4055;
}

/* Vert */
html[data-theme="dark"]
.match-product-page
.mp-microbar.is-green .hot {
  background: #18c06a;
}

/* Rouge */
html[data-theme="dark"]
.match-product-page
.mp-microbar.is-red .hot {
  background: #ff4055;
}

/* Orange */
html[data-theme="dark"]
.match-product-page
.mp-microbar.is-orange .hot {
  background: #f7ad22;
}

/* Bleu */
html[data-theme="dark"]
.match-product-page
.mp-microbar.is-blue .hot {
  background: #4f8cff;
}

/* =========================================================
   MATCH PAGE — HERO MOBILE COMPACT / PREMIUM
   Desktop inchangé
   ========================================================= */

@media (max-width: 900px) {

  /* -------------------------------------------------------
     1. HERO GLOBAL : moins haut, moins "dashboard"
     ------------------------------------------------------- */

  .match-product-page .mp-top {
    padding-top: 7px;
    padding-bottom: 12px;
  }

  .match-product-page .mp-top::before,
  .match-product-page .mp-top::after {
    opacity: 0.14;
  }


  /* -------------------------------------------------------
     2. BREADCRUMB : on ne garde visuellement que la ligue
     HTML complet toujours présent
     ------------------------------------------------------- */

  .match-product-page .mp-breadcrumb {
    min-height: 20px;
    margin-bottom: 3px;
    font-size: 0;
  }

  .match-product-page .mp-breadcrumb > * {
    display: none;
  }

  /* 2e <a> = Championship dans le HTML actuel */
  .match-product-page .mp-breadcrumb > a:nth-of-type(2) {
    display: inline-flex;
    align-items: center;
    gap: 4px;

    color: #627495;
    font-size: 0.66rem;
    font-weight: 750;
  }

  .match-product-page .mp-breadcrumb > a:nth-of-type(2)::before {
    content: "‹";
    color: #31598f;
    font-size: 0.9rem;
    line-height: 1;
  }


  /* -------------------------------------------------------
     3. META MATCH : compétition + date uniquement
     Stade masqué dans le hero mobile
     ------------------------------------------------------- */

  .match-product-page .mp-match-meta {
    margin-top: 7px;
    gap: 2px;
    font-size: 0.67rem;
    line-height: 1.3;
  }

  .match-product-page .mp-match-meta .mp-kicker {
    font-size: 0.62rem;
  }

  /* Stade = dernier span du bloc meta actuel */
  .match-product-page .mp-match-meta > span:last-child {
    display: none;
  }


  /* -------------------------------------------------------
     4. H1 : compact mais toujours dominant
     ------------------------------------------------------- */

  .match-product-page .mp-top h1 {
    max-width: 390px;
    margin: 9px auto 11px;

    font-size: 1.42rem;
    line-height: 1.08;
    letter-spacing: -0.035em;
  }


  /* -------------------------------------------------------
     5. ÉQUIPES : plus de "grosses cartes"
     On garde logo + nom + forme
     ------------------------------------------------------- */

  .match-product-page .mp-hero-grid {
    grid-template-columns:
      minmax(0, 1fr)
      42px
      minmax(0, 1fr) !important;

    gap: 5px;
    align-items: start;
  }

  .match-product-page .mp-team-card {
    min-height: 0;

    grid-template-columns: 48px minmax(0, 1fr);
    grid-template-rows: auto auto;

    gap: 4px 7px;
    padding: 5px 4px 4px;

    border: 0 !important;
    border-radius: 0;

    background: transparent !important;
    box-shadow: none !important;
  }

  .match-product-page .mp-team-card:hover {
    transform: none;
    border-color: transparent;
    box-shadow: none;
  }

  .match-product-page .mp-team-logo {
    width: 48px;
    height: 51px;
  }

  .match-product-page .mp-team-logo img {
    width: 46px;
    height: 46px;
  }

  .match-product-page .mp-team-copy {
    align-self: center;
  }

  .match-product-page .mp-team-copy strong {
    font-size: 0.75rem;
    line-height: 1.08;
  }

  .match-product-page .mp-team-copy small {
    margin-top: 3px;
    font-size: 0.56rem;
  }

  .match-product-page .mp-form {
    grid-column: 1 / -1;

    justify-content: center;
    gap: 3px;

    margin-top: 1px;
  }

  .match-product-page .mp-form b {
    width: 17px;
    height: 17px;

    border-radius: 4px;

    font-size: 0.51rem;
  }


  /* -------------------------------------------------------
     6. BALANCE 1X2 : pleine largeur mais beaucoup plus fine
     ------------------------------------------------------- */

  .match-product-page .mp-balance-card {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;

    width: 100%;

    margin-top: 3px;
    padding: 9px 10px 10px;

    border-radius: 9px;

    box-shadow:
      0 4px 12px rgba(31, 58, 109, 0.04);
  }

  .match-product-page .mp-balance-card > .mp-eyebrow {
    margin-bottom: 7px;

    font-size: 0.55rem;
  }

  .match-product-page .mp-balance-values strong {
    font-size: 1.05rem;
  }

  .match-product-page .mp-balance-values span {
    margin-top: 2px;

    font-size: 0.57rem;
  }

  .match-product-page .mp-balance-track {
    height: 6px;

    margin-top: 7px;
  }


  /* -------------------------------------------------------
     7. VERDICT : UNE seule surface mobile
     On enlève l'effet "3 cartes dans une carte"
     ------------------------------------------------------- */

  .match-product-page .mp-verdict-card {
    display: grid;

    grid-template-columns:
      minmax(0, 1fr)
      minmax(0, 1fr) !important;

    width: 100%;

    margin-top: 7px;

    border-radius: 10px;
    overflow: hidden;
  }

  .match-product-page .mp-verdict-main {
    grid-column: 1 / -1;
  }

  .match-product-page .mp-verdict-card > div {
    padding: 10px 11px;
  }

  .match-product-page .mp-verdict-main {
    padding-bottom: 9px !important;
  }

  .match-product-page .mp-verdict-card > div + div {
    border-top: 1px solid var(--mp-line);
    border-left: 0;
  }

  .match-product-page .mp-verdict-stat + .mp-verdict-alt {
    border-left: 1px solid var(--mp-line);
  }


  /* Verdict principal */
  .match-product-page .mp-verdict-main .mp-eyebrow {
    font-size: 0.55rem;
  }

  .match-product-page .mp-verdict-main strong {
    margin-top: 3px;

    font-size: 0.86rem;
    line-height: 1.18;
  }

  .match-product-page .mp-verdict-main p {
    margin-top: 5px;

    font-size: 0.63rem;
    line-height: 1.42;
  }


  /* Stabilité / alternative */
  .match-product-page .mp-verdict-stat .mp-eyebrow,
  .match-product-page .mp-verdict-alt .mp-eyebrow {
    font-size: 0.52rem;
  }

  .match-product-page .mp-verdict-stat strong,
  .match-product-page .mp-verdict-alt strong {
    margin-top: 4px;

    font-size: 0.78rem;
    line-height: 1.2;
  }

  .match-product-page .mp-verdict-stat small,
  .match-product-page .mp-verdict-alt small {
    margin-top: 4px;

    font-size: 0.57rem;
    line-height: 1.35;
  }

  .match-product-page .mp-dots {
    gap: 4px;

    margin-top: 7px;
  }

  .match-product-page .mp-dots i {
    width: 6px;
    height: 6px;
  }


  /* -------------------------------------------------------
     8. On réduit l'espace avant le contenu réel
     ------------------------------------------------------- */

  .match-product-page .mp-content {
    gap: 9px;
  }

  .match-product-page .mp-top + .mp-shell,
  .match-product-page .mp-top + .mp-content {
    margin-top: 0;
  }


  /* -------------------------------------------------------
     9. Premier bloc analyse légèrement plus proche du hero
     ------------------------------------------------------- */

  .match-product-page .mp-drivers {
    margin-top: 0;
  }
}


/* =========================================================
   Très petits mobiles
   ========================================================= */

@media (max-width: 420px) {

  .match-product-page .mp-top h1 {
    max-width: 340px;

    font-size: 1.30rem;
  }

  .match-product-page .mp-hero-grid {
    grid-template-columns:
      minmax(0, 1fr)
      34px
      minmax(0, 1fr) !important;
  }

  .match-product-page .mp-team-card {
    grid-template-columns: 42px minmax(0, 1fr);

    padding-inline: 2px;
  }

  .match-product-page .mp-team-logo {
    width: 42px;
    height: 45px;
  }

  .match-product-page .mp-team-logo img {
    width: 40px;
    height: 40px;
  }

  .match-product-page .mp-team-copy strong {
    font-size: 0.69rem;
  }

  .match-product-page .mp-team-copy small {
    font-size: 0.52rem;
  }

  .match-product-page .mp-form b {
    width: 16px;
    height: 16px;

    font-size: 0.47rem;
  }

  .match-product-page .mp-balance-values strong {
    font-size: 0.97rem;
  }

  .match-product-page .mp-balance-values span {
    font-size: 0.53rem;
  }
}

/* =========================================================
   HERO MOBILE — RESPIRATION PREMIUM
   ========================================================= */

@media (max-width: 900px) {

  /* Plus d'air globalement */
  .match-product-page .mp-top {
    padding-top: 10px;
    padding-bottom: 18px;
  }

  /* Breadcrumb */
  .match-product-page .mp-breadcrumb {
    margin-bottom: 10px;
  }

  /* Competition / date */
  .match-product-page .mp-match-meta {
    margin-top: 10px;
    gap: 5px;
  }

  /* H1 */
  .match-product-page .mp-top h1 {
    margin-top: 14px;
    margin-bottom: 18px;

    line-height: 1.12;
  }

  /* Équipes */
  .match-product-page .mp-hero-grid {
    row-gap: 12px !important;
  }

  .match-product-page .mp-team-card {
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .match-product-page .mp-team-copy small {
    margin-top: 5px;
  }

  .match-product-page .mp-form {
    margin-top: 5px;
  }

  /* Équilibre 1X2 */
  .match-product-page .mp-balance-card {
    margin-top: 5px;

    padding-top: 13px;
    padding-bottom: 13px;
  }

  .match-product-page .mp-balance-card > .mp-eyebrow {
    margin-bottom: 11px;
  }

  .match-product-page .mp-balance-values span {
    margin-top: 4px;
  }

  .match-product-page .mp-balance-track {
    margin-top: 11px;
  }

  /* Séparation balance → verdict */
  .match-product-page .mp-verdict-card {
    margin-top: 12px;
  }

  /* Verdict principal */
  .match-product-page .mp-verdict-main {
    padding: 14px 14px 13px !important;
  }

  .match-product-page .mp-verdict-main strong {
    margin-top: 6px;
  }

  .match-product-page .mp-verdict-main p {
    margin-top: 8px;

    line-height: 1.5;
  }

  /* Les deux cellules basses */
  .match-product-page .mp-verdict-stat,
  .match-product-page .mp-verdict-alt {
    padding: 13px 14px !important;
  }

  .match-product-page .mp-verdict-stat strong,
  .match-product-page .mp-verdict-alt strong {
    margin-top: 6px;
  }

  .match-product-page .mp-verdict-stat small,
  .match-product-page .mp-verdict-alt small {
    margin-top: 6px;
  }

  .match-product-page .mp-dots {
    margin-top: 9px;
  }

  /* Un vrai espace avant le début de l'analyse */
  .match-product-page .mp-content {
    padding-top: 5px;
  }

  .match-product-page .mp-drivers {
    margin-top: 4px;
  }
}

/* =========================================================
   DARK MODE — PROB SUMMARY
   ========================================================= */

html[data-theme="dark"]
.match-product-page
.mp-prob-summary {
  border-color: #26354d;
  background: #142136;
}

html[data-theme="dark"]
.match-product-page
.mp-prob-summary p {
  color: #dce6f7;
}

html[data-theme="dark"]
.match-product-page
.mp-prob-summary p + p {
  border-left-color: #26354d;
}

/* Petit label */
html[data-theme="dark"]
.match-product-page
.mp-prob-summary span {
  color: #9eacc2;
}

/* Valeur principale */
html[data-theme="dark"]
.match-product-page
.mp-prob-summary strong {
  color: #f3f7ff;
}

/* Cas "Risque" */
html[data-theme="dark"]
.match-product-page
.mp-prob-summary strong.danger,
html[data-theme="dark"]
.match-product-page
.mp-prob-summary .danger {
  color: #ff4b61 !important;
}

/* =========================================================
   DARK MODE — SCÉNARIOS AVANCÉS
   ========================================================= */

/* Noms des équipes au-dessus des scénarios */
html[data-theme="dark"]
.match-product-page
.mp-scenario-teams span {
  color: #e8eef9;
}

/* Liens éventuels dans les noms d'équipes */
html[data-theme="dark"]
.match-product-page
.mp-scenario-teams a {
  color: #e8eef9;
}

/* Libellé central de chaque scénario */
html[data-theme="dark"]
.match-product-page
.mp-scenario-list article > span {
  color: #b7c3d6;
}

/* Valeurs côté domicile */
html[data-theme="dark"]
.match-product-page
.mp-scenario-list article > div strong {
  color: #6fa8ff;
}

/* Valeurs côté extérieur */
html[data-theme="dark"]
.match-product-page
.mp-scenario-list article > div.away strong {
  color: #ff5b70;
}

/* Background / bordure des lignes */
html[data-theme="dark"]
.match-product-page
.mp-scenario-list article {
  border-color: #26354d;
  background: #142136;
}

/* Rail inactif */
html[data-theme="dark"]
.match-product-page
.mp-scenario-list article > div i {
  background: #2d3b51;
}

/* Barre domicile */
html[data-theme="dark"]
.match-product-page
.mp-scenario-list article > div i b {
  background: #4f8cff;
}

/* Barre extérieur */
html[data-theme="dark"]
.match-product-page
.mp-scenario-list article > div.away i b {
  background: #ff4055;
}

/* Lien bas du bloc */
html[data-theme="dark"]
.match-product-page
.mp-scenarios-card .mp-text-link {
  color: #72a8ff;
}

/* =========================================================
   HISTORY CHART — ALIGNEMENT LABELS
   ========================================================= */

/* Valeur finale : on la ramène vers l'intérieur du graphe */
.match-product-page
.mp-history-chart
.chart-value {
  transform: none;
}

/* Label axe X : on l'éloigne des ticks */
.match-product-page
.mp-history-chart
.chart-label {
  transform: none;
}

/* Un peu plus d'espace sous le SVG sur mobile */
@media (max-width: 900px) {

  .match-product-page
  .mp-history-chart svg {
    margin-bottom: 8px;
  }

  .match-product-page
  .mp-history-chart
  .chart-value {
    transform: none;
  }

  .match-product-page
  .mp-history-chart
  .chart-label {
    transform: none;
  }
}

/* =========================================================
   DARK MODE — FAQ + CARD TITLE TEXT
   ========================================================= */

/* ---------------------------------------------------------
   FAQ
   --------------------------------------------------------- */

html[data-theme="dark"]
.match-product-page
.mp-faq {
  border-color: #26354d;
  background: #101b2d;
}

/* Questions */
html[data-theme="dark"]
.match-product-page
.mp-faq summary {
  color: #eef4ff;
}

/* Flèche de l'accordéon */
html[data-theme="dark"]
.match-product-page
.mp-faq summary::after {
  color: #79aaff;
}

/* Réponses */
html[data-theme="dark"]
.match-product-page
.mp-faq details p {
  color: #b3bfd2;
}

/* Séparateurs entre questions */
html[data-theme="dark"]
.match-product-page
.mp-faq details {
  border-color: #26354d;
}

/* Hover facultatif, mais beaucoup plus propre */
html[data-theme="dark"]
.match-product-page
.mp-faq summary:hover {
  color: #ffffff;
}


/* ---------------------------------------------------------
   PARAGRAPHES / SOUS-TITRES DANS .mp-card-title
   --------------------------------------------------------- */

html[data-theme="dark"]
.match-product-page
.mp-card-title p {
  color: #aab8cd;
}

/* Si certains utilisent un small */
html[data-theme="dark"]
.match-product-page
.mp-card-title small {
  color: #9eacc2;
}

/* Et les spans descriptifs éventuels */
html[data-theme="dark"]
.match-product-page
.mp-card-title > span:not(.mp-title-icon) {
  color: #aab8cd;
}


/* ---------------------------------------------------------
   SÉCURITÉ : titres eux-mêmes
   --------------------------------------------------------- */

html[data-theme="dark"]
.match-product-page
.mp-card-title h2,
html[data-theme="dark"]
.match-product-page
.mp-card-title h3 {
  color: #f1f5fd;
}

/* Match identity: links and fail-closed neutral spans share one typography. */
.match-product-page .mp-page .mp-compare-head > :is(a, span) {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 6px;
  color: #20365c;
  font-family: inherit;
  font-size: .72rem;
  font-weight: 850;
  line-height: 1.25;
  text-decoration: none;
  white-space: normal;
}

.match-product-page .mp-page .mp-compare-head > :is(a, span):last-child {
  justify-content: flex-end;
  text-align: right;
}

html[data-theme="dark"] .match-product-page .mp-page .mp-compare-head > :is(a, span) {
  color: #edf3ff;
}

/* SSR stability colour code used by the 1X2 summary. */
.mp-prob-stability--risk { --mp-stability-color: #d92f45; }
.mp-prob-stability--correct { --mp-stability-color: #d96800; }
.mp-prob-stability--stable { --mp-stability-color: #087a43; }
.mp-prob-stability--ultra-stable { --mp-stability-color: #a87900; }

.match-product-page .mp-page .mp-prob-summary .mp-prob-stability {
  box-shadow: inset 0 3px 0 var(--mp-stability-color, transparent);
}

.match-product-page .mp-page .mp-prob-summary .mp-prob-stability span,
.match-product-page .mp-page .mp-prob-summary .mp-prob-stability strong {
  color: var(--mp-stability-color, #19315d) !important;
}

html[data-theme="dark"] .mp-prob-stability--risk { --mp-stability-color: #ff5267; }
html[data-theme="dark"] .mp-prob-stability--correct { --mp-stability-color: #ff9a3d; }
html[data-theme="dark"] .mp-prob-stability--stable { --mp-stability-color: #45cf83; }
html[data-theme="dark"] .mp-prob-stability--ultra-stable { --mp-stability-color: #f2c94c; }

@media (max-width: 900px) {
  .match-product-page .mp-page .mp-compare-head > :is(a, span) {
    max-width: 48%;
    font-size: .68rem;
    overflow-wrap: anywhere;
  }
}
