/* Match page (livewire/analysis). Light by default; dark when the site is dark.
   The scoreboard hero is always dark. */
.mp { --bg:#F4F4F6; --s1:#FFFFFF; --s2:#F4F4F6; --s3:#E9E9ED; --bd:#E2E2E7; --ln:#ECECF0; --tx:#0B0B0D; --t2:#2E2E33; --mu:#55555C; --di:#696971; --home:#D80E00; --away:#1D5FD0; --homebg:#FDECEA; --awaybg:#E8F0FD; --ok:#0E7A3E; --okbg:#E7F6EC; --okbd:#B7E2C6; --no:#B42318; --nobg:#FDECEA; --nobd:#F5C2BD; --warn:#B45309; --track:#DADAE0; --inv:#0B0B0D; --invtx:#FFFFFF;
  container-type: inline-size; margin: 1rem 0 0; padding: 20px clamp(12px, 3%, 28px) 40px; border-radius: 24px; background: var(--bg); color: var(--tx); font-family: inherit; font-size: 14px; line-height: 1.5; font-variant-numeric: tabular-nums; }
html[data-theme="dark"] .mp { --bg:#08080A; --s1:#121214; --s2:#1A1A1D; --s3:#26262B; --bd:#26262B; --ln:#1E1E22; --tx:#F5F5F7; --t2:#D4D4D8; --mu:#A1A1AA; --di:#8E8E97; --home:#FF5247; --away:#6AA9FF; --homebg:#2A1614; --awaybg:#141E2E; --ok:#4ADE80; --okbg:#0F2417; --okbd:#1E4A30; --no:#FF8A80; --nobg:#2A1614; --nobd:#4A2420; --warn:#F5B942; --track:#2E2E33; --inv:#F5F5F7; --invtx:#08080A; }
.mp *, .mp *::before, .mp *::after { box-sizing: border-box; }
.mp a { color: inherit; text-decoration: none; }
.mp h1, .mp h2, .mp h3, .mp p { margin: 0; }
.mp-d { font-family: inherit; letter-spacing: -0.01em; }
.mp-wrap { display: flex; flex-direction: column; gap: 20px; }

/* Breadcrumb */
.mp-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--di); }
.mp-crumbs a { color: var(--mu); }
.mp-crumbs a:hover { color: var(--tx); }
.mp-crumbs span:last-child { color: var(--tx); }

/* Scoreboard hero (always dark) */
.mp-hero { overflow: hidden; border: 1px solid #26262B; border-radius: 20px; background: #111113; color: #F5F5F7; --home:#FF5247; --away:#6AA9FF; }
.mp-hero-top { position: relative; }
.mp-pitch { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.mp-meta { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 14px clamp(14px, 3%, 22px) 0; }
.mp-meta > div { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.mp-pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border: 1px solid #303036; border-radius: 999px; background: #1F1F23; font-size: 12px; font-weight: 600; }
.mp-pill-status { color: #D4D4D8; letter-spacing: .06em; text-transform: uppercase; }
.mp-pill-live { border-color: #5A1F1C; color: #FF8A80; }
.mp-pill-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #FF5247; animation: mpBeat 1.6s ease-in-out infinite; }
@keyframes mpBeat { 50% { opacity: .3; } }
.mp-when { color: #A1A1AA; font-size: 13px; }
.mp-board { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 10px; padding: 14px clamp(14px, 3%, 22px) 18px; }
.mp-team { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.mp-crest { display: flex; align-items: center; justify-content: center; width: clamp(46px, 9cqw, 64px); height: clamp(46px, 9cqw, 64px); border: 2px solid var(--home); border-radius: 50%; background: #1A1A1D; }
.mp-team-away .mp-crest { border-color: var(--away); }
.mp-crest img { width: 62%; height: 62%; object-fit: contain; }
.mp-team-name { font-size: clamp(14px, 2.8cqw, 18px); font-weight: 700; line-height: 1.2; }
.mp-team-sub { color: #A1A1AA; font-size: 12px; }
.mp-center { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.mp-score { font-size: clamp(32px, 7cqw, 52px); font-weight: 700; letter-spacing: -0.04em; line-height: 1; white-space: nowrap; }
.mp-score i { padding: 0 .18em; color: #5C5C66; font-style: normal; }
.mp-kick { font-size: clamp(26px, 5.5cqw, 38px); font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.mp-kick small { display: block; margin-top: 4px; color: #A1A1AA; font-size: 11px; font-weight: 500; letter-spacing: .08em; text-align: center; text-transform: uppercase; }
.mp-tipbadge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border: 1px solid #303036; border-radius: 999px; background: #1F1F23; color: #F5F5F7; font-size: 12px; font-weight: 600; white-space: nowrap; }
.mp-tipbadge.is-won { border-color: #1E4A30; background: #0F2417; color: #4ADE80; }
.mp-tipbadge.is-lost { border-color: #4A2420; background: #2A1614; color: #FF8A80; }
.mp-dots { display: inline-flex; gap: 4px; }
.mp-dots span { display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; border-radius: 50%; color: #fff; font-size: 9px; font-weight: 800; }
.mp-dots .W { background: #16A34A; } .mp-dots .D { background: #71717A; } .mp-dots .L { background: #DC2626; }
.mp-band { display: flex; flex-direction: column; gap: 10px; padding: 14px clamp(14px, 3%, 22px); border-top: 1px solid #1E1E22; }
.mp-band-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; }
.mp-label { color: #A1A1AA; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.mp-legend { display: flex; flex-wrap: wrap; gap: 14px; color: #A1A1AA; font-size: 12px; }
.mp-legend span, .mp-key { display: inline-flex; align-items: center; gap: 6px; }
.mp-dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--home); }
.mp-dot.is-away { background: var(--away); }
.mp-tl { display: flex; align-items: center; gap: 14px; }
.mp-tl > span { flex: none; color: #A1A1AA; font-size: 12px; }
.mp-tl-track { position: relative; flex: 1; height: 60px; }
.mp-tl-line { position: absolute; left: 0; right: 0; top: 32px; height: 4px; border-radius: 999px; background: #2E2E33; }
.mp-tl-ht { position: absolute; left: 50%; top: 24px; width: 2px; height: 20px; margin-left: -1px; background: #3F3F46; }
.mp-goal { position: absolute; display: flex; flex-direction: column; align-items: center; width: 40px; margin-left: -20px; font-size: 12px; font-weight: 700; line-height: 18px; }
.mp-goal.is-home { top: 0; gap: 7px; color: var(--home); }
.mp-goal.is-away { top: 26px; gap: 6px; color: var(--away); }
.mp-goal b { width: 16px; height: 16px; border: 3px solid #111113; border-radius: 50%; background: currentColor; }
.mp-scorers { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; color: #D4D4D8; font-size: 13px; }
.mp-scorers .h { color: var(--home); font-weight: 600; }
.mp-scorers .a { color: var(--away); font-weight: 600; }
.mp-prob { display: flex; gap: 4px; height: 8px; }
.mp-prob div:nth-child(1) { background: var(--home); border-radius: 999px 3px 3px 999px; }
.mp-prob div:nth-child(2) { background: #63636E; border-radius: 3px; }
.mp-prob div:nth-child(3) { flex: 1; background: var(--away); border-radius: 3px 999px 999px 3px; }
.mp-prob-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.mp-prob-tile { display: flex; flex-direction: column; align-items: center; gap: 0; padding: 8px 10px; border: 1px solid #26262B; border-radius: 12px; background: #1A1A1D; }
.mp-prob-tile.is-fav { border-color: #4A2420; }
.mp-prob-tile.is-fav.is-away { border-color: #1E3352; }
.mp-prob-tile > span { color: #A1A1AA; font-size: 12px; font-weight: 500; }
.mp-prob-tile strong { font-size: clamp(17px, 3.6cqw, 22px); font-weight: 700; }
.mp-prob-tile small { color: #A1A1AA; font-size: 12px; }
.mp-prob-tile small b { color: #F5F5F7; font-weight: 600; }
.mp-tabs { display: flex; gap: 4px; overflow-x: auto; padding: 6px clamp(8px, 2%, 14px); border-top: 1px solid #1E1E22; background: #0C0C0E; scrollbar-width: none; }
.mp-tabs::-webkit-scrollbar { display: none; }
.mp-tabs a { display: inline-flex; align-items: center; height: 40px; padding: 0 14px; border-radius: 10px; color: #A1A1AA; font-size: 13px; font-weight: 500; white-space: nowrap; transition: background-color .15s ease, color .15s ease; }
.mp-tabs a:hover { color: #F5F5F7; }
.mp-tabs a.is-on { background: #F5F5F7; color: #08080A; font-weight: 600; }

.mp-h1 { margin-top: 4px !important; font-size: clamp(18px, 3.4cqw, 24px); font-weight: 700; line-height: 1.25; }

/* Two columns */
.mp-cols { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 20px; }
.mp-main { display: flex; flex: 999 1 620px; flex-direction: column; gap: 20px; min-width: 0; }
.mp-aside { display: flex; flex: 1 1 340px; flex-direction: column; gap: 20px; min-width: 0; }
.mp-card { display: flex; flex-direction: column; gap: 16px; padding: clamp(16px, 4%, 24px); border: 1px solid var(--bd); border-radius: 20px; background: var(--s1); scroll-margin-top: 120px; }
.mp-aside .mp-card { gap: 14px; padding: clamp(16px, 4%, 20px); }
.mp-card h2 { font-size: 18px; font-weight: 600; }
.mp-aside .mp-card h2 { font-size: 16px; }
.mp-sub { color: var(--di); font-size: 12px; }
.mp-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; }
.mp-grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }

/* Prediction */
.mp-pred { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; }
.mp-ring { position: relative; flex: none; width: 132px; height: 132px; }
.mp-ring svg { transform: rotate(-90deg); }
.mp-ring-track { stroke: var(--track); }
.mp-ring-fill { stroke: var(--home); }
.mp-ring.is-away .mp-ring-fill { stroke: var(--away); }
.mp-ring-text { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.mp-ring-text strong { font-size: 28px; font-weight: 700; line-height: 1; }
.mp-ring-text span { color: var(--mu); font-size: 11px; }
.mp-pred-body { display: flex; flex: 1 1 240px; flex-direction: column; gap: 8px; min-width: 0; }
.mp-kicker { color: var(--home); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.mp-pred-body h2 { font-size: clamp(20px, 4cqw, 26px) !important; font-weight: 700 !important; line-height: 1.15; }
.mp-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.mp-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border: 1px solid var(--bd); border-radius: 999px; background: var(--s2); color: var(--mu); font-size: 13px; }
.mp-chip b { color: var(--tx); font-weight: 600; }
.mp-chip.is-won { border-color: var(--okbd); background: var(--okbg); color: var(--ok); font-weight: 600; }
.mp-chip.is-lost { border-color: var(--nobd); background: var(--nobg); color: var(--no); font-weight: 600; }
.mp-markets { display: flex; flex-direction: column; gap: 12px; padding-top: 20px; border-top: 1px solid var(--ln); }
.mp-mtabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.mp-mtabs::-webkit-scrollbar { display: none; }
.mp-mtabs button { flex: none; height: 36px; padding: 0 14px; border: 1px solid var(--bd); border-radius: 999px; background: var(--s2); color: var(--mu); font-size: 12px; font-weight: 600; cursor: pointer; }
.mp-mtabs button[aria-selected="true"] { border-color: var(--inv); background: var(--inv); color: var(--invtx); }
.mp-mgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 10px; }
.mp-mcard { display: flex; flex-direction: column; gap: 12px; padding: 16px; border: 1px solid var(--bd); border-radius: 16px; background: var(--s2); }
.mp-mcard-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 600; }
.mp-odds { padding: 4px 10px; border-radius: 8px; background: var(--s3); font-size: 13px; font-weight: 600; }
.mp-bar { display: flex; align-items: center; gap: 12px; }
.mp-bar > div { flex: 1; height: 8px; border-radius: 999px; background: var(--track); }
.mp-bar > div > div { height: 100%; border-radius: 999px; background: var(--home); }
.mp-bar strong { font-size: 18px; font-weight: 700; color: var(--home); }
.mp-bar.is-away > div > div { background: var(--away); }
.mp-bar.is-away strong { color: var(--away); }
.mp-bar.is-neutral > div > div { background: var(--mu); }
.mp-bar.is-neutral strong { color: var(--tx); }

/* Recent goal lines */
.mp-gl-head, .mp-gl-row { display: grid; grid-template-columns: minmax(0, 1fr) 84px minmax(0, 1fr); gap: 12px; }
.mp-gl-head { font-size: 13px; font-weight: 600; }
.mp-gl-head span:first-child { display: inline-flex; align-items: center; justify-content: flex-end; gap: 8px; }
.mp-gl-head span:last-child { display: inline-flex; align-items: center; gap: 8px; }
.mp-gl-row { align-items: center; padding-top: 14px; border-top: 1px solid var(--ln); }
.mp-gl-side { display: flex; flex-direction: column; gap: 6px; }
.mp-gl-side.is-home { align-items: flex-end; }
.mp-gl-side small { color: var(--mu); font-size: 12px; }
.mp-gl-side small b { color: var(--tx); font-size: 16px; font-weight: 700; }
.mp-gl-track { display: flex; width: 100%; height: 8px; border-radius: 999px; background: var(--track); }
.mp-gl-side.is-home .mp-gl-track { justify-content: flex-end; }
.mp-gl-track div { height: 100%; border-radius: 999px; background: var(--home); }
.mp-gl-side.is-away .mp-gl-track div { background: var(--away); }
.mp-gl-label { padding: 6px 4px; border: 1px solid var(--bd); border-radius: 10px; background: var(--s2); font-size: 13px; font-weight: 600; text-align: center; }

/* Goals by period, avg event time */
.mp-periods { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; height: 132px; }
.mp-period { display: flex; align-items: flex-end; justify-content: center; gap: 4px; height: 100%; }
.mp-period > div { display: flex; flex: 1; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px; max-width: 22px; height: 100%; }
.mp-period span { color: var(--mu); font-size: 11px; font-weight: 600; }
.mp-period i { display: block; width: 100%; min-height: 4px; border-radius: 5px 5px 2px 2px; background: var(--home); }
.mp-period > div + div i { background: var(--away); }
.mp-period-axis { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; padding-top: 8px; border-top: 1px solid var(--ln); color: var(--mu); font-size: 11px; text-align: center; }
.mp-legend-l { display: flex; flex-wrap: wrap; gap: 16px; color: var(--mu); font-size: 12px; }
.mp-avg { display: flex; flex-direction: column; gap: 4px; }
.mp-avg-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.mp-avg-top b { font-weight: 600; }
.mp-avg-top span { color: var(--mu); font-size: 12px; }
.mp-avg-top span b { color: var(--tx); }
.mp-avg-top span i { color: var(--warn); font-style: normal; font-weight: 600; }
.mp-avg-track { position: relative; height: 32px; }
.mp-avg-track::before { content: ""; position: absolute; left: 0; right: 0; top: 14px; height: 4px; border-radius: 999px; background: var(--track); }
.mp-avg-goal { position: absolute; top: 8px; width: 16px; height: 16px; margin-left: -8px; border: 3px solid var(--s1); border-radius: 50%; background: var(--tx); }
.mp-avg-card { position: absolute; top: 7px; width: 12px; height: 18px; margin-left: -6px; border: 2px solid var(--s1); border-radius: 3px; background: var(--warn); }
.mp-avg-axis { display: flex; justify-content: space-between; color: var(--mu); font-size: 11px; }

/* Trends */
.mp-trends { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 12px; }
.mp-trend { display: flex; flex-direction: column; gap: 10px; padding: 20px; border: 1px solid var(--bd); border-radius: 20px; background: var(--s1); }
.mp-trend > div { display: flex; align-items: center; gap: 12px; }
.mp-trend strong { display: flex; flex: none; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 14px; background: var(--homebg); color: var(--home); font-size: 28px; font-weight: 700; }
.mp-trend.is-away strong { background: var(--awaybg); color: var(--away); }
.mp-trend span { color: var(--mu); font-size: 12px; }
.mp-trend p { color: var(--t2); }

/* Previous matches */
.mp-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px 28px; }
.mp-form-team { display: flex; align-items: center; gap: 8px; padding-bottom: 10px; font-weight: 600; }
.mp-form-row { display: flex; align-items: center; gap: 12px; min-height: 44px; border-top: 1px solid var(--ln); }
.mp-form-row > span:first-child { flex: none; width: 76px; color: var(--di); font-size: 12px; }
.mp-form-opp { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mp-form-opp i { color: var(--di); font-style: normal; }
.mp-scorechip { flex: none; min-width: 52px; padding: 3px 8px; border: 1px solid var(--bd); border-radius: 8px; background: var(--s2); font-size: 13px; font-weight: 600; text-align: center; }
.mp-res { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; color: #fff; font-size: 10px; font-weight: 800; }
.mp-res.W { background: #16A34A; } .mp-res.D { background: #71717A; } .mp-res.L { background: #DC2626; }

/* Analysis */
.mp-article h2 { font-size: 22px !important; font-weight: 700 !important; }
.mp-prose { display: flex; flex-direction: column; gap: 12px; max-width: 68ch; color: var(--t2); font-size: 15px; line-height: 1.65; }
.mp-prose a { color: var(--home); text-decoration: underline; text-underline-offset: 2px; }
.mp-callout { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: 16px; background: var(--homebg); font-size: 15px; }
.mp-callout svg { flex: none; color: var(--home); }
.mp-callout span { color: var(--mu); }
.mp-callout b { font-weight: 600; }
.mp-author { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--ln); }
.mp-avatar { display: flex; flex: none; align-items: center; justify-content: center; width: 44px; height: 44px; overflow: hidden; border-radius: 50%; background: var(--s3); font-weight: 700; }
.mp-avatar img { width: 100%; height: 100%; object-fit: cover; }
.mp-author small { display: block; color: var(--di); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.mp-author b { display: block; font-weight: 600; }
.mp-author span { color: var(--mu); font-size: 12px; }

/* Aside: season compare, H2H, table, Telegram */
.mp-cmp-names { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; font-weight: 600; }
.mp-cmp-names span:first-child { color: var(--home); }
.mp-cmp-names span:last-child { color: var(--away); }
.mp-cmp { display: flex; flex-direction: column; gap: 6px; }
.mp-cmp-top { display: grid; grid-template-columns: 48px minmax(0, 1fr) 48px; align-items: baseline; }
.mp-cmp-top b { font-size: 16px; font-weight: 700; }
.mp-cmp-top b:last-child { text-align: right; }
.mp-cmp-top span { color: var(--mu); font-size: 12px; text-align: center; }
.mp-cmp-bar { display: flex; gap: 3px; height: 6px; }
.mp-cmp-bar div { border-radius: 999px; background: var(--home); }
.mp-cmp-bar div + div { flex: 1; background: var(--away); }
.mp-meet { display: flex; flex-direction: column; gap: 10px; padding: 14px; border: 1px solid var(--bd); border-radius: 14px; background: var(--s2); }
.mp-meet > span { color: var(--di); font-size: 12px; text-align: center; }
.mp-meet > div { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 10px; }
.mp-meet > div span { min-width: 0; overflow: hidden; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.mp-meet > div span:first-child { text-align: right; }
.mp-meet > div b { padding: 4px 12px; border-radius: 8px; background: var(--inv); color: var(--invtx); font-weight: 700; white-space: nowrap; }
.mp-table-card { padding-left: 0 !important; padding-right: 0 !important; padding-bottom: 8px !important; overflow: hidden; }
.mp-table-card .mp-head { padding: 0 clamp(16px, 4%, 20px); }
.mp-table { overflow-x: auto; }
.mp-table-in { min-width: 320px; }
.mp-trow { display: grid; grid-template-columns: 24px minmax(0, 1fr) repeat(6, 28px); align-items: center; gap: 4px; min-height: 40px; padding: 0 clamp(12px, 4%, 20px); border-top: 1px solid var(--ln); color: var(--mu); font-size: 13px; text-align: center; }
.mp-trow.is-head { min-height: 0; padding-top: 8px; padding-bottom: 8px; border-top: 0; color: var(--di); font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.mp-trow > span:nth-child(2) { overflow: hidden; color: var(--tx); font-weight: 500; text-align: left; text-overflow: ellipsis; white-space: nowrap; }
.mp-trow.is-head > span:nth-child(2) { color: var(--di); }
.mp-trow > span:last-child { color: var(--tx); font-weight: 700; }
.mp-trow.is-home { background: var(--homebg); }
.mp-trow.is-away { background: var(--awaybg); }
.mp-trow.is-home > span:first-child { color: var(--home); font-weight: 600; }
.mp-trow.is-away > span:first-child { color: var(--away); font-weight: 600; }
.mp-trow.is-home > span:nth-child(2), .mp-trow.is-away > span:nth-child(2) { font-weight: 700; }
.mp-tg { display: flex; flex-direction: column; gap: 12px; padding: 20px; border: 1px solid #26262B; border-radius: 20px; background: #111113; color: #F5F5F7; }
.mp-tg h2 { font-size: 18px !important; font-weight: 600; }
.mp-tg p { color: #A1A1AA; }
.mp-tg a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; border-radius: 12px; background: #F5F5F7; color: #08080A !important; font-weight: 600; }

@container (max-width: 560px) {
  .mp-gl-head, .mp-gl-row { grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1fr); gap: 8px; }
  .mp-team-sub { font-size: 11px; }
  .mp-dots span { width: 15px; height: 15px; font-size: 8px; }
}
@media (prefers-reduced-motion: reduce) { .mp-pill-live::before { animation: none; } }
.mp-table.is-long { max-height: 640px; overflow-y: auto; }
.mp-table.is-long .mp-trow.is-head { position: sticky; top: 0; z-index: 1; background: var(--s1); }
.mp-mgroup { display: flex; flex-direction: column; gap: 10px; }
.mp-mgroup + .mp-mgroup { margin-top: 6px; }
.mp-mlabel { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; color: var(--di); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.mp-mlabel span { font-weight: 400; letter-spacing: 0; text-transform: none; }
.mp-mgrid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)) !important; }

/* Compact scoreboard (requested smaller) */
.mp-hero { border-radius: 16px; }
.mp-meta { padding: 10px clamp(12px, 2.5%, 18px) 0; }
.mp-pill { padding: 3px 10px; font-size: 11px; }
.mp-when { font-size: 12px; }
.mp-board { gap: 8px; padding: 6px clamp(12px, 2.5%, 18px) 12px; }
.mp-team { gap: 3px; }
.mp-crest { width: clamp(34px, 6cqw, 44px); height: clamp(34px, 6cqw, 44px); border-width: 2px; }
.mp-crest img { width: 64%; height: 64%; }
.mp-team-name { font-size: clamp(13px, 2.2cqw, 15px); }
.mp-team-sub { font-size: 11px; }
.mp-dots { gap: 3px; }
.mp-dots span { width: 13px; height: 13px; font-size: 7px; }
.mp-center { gap: 5px; }
.mp-score { font-size: clamp(26px, 5cqw, 36px); }
.mp-kick { font-size: clamp(22px, 4.2cqw, 28px); }
.mp-kick small { margin-top: 2px; font-size: 10px; }
.mp-tipbadge { padding: 3px 10px; font-size: 11px; }
.mp-tipbadge svg { width: 12px; height: 12px; }
.mp-band { gap: 6px; padding: 10px clamp(12px, 2.5%, 18px); }
.mp-label { font-size: 11px; }
.mp-legend { gap: 10px; font-size: 11px; }
.mp-tl { gap: 10px; }
.mp-tl > span { font-size: 11px; }
.mp-tl-track { height: 40px; }
.mp-tl-line { top: 18px; height: 3px; }
.mp-tl-ht { top: 13px; height: 13px; }
.mp-goal { font-size: 11px; line-height: 14px; }
.mp-goal.is-home { top: 0; gap: 2px; }
.mp-goal.is-away { top: 14px; gap: 2px; }
.mp-goal b { width: 11px; height: 11px; border-width: 2px; }
.mp-scorers { font-size: 12px; }
.mp-prob { height: 6px; }
.mp-prob-row { display: flex; justify-content: space-between; gap: 8px; color: #A1A1AA; font-size: 12px; }
.mp-prob-row span { display: inline-flex; align-items: baseline; gap: 5px; white-space: nowrap; }
.mp-prob-row span:nth-child(2) { justify-content: center; }
.mp-prob-row b { color: #F5F5F7; font-size: 15px; font-weight: 700; }
.mp-prob-row i { padding: 1px 6px; border-radius: 6px; background: #1F1F23; color: #D4D4D8; font-size: 11px; font-style: normal; font-weight: 600; }
.mp-prob-row span.is-fav i { background: #2E2E33; color: #FFFFFF; }
.mp-tabs { padding: 4px clamp(6px, 1.5%, 12px); }
.mp-tabs a { height: 34px; padding: 0 12px; border-radius: 8px; font-size: 12px; }
@container (max-width: 560px) {
  .mp-prob-row { font-size: 11px; }
  .mp-prob-row b { font-size: 13px; }
  .mp-prob-row i { display: none; }
}
/* Badge beside the name on wider screens */
.mp-team-text { display: flex; flex-direction: column; align-items: inherit; gap: 3px; min-width: 0; }
@container (min-width: 561px) {
  .mp-team { flex-direction: row; gap: 10px; text-align: left; }
  .mp-team-home { flex-direction: row-reverse; justify-content: flex-start; text-align: right; }
  .mp-team-home .mp-team-text { align-items: flex-end; }
  .mp-team-away .mp-team-text { align-items: flex-start; }
  .mp-board { padding-top: 4px; padding-bottom: 10px; }
}
.mp .tp-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mp-scorers { margin-top: -2px; }

/* Scoreboard in the site's own header style: dark-to-red gradient, red edge */
.mp-hero { position: relative; isolation: isolate; border: 1px solid #3A1515; border-radius: 1rem;
  background: radial-gradient(42% 120% at 88% 50%, rgba(244, 0, 0, .38), rgba(244, 0, 0, 0) 70%), radial-gradient(30% 90% at 8% 0%, rgba(244, 0, 0, .14), rgba(244, 0, 0, 0) 70%), linear-gradient(115deg, #121214 0%, #17100F 48%, #3B0A0A 100%); }
.mp-hero::before { content: ""; position: absolute; z-index: 1; top: 0; bottom: 0; left: 0; width: 4px; background: #F40000; }
.mp-hero-top, .mp-band, .mp-tabs { position: relative; z-index: 2; }
.mp-meta, .mp-board, .mp-band { padding-left: calc(clamp(12px, 2.5%, 18px) + 4px); }
.mp-kicker-league { display: inline-flex; align-items: center; color: #FF6B6B; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.mp-when { color: #B8B8BD; }
.mp-pill { border-color: rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .06); }
.mp-crest { background: rgba(0, 0, 0, .35); }
.mp-score i { color: rgba(255, 255, 255, .35); }
.mp-tipbadge { border-color: rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .06); }
.mp-band { border-top-color: rgba(255, 255, 255, .08); }
.mp-tl-line { background: rgba(255, 255, 255, .14); }
.mp-tl-ht { background: rgba(255, 255, 255, .25); }
.mp-goal b { border-color: #1A1012; }
.mp-prob div:nth-child(2) { background: rgba(255, 255, 255, .3); }
.mp-prob-row i { background: rgba(255, 255, 255, .08); }
.mp-prob-row span.is-fav i { background: rgba(255, 255, 255, .18); }
.mp-tabs { border-top-color: rgba(255, 255, 255, .08); background: rgba(0, 0, 0, .28); }
.mp-tabs a.is-on { background: #F40000; color: #FFFFFF; }

/* Football-with-trail artwork from the site header, in the corner */
.mp-hero-ball { position: absolute; z-index: 1; top: -18px; right: -14px; pointer-events: none; }
.mp-hero-ball img { display: block; width: auto; height: 150px; opacity: .22; filter: drop-shadow(0 8px 18px rgba(244, 0, 0, .25)); }
@container (max-width: 560px) { .mp-hero-ball img { height: 96px; } }

/* Light scoreboard card (chosen look); dark in the site's dark mode */
.mp-hero--light { --home: #D80E00; --away: #1D5FD0; border-color: #E8E8EC; background: radial-gradient(40% 120% at 92% 0%, rgba(244, 0, 0, .10), rgba(244, 0, 0, 0) 70%), #FFFFFF; color: #151515; box-shadow: 0 1px 8px rgba(0, 0, 0, .08); }
.mp-hero--light .mp-hero-ball img { opacity: .5; }
.mp-hero--light .mp-kicker-league { color: #D40000; }
.mp-hero--light .mp-when, .mp-hero--light .mp-team-sub, .mp-hero--light .mp-tl > span, .mp-hero--light .mp-prob-row, .mp-hero--light .mp-kick small { color: #5A5A5A; }
.mp-hero--light .mp-pill { border-color: #E5E5E5; background: #F5F5F5; color: #3B3B3B; }
.mp-hero--light .mp-crest { background: #F7F7F8; }
.mp-hero--light .mp-score i { color: #C9C9CF; }
.mp-hero--light .mp-tipbadge { border-color: #E5E5E5; background: #F5F5F5; color: #151515; }
.mp-hero--light .mp-tipbadge.is-won { border-color: #B7E2C6; background: #E7F6EC; color: #0E7A3E; }
.mp-hero--light .mp-tipbadge.is-lost { border-color: #F5C2BD; background: #FDECEA; color: #B42318; }
.mp-hero--light .mp-band { border-top-color: #F0F0F2; }
.mp-hero--light .mp-tl-line { background: #E5E5E8; }
.mp-hero--light .mp-tl-ht { background: #C9C9CF; }
.mp-hero--light .mp-goal b { border-color: #FFFFFF; }
.mp-hero--light .mp-scorers { color: #3B3B3B; }
.mp-hero--light .mp-prob div:nth-child(2) { background: #C9C9CF; }
.mp-hero--light .mp-prob-row b { color: #151515; }
.mp-hero--light .mp-prob-row i { background: #F0F0F2; color: #3B3B3B; }
.mp-hero--light .mp-prob-row span.is-fav i { background: #151515; color: #FFFFFF; }
.mp-hero--light .mp-tabs { border-top-color: #F0F0F2; background: #FAFAFB; }
.mp-hero--light .mp-tabs a { color: #5A5A5A; }
.mp-hero--light .mp-tabs a:hover { color: #151515; }
.mp-hero--light .mp-tabs a.is-on { color: #FFFFFF; }
html[data-theme="dark"] .mp-hero--light { --home: #FF5247; --away: #6AA9FF; border-color: #26262B; background: radial-gradient(40% 120% at 92% 0%, rgba(244, 0, 0, .16), rgba(244, 0, 0, 0) 70%), #121214; color: #F5F5F7; box-shadow: none; }
html[data-theme="dark"] .mp-hero--light .mp-score i { color: #4A4A52; }
html[data-theme="dark"] .mp-hero--light .mp-when, html[data-theme="dark"] .mp-hero--light .mp-team-sub, html[data-theme="dark"] .mp-hero--light .mp-prob-row, html[data-theme="dark"] .mp-hero--light .mp-tl > span { color: #A1A1AA; }
html[data-theme="dark"] .mp-hero--light .mp-prob-row b, html[data-theme="dark"] .mp-hero--light .mp-tipbadge { color: #F5F5F7; }
html[data-theme="dark"] .mp-hero--light .mp-pill, html[data-theme="dark"] .mp-hero--light .mp-crest, html[data-theme="dark"] .mp-hero--light .mp-tipbadge, html[data-theme="dark"] .mp-hero--light .mp-prob-row i { border-color: #2E2E33; background: #1A1A1D; color: #D4D4D8; }
html[data-theme="dark"] .mp-hero--light .mp-tabs, html[data-theme="dark"] .mp-hero--light .mp-band { border-top-color: #1E1E22; background: transparent; }
html[data-theme="dark"] .mp-hero--light .mp-tabs a { color: #A1A1AA; }
html[data-theme="dark"] .mp-hero--light .mp-scorers { color: #D4D4D8; }
html[data-theme="dark"] .mp-hero--light .mp-goal b { border-color: #121214; }
/* No red edge on the light card */
.mp-hero--light::before { display: none; }
.mp-hero--light .mp-meta, .mp-hero--light .mp-board, .mp-hero--light .mp-band { padding-left: clamp(12px, 2.5%, 18px); }
