@font-face { font-family: Alexandria; font-style: normal; font-weight: 400 900; font-display: swap; src: url(/assets/fonts/alexandria-arabic.woff2) format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: Alexandria; font-style: normal; font-weight: 400 900; font-display: swap; src: url(/assets/fonts/alexandria-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --bg: #0d0d17; --s1: #1d1f2c; --s2: #242737; --s3: #1e3151; --line: #2a2d3e; --line2: #3a3f57;
  --text: #f3f4f8; --muted: #b3b6bf; --faint: #717c8e; --on: #0d0d17;
  --red: #f26b6b; --gold: #f2b66d; --green: #4fd1a1; --accent: #f79e00; --blue: #1798f3;
  --font: Alexandria, "Segoe UI", Tahoma, sans-serif;
  --r: 20px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 500 15px/1.65 var(--font); }
a { color: inherit; text-decoration: none; }
img { display: block; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.3; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 18px; }
.ic { flex: none; }

/* ---------- Header ---------- */
.hd { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, #0d1321 92%, transparent); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.hd-in { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand b { display: block; font-size: 21px; font-weight: 900; letter-spacing: -.3px; color: var(--text); }
.brand small { display: block; font-size: 11.5px; color: var(--muted); margin-top: -3px; }
.nav { display: flex; gap: 4px; margin-inline-start: auto; }
.nav a { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; padding: 9px 14px; border-radius: 12px; color: var(--muted); font-size: 14px; font-weight: 700; }
.nav a:hover { color: var(--text); background: var(--s1); }
.nav a[aria-current] { color: var(--text); background: var(--s2); }
.menu-btn { display: grid; place-items: center; width: 42px; height: 42px; flex: none; background: var(--s1); border: 1px solid var(--line); border-radius: 12px; cursor: pointer; color: var(--text); }
.menu-btn:hover { border-color: var(--line2); }
.menu-btn .ic { width: 22px; height: 22px; }

/* ---------- Drawer ---------- */
.drawer-bg { position: fixed; inset: 0; z-index: 50; background: rgba(5, 8, 14, .55); }
.drawer { position: fixed; top: 0; bottom: 0; inset-inline-start: 0; z-index: 60; width: min(320px, 86vw); display: flex; flex-direction: column; gap: 6px; overflow-y: auto; background: var(--bg); border-inline-end: 1px solid var(--line); padding: 14px 14px calc(18px + env(safe-area-inset-bottom)); transform: translateX(105%); visibility: hidden; transition: transform .25s ease, visibility .25s; }
.drawer.open { transform: none; visibility: visible; }
.menu-open, .menu-open body { overflow: hidden; }
.drawer-hd { display: flex; align-items: center; justify-content: space-between; padding-bottom: 12px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.drawer-nav { display: grid; gap: 2px; }
.drawer-nav a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; font-size: 15px; font-weight: 700; color: var(--text); }
.drawer-nav a .ic { color: var(--muted); }
.drawer-nav a:hover { background: var(--s1); }
.drawer-nav a[aria-current] { background: var(--s2); color: var(--accent); }
.drawer-nav a[aria-current] .ic { color: var(--accent); }
.drawer-nav a .live-dot { margin-inline-start: auto; }
.drawer-nav.sub { border-top: 1px solid var(--line); padding-top: 8px; margin-top: 4px; }
.drawer-nav.sub a { font-size: 14px; font-weight: 600; color: var(--muted); padding: 9px 12px; }
/* ---------- Shared ---------- */
.kicker { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 800; color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); padding: 4px 12px; border-radius: 99px; margin-bottom: 14px; }
.sec { padding: 30px 0; }
.sec + .sec { border-top: 1px solid var(--line); }
.sec-h { display: grid; grid-template-columns: 1fr auto; align-items: end; column-gap: 12px; row-gap: 2px; margin-bottom: 18px; }
.sec-h > h2, .sec-h > h3 { grid-column: 1; }
.sec-h > small { grid-column: 1; grid-row: 2; }
.sec-h h2 { font-size: 22px; font-weight: 900; display: flex; align-items: center; gap: 10px; }
.sec-h h2 img { border-radius: 6px; }
.sec-h small { color: var(--muted); font-size: 13.5px; }
.more { grid-column: 2; grid-row: 1 / span 2; align-self: center; background: var(--s1); border: 1px solid var(--line); border-radius: 99px; padding: 6px 12px; display: inline-flex; align-items: center; gap: 4px; font-size: 13.5px; font-weight: 800; color: var(--gold); }
.more .ic { width: 16px; height: 16px; }
.empty { color: var(--muted); background: var(--s1); border: 1px dashed var(--line2); border-radius: var(--r); padding: 20px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); display: inline-block; box-shadow: 0 0 0 0 color-mix(in srgb, var(--red) 60%, transparent); animation: pulse 1.6s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

.tm { display: flex; align-items: center; gap: 9px; min-width: 0; }
.tm img { flex: none; object-fit: contain; }
.tm b { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 900; font-size: 24px; font-variant-numeric: tabular-nums; }
.sc i { font-style: normal; color: var(--faint); font-size: 16px; }
.sc .me { color: var(--green); }
.sc .behind { color: var(--red); }
.sc.sm { font-size: 15px; gap: 5px; min-width: 56px; }
.sc.sm i { font-size: 12px; }
.sc.xl { font-size: 56px; gap: 14px; }
.sc.xl i { font-size: 30px; }

.tag { display: inline-block; font-style: normal; font-size: 12px; font-weight: 800; padding: 3px 11px; border-radius: 99px; white-space: nowrap; }
.tag.win { background: color-mix(in srgb, var(--green) 14%, transparent); color: var(--green); }
.tag.draw { background: color-mix(in srgb, var(--gold) 16%, transparent); color: var(--gold); }
.tag.hot { background: var(--accent); color: var(--on); }

/* ---------- Hero (home) ---------- */
.hero { display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px; align-items: center; padding: 48px 0 26px; }
.hero h1 { font-size: clamp(36px, 5.4vw, 62px); font-weight: 900; letter-spacing: -1px; line-height: 1.2; }
.hero h1 em, .ph h1 em { font-style: normal; }
.hero h1 em.r { color: var(--red); }
.hero h1 em.g { color: var(--green); }
.hero p { color: var(--muted); font-size: 17px; max-width: 540px; margin: 16px 0 20px; }
.steps { list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; max-width: 540px; position: relative; }
.steps li { display: flex; align-items: center; gap: 10px; background: var(--s1); border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; }
.steps i { font-style: normal; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; color: var(--on); flex: none; }
.steps i.r { background: var(--red); } .steps i.y { background: var(--gold); } .steps i.g { background: var(--green); }
.steps b { display: block; font-size: 15px; }
.steps span { font-size: 11.5px; color: var(--muted); line-height: 1.4; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; max-width: 540px; }
.stats a { background: var(--s1); border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; transition: border-color .2s; }
.stats a:hover { border-color: var(--gold); }
.stats b { display: block; font-size: 30px; font-weight: 900; line-height: 1.2; }
.stats span { font-size: 12px; color: var(--muted); line-height: 1.45; display: block; }
.hero-card { position: relative; }
.hero-lbl { display: inline-block; font-size: 13px; font-weight: 800; color: var(--muted); margin-bottom: 8px; }

/* ---------- Page heads ---------- */
.ph { padding: 42px 0 10px; max-width: 820px; }
.ph h1 { font-size: clamp(30px, 4.4vw, 48px); font-weight: 900; letter-spacing: -.6px; }
.ph h1 em { color: var(--accent); }
.ph.live h1 em { color: var(--red); }
.ph p { color: var(--muted); font-size: 16.5px; margin-top: 12px; }
.how { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; background: var(--s1); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; }
.how b { width: 100%; font-size: 14.5px; }
.how span { display: inline-flex; align-items: center; gap: 6px; background: var(--s2); border-radius: 10px; padding: 6px 11px; font-size: 13px; }
.how .ic { width: 16px; height: 16px; color: var(--gold); }
.how small { width: 100%; color: var(--faint); font-size: 12.5px; }
.hero-lbl small { display: block; font-size: 12px; font-weight: 500; color: var(--faint); margin-top: 2px; letter-spacing: 0; text-transform: none; }
.daytabs { display: inline-flex; gap: 4px; margin-top: 18px; background: var(--s1); border: 1px solid var(--line); border-radius: 14px; padding: 4px; }
.daytabs a { padding: 8px 20px; border-radius: 10px; font-weight: 800; color: var(--muted); }
.daytabs a[aria-current] { background: var(--s3); color: var(--text); }
.legend { display: flex; flex-wrap: wrap; gap: 16px; margin: 22px 0 12px; font-size: 13.5px; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.filters { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.filters button { background: var(--s1); border: 1px solid var(--line); border-radius: 99px; padding: 7px 15px; font-weight: 700; font-size: 13.5px; cursor: pointer; }
.filters button b { color: var(--muted); margin-inline-start: 4px; }
.filters button[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.filters button[aria-pressed="true"] b { color: var(--bg); }
.feat { margin-bottom: 14px; }

/* ---------- Curve ---------- */
.curve { width: 100%; height: auto; display: block; overflow: visible; }
.curve text { font-family: var(--font); }
.curve .zero { stroke: var(--line2); stroke-width: 1.5; stroke-dasharray: 5 5; }
.curve .grid { stroke: var(--line); stroke-width: 1; }
.curve .yl { font-size: 12px; font-weight: 700; text-anchor: middle; }
.curve .yl.behind { fill: var(--red); } .curve .yl.ahead { fill: var(--green); } .curve .yl.level { fill: var(--gold); }
.curve .tick { fill: var(--faint); font-size: 11.5px; font-weight: 600; text-anchor: middle; }
.curve .ht { stroke: var(--line2); stroke-width: 1; stroke-dasharray: 3 4; }
.curve .htl { fill: var(--faint); font-size: 11px; text-anchor: middle; }
.curve .fill.behind { fill: color-mix(in srgb, var(--red) 14%, transparent); } .curve .fill.ahead { fill: color-mix(in srgb, var(--green) 14%, transparent); }
.curve .run { stroke-width: 4; stroke-linecap: round; }
.curve.mini .run { stroke-width: 3; }
.curve .run.behind { stroke: var(--red); } .curve .run.level { stroke: var(--gold); } .curve .run.ahead { stroke: var(--green); }
.curve .jump { stroke-width: 2; stroke-dasharray: 3 3; }
.curve .jump.me { stroke: var(--green); } .curve .jump.op { stroke: var(--red); }
.curve .dot { stroke: var(--s1); stroke-width: 3; }
.curve .dot.me { fill: var(--green); } .curve .dot.op { fill: var(--red); }
.curve .gl { fill: var(--text); font-size: 12.5px; font-weight: 800; text-anchor: middle; direction: ltr; }
.curve .call rect { stroke-width: 1.5; }
.curve .call text { font-size: 12.5px; font-weight: 800; text-anchor: middle; }
.curve .call.behind rect { fill: color-mix(in srgb, var(--red) 18%, var(--s1)); stroke: var(--red); } .curve .call.behind text { fill: var(--text); }
.curve .call.ahead rect { fill: color-mix(in srgb, var(--green) 18%, var(--s1)); stroke: var(--green); } .curve .call.ahead text { fill: var(--text); }
.curve .call.level rect { fill: color-mix(in srgb, var(--gold) 18%, var(--s1)); stroke: var(--gold); } .curve .call.level text { fill: var(--text); }
.curve-box { background: var(--s1); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 12px 12px; }
.key { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; font-size: 12.5px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 10px; margin-top: 6px; }
.key span { display: inline-flex; align-items: center; gap: 6px; }
.key .behind::before, .key .level::before, .key .ahead::before { content: ""; width: 18px; height: 4px; border-radius: 4px; }
.key .behind::before { background: var(--red); } .key .level::before { background: var(--gold); } .key .ahead::before { background: var(--green); }
.key .dots i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.key .dots i.me { background: var(--green); } .key .dots i.op { background: var(--red); margin-inline-start: 8px; }

/* ---------- Comeback cards ---------- */
.cb-grid, .rd-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 14px; }
.cb, .rd { display: block; position: relative; background: var(--s1); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; transition: border-color .2s, transform .2s; overflow: hidden; }
.cb:hover, .rd:hover { border-color: var(--line2); transform: translateY(-2px); }
.cb-top, .rd-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); }
.cb-top small, .rd-top small { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.story { font-size: 15.5px; margin: 12px 0 0; line-height: 1.5; color: var(--muted); }
.story b { color: var(--text); font-weight: 900; }
.cb.big .story { font-size: 20px; }
.cb-teams, .rd-teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; margin: 12px 0 8px; background: var(--s2); border-radius: 14px; padding: 10px 12px; }
.cb-teams .tm:last-child, .rd-teams .tm:last-child { flex-direction: row-reverse; }
.cb-teams .tm b, .rd-teams .tm b { white-space: normal; overflow: visible; text-overflow: clip; font-size: 14px; line-height: 1.3; overflow-wrap: anywhere; }
.cb-teams .tm img, .rd-teams .tm img { width: 26px; height: 26px; }
.cb.big .sc { font-size: 34px; }
.cb .curve.mini { margin: 6px 0 10px; }
.cb.big .curve { margin: 8px 0 6px; }
.cb-foot { display: flex; gap: 6px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); }
.cb-foot > span { background: var(--s2); border-radius: 10px; padding: 5px 10px; }
.cb-foot span { display: inline-flex; align-items: center; gap: 5px; }
.cb-foot .ic { width: 15px; height: 15px; }
.cb-foot b { color: var(--text); }
.cb-foot .turn { color: var(--green); font-weight: 700; }
.cb-foot .turn b { color: var(--green); }
.cb.draw .cb-foot .turn, .cb.draw .cb-foot .turn b { color: var(--gold); }
.cb.big .cb-foot { font-size: 13.5px; }


/* ---------- Live page layout ---------- */
.ph.live { padding: 28px 0 4px; max-width: none; }
.ph.live h1 { font-size: clamp(26px, 3.6vw, 40px); }
.live-main { padding-top: 18px; }
.empty.quiet { padding: 18px 0; margin: 0; background: transparent; border: 0; color: var(--muted); font-size: 15px; }
.rd-grid:has(> .rd:only-child) { grid-template-columns: 1fr; }
.rd-grid:has(> .rd:only-child) .rd {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 8px 28px;
  align-items: center;
  padding: 20px 22px;
}
.rd-grid:has(> .rd:only-child) .rd-top { grid-column: 1 / -1; }
.rd-grid:has(> .rd:only-child) .rd-teams { margin: 0; }
.rd-grid:has(> .rd:only-child) .rd-body { margin: 0; }
.rd-grid:has(> .rd:only-child) .press {
  grid-column: 2; grid-row: 2 / 4; margin: 0; padding: 0 0 0 22px;
  border: 0; border-inline-start: 1px solid var(--line);
  align-self: stretch; display: grid; align-content: center;
}
.rd-grid:has(> .rd:only-child) .pr { grid-template-columns: 86px 1fr 100px; }

@media (max-width: 720px) {
  .rd-grid:has(> .rd:only-child) .rd { grid-template-columns: 1fr; }
  .rd-grid:has(> .rd:only-child) .press {
    grid-column: 1; grid-row: auto; margin-top: 12px; padding: 12px 0 0;
    border: 0; border-top: 1px solid var(--line);
  }
}

/* ---------- Live cards ---------- */
.rd-top .min { display: inline-flex; align-items: center; gap: 6px; color: var(--red); font-weight: 900; direction: ltr; }
.rd-body { display: flex; align-items: center; gap: 16px; margin-top: 8px; }
.gauge { position: relative; width: 84px; height: 84px; flex: none; }
.gauge b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 20px; font-weight: 900; }
.ring { width: 84px; height: 84px; transform: rotate(-90deg) scaleY(-1); }
.ring circle { fill: none; stroke-width: 9; stroke-linecap: round; }
.ring .bg { stroke: var(--s3); }
.ring .fg { stroke: var(--red); }
.ring.hot .fg { stroke: var(--gold); }
.rd-txt { display: grid; gap: 2px; font-size: 13.5px; color: var(--muted); }
.rd-txt p { font-size: 15.5px; color: var(--text); margin-bottom: 2px; }
.rd-txt p b { font-weight: 900; }
.rd-txt span b { color: var(--text); }
.press { display: grid; gap: 7px; margin-top: 14px; border-top: 1px solid var(--line); padding-top: 12px; }
.pr { display: grid; grid-template-columns: 78px 1fr 92px; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); }
.pr-bar { height: 7px; background: color-mix(in srgb, var(--red) 28%, transparent); border-radius: 99px; overflow: hidden; }
.pr-bar i { display: block; height: 100%; background: var(--green); border-radius: 99px; }
.pr small b { color: var(--text); }
.rd.solo { max-width: 600px; }

/* ---------- Teams ---------- */
.tm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.tm-grid.sm { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.tm-card { --tc: var(--green); display: flex; align-items: center; gap: 12px; position: relative; overflow: hidden; background: var(--s1); border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; transition: border-color .2s, transform .2s; }
.tm-card::after { content: ""; position: absolute; inset-inline-end: -30px; top: -30px; width: 90px; height: 90px; border-radius: 50%; background: var(--tc); opacity: .12; filter: blur(18px); }
.tm-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.tm-card img { object-fit: contain; }
.tm-card span { font-size: 12px; color: var(--gold); font-weight: 700; }
.tm-card b { display: block; font-size: 15.5px; color: var(--text); font-weight: 800; }
.tm-grid.sm .tm-card b { font-size: 14.5px; }
.lg-sec { padding: 18px 0; }

/* ---------- Rows ---------- */
.rows { display: grid; gap: 6px; }
.res-lg .sec-h h2 { display: flex; align-items: center; gap: 10px; }
.res-lg .sec-h h2 img { object-fit: contain; }
.row { display: grid; grid-template-columns: 112px 1fr auto 1fr 170px; align-items: center; gap: 12px; background: var(--s1); border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; }
.row:hover { border-color: var(--line2); }
.row .tm.h { flex-direction: row-reverse; }
.row .gs { display: none; }
.row .tm.win b { color: var(--text); font-weight: 800; }
.row .tm.lose b { color: var(--faint); font-weight: 500; }
.row .tm.lose img { opacity: .6; }
.sc b.lo { color: var(--faint); font-weight: 600; }
.row .sc b.win, .row .gs b.win { display: inline-grid; place-items: center; width: 26px; height: 26px; min-width: 26px; border: 2px solid var(--accent); border-radius: 50%; color: var(--text); line-height: 1; }
.row .gs b.lose { color: var(--faint); font-weight: 600; }
.lg-list { display: grid; gap: 16px; margin-top: 18px; }
.lg-card { background: var(--s1); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.lg-hd { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 800; padding: 12px 16px; background: var(--s2); border-bottom: 1px solid var(--line); }
.lg-hd img { object-fit: contain; flex: none; }
.rows.flat { gap: 0; }
.rows.flat .row { background: transparent; border: 0; border-radius: 0; border-bottom: 1px solid var(--line); padding: 12px 16px; transition: background .15s; }
.rows.flat .row:last-child { border-bottom: 0; }
.rows.flat .row:hover { background: var(--s2); }
.rows.flat .row .lg { display: none; }
.rows.flat .row { grid-template-columns: 112px 1fr auto 1fr; }
.res-h { padding-bottom: 0; }

/* ---------- Static pages ---------- */
.doc-h { padding-bottom: 6px; }
.doc { max-width: 820px; display: grid; gap: 14px; margin-top: 18px; }
.doc section { background: var(--s1); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; }
.doc h2 { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.doc p { color: var(--muted); font-size: 15px; line-height: 1.9; }
.doc p + p { margin-top: 8px; }
.doc a { color: var(--accent); font-weight: 700; }
.row .st { font-size: 12.5px; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.row .st.on { color: var(--red); font-weight: 800; }
.row .lg { color: var(--faint); font-size: 12px; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- Team page ---------- */
.th { --tc: var(--green); display: flex; align-items: center; gap: 24px; padding: 40px 0 22px; position: relative; }
.th::before { content: ""; position: absolute; inset-inline-start: -60px; top: 0; width: 360px; height: 260px; background: var(--tc); opacity: .14; filter: blur(70px); z-index: -1; }
.th img { border-radius: 24px; background: var(--s1); padding: 10px; border: 1px solid var(--line); object-fit: contain; }
.th h1 { font-size: clamp(30px, 4.6vw, 50px); font-weight: 900; letter-spacing: -.6px; }
.th p { color: var(--muted); margin-top: 6px; font-size: 15.5px; }
.th .th-en { color: var(--faint); font-size: 13.5px; font-weight: 600; margin-top: 4px; text-align: right; unicode-bidi: isolate; }
.kpis { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.kpis div { background: var(--s1); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; }
.kpis b { display: block; font-size: 32px; font-weight: 900; color: var(--green); line-height: 1.25; }
.kpis b.w { font-size: 24px; padding: 4px 0; }
.kpis .neg b { color: var(--red); }
.kpis span { font-size: 12.5px; color: var(--muted); }
.hist { display: grid; gap: 10px; }
.hist article { display: flex; gap: 18px; background: var(--s1); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.hist .yr { align-self: flex-start; font-size: 20px; font-weight: 900; color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); border-radius: 12px; padding: 8px 12px; min-width: 74px; text-align: center; }
.hist small { color: var(--gold); font-size: 12.5px; font-weight: 700; }
.hist h3 { font-size: 17px; margin: 2px 0 6px; }
.hist h3 a { color: inherit; text-decoration: none; }
.hist h3 a:hover { color: var(--accent); }
.hist p { color: var(--muted); font-size: 14px; }

/* ---------- Match page ---------- */
.mh { text-align: center; padding: 34px 0 10px; }
.mh-lg { color: var(--muted); font-size: 13.5px; }
.mh-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; margin: 16px auto; max-width: 780px; }
.mh-t { display: grid; justify-items: center; gap: 10px; font-size: 18px; }
.mh-t img { object-fit: contain; }
.mh-sc { display: grid; justify-items: center; gap: 4px; }
.mh-sc small { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-weight: 700; direction: ltr; }
.mh-sc small.on { color: var(--red); }
.verdict { max-width: 780px; margin: 12px auto 0; background: var(--s1); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; text-align: right; }
.verdict .story { font-size: 19px; margin: 12px 0; }
.facts { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.facts li { display: inline-flex; align-items: center; gap: 8px; background: var(--s3); border-radius: 12px; padding: 6px 12px; font-size: 13.5px; color: var(--muted); }
.facts li b { color: var(--red); font-weight: 900; direction: ltr; }
.facts li:nth-child(2) b { color: var(--gold); }
.facts li.g b { color: var(--green); }
.rating { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); }
.rating b { color: var(--text); direction: ltr; }
.bar { height: 9px; background: var(--s3); border-radius: 99px; overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 99px; background: var(--accent); }
.goals { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.goals li { display: grid; grid-template-columns: 64px 1fr auto; grid-template-rows: auto auto; column-gap: 12px; align-items: center; background: var(--s1); border: 1px solid var(--line); border-inline-start: 4px solid var(--red); border-radius: 12px; padding: 9px 14px; }
.goals li.me { border-inline-start-color: var(--green); }
.goals .gm { grid-row: span 2; font-weight: 900; font-size: 18px; direction: ltr; text-align: center; }
.goals small { color: var(--muted); font-size: 12.5px; grid-column: 2; }
.goals .sc { grid-row: 1 / span 2; grid-column: 3; }

/* ---------- Footer ---------- */
.ft { border-top: 1px solid var(--line); margin-top: 56px; background: var(--s1); }
.ft-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding-top: 34px; padding-bottom: 26px; }
.ft-about p { color: var(--muted); font-size: 13.5px; max-width: 420px; margin-top: 14px; }
.ft-col { display: grid; align-content: start; gap: 9px; }
.ft-col h2 { font-size: 14px; font-weight: 800; color: var(--text); margin-bottom: 4px; }
.ft-col a { color: var(--muted); font-size: 14px; width: fit-content; }
.ft-col a:hover { color: var(--accent); }
.ft-bar { display: flex; justify-content: center; border-top: 1px solid var(--line); padding-top: 18px; padding-bottom: calc(20px + env(safe-area-inset-bottom)); }
.ft-bar a { color: var(--accent); font-size: 26px; font-weight: 900; line-height: 1.2; }
.ft-bar a:hover { color: var(--text); }
.rw { white-space: nowrap; }
.ry { margin-inline-start: .12em; }
.empty-page { text-align: center; padding: 80px 0; }
.empty-page a { color: var(--green); }

.hero, .ph { position: relative; }
.wave { position: absolute; z-index: -1; inset: 10px -40px auto; width: calc(100% + 80px); height: 260px; opacity: .22; pointer-events: none; }
.ph .wave { height: 200px; opacity: .18; }
/* ---------- Team page: top ---------- */
.th h1 .vs { display: block; font-size: .55em; color: var(--accent); font-weight: 800; margin-top: 4px; }
.team-top { display: grid; grid-template-columns: 1.6fr 1fr; gap: 16px; align-items: start; margin-bottom: 10px; }
.tt-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; min-height: 34px; }
.tt-h h2 { font-size: 18px; font-weight: 900; }
.tt-side { display: grid; gap: 12px; }
.tt-side .tt-h { margin-bottom: -2px; }
.next { display: block; background: var(--s1); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; transition: border-color .2s; }
.next:hover { border-color: var(--line2); }
.next > small { color: var(--muted); font-size: 12.5px; }
.next-teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; margin: 12px 0; text-align: center; }
.next-teams span { display: grid; justify-items: center; gap: 8px; font-size: 14.5px; }
.next-teams img { object-fit: contain; }
.next-teams em { font-style: normal; color: var(--faint); font-weight: 800; font-size: 13px; }
.next-when { display: flex; align-items: baseline; justify-content: center; gap: 10px; background: var(--s2); border-radius: 12px; padding: 9px; }
.next-when b { font-size: 17px; color: var(--accent); }
.next-when span { color: var(--muted); font-size: 13px; }
.next p { color: var(--faint); font-size: 12.5px; margin-top: 10px; text-align: center; }
.mini-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mini-kpis div { background: var(--s1); border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; }
.mini-kpis b { display: block; font-size: 24px; font-weight: 900; color: var(--green); line-height: 1.2; }
.mini-kpis .neg b { color: var(--red); }
.mini-kpis span { font-size: 12px; color: var(--muted); }
.detail-head { margin: 34px 0 0; padding: 18px 20px; background: var(--s1); border: 1px solid var(--line); border-inline-start: 4px solid var(--accent); border-radius: 16px; }
.detail-head h2 { font-size: 21px; font-weight: 900; }
.detail-head small { color: var(--muted); font-size: 13px; }

/* ---------- Match page: details ---------- */
.mh-info { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 10px; color: var(--faint); font-size: 12.5px; margin: -4px 0 6px; }
.mh-info i { font-style: normal; opacity: .6; }
.jump { position: sticky; top: 68px; z-index: 10; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 10px 0; margin: 8px 0 0; background: color-mix(in srgb, var(--bg) 92%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.jump a { white-space: nowrap; background: var(--s1); border: 1px solid var(--line); border-radius: 99px; padding: 6px 14px; font-size: 13px; font-weight: 700; color: var(--muted); }
.jump a:hover { color: var(--text); border-color: var(--line2); }
.sec[id] { scroll-margin-top: 130px; }
.why { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; }
.why article { display: flex; gap: 14px; background: var(--s1); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; }
.why-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex: none; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); }
.why h3 { font-size: 15.5px; margin-bottom: 4px; }
.why p { color: var(--muted); font-size: 14px; line-height: 1.7; }
.why p b { color: var(--text); }
.why p em { font-style: normal; color: var(--green); font-weight: 800; }
.curve-box.sub { margin-top: 12px; }
.cb-h { padding: 4px 8px 6px; }
.cb-h h3 { font-size: 16px; }
.cb-h small { color: var(--muted); font-size: 12.5px; }
.curve .pb.me { fill: var(--green); opacity: .85; } .curve .pb.op { fill: var(--red); opacity: .75; }
.curve .gline { stroke-width: 1; stroke-dasharray: 2 4; } .curve .gline.me { stroke: var(--green); } .curve .gline.op { stroke: var(--red); }
.curve .mk.red { fill: var(--red); }
.curve .mk.sub circle { fill: var(--s3); stroke: var(--green); stroke-width: 1.5; }
.curve .mk.sub path { fill: none; stroke: var(--text); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.key .mks i { display: inline-block; }
.key .mks .sw { width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid var(--green); background: var(--s3); }
.key .mks .rc { width: 8px; height: 12px; border-radius: 2px; background: var(--red); margin-inline-start: 8px; }
.tale { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 10px; }
.tale::before { content: ""; position: absolute; inset-inline-start: 27px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.tale li { display: flex; align-items: flex-start; gap: 14px; position: relative; }
.tale .tm-min { width: 56px; flex: none; text-align: center; font-weight: 900; font-size: 14px; direction: ltr; background: var(--s3); border: 2px solid var(--bg); border-radius: 99px; padding: 5px 0; position: relative; z-index: 1; }
.tale p { background: var(--s1); border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; flex: 1; color: var(--muted); font-size: 14.5px; }
.tale p b { color: var(--text); }
.tale li.level .tm-min { background: var(--gold); color: var(--on); }
.tale li.turn .tm-min { background: var(--green); color: var(--on); }
.tale li.turn p { border-color: color-mix(in srgb, var(--green) 45%, var(--line)); }
.tale li.red .tm-min { background: var(--red); color: var(--on); }
.num-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 14px; align-items: start; }
.side-col { display: grid; gap: 14px; }
.panel { background: var(--s1); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; }
.panel h3 { font-size: 15.5px; margin-bottom: 12px; }
.panel .note { display: block; color: var(--faint); font-size: 11.5px; margin-top: 10px; }
.st-head { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 8px; padding-bottom: 10px; border-bottom: 1px solid var(--line); font-size: 14px; }
.st-head .tm:last-child { flex-direction: row-reverse; }
.st-row { display: grid; grid-template-columns: 70px 1fr 70px; align-items: center; row-gap: 6px; padding: 9px 0; }
.st-row > b { font-size: 15px; font-weight: 900; }
.st-row > b:last-of-type { text-align: left; }
.st-row > span { text-align: center; font-size: 13px; color: var(--muted); }
.st-bar { grid-column: 1 / -1; display: flex; gap: 4px; height: 7px; }
.st-bar i { display: block; height: 100%; border-radius: 99px; }
.st-bar .h { background: var(--accent); }
.st-bar .a { background: var(--line2); }
.star { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.star:last-of-type { border-bottom: 0; }
.star .rk { width: 22px; font-weight: 900; color: var(--faint); text-align: center; }
.star img { border-radius: 50%; background: var(--s3); object-fit: cover; }
.star div { flex: 1; min-width: 0; }
.star b { display: block; font-size: 14.5px; }
.star small { color: var(--muted); font-size: 12px; }
.star em { font-style: normal; font-weight: 900; font-size: 15px; background: color-mix(in srgb, var(--green) 16%, transparent); color: var(--green); border-radius: 8px; padding: 3px 9px; }
.pred { display: flex; gap: 3px; height: 12px; }
.pred i { display: block; height: 100%; border-radius: 99px; }
.pred .p0, .pred-l .p0::before { background: var(--accent); }
.pred .p1, .pred-l .p1::before { background: var(--faint); }
.pred .p2, .pred-l .p2::before { background: var(--line2); }
.pred-l { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; margin-top: 10px; font-size: 13px; color: var(--muted); }
.pred-l span { display: inline-flex; align-items: center; gap: 6px; }
.pred-l span::before { content: ""; width: 9px; height: 9px; border-radius: 50%; }
.pred-l b { color: var(--text); }
.evs { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; position: relative; }
.evs::before { content: ""; position: absolute; top: 0; bottom: 0; right: 50%; width: 2px; margin-right: -1px; background: var(--line); }
.evs li { display: grid; grid-template-columns: 1fr 58px 1fr; align-items: center; }
.evs .ev-min { grid-column: 2; grid-row: 1; justify-self: center; font-weight: 900; font-size: 12.5px; direction: ltr; background: var(--s3); border: 2px solid var(--bg); border-radius: 99px; padding: 3px 9px; position: relative; z-index: 1; }
.evs li.home .ev { grid-column: 1; grid-row: 1; }
.evs li.away .ev { grid-column: 3; grid-row: 1; flex-direction: row-reverse; text-align: left; }
.ev { display: flex; align-items: center; gap: 10px; background: var(--s1); border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px; min-width: 0; }
.ev b { display: block; font-size: 14px; }
.ev small { color: var(--muted); font-size: 12px; }
.ev-ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; flex: none; background: var(--s3); color: var(--muted); }
.ev-ic .ic { width: 17px; height: 17px; }
.t-goal .ev-ic, .t-penalty .ev-ic, .t-own_goal .ev-ic { background: color-mix(in srgb, var(--green) 18%, transparent); color: var(--green); }
.t-goal .ev, .t-penalty .ev, .t-own_goal .ev { border-color: color-mix(in srgb, var(--green) 35%, var(--line)); }
.t-yellow .ev-ic { color: var(--gold); } .t-yellow .ev-ic .ic { fill: var(--gold); }
.t-red .ev-ic { color: var(--red); } .t-red .ev-ic .ic { fill: var(--red); }
.t-sub .ev { background: transparent; }

@media (max-width: 960px) {
  .num-grid, .team-top { grid-template-columns: 1fr; }
  .jump { top: 68px; }
  .hero { grid-template-columns: 1fr; padding-top: 28px; }
  .nav { display: none; }
  .hd-in { justify-content: space-between; }
  .ft-grid { grid-template-columns: 1fr 1fr; gap: 26px 20px; }
  .ft-about { grid-column: 1 / -1; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .row, .rows.flat .row { grid-template-columns: 58px 1fr auto; grid-template-areas: "st h gh" "st a ga"; column-gap: 12px; row-gap: 7px; padding: 11px 12px; }
  .row .st { grid-area: st; align-self: stretch; justify-content: center; flex-direction: column; gap: 2px; text-align: center; font-size: 12px; line-height: 1.3; border-inline-end: 1px solid var(--line); padding-inline-end: 10px; }
  .row .tm.h { grid-area: h; flex-direction: row; }
  .row .tm.a { grid-area: a; }
  .row .tm b { white-space: normal; overflow: visible; font-size: 14px; line-height: 1.35; }
  .row .tm img { width: 22px; height: 22px; }
  .row .sc, .row .lg { display: none; }
  .row .gs { display: contents; }
  .row .gs b { font-weight: 900; font-size: 15px; font-variant-numeric: tabular-nums; min-width: 22px; text-align: center; align-self: center; }
  .row .gs b:first-child { grid-area: gh; }
  .row .gs b:last-child { grid-area: ga; }
  .lg-hd { padding: 11px 12px; font-size: 15px; }
  .daytabs { display: flex; width: 100%; }
  .daytabs a { flex: 1; text-align: center; padding: 9px 0; }
  .ft-grid { padding-top: 28px; }
}
@media (max-width: 560px) {
  .evs li { grid-template-columns: 1fr 46px 1fr; }
  .ev { padding: 6px 8px; gap: 7px; }
  .ev-ic { width: 24px; height: 24px; }
  .ev b { font-size: 12.5px; }
  .ev small { font-size: 11px; }
  .tale::before { inset-inline-start: 22px; }
  .tale .tm-min { width: 46px; font-size: 12.5px; }
  .cb-grid, .rd-grid { grid-template-columns: 1fr; }
  .steps, .stats { grid-template-columns: 1fr 1fr 1fr; }
  .steps li { flex-direction: column; text-align: center; gap: 4px; padding: 8px 6px; }
  .stats b { font-size: 24px; }
  .sc.xl { font-size: 40px; }
  .th { flex-direction: column; text-align: center; }
  .cb.big .story { font-size: 17px; }
  .cb.big .sc { font-size: 26px; }
  .mh-t { font-size: 15px; }
  .mh-t img { width: 60px; height: 60px; }
  .tm-grid, .tm-grid.sm { grid-template-columns: 1fr 1fr; }
  .tm-card { padding: 10px; gap: 9px; }
  .pr { grid-template-columns: 70px 1fr 80px; }
}
/* ---------- Match page v2 ---------- */
.mx-board { margin-top: 26px; background: var(--s1); border: 1px solid var(--line); border-radius: 24px; padding: 18px 22px 20px; }
.mx-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.mx-top i { font-style: normal; opacity: .5; margin: 0 6px; }
.mx-lg { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.mx-lg img { object-fit: contain; }
.mx-en { text-align: center; color: var(--faint); font-size: 12.5px; font-weight: 600; margin-top: 10px; }
.mx-date { background: var(--s2); border-radius: 99px; padding: 4px 12px; font-size: 12.5px; }
.mx-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; margin: 22px 0 6px; }
.mx-t { display: grid; justify-items: center; gap: 12px; text-align: center; font-size: 18px; font-weight: 800; }
.mx-logo { width: 104px; height: 104px; border-radius: 50%; background: var(--s2); border: 1px solid var(--line); display: grid; place-items: center; transition: border-color .2s; }
.mx-t:hover .mx-logo { border-color: var(--line2); }
.mx-logo img { object-fit: contain; }
.mx-sc { display: grid; justify-items: center; gap: 10px; }
.mx-sc .sc.xl { font-size: 64px; gap: 18px; line-height: 1; }
.mx-st { display: inline-flex; align-items: center; gap: 6px; background: var(--s3); border-radius: 99px; padding: 4px 14px; font-size: 12.5px; font-weight: 800; color: var(--muted); }
.mx-st.on { color: var(--red); background: color-mix(in srgb, var(--red) 12%, transparent); }
.mx-goals { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 18px 0 0; padding-top: 16px; border-top: 1px dashed var(--line); }
.mx-goals ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; align-content: start; justify-items: center; }
.mx-goals li { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; color: var(--muted); }
.mx-goals li b { color: var(--text); font-weight: 700; }
.mx-goals li span { direction: ltr; unicode-bidi: isolate; font-size: 12.5px; color: var(--faint); }
.mx-goals .ic { width: 14px; height: 14px; color: var(--faint); }
.mx-info { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; }
.mx-info span { display: inline-flex; align-items: center; gap: 6px; background: var(--s2); border-radius: 10px; padding: 6px 12px; font-size: 12.5px; color: var(--muted); }
.mx-info .ic { width: 15px; height: 15px; color: var(--faint); }

.mx-cb { margin-top: 14px; background: var(--s1); border: 1px solid var(--line); border-inline-start: 4px solid var(--green); border-radius: 20px; padding: 18px 22px; }
.mx-cb.draw { border-inline-start-color: var(--gold); }
.mx-cb-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.mx-diff { display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--muted); }
.mx-diff .segs { display: flex; gap: 3px; }
.mx-diff .segs i { width: 10px; height: 14px; border-radius: 3px; background: var(--s3); }
.mx-diff .segs i.on { background: var(--accent); }
.mx-diff b { color: var(--text); font-size: 15px; min-width: 26px; }
.mx-story { font-size: 20px; margin: 14px 0 18px; line-height: 1.6; }
.mx-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; position: relative; }
.mx-steps::before { content: ""; position: absolute; top: 7px; inset-inline: 7px; height: 2px; background: var(--line2); }
.mx-steps li { position: relative; display: grid; gap: 4px; justify-items: start; }
.mx-steps li:last-child:not(:first-child) { justify-items: end; }
.mx-steps li:nth-child(2):not(:last-child) { justify-items: center; }
.mx-steps .dot { width: 16px; height: 16px; border-radius: 50%; border: 3px solid var(--s1); background: var(--red); position: relative; z-index: 1; box-sizing: content-box; }
.mx-steps .level .dot { background: var(--gold); }
.mx-steps .ahead .dot { background: var(--green); }
.mx-steps b { font-size: 18px; font-weight: 900; direction: ltr; margin-top: 4px; }
.mx-steps small { font-size: 12.5px; color: var(--muted); }

.lu { max-width: none; margin: 0; }
.lu-team { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 4px; font-size: 14px; }
.lu-team em { font-style: normal; font-weight: 800; color: var(--muted); background: var(--s2); border-radius: 8px; padding: 2px 10px; direction: ltr; font-size: 13px; }
.pitch { position: relative; aspect-ratio: 100 / 62; width: 100%; border-radius: 18px; overflow: hidden; background: color-mix(in srgb, var(--green) 9%, var(--s1)); border: 1px solid var(--line); }
.pitch > i { position: absolute; border: 1.5px solid color-mix(in srgb, var(--text) 14%, transparent); }
.pitch .p-mid { top: 0; bottom: 0; left: 50%; width: 0; height: auto; border-width: 0 0 0 1.5px; }
.pitch .p-circle { width: 26%; aspect-ratio: 1; left: 50%; top: 50%; transform: translate(-50%, -50%); border-radius: 50%; }
.pitch .p-box { top: 22%; bottom: 22%; width: 14%; height: auto; }
.pitch .p-box.top { left: -1.5px; border-left: 0; }
.pitch .p-box.bot { right: -1.5px; border-right: 0; }
.pl { position: absolute; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 3px; width: 76px; z-index: 1; }
.pl-ph { position: relative; width: 40px; height: 40px; }
.pl-ph img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: var(--s3); border: 2px solid var(--s1); }
.pl.away .pl-ph img { border-color: var(--line2); }
.pl-ph em { position: absolute; top: -6px; inset-inline-end: -14px; font-style: normal; font-size: 10.5px; font-weight: 800; background: var(--s3); color: var(--text); border-radius: 6px; padding: 0 4px; line-height: 16px; direction: ltr; }
.pl-ph em.hi { background: var(--green); color: var(--on); }
.pl-ph em.lo { background: var(--red); color: var(--on); }
.pl-ph u { position: absolute; bottom: -4px; inset-inline-start: -10px; text-decoration: none; display: inline-flex; align-items: center; gap: 1px; background: var(--s1); border-radius: 99px; padding: 1px 3px; font-size: 10px; font-weight: 800; }
.pl-ph u .ic { width: 12px; height: 12px; }
.pl small { font-size: 11px; font-weight: 700; color: var(--text); background: color-mix(in srgb, var(--bg) 70%, transparent); border-radius: 6px; padding: 0 5px; white-space: nowrap; max-width: 76px; overflow: hidden; text-overflow: ellipsis; }
.lu-coach { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); border-top: 1px solid var(--line); margin-top: 6px; padding: 10px 4px 0; }
.lu-coach b { color: var(--text); }

.evh { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: 14px; }
.evh .tm:last-child { flex-direction: row-reverse; }
.evt { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 8px; }
.evt::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; transform: translateX(-50%); background: var(--line); }
.evt li { display: grid; grid-template-columns: 1fr 56px 1fr; align-items: center; }
.evt .ev-min { grid-column: 2; grid-row: 1; justify-self: center; position: relative; z-index: 1; background: var(--s3); border: 3px solid var(--bg); border-radius: 99px; padding: 2px 8px; font-size: 12px; font-weight: 800; direction: ltr; white-space: nowrap; }
.evt li.home .ev { grid-column: 1; grid-row: 1; }
.evt li.away .ev { grid-column: 3; grid-row: 1; flex-direction: row-reverse; text-align: left; }
.evt .ev { display: flex; align-items: center; gap: 10px; background: var(--s1); border: 1px solid var(--line); border-radius: 14px; padding: 8px 12px; min-width: 0; }
.evt .ev b { display: block; font-size: 14px; }
.evt .ev small { color: var(--muted); font-size: 12px; }
.evt .ev-ic { width: 30px; height: 30px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--s2); color: var(--muted); }
.evt .ev-ic .ic { width: 16px; height: 16px; }
.evt .t-goal .ev-ic, .evt .t-penalty .ev-ic { background: color-mix(in srgb, var(--green) 16%, transparent); color: var(--green); }
.evt .t-goal .ev-min, .evt .t-penalty .ev-min, .evt .t-own_goal .ev-min { background: var(--green); color: var(--on); }
.evt .t-yellow .ev-ic { color: var(--gold); }
.evt .t-red .ev-ic, .evt .t-missed_penalty .ev-ic { color: var(--red); }
.evt .t-red .ev-min { background: var(--red); color: var(--on); }

.st-row { grid-template-columns: 64px 1fr 64px; }
.st-bar { height: 8px; gap: 6px; }
.st-bar .a { background: color-mix(in srgb, var(--text) 30%, transparent); }

@media (max-width: 640px) {
  .pitch { aspect-ratio: 100 / 72; }
  .mx-board { padding: 14px 14px 16px; border-radius: 20px; }
  .mx-logo { width: 72px; height: 72px; }
  .mx-logo img { width: 52px; height: 52px; }
  .mx-t { font-size: 14.5px; gap: 8px; }
  .mx-sc .sc.xl { font-size: 42px; gap: 10px; }
  .mx-row { gap: 8px; }
  .mx-goals { gap: 10px; }
  .mx-goals li { font-size: 12px; flex-wrap: wrap; justify-content: center; }
  .mx-story { font-size: 17px; }
  .mx-cb { padding: 16px; }
  .pl { width: 58px; gap: 2px; }
  .pl-ph, .pl-ph img { width: 30px; height: 30px; }
  .pl small { font-size: 9.5px; max-width: 58px; }
  .pl-ph em { font-size: 9.5px; inset-inline-end: -12px; }
  .evt li { grid-template-columns: 1fr 46px 1fr; }
  .evt .ev { padding: 6px 8px; gap: 6px; }
  .evt .ev-ic { display: none; }
  .evt .ev b { font-size: 12.5px; }
  .evt .ev small { font-size: 11px; }
}

@media (max-width: 560px) {
  .wrap { padding: 0 14px; }
  .hd-in { height: 60px; gap: 12px; }
  .brand { gap: 9px; }
  .brand .mark { width: 34px; height: 34px; }
  .brand b { font-size: 19px; }
  .brand small { font-size: 10.5px; }
  .jump { top: 60px; }
  .hero { padding: 22px 0 10px; gap: 22px; }
  .hero h1 { font-size: 34px; }
  .hero p { font-size: 15px; margin: 12px 0 16px; }
  .steps { gap: 6px; }
  .steps b { font-size: 14px; }
  .steps span { font-size: 11px; }
  .stats { gap: 6px; }
  .stats a { padding: 10px; border-radius: 14px; }
  .stats b { font-size: 22px; }
  .stats span { font-size: 11px; line-height: 1.4; }
  .ph { padding-top: 24px; }
  .ph h1 { font-size: 28px; }
  .sec { padding: 18px 0; }
  .sec-h h2 { font-size: 19px; }
  .doc section { padding: 16px; }
  .cb-teams, .rd-teams { gap: 8px; padding: 10px 8px; }
  .cb-teams .tm, .rd-teams .tm, .cb-teams .tm:last-child, .rd-teams .tm:last-child { flex-direction: column; gap: 5px; text-align: center; }
  .cb-teams .tm b, .rd-teams .tm b { white-space: normal; overflow: visible; font-size: 13.5px; line-height: 1.3; }
}
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } .cb, .rd, .tm-card { transition: none; } }

.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

[dir=ltr] .drawer { transform: translateX(-105%); }
[dir=ltr] .drawer.open { transform: none; }
[dir=ltr] .ic-arrow { transform: scaleX(-1); }
[dir=ltr] .row .lg, [dir=ltr] .st-row > b:last-of-type, [dir=ltr] .evs li.away .ev, [dir=ltr] .evt li.away .ev { text-align: right; }
[dir=ltr] .th .th-en, [dir=ltr] .verdict { text-align: left; }
[dir=ltr] .evs::before { right: auto; left: 50%; margin-right: 0; margin-left: -1px; }
