.league-match-page {
  --lm-bg: #f8fafc;
  --lm-card: #ffffff;
  --lm-card-soft: #f8fafc;
  --lm-text: #0f172a;
  --lm-muted: #475569;
  --lm-line: rgba(15, 23, 42, 0.11);
  --lm-blue: #1e40af;
  --lm-blue-dark: #172554;
  --lm-amber: #f59e0b;
  --lm-purple: #8b5cf6;
  --lm-green: #28a745;
  --lm-red: #dc3545;
  --lm-shadow: 0 10px 24px rgb(2 6 23 / 7%);
  margin: 0;
  color: var(--lm-text);
  background: var(--lm-bg);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.lm-shell { width: min(1120px, calc(100% - 2rem)); margin-inline: auto; }
.lm-main { padding: 1.4rem 0 3.5rem; }
.lm-main article { display: grid; gap: 1.2rem; }

.lm-hero {
  padding: 1.2rem 0 2.25rem;
  color: #fff;
  background:
    radial-gradient(1200px 360px at 50% -10%, rgb(255 255 255 / 33%), transparent 60%),
    linear-gradient(110deg, #1e40af, #2563eb);
}

.lm-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: .55rem;
  min-height: 38px;
  overflow: visible;
  margin-bottom: .65rem;
  color: rgb(255 255 255 / 78%);
  font-size: .88rem;
  line-height: 1.45;
  text-align: center;
  white-space: normal;
}
.lm-breadcrumb a { color: #fff; font-weight: 750; }
.lm-breadcrumb span:last-child { overflow: visible; text-overflow: clip; }

.lm-hero-card {
  width: min(1120px, calc(100% - 2rem));
  max-width: 1120px;
  margin-inline: auto;
  padding: clamp(1.35rem, 3vw, 2rem);
  border: 1px solid rgb(255 255 255 / 24%);
  border-radius: 18px;
  color: #fff;
  background: rgb(255 255 255 / 10%);
  box-shadow: none;
  backdrop-filter: blur(8px);
  text-align: center;
}
.lm-league { margin: 0 0 .7rem; color: #fff; font-size: .8rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.lm-hero h1 { max-width: 900px; margin: .55rem auto 0; color: #fff; font-size: clamp(1.65rem, 3.2vw, 2.25rem); line-height: 1.14; letter-spacing: -.025em; }
.lm-hero-lead { max-width: 800px; margin: .85rem auto 0; color: rgb(255 255 255 / 94%); font-size: clamp(.98rem, 2vw, 1.08rem); line-height: 1.56; }
.lm-hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 1.15rem; }
.lm-hero-actions .cta-button { min-height: 45px; border: 1px solid rgb(255 255 255 / 35%); color: #fff; background: rgb(255 255 255 / 15%); box-shadow: none; }
.lm-hero-actions .cta-button:hover { background: rgb(255 255 255 / 24%); }
.lm-hero-actions .lm-cta-secondary { border-color: rgb(255 255 255 / 28%); color: #fff; background: transparent; }

.lm-matchup {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px minmax(0, 1fr);
  align-items: stretch;
  gap: 1rem;
}
.lm-team-card,
.lm-panel,
.lm-context {
  border: 1px solid var(--lm-line);
  border-radius: 22px;
  background: var(--lm-card);
  box-shadow: var(--lm-shadow);
}
.lm-team-card { position: relative; overflow: hidden; padding: 1.3rem; text-align: center; }
.lm-team-card::before { position: absolute; inset: 0 0 auto; height: 5px; content: ""; }
.lm-team-card--home::before { background: linear-gradient(90deg, #1e40af, #2563eb); }
.lm-team-card--away::before { background: linear-gradient(90deg, #2563eb, #60a5fa); }
.lm-team-logo { position: relative; display: grid; place-items: center; width: 92px; height: 92px; margin: .2rem auto .75rem; border: 1px solid var(--lm-line); border-radius: 24px; background: #fff; box-shadow: 0 10px 26px rgb(15 23 42 / 11%); }
.lm-team-logo span { color: #94a3b8; font-size: 1.25rem; font-weight: 900; }
.lm-team-logo img { position: absolute; width: 76px; height: 76px; object-fit: contain; }
.lm-team-card h2 { margin: 0; color: var(--lm-text); font-size: clamp(1.1rem, 2.4vw, 1.35rem); }
.lm-team-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .55rem; margin-top: 1rem; }
.lm-team-metrics p { margin: 0; padding: .65rem .4rem; border-radius: 12px; background: var(--lm-card-soft); }
.lm-team-metrics span,
.lm-form > span,
.lm-team-xg span { display: block; color: var(--lm-muted); font-size: .68rem; font-weight: 800; letter-spacing: .035em; text-transform: uppercase; }
.lm-team-metrics strong { display: block; margin-top: .25rem; color: var(--lm-blue-dark); font-size: 1rem; }
.lm-form { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-top: .8rem; padding: .7rem .8rem; border: 1px solid var(--lm-line); border-radius: 12px; }
.lm-form > div { display: flex; gap: .25rem; }
.lm-form-result { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 7px; color: #fff; font-size: .72rem; font-weight: 900; }
.lm-form-result--w { background: #16a34a; }
.lm-form-result--d { background: #f59e0b; }
.lm-form-result--l { background: #ef4444; }
.lm-form-empty { color: var(--lm-muted); }
.lm-team-xg { display: flex; align-items: center; justify-content: space-between; margin: .8rem 0 0; padding: .75rem .85rem; border: 1px solid #bfdbfe; border-radius: 12px; color: #1e40af; background: #eff6ff; }
.lm-team-xg span { color: #475569; }
.lm-team-xg strong { font-size: 1.2rem; }
.lm-match-center { align-self: center; display: grid; place-items: center; gap: .35rem; min-height: 150px; padding: 1rem .55rem; border-radius: 18px; color: #fff; background: linear-gradient(160deg, #172554, #1e40af); box-shadow: 0 12px 28px rgb(30 64 175 / 20%); text-align: center; }
.lm-match-center > span { color: #fcd34d; font-size: .72rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.lm-match-center > strong { font-size: clamp(1.45rem, 3vw, 2.15rem); }
.lm-match-center small { color: #cbd5e1; font-size: .75rem; line-height: 1.45; }

.lm-context { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem; border-color: #fed7aa; background: linear-gradient(100deg, #fff7ed, #fffbeb); }
.lm-context > strong { min-width: max-content; color: #9a3412; font-size: .85rem; }
.lm-context > div { display: flex; flex-wrap: wrap; gap: .45rem; }
.lm-flag { padding: .38rem .7rem; border-radius: 999px; font-size: .75rem; font-weight: 850; }
.lm-flag--warning { color: #991b1b; background: #fee2e2; }
.lm-flag--caution { color: #92400e; background: #fef3c7; }
.lm-flag--info { color: #1e40af; background: #dbeafe; }

.lm-panel { padding: clamp(1.1rem, 3vw, 1.6rem); }
.lm-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.lm-section-head { margin-bottom: 1rem; }
.lm-section-head p { margin: 0 0 .22rem; color: var(--lm-blue); font-size: .7rem; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.lm-section-kicker--ai::before { content: "Foresportia AI"; }
.lm-section-kicker--xg::before { content: "xG"; }
.lm-section-kicker--data::before { content: "Data"; }
.lm-section-kicker--brand::before { content: "Foresportia"; }
.lm-section-head h2,
.lm-panel > h2 { margin: 0; color: var(--lm-text); font-size: clamp(1.25rem, 2.5vw, 1.55rem); }

.lm-quick-read { border-top: 5px solid #0ea5e9; }
.lm-quick-read ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; margin: 0; padding: 0; list-style: none; }
.lm-quick-read li { min-width: 0; padding: .85rem 1rem; border: 1px solid var(--lm-line); border-radius: 14px; background: var(--lm-card-soft); }
.lm-quick-read li:first-child { grid-column: 1 / -1; border-color: #bfdbfe; background: #eff6ff; }
.lm-quick-read span { display: block; margin-bottom: .25rem; color: var(--lm-muted); font-size: .72rem; font-weight: 800; text-transform: uppercase; }
.lm-quick-read strong { color: var(--lm-text); line-height: 1.5; }

.lm-faq { border-top: 5px solid #2563eb; }
.lm-faq details { border-top: 1px solid var(--lm-line); }
.lm-faq details:first-of-type { border-top: 0; }
.lm-faq summary { padding: 1rem 2rem 1rem 0; color: var(--lm-text); font-weight: 800; cursor: pointer; }
.lm-faq details p { margin: 0 0 1rem; color: var(--lm-muted); line-height: 1.7; }

.lm-probability { border-top: 5px solid var(--lm-blue); }
.lm-prob-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); align-items: center; gap: clamp(1.2rem, 4vw, 2.8rem); }
.lm-pie { position: relative; display: grid; place-items: center; width: 230px; height: 230px; margin: auto; border-radius: 50%; box-shadow: 0 18px 44px rgb(37 99 235 / 18%); }
.lm-pie::after { position: absolute; width: 128px; height: 128px; border-radius: 50%; background: var(--lm-card); box-shadow: inset 0 0 0 1px var(--lm-line); content: ""; }
.lm-pie > span { position: relative; z-index: 1; display: grid; gap: .2rem; max-width: 112px; text-align: center; }
.lm-pie b { color: var(--lm-text); font-size: .95rem; line-height: 1.15; }
.lm-pie small { color: var(--lm-blue); font-size: 1.2rem; font-weight: 900; }
.lm-prob { display: grid; grid-template-columns: 1fr auto; gap: .45rem .8rem; margin-bottom: 1rem; padding: .8rem; border-radius: 13px; background: var(--lm-card-soft); }
.lm-prob > span:first-child { font-weight: 750; }
.lm-prob > strong { font-size: 1.05rem; }
.lm-bar { grid-column: 1 / -1; height: 9px; overflow: hidden; border-radius: 999px; background: #e2e8f0; }
.lm-bar i { display: block; height: 100%; border-radius: inherit; }
.lm-prob--home strong { color: #218838; }.lm-prob--home .lm-bar i { background: linear-gradient(90deg, #218838, #4caf50); }
.lm-prob--draw strong { color: #9a6700; }.lm-prob--draw .lm-bar i { background: linear-gradient(90deg, #e0a800, #ffc107); }
.lm-prob--away strong { color: #c82333; }.lm-prob--away .lm-bar i { background: linear-gradient(90deg, #c82333, #ef5350); }
.lm-signal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; margin-top: 1rem; }
.lm-signal-grid p { display: grid; grid-template-columns: 1fr auto; gap: .25rem .7rem; margin: 0; padding: .9rem 1rem; border: 1px solid var(--lm-line); border-radius: 14px; background: linear-gradient(135deg, #f8fafc, #eff6ff); }
.lm-signal-grid span { grid-column: 1 / -1; color: var(--lm-muted); font-size: .73rem; font-weight: 800; text-transform: uppercase; }
.lm-signal-grid strong { color: var(--lm-text); }.lm-signal-grid b { color: var(--lm-blue); }

.lm-ad-section { margin: 4px 0; }
.lm-ad-shell { padding: 0; }
.lm-ad-slot {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 250px;
  overflow-x: clip;
  border-color: var(--lm-line);
  border-radius: 18px;
  background: var(--lm-card);
  box-shadow: var(--lm-shadow);
}
.lm-ad-slot .adsbygoogle {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  min-height: 220px;
  margin-inline: 0 !important;
  box-sizing: border-box !important;
}
.lm-ad-preview-note { display: none; }

/* Local noindex previews keep the ad positions reviewable even when the
   current account has ads disabled. No network ad is displayed. */
html.user-no-ads body.league-match-preview .fs-manual-ad-section.lm-ad-section {
  display: block !important;
  visibility: visible !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 4px 0 !important;
  padding: 12px 0 22px !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}
html.user-no-ads body.league-match-preview .js-manual-ad.lm-ad-slot {
  display: grid !important;
  place-items: center;
  visibility: visible !important;
  height: auto !important;
  min-height: 250px !important;
  margin: 0 auto !important;
  padding: 12px !important;
  border-style: dashed;
  opacity: 1 !important;
  pointer-events: auto !important;
}
html.user-no-ads body.league-match-preview .lm-ad-slot .lm-ad-preview-note {
  display: block;
  max-width: 420px;
  color: var(--lm-muted);
  font-size: .78rem;
  font-weight: 750;
  line-height: 1.45;
  text-align: center;
}

.lm-data-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr); gap: 1.2rem; }
.lm-goals { border-top: 5px solid #2563eb; }
.lm-xg-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .65rem; }
.lm-xg-grid article { padding: .9rem; border: 1px solid #bfdbfe; border-radius: 14px; color: #1e40af; background: #eff6ff; text-align: center; }
.lm-xg-grid article:nth-child(2) { border-color: #1e40af; color: #fff; background: #1e40af; }
.lm-xg-grid span { display: block; color: #475569; font-size: .72rem; font-weight: 750; }
.lm-xg-grid article:nth-child(2) span { color: #dbeafe; }
.lm-xg-grid strong { display: block; margin-top: .2rem; font-size: 1.4rem; }
.lm-goal-donuts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1.2rem; }
.lm-goal-donut { margin: 0; text-align: center; }
.lm-goal-donut > div { position: relative; display: grid; place-items: center; width: 150px; height: 150px; margin: auto; border-radius: 50%; }
.lm-goal-donut > div::after { position: absolute; width: 88px; height: 88px; border-radius: 50%; background: var(--lm-card); content: ""; }
.lm-goal-donut > div span { position: relative; z-index: 1; display: grid; }
.lm-goal-donut b { font-size: 1.2rem; }.lm-goal-donut small { color: var(--lm-muted); font-size: .72rem; }
.lm-goal-donut p { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .32rem; color: var(--lm-muted); font-size: .72rem; }
.lm-dot { width: 7px; height: 7px; border-radius: 50%; }.lm-dot--over { background:#f97316; }.lm-dot--under { background:#0ea5e9; }.lm-dot--yes { background:#10b981; }.lm-dot--no { background:#ef4444; }

.lm-dc-panel { border-top: 5px solid #2563eb; }
.lm-dc-grid { display: grid; gap: .85rem; }
.lm-dc { padding: .85rem; border-radius: 14px; background: var(--lm-card-soft); }
.lm-dc > span { display: inline-grid; place-items: center; width: 38px; height: 30px; border-radius: 9px; color: #fff; background: #1e40af; font-weight: 900; }
.lm-dc > strong { float: right; color: var(--lm-blue-dark); font-size: 1.15rem; }
.lm-dc > i { display: block; height: 7px; margin-top: .6rem; overflow: hidden; border-radius: 999px; background: #e2e8f0; }
.lm-dc > i b { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #60a5fa, #2563eb); }
.lm-dc--x2 > span { background: #2563eb; }.lm-dc--12 > span { background: #3b82f6; }

.lm-scores { border-top: 5px solid #2563eb; }
.lm-scores ol { display: grid; gap: .55rem; margin: 0; padding: 0; list-style: none; counter-reset: lm-score-rank; }
.lm-scores li { display: grid; grid-template-columns: 32px 90px 70px 1fr; align-items: center; gap: .7rem; padding: .65rem .8rem; border-radius: 12px; background: var(--lm-card-soft); counter-increment: lm-score-rank; }
.lm-score-rank { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 50%; color: #fff; background: #1e40af; font-size: .72rem; font-weight: 900; }
.lm-score-rank::before { content: counter(lm-score-rank); }
.lm-scores li > strong { font-size: 1.05rem; }.lm-scores li > b { color: #1e40af; }
.lm-scores li > i { height: 8px; overflow: hidden; border-radius: 999px; background: #e2e8f0; }
.lm-scores li > i em { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #60a5fa, #1e40af); }

.lm-advanced { border-top: 5px solid #0ea5e9; }
.lm-advanced-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.lm-compare { padding: 1rem; border: 1px solid var(--lm-line); border-radius: 15px; background: var(--lm-card-soft); }
.lm-compare h3 { margin: 0 0 .75rem; font-size: .95rem; }
.lm-compare-bars { display: grid; grid-template-columns: 1fr 2px 1fr; align-items: center; gap: 5px; height: 12px; }
.lm-compare-bars > span { height: 8px; max-width: 100%; border-radius: 999px; }
.lm-compare-home { justify-self: end; background: linear-gradient(90deg, #4caf50, #218838); }
.lm-compare-away { background: linear-gradient(90deg, #c82333, #ef5350); }
.lm-compare-bars i { height: 14px; background: #94a3b8; }
.lm-compare-values { display: flex; justify-content: space-between; gap: 1rem; margin-top: .55rem; color: var(--lm-muted); font-size: .75rem; }
.lm-compare-values b { color: var(--lm-text); }

.lm-after { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; border-color: #86efac; color: #14532d; background: linear-gradient(120deg, #f0fdf4, #dcfce7); }
.lm-after div,.lm-after p { margin: 0; }.lm-after span { display: block; font-size: .75rem; font-weight: 800; text-transform: uppercase; }.lm-after strong { display: block; margin-top: .3rem; font-size: 1.45rem; }

.lm-links { border-top: 5px solid #2563eb; }
.lm-links-intro { max-width: 780px; margin: -.3rem 0 1.1rem; color: var(--lm-muted); line-height: 1.65; }
.lm-cta-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.lm-cta { display: flex; flex-direction: column; gap: .35rem; min-height: 100px; padding: 1rem 1.1rem; border: 1px solid #bfdbfe; border-radius: 14px; color: var(--lm-blue-dark); background: #eff6ff; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
.lm-cta strong { font-size: 1rem; }.lm-cta span { color: var(--lm-muted); font-size: .86rem; line-height: 1.45; }
.lm-cta:hover { box-shadow: 0 10px 26px rgb(37 99 235 / 14%); transform: translateY(-2px); }
.lm-cta--primary { border-color: transparent; color: #fff; background: linear-gradient(135deg, #1e40af, #2563eb); }
.lm-cta--primary span { color: #dbeafe; }
.lm-seo-copy { background: linear-gradient(135deg, #eff6ff, #f8fafc); }
.lm-editorial-copy { display: grid; gap: .75rem; }
.lm-editorial-copy p { margin: 0; color: var(--lm-muted); line-height: 1.75; }
.lm-empty { color: var(--lm-muted); }

[data-theme="dark"] .league-match-page {
  --lm-bg: #0f172a;
  --lm-card: #1f2937;
  --lm-card-soft: #111827;
  --lm-text: #e5e7eb;
  --lm-muted: #cbd5e1;
  --lm-line: #374151;
  --lm-blue: #60a5fa;
  --lm-blue-dark: #93c5fd;
  --lm-shadow: 0 10px 26px rgb(2 6 23 / 28%);
}
[data-theme="dark"] .lm-hero { background:radial-gradient(1200px 360px at 50% -10%,rgb(255 255 255 / 16%),transparent 60%),linear-gradient(110deg,#172554,#1e40af); }
[data-theme="dark"] .lm-hero-card { border-color:rgb(147 197 253 / 24%); background:rgb(15 23 42 / 20%); }
[data-theme="dark"] .lm-breadcrumb { color:rgb(255 255 255 / 70%); }
[data-theme="dark"] .lm-breadcrumb a { color:#fff; }
[data-theme="dark"] .lm-team-logo { background:#fff; }
[data-theme="dark"] .lm-context { border-color:#78350f; background:linear-gradient(100deg,#271b12,#29200e); }
[data-theme="dark"] .lm-signal-grid p { background:linear-gradient(135deg,#17233a,#172554); }
[data-theme="dark"] .lm-bar,[data-theme="dark"] .lm-dc > i,[data-theme="dark"] .lm-scores li > i { background:#334155; }
[data-theme="dark"] .lm-ad-slot { background:rgb(18 29 49 / 65%); }
[data-theme="dark"] .lm-cta:not(.lm-cta--primary) { color:#bfdbfe; background:#172554; }
[data-theme="dark"] .lm-seo-copy { background:linear-gradient(135deg,#172554,#1f2937); }
[data-theme="dark"] .lm-quick-read li:first-child { border-color:#1e3a8a; background:#172554; }
[data-theme="dark"] .lm-team-xg { border-color:#1e3a8a; color:#bfdbfe; background:#172554; }
[data-theme="dark"] .lm-team-xg span { color:#cbd5e1; }
[data-theme="dark"] .lm-xg-grid article { border-color:#1e3a8a; color:#bfdbfe; background:#172554; }
[data-theme="dark"] .lm-xg-grid article span { color:#cbd5e1; }
[data-theme="dark"] .lm-xg-grid article:nth-child(2) { border-color:#3b82f6; color:#fff; background:#1e40af; }
[data-theme="dark"] .lm-xg-grid article:nth-child(2) span { color:#dbeafe; }
[data-theme="dark"] .lm-prob--home strong { color:#4ade80; }
[data-theme="dark"] .lm-prob--draw strong { color:#facc15; }
[data-theme="dark"] .lm-prob--away strong { color:#f87171; }
[data-theme="dark"] .lm-scores li > b { color:#93c5fd; }
[data-theme="dark"] .lm-dc > strong { color:#93c5fd; }
[data-theme="dark"] .lm-after { border-color:#166534; color:#dcfce7; background:linear-gradient(120deg,#052e16,#14532d); }
[data-theme="dark"] .lm-flag--warning { color:#fecaca; background:#7f1d1d; }
[data-theme="dark"] .lm-flag--caution { color:#fde68a; background:#78350f; }
[data-theme="dark"] .lm-flag--info { color:#bfdbfe; background:#1e3a8a; }

@media (max-width: 820px) {
  .lm-matchup { grid-template-columns: 1fr 105px 1fr; gap: .65rem; }
  .lm-team-metrics { grid-template-columns: 1fr; }
  .lm-form { align-items: flex-start; flex-direction: column; }
  .lm-prob-layout { grid-template-columns: 210px 1fr; }
  .lm-pie { width: 190px; height: 190px; }.lm-pie::after { width: 108px; height: 108px; }
  .lm-data-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .lm-shell { width: min(100% - 1rem, 1120px); }
  .lm-hero { padding: .9rem 0 1.5rem; }.lm-hero-card { padding: 1.15rem; border-radius: 16px; }
  .lm-breadcrumb { gap: .3rem .45rem; min-height: 0; margin-bottom: .85rem; font-size: .78rem; }
  .lm-matchup { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; }
  .lm-match-center { grid-column: 1 / -1; order: -1; min-height: auto; grid-template-columns: 1fr auto 1fr; border-radius: 16px; }
  .lm-team-card { padding: 1rem .65rem; border-radius: 17px; }
  .lm-team-logo { width: 74px; height: 74px; border-radius: 19px; }
  .lm-team-logo img { width: 62px; height: 62px; }
  .lm-team-card h2 { min-height: 2.5em; display: grid; place-items: center; font-size: .98rem; }
  .lm-team-metrics { grid-template-columns: 1fr; gap: .35rem; margin-top: .65rem; }
  .lm-team-metrics p { padding: .48rem .3rem; }
  .lm-form { padding: .6rem; }
  .lm-form > div { flex-wrap: wrap; }
  .lm-team-xg { padding: .65rem; }
  .lm-context { align-items: flex-start; flex-direction: column; }
  .lm-prob-layout { grid-template-columns: 1fr; }
  .lm-signal-grid,.lm-xg-grid,.lm-advanced-grid,.lm-cta-grid,.lm-quick-read ul { grid-template-columns: 1fr; }
  .lm-goal-donuts { gap: .4rem; }.lm-goal-donut > div { width: 128px; height: 128px; }.lm-goal-donut > div::after { width: 74px; height: 74px; }
  .lm-scores li { grid-template-columns: 28px 70px 58px 1fr; gap: .45rem; }
  .lm-after { grid-template-columns: 1fr; }
  .lm-ad-shell::before { min-height: 390px; }
  .lm-ad-slot,.lm-ad-slot .adsbygoogle { min-height: 348px; }
  html.user-no-ads body.league-match-preview .js-manual-ad.lm-ad-slot { min-height: 348px !important; }
}

@media (max-width: 380px) {
  .lm-shell { width: min(100% - .75rem, 1120px); }
  .lm-hero-card { padding: 1rem .75rem; }
  .lm-hero h1 { font-size: 1.45rem; }
  .lm-hero-lead { font-size: .92rem; }
  .lm-hero-actions .cta-button { min-width: 0; width: 100%; padding-inline: .65rem; }
  .lm-matchup { gap: .4rem; }
  .lm-team-card { padding: .85rem .45rem; }
  .lm-team-logo { width: 66px; height: 66px; }
  .lm-team-logo img { width: 54px; height: 54px; }
  .lm-team-card h2 { font-size: .9rem; overflow-wrap: anywhere; }
  .lm-team-metrics span,.lm-form > span,.lm-team-xg span { font-size: .6rem; }
  .lm-form { padding: .5rem .4rem; }
  .lm-form-result { width: 22px; height: 22px; font-size: .65rem; }
  .lm-team-xg { padding: .55rem .45rem; }
  .lm-team-xg strong { font-size: 1rem; }
  .lm-match-center { padding-inline: .4rem; }
  .lm-match-center small { font-size: .68rem; }
  .lm-panel { padding: 1rem .8rem; }
  .lm-pie { width: 175px; height: 175px; }
  .lm-pie::after { width: 100px; height: 100px; }
  .lm-goal-donuts { grid-template-columns: 1fr; }
  .lm-scores li { grid-template-columns: 25px 58px 50px minmax(0,1fr); padding-inline: .45rem; }
  .lm-compare-values { gap: .5rem; font-size: .68rem; }
}
