/* ==========================================================================
   Foresportia — prediction-foot showcase
   Dedicated landing stylesheet.
   No dependency on pronostic-foot.css, hero_unified.css or other page CSS.
   ========================================================================== */

.prediction-page {
  --pd-bg: #ffffff;
  --pd-soft: #f7faff;
  --pd-soft-2: #edf4ff;
  --pd-card: #ffffff;
  --pd-ink: #10244b;
  --pd-text: #43577b;
  --pd-muted: #7485a2;
  --pd-blue: #1554f6;
  --pd-blue-dark: #0b46d9;
  --pd-blue-soft: #edf4ff;
  --pd-green: #18a866;
  --pd-green-soft: #eefaf3;
  --pd-orange: #e9a13a;
  --pd-line: #dbe5f4;
  --pd-line-strong: #bfd0ec;
  --pd-shadow: 0 16px 38px rgba(22, 62, 135, .10);
  --pd-shadow-soft: 0 8px 24px rgba(22, 62, 135, .07);
  color: var(--pd-ink);
  background: var(--pd-bg);
}

.prediction-page *,
.prediction-page *::before,
.prediction-page *::after {
  box-sizing: border-box;
}

.prediction-product {
  width: 100%;
  overflow: clip;
  background: var(--pd-bg);
}

.prediction-shell {
  width: min(1100px, calc(100% - 40px));
  margin-inline: auto;
}

.prediction-page .pf-svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.prediction-page .pf-icon {
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.prediction-kicker {
  display: inline-block;
  margin-bottom: 5px;
  color: var(--pd-blue);
  font-size: .64rem;
  font-weight: 850;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.prediction-btn {
  display: inline-flex;
  min-height: 43px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 17px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: .77rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.prediction-btn:hover,
.prediction-btn:focus-visible {
  transform: translateY(-1px);
}

.prediction-btn--primary {
  border-color: var(--pd-blue);
  background: linear-gradient(135deg, var(--pd-blue), var(--pd-blue-dark));
  color: #fff;
  box-shadow: 0 8px 18px rgba(21,84,246,.16);
}

.prediction-btn--secondary {
  border-color: var(--pd-line-strong);
  background: #fff;
  color: var(--pd-blue);
}


/* ==========================================================================
   HERO
   ========================================================================== */

.prediction-hero {
  position: relative;
  padding: 58px 0 0;
  overflow: hidden;
  border-bottom: 1px solid #e8eff9;
  background:
    radial-gradient(circle at 76% 17%, rgba(70,126,255,.12), transparent 24%),
    radial-gradient(circle at 20% 3%, rgba(70,126,255,.045), transparent 20%),
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.prediction-hero::before {
  position: absolute;
  top: 20px;
  right: 2%;
  width: 430px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(58,115,255,.11), transparent 68%);
  filter: blur(16px);
  content: "";
  pointer-events: none;
}

.prediction-hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .98fr) minmax(430px, .88fr);
  align-items: center;
  gap: 54px;
  padding-bottom: 38px;
}

.prediction-hero__copy {
  max-width: 590px;
}

.prediction-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--pd-blue-soft);
  color: var(--pd-blue);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .035em;
}

.prediction-hero h1 {
  max-width: 680px;
  margin: 16px 0 13px;
  color: var(--pd-ink) !important;
  font-size: clamp(2.45rem, 4vw, 3.8rem);
  font-weight: 900;
  line-height: 1.01;
  letter-spacing: -.05em;
  text-shadow: none !important;
}

.prediction-hero h1 em {
  color: var(--pd-blue);
  font-style: normal;
}

.prediction-hero__lead {
  max-width: 590px;
  margin: 0;
  color: var(--pd-text) !important;
  font-size: .96rem;
  line-height: 1.6;
}

.prediction-hero__lead strong {
  color: #284875;
}

.prediction-hero__proofs {
  display: flex;
  flex-wrap: wrap;
  gap: 13px 26px;
  margin-top: 20px;
}

.prediction-hero__proofs > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.prediction-hero__proofs .pf-icon {
  width: 28px;
  height: 28px;
  padding: 5px;
  border: 1px solid #d5e2f6;
  border-radius: 50%;
  background: #fff;
  color: var(--pd-blue);
}

.prediction-hero__proofs b {
  display: grid;
  color: var(--pd-ink);
  font-size: .7rem;
  line-height: 1.15;
}

.prediction-hero__proofs small {
  color: var(--pd-muted);
  font-size: .61rem;
  font-weight: 650;
}

.prediction-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 23px;
}

.prediction-hero__actions .prediction-btn:first-child {
  min-width: 220px;
}

.prediction-hero__product {
  position: relative;
  min-width: 0;
  min-height: 370px;
  display: grid;
  align-items: center;
}

.prediction-hero__product::before {
  position: absolute;
  inset: 10px -24px -18px 30px;
  border-radius: 34px;
  background: radial-gradient(circle, rgba(56,113,255,.15), transparent 65%);
  filter: blur(18px);
  content: "";
}

.prediction-featured-preview {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.prediction-preview-loading {
  display: grid;
  min-height: 300px;
  place-items: center;
  border: 1px solid var(--pd-line);
  border-radius: 16px;
  background: #fff;
  color: var(--pd-muted);
  box-shadow: var(--pd-shadow);
  font-size: .76rem;
}

.prediction-float {
  position: absolute;
  z-index: 3;
  padding: 6px 9px;
  border: 1px solid #d4e1f6;
  border-radius: 999px;
  background: rgba(255,255,255,.93);
  color: #597096;
  box-shadow: 0 7px 18px rgba(26,66,139,.08);
  font-size: .58rem;
  font-weight: 850;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.prediction-float--top {
  top: 1px;
  right: 8px;
}

.prediction-float--bottom {
  left: 4px;
  bottom: 0;
}


/* ==========================================================================
   HERO QUICK NAV
   ========================================================================== */

.prediction-anchor-nav {
  position: relative;
  z-index: 5;
  border-top: 1px solid rgba(219,229,244,.8);
  background: rgba(255,255,255,.83);
  backdrop-filter: blur(12px);
}

.prediction-anchor-nav__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.prediction-anchor-nav__inner::-webkit-scrollbar {
  display: none;
}

.prediction-anchor-nav a {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 6px;
  min-height: 31px;
  padding: 0 11px;
  border: 1px solid #d9e4f4;
  border-radius: 999px;
  background: #fff;
  color: #47638f;
  font-size: .61rem;
  font-weight: 760;
  text-decoration: none;
}

.prediction-anchor-nav .pf-icon {
  width: 15px;
  height: 15px;
  color: var(--pd-blue);
}


/* ==========================================================================
   SECTION HEADINGS
   ========================================================================== */

.prediction-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 15px;
}

.prediction-section-heading h2,
.prediction-card-heading h2,
.prediction-reliability-card h2 {
  margin: 0;
  color: var(--pd-ink);
  font-weight: 900;
  letter-spacing: -.035em;
}

.prediction-section-heading h2 {
  font-size: 1.28rem;
}

.prediction-section-heading > p {
  max-width: 470px;
  margin: 0;
  color: var(--pd-muted);
  font-size: .68rem;
  line-height: 1.5;
  text-align: right;
}

.prediction-section-heading--center {
  display: grid;
  justify-items: center;
  text-align: center;
}

.prediction-section-heading--center > p {
  max-width: 720px;
  text-align: center;
}


/* ==========================================================================
   ACCESS
   ========================================================================== */

.prediction-today {
  padding: 27px 0 22px;
  background: #fff;
}

.prediction-access-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
}

.prediction-access-grid a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  min-width: 0;
  min-height: 85px;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--pd-line);
  border-radius: 10px;
  background: #fff;
  color: inherit;
  box-shadow: 0 4px 14px rgba(21,63,130,.035);
  text-decoration: none;
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.prediction-access-grid a:hover,
.prediction-access-grid a:focus-visible {
  transform: translateY(-2px);
  border-color: #b5caf0;
  box-shadow: var(--pd-shadow-soft);
}

.prediction-access-grid .pf-icon {
  width: 32px;
  height: 32px;
  padding: 7px;
  border-radius: 9px;
  background: var(--pd-blue-soft);
  color: var(--pd-blue);
}

.prediction-access-grid span {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.prediction-access-grid strong {
  color: var(--pd-ink);
  font-size: .69rem;
}

.prediction-access-grid small {
  color: var(--pd-muted);
  font-size: .56rem;
  line-height: 1.35;
}

.prediction-access-grid b {
  color: var(--pd-blue);
  font-size: .78rem;
}


/* ==========================================================================
   BACKEND MATCH CARDS — SHARED VISUAL CONTRACT
   ========================================================================== */

.prediction-page .pf-live-match,
.prediction-page .pf-match-showcase {
  position: relative;
  min-width: 0;
  border: 1px solid var(--pd-line);
  border-radius: 14px;
  background: #fff;
  color: var(--pd-ink);
  box-shadow: var(--pd-shadow-soft);
}

.prediction-page .pf-live-match::before,
.prediction-page .pf-match-showcase::before {
  display: none !important;
}

.prediction-page .pf-live-match__top,
.prediction-page .pf-match-showcase__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.prediction-page .pf-live-match__league,
.prediction-page .pf-live-match__date,
.prediction-page .pf-live-match__meta {
  margin: 0;
  color: var(--pd-muted) !important;
  font-size: .62rem;
}

.prediction-page .pf-live-match__league {
  display: inline-flex;
  max-width: 68%;
  align-items: center;
  gap: 6px;
  font-weight: 800;
}

.prediction-page .pf-live-match__league-logo {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.prediction-page .pf-live-match__date {
  text-align: right;
}

.prediction-page .pf-live-match__date time {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.prediction-page .pf-live-match__date strong {
  color: var(--pd-ink) !important;
  font-size: .69rem;
}

.prediction-page .pf-match-showcase__eyebrow {
  display: inline-flex;
  width: max-content;
  margin: 2px 0 -4px;
  padding: 3px 7px;
  border-radius: 999px;
  background: var(--pd-blue-soft);
  color: var(--pd-blue);
  font-size: .49rem;
  font-weight: 850;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.prediction-page .pf-live-match__teams {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto minmax(0,1fr);
  align-items: center;
  gap: 9px;
  margin: 13px 0;
}

.prediction-page .pf-live-team {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
}

.prediction-page .pf-live-team--away {
  flex-direction: row-reverse;
  text-align: right;
}

.prediction-page .pf-live-team__crest {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  overflow: hidden;
  border: 1px solid #dce6f5;
  border-radius: 50%;
  background: #fff;
  color: var(--pd-blue);
  font-size: .62rem;
  font-weight: 850;
}

.prediction-page .pf-live-team__crest img {
  position: absolute;
  inset: 2px;
  width: 38px;
  height: 38px;
  padding: 2px;
  border-radius: 50%;
  background: #fff;
  object-fit: contain;
}

.prediction-page .pf-live-team__copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 1px;
}

.prediction-page .pf-live-team__copy small {
  color: var(--pd-muted) !important;
  font-size: .51rem;
  font-weight: 750;
  text-transform: uppercase;
}

.prediction-page .pf-live-team__copy strong {
  color: var(--pd-ink) !important;
  font-size: .75rem;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.prediction-page .pf-live-match__vs {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border: 1px solid #dbe5f4;
  border-radius: 50%;
  background: #f7faff;
  color: #6f82a2;
  font-size: .5rem;
  font-weight: 900;
}

.prediction-page .pf-live-probabilities {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 7px;
}

.prediction-page .pf-live-probability {
  position: relative;
  display: grid;
  min-height: 52px;
  place-content: center;
  gap: 2px;
  overflow: hidden;
  border: 1px solid #d7e2f4;
  border-radius: 8px;
  background: #fff;
  text-align: center;
}

.prediction-page .pf-live-probability::after {
  position: absolute;
  left: 0;
  right: calc(100% - var(--prediction-probability, 0%));
  bottom: 0;
  height: 3px;
  background: #70a0ff;
  content: "";
}

.prediction-page .pf-live-probability:first-child {
  border-color: #b8dfc4;
  background: #f8fcf9;
}

.prediction-page .pf-live-probability:first-child::after {
  background: #3fbd75;
}

.prediction-page .pf-live-probability span {
  color: #58719b !important;
  font-size: .57rem;
  font-weight: 850;
}

.prediction-page .pf-live-probability strong {
  color: var(--pd-ink) !important;
  font-size: .75rem;
}

.prediction-page .pf-match-showcase__probability-head small,
.prediction-page .pf-match-showcase__probability-track,
.prediction-page .pf-match-showcase__section-heading {
  display: none;
}

.prediction-page .pf-live-pick {
  position: relative;
  padding: 9px 10px;
  overflow: hidden;
  border: 1px solid #dbe6f4;
  border-radius: 8px;
  background: #fbfdff;
  color: var(--pd-ink);
}

.prediction-page .pf-live-pick::after {
  position: absolute;
  left: 0;
  right: calc(100% - var(--prediction-signal, 0%));
  bottom: 0;
  height: 3px;
  background: var(--pd-green);
  content: "";
}

.prediction-page .pf-live-pick__head,
.prediction-page .pf-live-pick p {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.prediction-page .pf-live-pick__head span {
  color: var(--pd-muted) !important;
  font-size: .53rem;
  font-weight: 800;
  text-transform: uppercase;
}

.prediction-page .pf-live-pick__head strong {
  padding: 3px 7px;
  border-radius: 999px;
  background: var(--pd-green-soft);
  color: #168b4e !important;
  font-size: .55rem;
}

.prediction-page .pf-live-pick p {
  margin: 6px 0 0;
}

.prediction-page .pf-live-pick p strong {
  color: var(--pd-ink) !important;
  font-size: .69rem;
  line-height: 1.2;
}

.prediction-page .pf-live-pick p span {
  flex: 0 0 auto;
  color: var(--pd-green) !important;
  font-size: .75rem;
  font-weight: 900;
}

.prediction-page .pf-match-showcase__context-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 6px;
}

.prediction-page .pf-match-showcase__context-item {
  position: relative;
  min-height: 44px;
  padding: 7px 40px 7px 8px;
  border: 1px solid #dce6f4;
  border-radius: 8px;
  background: #fff;
}

.prediction-page .pf-match-showcase__context-item > span:first-child {
  display: block;
  color: var(--pd-muted);
  font-size: .5rem;
  font-weight: 750;
}

.prediction-page .pf-match-showcase__context-item strong {
  display: block;
  margin-top: 2px;
  color: var(--pd-ink);
  font-size: .63rem;
}

.prediction-page .pf-match-showcase__context-item--confidence::after {
  position: absolute;
  top: 50%;
  right: 9px;
  width: 24px;
  height: 24px;
  transform: translateY(-50%);
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #fff 0 48%, transparent 50%),
    conic-gradient(var(--pd-green) var(--prediction-confidence, 0%), #e7edf6 0);
  box-shadow: 0 2px 6px rgba(19,150,86,.12);
  content: "";
}

.prediction-page .pf-match-showcase__context-item--stability::after {
  position: absolute;
  top: 50%;
  right: 9px;
  width: 28px;
  height: 22px;
  transform: translateY(-50%);
  background:
    linear-gradient(to top, #20ad69 0 8px, transparent 8px) 1px 100%/5px 100% no-repeat,
    linear-gradient(to top, #20ad69 0 14px, transparent 14px) 11px 100%/5px 100% no-repeat,
    linear-gradient(to top, #20ad69 0 20px, transparent 20px) 21px 100%/5px 100% no-repeat;
  content: "";
  opacity: .95;
}

.prediction-page .pf-match-showcase__context-track,
.prediction-page .pf-match-showcase__stability-dots,
.prediction-page .pf-match-showcase__signal-track {
  display: none;
}

.prediction-page .pf-live-secondary-markets {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 5px;
}

.prediction-page .pf-live-secondary-market {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 0;
  padding: 5px 3px;
  text-align: center;
}

.prediction-page .pf-live-secondary-market small {
  color: #7585a1 !important;
  font-size: .52rem;
}

.prediction-page .pf-live-secondary-market strong {
  color: var(--pd-ink) !important;
  font-size: .59rem;
}

.prediction-page .pf-live-match__link {
  display: flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 7px;
  padding: 7px 10px;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--pd-blue), var(--pd-blue-dark));
  color: #fff !important;
  font-size: .62rem;
  font-weight: 800;
  text-decoration: none;
}


/* ==========================================================================
   FEATURED HERO CARD
   ========================================================================== */

.prediction-featured-preview .pf-live-match,
.prediction-featured-preview .pf-match-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "top top"
    "fixture fixture"
    "probs signal"
    "probs context"
    "markets footer";
  gap: 9px 11px;
  padding: 14px;
  border-radius: 16px;
  box-shadow: 0 18px 42px rgba(21,72,165,.15);
}

.prediction-featured-preview .pf-match-showcase__header {
  grid-area: top;
}

.prediction-featured-preview .pf-match-showcase__fixture {
  grid-area: fixture;
}

.prediction-featured-preview .pf-match-showcase__fixture .pf-live-match__teams {
  margin: 7px 0 2px;
}

.prediction-featured-preview .pf-match-showcase__probabilities {
  grid-area: probs;
}

.prediction-featured-preview .pf-match-showcase__signal {
  grid-area: signal;
}

.prediction-featured-preview .pf-match-showcase__context {
  grid-area: context;
}

.prediction-featured-preview .pf-match-showcase__markets {
  grid-area: markets;
}

.prediction-featured-preview .pf-match-showcase__footer {
  grid-area: footer;
  align-self: center;
}

.prediction-featured-preview .pf-live-team__crest {
  width: 48px;
  height: 48px;
  flex-basis: 48px;
}

.prediction-featured-preview .pf-live-team__crest img {
  width: 44px;
  height: 44px;
}

.prediction-featured-preview .pf-live-probability {
  min-height: 66px;
}


/* ==========================================================================
   LIVE SNAPSHOT
   ========================================================================== */

.prediction-live {
  padding: 25px 0 30px;
  background: var(--pd-soft);
}

.prediction-section-heading--live {
  margin-bottom: 11px;
}

.prediction-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #65799b;
  font-size: .61rem;
}

.prediction-live-badge i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #20b569;
  box-shadow: 0 0 0 4px rgba(32,181,105,.08);
}

.prediction-page .pf-live-snapshot {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  overflow: visible !important;
}

.prediction-page .pf-live-snapshot > .tp-container {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.prediction-page .prediction-backend-heading,
.prediction-page .pf-live-rail-heading {
  display: none !important;
}

.prediction-page .pf-live-summary {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 8px !important;
  margin: 0 0 11px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.prediction-page .pf-live-kpi {
  display: grid !important;
  min-height: 65px !important;
  place-content: center !important;
  gap: 3px !important;
  padding: 8px !important;
  border: 1px solid var(--pd-line) !important;
  border-radius: 9px !important;
  background: #fff !important;
  box-shadow: none !important;
  text-align: center !important;
}

.prediction-page .pf-live-kpi strong {
  color: var(--pd-ink) !important;
  font-size: .84rem !important;
}

.prediction-page .pf-live-kpi span {
  color: var(--pd-muted) !important;
  font-size: .56rem !important;
  line-height: 1.25 !important;
}

.prediction-page .pf-live-match-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0,1fr)) !important;
  gap: 10px !important;
  overflow: visible !important;
  padding: 0 !important;
}

.prediction-page .pf-live-match-grid > article {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "top top"
    "fixture fixture"
    "signal context"
    "probs probs"
    "footer footer";
  gap: 7px 8px;
  min-height: 278px;
  padding: 11px;
}

.prediction-page .pf-live-match-grid > article:nth-child(n+5) {
  display: none !important;
}

.prediction-page .pf-live-match-grid .pf-match-showcase__header {
  grid-area: top;
}

.prediction-page .pf-live-match-grid .pf-match-showcase__fixture {
  grid-area: fixture;
}

.prediction-page .pf-live-match-grid .pf-match-showcase__fixture .pf-live-match__teams {
  margin: 6px 0;
}

.prediction-page .pf-live-match-grid .pf-match-showcase__signal {
  grid-area: signal;
}

.prediction-page .pf-live-match-grid .pf-match-showcase__context {
  grid-area: context;
}

.prediction-page .pf-live-match-grid .pf-match-showcase__probabilities {
  grid-area: probs;
}

.prediction-page .pf-live-match-grid .pf-match-showcase__markets {
  display: none !important;
}

.prediction-page .pf-live-match-grid .pf-match-showcase__footer {
  grid-area: footer;
}

.prediction-page .pf-live-match-grid .pf-live-team__crest {
  width: 35px;
  height: 35px;
  flex-basis: 35px;
}

.prediction-page .pf-live-match-grid .pf-live-team__crest img {
  width: 31px;
  height: 31px;
}

.prediction-page .pf-live-match-grid .pf-live-team__copy strong {
  font-size: .68rem;
}

.prediction-page .pf-live-match-grid .pf-live-team__copy small {
  display: none;
}

.prediction-page .pf-live-match-grid .pf-live-probability {
  min-height: 43px;
}

.prediction-page .pf-live-actions {
  display: flex !important;
  justify-content: center !important;
  gap: 8px !important;
  margin: 13px 0 0 !important;
}

.prediction-page .pf-live-actions a {
  display: inline-flex !important;
  min-height: 35px;
  align-items: center;
  justify-content: center;
  padding: 7px 15px;
  border-radius: 7px;
  font-size: .62rem;
  font-weight: 800;
  text-decoration: none;
}

.prediction-page .pf-live-actions .pf-primary-link {
  min-width: 220px;
  background: var(--pd-blue);
  color: #fff;
}

.prediction-page .pf-live-actions .pf-secondary-link {
  border: 1px solid var(--pd-line-strong);
  background: #fff;
  color: var(--pd-blue);
}


/* ==========================================================================
   EXPLORE / COMPETITIONS / MARKETS
   ========================================================================== */

.prediction-explore {
  padding: 24px 0;
  background: #fff;
}

.prediction-explore__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
}

.prediction-explore-card {
  min-width: 0;
  padding: 15px;
  border: 1px solid var(--pd-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(20,58,120,.04);
}

.prediction-card-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 12px;
}

.prediction-card-heading h2 {
  font-size: 1rem;
}

.prediction-card-heading > a {
  color: var(--pd-blue);
  font-size: .61rem;
  font-weight: 800;
  text-decoration: none;
}

.prediction-mount-placeholder {
  color: var(--pd-muted);
  font-size: .67rem;
}

.prediction-dynamic-mount .pf-live-competition-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 7px;
}

.prediction-dynamic-mount .pf-live-competition {
  display: grid;
  grid-template-columns: auto 1fr auto;
  min-width: 0;
  align-items: center;
  gap: 7px;
  min-height: 48px;
  padding: 7px 8px;
  border: 1px solid var(--pd-line);
  border-radius: 8px;
  background: var(--pd-soft);
  color: inherit;
  text-decoration: none;
}

.prediction-dynamic-mount .pf-live-competition__logo {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.prediction-dynamic-mount .pf-live-competition > span:nth-child(2) {
  display: grid;
  min-width: 0;
  gap: 1px;
}

.prediction-dynamic-mount .pf-live-competition strong {
  color: var(--pd-ink);
  font-size: .61rem;
}

.prediction-dynamic-mount .pf-live-competition small {
  color: var(--pd-muted);
  font-size: .51rem;
}

.prediction-dynamic-mount .pf-live-competition__arrow {
  color: var(--pd-blue);
}

.prediction-dynamic-mount > div > h3,
.prediction-dynamic-mount > div > p {
  display: none;
}

.prediction-market-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 7px;
}

.prediction-market-grid > div {
  display: flex;
  min-width: 0;
  min-height: 62px;
  align-items: center;
  gap: 8px;
  padding: 9px;
  border: 1px solid var(--pd-line);
  border-radius: 8px;
  background: var(--pd-soft);
}

.prediction-market-grid .pf-icon {
  width: 30px;
  height: 30px;
  padding: 6px;
  border-radius: 9px;
  background: #fff;
  color: var(--pd-blue);
}

.prediction-market-grid span {
  display: grid;
  min-width: 0;
  gap: 1px;
}

.prediction-market-grid strong {
  color: var(--pd-ink);
  font-size: .6rem;
}

.prediction-market-grid small {
  color: var(--pd-muted);
  font-size: .49rem;
  line-height: 1.3;
}

.prediction-market-note {
  margin: 10px 0 0;
  color: var(--pd-muted);
  font-size: .56rem;
  line-height: 1.4;
}


/* ==========================================================================
   READING OUTPUTS
   ========================================================================== */

.prediction-reading {
  padding: 29px 0;
  border-top: 1px solid #eef3fa;
  background: var(--pd-soft);
}

.prediction-reading-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0,1fr));
  gap: 8px;
}

.prediction-reading-grid article {
  min-width: 0;
  min-height: 140px;
  padding: 13px 10px;
  border: 1px solid var(--pd-line);
  border-radius: 10px;
  background: #fff;
  text-align: center;
}

.prediction-reading-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin: 0 auto 9px;
  border-radius: 50%;
  background: var(--pd-blue-soft);
  color: var(--pd-blue);
}

.prediction-reading-icon .pf-icon {
  width: 22px;
  height: 22px;
}

.prediction-reading-grid strong {
  display: block;
  color: var(--pd-blue);
  font-size: .67rem;
}

.prediction-reading-grid p {
  margin: 6px 0 0;
  color: var(--pd-text);
  font-size: .55rem;
  line-height: 1.45;
}

.prediction-method-link {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 25px;
  margin-top: 12px;
  padding: 14px 16px;
  border: 1px solid #cddcf2;
  border-radius: 10px;
  background: #fff;
}

.prediction-method-link strong {
  display: block;
  color: var(--pd-ink);
  font-size: .8rem;
}

.prediction-method-link p {
  max-width: 760px;
  margin: 4px 0 0;
  color: var(--pd-muted);
  font-size: .58rem;
  line-height: 1.45;
}


/* ==========================================================================
   DIFFERENCE PREDICTION / PRONOSTIC
   ========================================================================== */

.prediction-difference {
  padding: 27px 0;
  background: #fff;
}

.prediction-difference-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  max-width: 850px;
  margin-inline: auto;
}

.prediction-difference-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 11px;
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--pd-line);
  border-radius: 11px;
  background: #fff;
}

.prediction-difference-card--active {
  border-color: #b7cdf3;
  background: linear-gradient(135deg, #f7faff, #fff);
}

.prediction-difference-card > span {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 10px;
  background: var(--pd-blue-soft);
  color: var(--pd-blue);
}

.prediction-difference-card small {
  color: var(--pd-muted);
  font-size: .53rem;
  font-weight: 800;
  text-transform: uppercase;
}

.prediction-difference-card h3 {
  margin: 2px 0 5px;
  color: var(--pd-ink);
  font-size: .86rem;
}

.prediction-difference-card p {
  margin: 0;
  color: var(--pd-text);
  font-size: .6rem;
  line-height: 1.45;
}

.prediction-difference-card a {
  display: inline-block;
  margin-top: 8px;
  color: var(--pd-blue);
  font-size: .58rem;
  font-weight: 800;
  text-decoration: none;
}


/* ==========================================================================
   RELIABILITY
   ========================================================================== */

.prediction-reliability {
  padding: 24px 0;
  background: var(--pd-soft);
}

.prediction-reliability-card {
  display: grid;
  grid-template-columns: auto minmax(0,1fr) minmax(210px,.35fr);
  align-items: center;
  gap: 17px;
  padding: 17px;
  border: 1px solid #cddaf0;
  border-radius: 12px;
  background: linear-gradient(135deg, #ffffff, #f8fbff);
  box-shadow: var(--pd-shadow-soft);
}

.prediction-reliability-card__icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 50%;
  background: var(--pd-blue-soft);
  color: var(--pd-blue);
}

.prediction-reliability-card__icon .pf-icon {
  width: 31px;
  height: 31px;
}

.prediction-reliability-card h2 {
  font-size: 1rem;
}

.prediction-reliability-card__copy > p {
  max-width: 680px;
  margin: 6px 0 0;
  color: var(--pd-text);
  font-size: .61rem;
  line-height: 1.5;
}

.prediction-reliability-card__actions {
  display: grid;
  gap: 7px;
}

.prediction-reliability-card__actions .prediction-btn {
  width: 100%;
  min-height: 36px;
  padding-inline: 10px;
  font-size: .58rem;
}

.prediction-reliability-live {
  margin-top: 8px;
}

.prediction-reliability-live .pf-live-reliability {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 13px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.prediction-reliability-live .pf-live-reliability p {
  margin: 0;
  color: var(--pd-muted);
  font-size: .54rem;
  line-height: 1.35;
}

.prediction-reliability-live .pf-live-reliability p:first-child strong {
  color: var(--pd-blue);
  font-size: .8rem;
}

.prediction-reliability-live .pf-live-reliability a {
  color: var(--pd-blue);
  font-weight: 800;
}


/* ==========================================================================
   AD
   ========================================================================== */

.prediction-ad-mount .pf-live-ad-section {
  max-width: 970px;
  margin: 8px auto 17px;
}

.prediction-ad-mount .fs-manual-ad {
  min-height: 90px !important;
}


/* ==========================================================================
   FAQ
   ========================================================================== */

.prediction-faq {
  padding: 22px 0 30px;
  background: #fff;
}

.prediction-faq-list {
  border-top: 1px solid #e1e8f4;
}

.prediction-faq details {
  border-bottom: 1px solid #e1e8f4;
}

.prediction-faq summary {
  padding: 10px 2px;
  color: var(--pd-ink);
  font-size: .61rem;
  font-weight: 800;
  cursor: pointer;
}

.prediction-faq details p {
  max-width: 900px;
  margin: 0;
  padding: 0 2px 11px;
  color: var(--pd-text);
  font-size: .57rem;
  line-height: 1.5;
}

.prediction-faq a {
  color: var(--pd-blue);
}


/* ==========================================================================
   DARK MODE
   ========================================================================== */

[data-theme="dark"] .prediction-page {
  --pd-bg: #0d1727;
  --pd-soft: #101c2e;
  --pd-soft-2: #142239;
  --pd-card: #142239;
  --pd-ink: #f3f7fd;
  --pd-text: #c6d1df;
  --pd-muted: #95a5bb;
  --pd-blue: #74a9ff;
  --pd-blue-dark: #4f8df7;
  --pd-blue-soft: rgba(96,165,250,.11);
  --pd-green: #5bd08c;
  --pd-line: rgba(148,163,184,.16);
  --pd-line-strong: rgba(147,197,253,.24);
  background: var(--pd-bg);
}

[data-theme="dark"] .prediction-product,
[data-theme="dark"] .prediction-today,
[data-theme="dark"] .prediction-explore,
[data-theme="dark"] .prediction-difference,
[data-theme="dark"] .prediction-faq {
  background: var(--pd-bg);
}

[data-theme="dark"] .prediction-live,
[data-theme="dark"] .prediction-reading,
[data-theme="dark"] .prediction-reliability {
  background: #0f1b2d;
}

[data-theme="dark"] .prediction-hero {
  border-color: var(--pd-line);
  background:
    radial-gradient(circle at 76% 17%, rgba(64,132,255,.17), transparent 24%),
    #0d1727;
}

[data-theme="dark"] .prediction-anchor-nav {
  border-color: var(--pd-line);
  background: rgba(13,23,39,.85);
}

[data-theme="dark"] .prediction-anchor-nav a,
[data-theme="dark"] .prediction-btn--secondary,
[data-theme="dark"] .prediction-access-grid a,
[data-theme="dark"] .prediction-page .pf-live-match,
[data-theme="dark"] .prediction-page .pf-match-showcase,
[data-theme="dark"] .prediction-page .pf-live-kpi,
[data-theme="dark"] .prediction-page .pf-live-probability,
[data-theme="dark"] .prediction-page .pf-live-pick,
[data-theme="dark"] .prediction-page .pf-match-showcase__context-item,
[data-theme="dark"] .prediction-explore-card,
[data-theme="dark"] .prediction-dynamic-mount .pf-live-competition,
[data-theme="dark"] .prediction-market-grid > div,
[data-theme="dark"] .prediction-reading-grid article,
[data-theme="dark"] .prediction-method-link,
[data-theme="dark"] .prediction-difference-card,
[data-theme="dark"] .prediction-reliability-card {
  border-color: var(--pd-line) !important;
  background: #142239 !important;
}

[data-theme="dark"] .prediction-hero__proofs .pf-icon,
[data-theme="dark"] .prediction-market-grid .pf-icon {
  border-color: var(--pd-line);
  background: #142239;
}

[data-theme="dark"] .prediction-hero__lead strong {
  color: #dce9ff;
}

[data-theme="dark"] .prediction-page .pf-live-team__crest,
[data-theme="dark"] .prediction-page .pf-live-team__crest img {
  background: #fff !important;
}

[data-theme="dark"] .prediction-page .pf-live-probability:first-child {
  background: rgba(34,197,94,.06) !important;
}

[data-theme="dark"] .prediction-page .pf-match-showcase__context-item--confidence::after {
  background:
    radial-gradient(circle at center, #142239 0 48%, transparent 50%),
    conic-gradient(var(--pd-green) var(--prediction-confidence, 0%), #2a3850 0);
}

[data-theme="dark"] .prediction-float {
  border-color: var(--pd-line);
  background: rgba(20,34,57,.94);
  color: #bdd0ed;
}

[data-theme="dark"] .prediction-reliability-card {
  background: linear-gradient(135deg, #142239, #111f34) !important;
}


/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 980px) {
  .prediction-hero__grid {
    grid-template-columns: 1fr 420px;
    gap: 30px;
  }

  .prediction-access-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .prediction-reading-grid {
    grid-template-columns: repeat(3, minmax(0,1fr));
  }

  .prediction-reliability-card {
    grid-template-columns: auto 1fr;
  }

  .prediction-reliability-card__actions {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}


@media (max-width: 760px) {

  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .prediction-page,
  .prediction-product {
    width: 100%;
    max-width: 100%;
    overflow-x: clip !important;
  }

  .prediction-shell {
    width: calc(100% - 24px);
    max-width: 100%;
  }

  .prediction-hero {
    padding-top: 34px;
  }

  .prediction-hero::before {
    right: -120px;
    width: 330px;
  }

  .prediction-hero__grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-bottom: 28px;
  }

  .prediction-hero__copy {
    width: 100%;
    max-width: 590px;
    margin-inline: auto;
    text-align: center;
  }

  .prediction-eyebrow {
    font-size: .68rem;
  }

  .prediction-hero h1 {
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
    font-size: clamp(2rem, 9.5vw, 3rem);
    text-wrap: balance;
  }

  .prediction-hero__lead {
    margin-inline: auto;
    font-size: .86rem;
    line-height: 1.55;
  }

  .prediction-hero__proofs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 8px;
    width: 100%;
  }

  .prediction-hero__proofs > span {
    justify-content: center;
    gap: 5px;
  }

  .prediction-hero__proofs b {
    font-size: .66rem;
  }

  .prediction-hero__proofs small {
    font-size: .58rem;
  }

  .prediction-hero__actions {
    display: grid;
    width: min(100%, 470px);
    margin-inline: auto;
  }

  .prediction-hero__actions .prediction-btn {
    width: 100%;
    min-width: 0 !important;
  }

  .prediction-hero__product {
    width: min(100%, 560px);
    min-height: 0;
    margin-inline: auto;
  }

  .prediction-float {
    display: none;
  }

  .prediction-anchor-nav__inner {
    justify-content: flex-start;
    width: 100%;
    padding-inline: 12px;
    scroll-padding-inline: 12px;
  }

  .prediction-anchor-nav {
    overflow: hidden;
  }

  .prediction-section-heading {
    display: block;
  }

  .prediction-section-heading > p {
    max-width: none;
    margin-top: 5px;
    font-size: .7rem;
    text-align: left;
  }

  .prediction-section-heading--center {
    display: grid;
  }

  .prediction-section-heading--center > p {
    text-align: center;
  }

  .prediction-section-heading h2 {
    font-size: 1.15rem;
  }

  .prediction-access-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .prediction-access-grid a {
    grid-template-columns: auto 1fr;
    min-height: 92px;
    padding: 10px;
  }

  .prediction-access-grid a > b {
    display: none;
  }

  .prediction-access-grid strong {
    font-size: .67rem;
  }

  .prediction-access-grid small {
    font-size: .61rem;
  }

  /* featured */
  .prediction-featured-preview .pf-live-match,
  .prediction-featured-preview .pf-match-showcase {
    grid-template-columns: 1fr;
    grid-template-areas:
      "top"
      "fixture"
      "probs"
      "signal"
      "context"
      "markets"
      "footer";
  }

  .prediction-page .pf-live-match__league,
  .prediction-page .pf-live-match__date {
    font-size: .67rem;
  }

  .prediction-page .pf-live-team__copy strong {
    font-size: .75rem;
  }

  .prediction-page .pf-live-probability span {
    font-size: .64rem;
  }

  .prediction-page .pf-live-probability strong {
    font-size: .82rem;
  }

  .prediction-page .pf-live-pick__head span,
  .prediction-page .pf-live-pick__head strong {
    font-size: .61rem;
  }

  .prediction-page .pf-live-pick p strong {
    font-size: .71rem;
  }

  .prediction-page .pf-live-pick p span {
    font-size: .79rem;
  }

  .prediction-page .pf-match-showcase__context-grid {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .prediction-page .pf-match-showcase__context-item {
    min-height: 53px;
    padding: 9px 46px 9px 10px;
  }

  .prediction-page .pf-match-showcase__context-item > span:first-child {
    font-size: .61rem;
    white-space: nowrap;
  }

  .prediction-page .pf-match-showcase__context-item strong {
    font-size: .71rem;
    line-height: 1.2;
    word-break: normal;
    overflow-wrap: normal;
  }

  .prediction-page .pf-match-showcase__context-item--confidence::after {
    right: 11px;
    width: 28px;
    height: 28px;
  }

  .prediction-page .pf-match-showcase__context-item--stability::after {
    right: 11px;
  }

  /* snapshot summary */
  .prediction-page .pf-live-summary {
    grid-template-columns: repeat(3, minmax(0,1fr)) !important;
  }

  .prediction-page .pf-live-kpi {
    min-height: 64px !important;
    padding: 7px !important;
  }

  .prediction-page .pf-live-kpi strong {
    font-size: .77rem !important;
  }

  .prediction-page .pf-live-kpi span {
    font-size: .61rem !important;
  }

  /* match rail */
  .prediction-page .pf-live-match-grid {
    display: flex !important;
    width: calc(100% + 24px) !important;
    max-width: calc(100% + 24px) !important;
    gap: 10px !important;
    margin-inline: -12px !important;
    padding: 3px 12px 15px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-padding-inline: 12px;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-inline: contain;
    scrollbar-width: auto;
    scrollbar-color: #4f83eb rgba(120,147,190,.15);
  }

  .prediction-page .pf-live-match-grid::-webkit-scrollbar {
    height: 6px;
  }

  .prediction-page .pf-live-match-grid::-webkit-scrollbar-track {
    margin-inline: 12px;
    border-radius: 999px;
    background: rgba(120,147,190,.14);
  }

  .prediction-page .pf-live-match-grid::-webkit-scrollbar-thumb {
    min-width: 42px;
    border-radius: 999px;
    background: linear-gradient(90deg, #3376f4, #74a5ff);
  }

  .prediction-page .pf-live-match-grid > article,
  .prediction-page .pf-live-match-grid > article:nth-child(n+5) {
    display: grid !important;
    flex: 0 0 calc(100% - 30px) !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    scroll-snap-align: start !important;
  }

  .prediction-page .pf-live-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }

  .prediction-page .pf-live-actions a {
    width: 100%;
    min-width: 0 !important;
    min-height: 38px;
    font-size: .67rem;
  }

  .prediction-explore__grid {
    grid-template-columns: 1fr;
  }

  .prediction-dynamic-mount .pf-live-competition-grid {
    display: flex;
    width: calc(100% + 24px);
    gap: 8px;
    margin-inline: -12px;
    padding: 2px 12px 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }

  .prediction-dynamic-mount .pf-live-competition {
    flex: 0 0 155px;
    scroll-snap-align: start;
  }

  .prediction-market-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .prediction-market-grid strong {
    font-size: .66rem;
  }

  .prediction-market-grid small {
    font-size: .58rem;
  }

  .prediction-reading-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .prediction-reading-grid article {
    min-height: 150px;
  }

  .prediction-reading-grid strong {
    font-size: .7rem;
  }

  .prediction-reading-grid p {
    font-size: .64rem;
  }

  .prediction-method-link {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .prediction-method-link strong {
    font-size: .78rem;
  }

  .prediction-method-link p {
    font-size: .66rem;
  }

  .prediction-method-link .prediction-btn {
    width: 100%;
  }

  .prediction-difference-grid {
    grid-template-columns: 1fr;
  }

  .prediction-difference-card p {
    font-size: .67rem;
  }

  .prediction-reliability-card {
    grid-template-columns: auto 1fr;
  }

  .prediction-reliability-card__icon {
    width: 50px;
    height: 50px;
  }

  .prediction-reliability-card__actions {
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
  }

  .prediction-reliability-card__copy > p {
    font-size: .68rem;
  }

  .prediction-reliability-live .pf-live-reliability {
    display: block;
  }

  .prediction-reliability-live .pf-live-reliability p {
    margin-top: 4px;
    font-size: .61rem;
  }

  .prediction-faq summary {
    padding-block: 11px;
    font-size: .69rem;
  }

  .prediction-faq details p {
    font-size: .66rem;
  }
}


@media (max-width: 430px) {
  .prediction-hero h1 {
    font-size: 1.95rem;
  }

  .prediction-hero__proofs .pf-icon {
    width: 24px;
    height: 24px;
    padding: 4px;
  }

  .prediction-hero__proofs b {
    font-size: .61rem;
  }

  .prediction-hero__proofs small {
    font-size: .53rem;
  }

  .prediction-access-grid {
    grid-template-columns: 1fr;
  }

  .prediction-access-grid a {
    min-height: 72px;
  }

  .prediction-page .pf-live-summary {
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
  }

  .prediction-page .pf-live-summary .pf-live-kpi:last-child {
    grid-column: 1 / -1;
  }

  .prediction-market-grid {
    grid-template-columns: 1fr 1fr;
  }

  .prediction-reading-grid {
    grid-template-columns: 1fr;
  }

  .prediction-reading-grid article {
    min-height: 0;
  }

  .prediction-reliability-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .prediction-reliability-card__icon {
    margin-inline: auto;
  }
}

/* ==========================================================================
   PREDICTION — TEAM NAMES / CARD LAYOUT FIX
   ========================================================================== */

.prediction-page .pf-live-match__teams {
  grid-template-columns:
    minmax(120px, 1fr)
    auto
    minmax(120px, 1fr) !important;
}

.prediction-page .pf-live-team {
  min-width: 0 !important;
  width: 100% !important;
}

.prediction-page .pf-live-team__copy {
  min-width: 0 !important;
  width: 100% !important;
  flex: 1 1 auto !important;
}

.prediction-page .pf-live-team__copy strong {
  width: 100% !important;

  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
  hyphens: none !important;
}


/* Cartes du rail : on protège encore davantage la zone équipe */
.prediction-page .pf-live-match-grid .pf-live-match__teams {
  grid-template-columns:
    minmax(100px, 1fr)
    28px
    minmax(100px, 1fr) !important;
}


/* Hero : plus de place aux noms des deux équipes */
.prediction-featured-preview .pf-live-match__teams {
  grid-template-columns:
    minmax(135px, 1fr)
    30px
    minmax(135px, 1fr) !important;
}


/* ==========================================================================
   MOBILE
   ========================================================================== */

@media (max-width: 760px) {

  .prediction-page .pf-live-match__teams,
  .prediction-page .pf-live-match-grid .pf-live-match__teams,
  .prediction-featured-preview .pf-live-match__teams {
    grid-template-columns:
      minmax(0, 1fr)
      26px
      minmax(0, 1fr) !important;

    gap: 7px !important;
  }

  .prediction-page .pf-live-team {
    gap: 6px !important;
  }

  .prediction-page .pf-live-team__crest {
    width: 36px !important;
    height: 36px !important;
    flex: 0 0 36px !important;
  }

  .prediction-page .pf-live-team__crest img {
    width: 32px !important;
    height: 32px !important;
  }

  .prediction-page .pf-live-team__copy strong {
    font-size: .72rem !important;
    line-height: 1.2 !important;

    word-break: normal !important;
    overflow-wrap: break-word !important;
  }
}
@media (min-width: 761px) {

  .prediction-page .pf-live-match-grid > article {
    grid-template-columns: 1fr !important;

    grid-template-areas:
      "top"
      "fixture"
      "probs"
      "signal"
      "context"
      "footer" !important;

    min-height: 0 !important;
  }

  .prediction-page .pf-live-match-grid .pf-match-showcase__header {
    grid-area: top;
  }

  .prediction-page .pf-live-match-grid .pf-match-showcase__fixture {
    grid-area: fixture;
  }

  .prediction-page .pf-live-match-grid .pf-match-showcase__probabilities {
    grid-area: probs;
  }

  .prediction-page .pf-live-match-grid .pf-match-showcase__signal {
    grid-area: signal;
  }

  .prediction-page .pf-live-match-grid .pf-match-showcase__context {
    grid-area: context;
  }

  .prediction-page .pf-live-match-grid .pf-match-showcase__footer {
    grid-area: footer;
  }
}

/* ==========================================================================
   PREDICTION MATCH CARDS — FINAL LAYOUT RESET
   Neutralise les anciens grid-area internes
   ========================================================================== */


/* --------------------------------------------------------------------------
   1. Toutes les cartes : layout vertical stable
   -------------------------------------------------------------------------- */

.prediction-featured-preview .pf-match-showcase,
.prediction-featured-preview .pf-live-match,
.prediction-page .pf-live-match-grid > .pf-match-showcase,
.prediction-page .pf-live-match-grid > .pf-live-match {
  display: flex !important;
  flex-direction: column !important;

  grid-template-columns: none !important;
  grid-template-rows: none !important;
  grid-template-areas: none !important;

  gap: 9px !important;

  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;

  height: auto !important;
  min-height: 0 !important;
}


/* On neutralise TOUTES les grid-area héritées */
.prediction-page .pf-match-showcase__header,
.prediction-page .pf-match-showcase__fixture,
.prediction-page .pf-match-showcase__probabilities,
.prediction-page .pf-match-showcase__signal,
.prediction-page .pf-match-showcase__context,
.prediction-page .pf-match-showcase__markets,
.prediction-page .pf-match-showcase__footer {
  grid-area: auto !important;

  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
}


/* Ordre explicite */
.prediction-page .pf-match-showcase__header {
  order: 1 !important;
}

.prediction-page .pf-match-showcase__fixture {
  order: 2 !important;
}

.prediction-page .pf-match-showcase__probabilities {
  order: 3 !important;
}

.prediction-page .pf-match-showcase__signal {
  order: 4 !important;
}

.prediction-page .pf-match-showcase__context {
  order: 5 !important;
}

.prediction-page .pf-match-showcase__markets {
  order: 6 !important;
}

.prediction-page .pf-match-showcase__footer {
  order: 7 !important;
}


/* ==========================================================================
   2. ÉQUIPES
   Les logos passent au-dessus du nom.
   Ça évite qu'un logo consomme la largeur disponible pour les noms longs.
   ========================================================================== */

.prediction-page .pf-live-match__teams,
.prediction-page .pf-match-showcase__teams,
.prediction-featured-preview .pf-live-match__teams {
  display: grid !important;

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

  align-items: start !important;

  gap: 10px !important;

  width: 100% !important;
  min-width: 0 !important;

  margin: 8px 0 !important;
}


/* Chaque équipe devient verticale */
.prediction-page .pf-live-team {
  display: flex !important;
  flex-direction: column !important;

  align-items: center !important;
  justify-content: flex-start !important;

  gap: 5px !important;

  width: 100% !important;
  min-width: 0 !important;

  text-align: center !important;
}


/* Même comportement côté away */
.prediction-page .pf-live-team--away {
  flex-direction: column !important;
  text-align: center !important;
}


/* Logo */
.prediction-page .pf-live-team__crest {
  width: 42px !important;
  height: 42px !important;

  flex: 0 0 42px !important;

  margin: 0 auto !important;
}


/* Zone nom */
.prediction-page .pf-live-team__copy {
  display: block !important;

  width: 100% !important;
  min-width: 0 !important;

  text-align: center !important;
}


/* Home / Away */
.prediction-page .pf-live-team__copy small {
  display: block !important;

  margin-bottom: 2px !important;

  font-size: .52rem !important;
  line-height: 1.1 !important;

  white-space: nowrap !important;
}


/* Nom équipe */
.prediction-page .pf-live-team__copy strong {
  display: block !important;

  width: 100% !important;
  max-width: 100% !important;

  font-size: .69rem !important;
  line-height: 1.18 !important;

  white-space: normal !important;

  word-break: normal !important;
  overflow-wrap: normal !important;
  hyphens: none !important;
}


/* VS */
.prediction-page .pf-live-match__vs {
  align-self: center !important;

  margin-top: 12px !important;
}


/* ==========================================================================
   3. PROBABILITÉS
   ========================================================================== */

.prediction-page .pf-match-showcase__probabilities {
  display: block !important;
}

.prediction-page .pf-live-probabilities {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;

  gap: 7px !important;

  width: 100% !important;
}


/* ==========================================================================
   4. SIGNAL
   Plus jamais écrasé à côté du bouton
   ========================================================================== */

.prediction-page .pf-match-showcase__signal,
.prediction-page .pf-live-pick {
  display: block !important;

  width: 100% !important;
  min-width: 0 !important;
}

.prediction-page .pf-live-pick p {
  display: flex !important;

  align-items: center !important;
  justify-content: space-between !important;

  gap: 12px !important;

  min-width: 0 !important;
}


/* ==========================================================================
   5. CONTEXTE
   ========================================================================== */

.prediction-page .pf-match-showcase__context-grid {
  display: grid !important;

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

  gap: 7px !important;
}


/* ==========================================================================
   6. CTA
   ========================================================================== */

.prediction-page .pf-match-showcase__footer {
  display: block !important;
}

.prediction-page .pf-live-match__link {
  display: flex !important;

  width: 100% !important;
  max-width: 100% !important;

  min-height: 37px !important;

  align-items: center !important;
  justify-content: center !important;

  margin: 0 !important;

  box-sizing: border-box !important;
}


/* ==========================================================================
   MOBILE
   ========================================================================== */

@media (max-width: 760px) {

  .prediction-featured-preview .pf-match-showcase,
  .prediction-featured-preview .pf-live-match,
  .prediction-page .pf-live-match-grid > .pf-match-showcase,
  .prediction-page .pf-live-match-grid > .pf-live-match {
    gap: 8px !important;
  }


  .prediction-page .pf-live-match__teams,
  .prediction-page .pf-match-showcase__teams,
  .prediction-featured-preview .pf-live-match__teams {
    grid-template-columns:
      minmax(0, 1fr)
      28px
      minmax(0, 1fr) !important;

    gap: 6px !important;
  }


  .prediction-page .pf-live-team__crest {
    width: 38px !important;
    height: 38px !important;

    flex-basis: 38px !important;
  }


  .prediction-page .pf-live-team__crest img {
    width: 34px !important;
    height: 34px !important;
  }


  .prediction-page .pf-live-team__copy strong {
    font-size: .68rem !important;
    line-height: 1.2 !important;
  }


  .prediction-page .pf-match-showcase__context-grid {
    grid-template-columns: 1fr !important;
  }


  .prediction-page .pf-live-match__link {
    min-height: 39px !important;

    font-size: .67rem !important;
  }
}