/* 1Result — dizayn tizimi v2 ("Volt & Ink").
   Ixcham: kichikroq shrift va oraliqlar, bir ekranda ko'proq o'yin. Uch muhit: kompyuter (3 ustun, bir qatorli
   o'yinlar va gol urganlar), telefon (ikki qatorli ixcham o'yinlar, suzuvchi menyu), Telegram Mini App (Telegram
   ranglari + brend urg'usi). */

/* ===== Shriftlar: Inter (matn), Unbounded (brend, hisob, sarlavhalar) — SIL OFL ===== */
@font-face {
  font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("fonts/inter-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;
}
@font-face {
  font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("fonts/inter-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF,
    U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Unbounded"; font-style: normal; font-display: swap; font-weight: 200 900;
  src: url("fonts/unbounded-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;
}
@font-face {
  font-family: "Unbounded"; font-style: normal; font-display: swap; font-weight: 200 900;
  src: url("fonts/unbounded-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* ===== Ranglar va o'lchamlar ===== */
:root {
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", Arial, sans-serif;
  --display: "Unbounded", "Inter", system-ui, sans-serif;
  /* Brend */
  --volt: #c6f135;
  --volt-ink: #0b0e13;
  --coral: #ff3b5c;
  /* Yorug' mavzu */
  --bg: #f2f3f5;
  --surface: #ffffff;
  --surface-2: #f4f5f7;
  --surface-3: #e9ebef;
  --text: #0b0e13;
  --text-2: #2c323b;
  --muted: #5c6370;
  --faint: #959cab;
  --line: #e8eaee;
  --line-2: #d8dbe1;
  --link: #0b0e13;
  --accent: var(--volt);
  --accent-ink: var(--volt-ink);
  --on: #0b0e13;               /* faol element matni/ikonka rangi */
  --live: #e11d38;
  --win: #11a150;
  --draw: #8b94a3;
  --lose: #e5484d;
  --gold: #f2a20c;
  --home: var(--text);
  --home-ink: var(--surface);
  --away: #2563eb;
  --away-ink: #ffffff;
  --pitch-a: #2b8a4f;
  --pitch-b: #267f49;
  --glass: rgba(255, 255, 255, 0.74);
  --glass-edge: rgba(255, 255, 255, 0.7);
  --shadow-1: 0 1px 2px rgba(11, 14, 19, 0.05);
  --shadow-float: 0 16px 36px -14px rgba(11, 14, 19, 0.32), 0 2px 6px rgba(11, 14, 19, 0.06);
  --r-xl: 18px;
  --r-lg: 14px;
  --r-md: 11px;
  --top-h: 52px;
  --tabbar-h: 58px;
  --bar-gap: 10px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --pad: 10px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #07090d;
    --surface: #10131a;
    --surface-2: #161a22;
    --surface-3: #1f242e;
    --text: #f2f4f7;
    --text-2: #c8ced7;
    --muted: #8e96a4;
    --faint: #5f6776;
    --line: #1b2029;
    --line-2: #2a303b;
    --link: var(--volt);
    --on: var(--volt);
    --live: #ff4d63;
    --win: #2fd27a;
    --lose: #ff5f64;
    --gold: #ffb224;
    --pitch-a: #1d6a3c;
    --pitch-b: #1a6237;
    --home: var(--volt);
    --home-ink: #0b0e13;
    --away: #3b82f6;
    --glass: rgba(16, 19, 26, 0.76);
    --glass-edge: rgba(255, 255, 255, 0.07);
    --shadow-1: none;
    --shadow-float: 0 18px 44px -14px rgba(0, 0, 0, 0.75);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #07090d;
  --surface: #10131a;
  --surface-2: #161a22;
  --surface-3: #1f242e;
  --text: #f2f4f7;
  --text-2: #c8ced7;
  --muted: #8e96a4;
  --faint: #5f6776;
  --line: #1b2029;
  --line-2: #2a303b;
  --link: var(--volt);
  --on: var(--volt);
  --live: #ff4d63;
  --win: #2fd27a;
  --lose: #ff5f64;
  --gold: #ffb224;
  --pitch-a: #1d6a3c;
  --pitch-b: #1a6237;
  --home: var(--volt);
  --home-ink: #0b0e13;
  --away: #3b82f6;
  --glass: rgba(16, 19, 26, 0.76);
  --glass-edge: rgba(255, 255, 255, 0.07);
  --shadow-1: none;
  --shadow-float: 0 18px 44px -14px rgba(0, 0, 0, 0.75);
  color-scheme: dark;
}
:root {
  --accent-soft: color-mix(in srgb, var(--volt) 22%, transparent);
  --live-soft: color-mix(in srgb, var(--live) 13%, transparent);
  --win-soft: color-mix(in srgb, var(--win) 15%, transparent);
}
:root[data-theme="dark"], :root[data-theme="dark"] * { --accent-soft: color-mix(in srgb, var(--volt) 14%, transparent); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --accent-soft: color-mix(in srgb, var(--volt) 14%, transparent); } }

/* Telegram Mini App: Telegram mavzusi ranglari (iOS "grouped": kulrang fon, oq bo'limlar) + brend urg'usi. */
:root.tg {
  --bg: var(--tg-theme-secondary-bg-color, #efeff4);
  --surface: var(--tg-theme-section-bg-color, var(--tg-theme-bg-color, #ffffff));
  --text: var(--tg-theme-text-color, #000000);
  --text-2: var(--tg-theme-text-color, #1f1f1f);
  --muted: var(--tg-theme-subtitle-text-color, var(--tg-theme-hint-color, #6d6d72));
  --faint: var(--tg-theme-hint-color, #999999);
  --link: var(--tg-theme-link-color, #2481cc);
  --line: var(--tg-theme-section-separator-color, color-mix(in srgb, var(--text) 9%, transparent));
  --surface-2: color-mix(in srgb, var(--text) 5%, var(--surface));
  --surface-3: color-mix(in srgb, var(--text) 10%, var(--surface));
  --line-2: color-mix(in srgb, var(--text) 14%, transparent);
  --tg-bottom: max(var(--safe-b), var(--tg-safe-area-inset-bottom, 0px));
  --home: var(--text);
  --home-ink: var(--surface);
  --top-h: 48px;
}
:root.tg[data-theme="dark"] {
  --bg: var(--tg-theme-secondary-bg-color, #0f0f0f);
  --surface: var(--tg-theme-section-bg-color, var(--tg-theme-bg-color, #1c1c1d));
  --text: var(--tg-theme-text-color, #ffffff);
  --text-2: var(--tg-theme-text-color, #e9e9e9);
}

/* ===== Asos ===== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0; min-height: 100dvh;
  background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 14px; line-height: 1.4;
  font-feature-settings: "cv05", "cv08", "tnum" 0;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
  padding-bottom: calc(var(--tabbar-h) + var(--bar-gap) * 2 + var(--safe-b) + 8px);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; }
img { display: block; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; border-radius: 8px; }
.ic { width: 20px; height: 20px; flex: none; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 8px 12px; border-radius: 10px; background: var(--accent); color: var(--accent-ink); font-weight: 600; }
.skip:focus { top: 10px; }
::selection { background: var(--accent-soft); }
.num, .msc, .st, .tl-min { font-variant-numeric: tabular-nums; }

/* ===== Yuqori panel va logotip ===== */
.appbar {
  position: sticky; top: 0; z-index: 40;
  padding-top: env(safe-area-inset-top);
  background: var(--glass);
  -webkit-backdrop-filter: blur(20px) saturate(1.8); backdrop-filter: blur(20px) saturate(1.8);
  border-bottom: 1px solid var(--line);
  view-transition-name: appbar;
  transition: transform 0.22s ease;
}
:root.top-hidden .appbar { transform: translateY(-100%); }
:root.top-hidden .sub-head, :root.top-hidden .tabs:not(.rdetail .tabs) { top: 0; padding-top: calc(8px + env(safe-area-inset-top)); }
.appbar-in { height: var(--top-h); max-width: 1480px; margin: 0 auto; display: flex; align-items: center; gap: 8px; padding: 0 8px 0 12px; }
.brand { display: flex; align-items: center; flex: none; color: var(--text); padding: 4px 0; }
.brand-word { display: block; width: 99px; height: 16px; }
.appbar-title { display: none; min-width: 0; font-weight: 650; font-size: 15px; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.back-btn { width: 32px; height: 36px; margin-left: -6px; display: grid; place-items: center; color: var(--text-2); flex: none; }
.brand.compact { display: none; }
.brand.compact + .appbar-title { display: block; }
.topnav, .topsearch { display: none; }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 2px; flex: none; }
.icon-btn { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; color: var(--text-2); }
.icon-btn .ic { width: 19px; height: 19px; }
.prefs-btn { display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 10px 0 8px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); color: var(--text-2); font-size: 11.5px; font-weight: 700; letter-spacing: 0.04em; }
.prefs-btn .ic { width: 16px; height: 16px; }
@media (hover: hover) { .icon-btn:hover, .prefs-btn:hover { background: var(--surface-3); } }

/* ===== Sahifa tuzilmasi ===== */
.shell { max-width: 1480px; margin: 0 auto; }
.rail { display: none; }
#content { max-width: 760px; margin: 0 auto; min-width: 0; container: main / inline-size; }

/* ===== Pastki menyu (telefon): suzuvchi shisha panel, faol bo'limda volt "tabletka" ===== */
.tabbar {
  position: fixed; z-index: 45; left: 50%; bottom: calc(var(--safe-b) + var(--bar-gap)); transform: translateX(-50%);
  width: min(420px, calc(100% - 20px)); height: var(--tabbar-h);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; padding: 5px;
  border-radius: 22px; background: color-mix(in srgb, var(--surface) 97%, transparent);
  -webkit-backdrop-filter: blur(20px) saturate(1.8); backdrop-filter: blur(20px) saturate(1.8);
  border: 1px solid var(--line); box-shadow: var(--shadow-float), inset 0 1px 0 var(--glass-edge);
  view-transition-name: tabbar;
}
.tabbar a { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border-radius: 16px; font-size: 10.5px; font-weight: 600; color: var(--muted); transition: color 0.15s; }
.tabbar a .ic { width: 22px; height: 22px; padding: 1px 0; box-sizing: content-box; border-radius: 999px; transition: background-color 0.15s; }
.tabbar a.on { color: var(--text); }
.tabbar a.on .ic { background: var(--accent); color: var(--accent-ink); width: 40px; padding: 1px 0; }
.tabbar a:active { transform: scale(0.96); }
.nav-badge { position: absolute; top: 1px; left: calc(50% + 7px); min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--live); color: #fff; font-size: 10px; font-weight: 700; line-height: 16px; text-align: center; font-variant-numeric: tabular-nums; box-shadow: 0 0 0 2px var(--surface); }

/* ===== Sana lentasi va filtrlar ===== */
.sub-head { position: sticky; top: calc(var(--top-h) + env(safe-area-inset-top)); z-index: 20; background: var(--bg); padding-top: 8px; }
.dates { display: flex; gap: 4px; overflow-x: auto; padding: 0 var(--pad) 8px; scrollbar-width: none; scroll-snap-type: x proximity; }
.dates::-webkit-scrollbar { display: none; }
.dchip { flex: 1 0 auto; height: 32px; padding: 0 10px; border-radius: 10px; display: flex; align-items: center; justify-content: center; gap: 5px; white-space: nowrap; background: var(--surface); border: 1px solid var(--line); scroll-snap-align: center; transition: background-color 0.15s, border-color 0.15s; }
.dchip b { font-size: 12.5px; font-weight: 650; }
.dchip small { font-size: 12px; font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; }
.dchip.today b { color: var(--link); }
.dchip.on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.dchip.on b, .dchip.on small { color: inherit; }
.dchip.on small { opacity: 0.75; }
.dchip.cal { position: relative; flex: none; width: 38px; padding: 0; color: var(--muted); }
.dchip.cal .ic { width: 17px; height: 17px; }
.dchip.cal input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; }
@media (hover: hover) { .dchip:not(.on):hover { border-color: var(--line-2); background: var(--surface-2); } }
.filters { display: flex; align-items: center; gap: 6px; padding: 0 var(--pad) 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 27px; padding: 0 11px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 12.5px; font-weight: 600; color: var(--muted); }
.chip .cnt { font-weight: 600; color: var(--faint); font-variant-numeric: tabular-nums; }
.chip.on { background: var(--text); border-color: var(--text); color: var(--surface); }
.chip.on .cnt { color: inherit; opacity: 0.65; }
.chip.live .dot, .live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--live); display: inline-block; flex: none; }
.chip.live.on { background: var(--live-soft); border-color: transparent; color: var(--live); }
.chip.live.on .dot { animation: pulse 1.4s ease-in-out infinite; }
.tz-chip { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 8px; border-radius: 999px; font-size: 11.5px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.tz-chip .ic { width: 14px; height: 14px; }
@media (hover: hover) { .chip:not(.on):hover, .tz-chip:hover { color: var(--text); background: var(--surface-2); } }

/* ===== Liga guruhi ===== */
.list { padding: 0 var(--pad); }
.group { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); margin: 0 0 8px; overflow: hidden; box-shadow: var(--shadow-1); content-visibility: auto; contain-intrinsic-size: auto 240px; }
.ghead { display: flex; align-items: center; gap: 9px; padding: 8px 10px 7px 12px; min-height: 38px; }
a.ghead { transition: background-color 0.15s; }
@media (hover: hover) { a.ghead:hover { background: var(--surface-2); } }
.ghead.static { min-height: 34px; }
.ghead.static > .ic { width: 16px; height: 16px; color: var(--gold); }
.gname { display: flex; align-items: baseline; gap: 7px; min-width: 0; line-height: 1.25; }
.gname b { font-weight: 700; font-size: 13px; letter-spacing: -0.005em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gname small { font-weight: 500; font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ghead.static .gname b { font-size: 12.5px; }
.ghead .chev { margin-left: auto; width: 16px; height: 16px; color: var(--faint); }
.glive { display: inline-flex; align-items: center; gap: 5px; height: 19px; padding: 0 7px 0 6px; border-radius: 99px; margin-left: auto; background: var(--live-soft); color: var(--live); font-size: 11px; font-weight: 700; font-variant-numeric: tabular-nums; flex: none; }
.glive::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; animation: pulse 1.4s ease-in-out infinite; }
.ghead .glive + .chev { margin-left: 2px; }
.lgb { width: var(--s); height: var(--s); flex: none; display: grid; place-items: center; background: #fff; border-radius: 6px; padding: 2px; font-size: calc(var(--s) * 0.78); line-height: 1; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06); }
.lgb img { width: 100%; height: 100%; object-fit: contain; }
.rflag { width: 18px; flex: none; display: grid; place-items: center; font-size: 16px; line-height: 1; }
.region-group { border-color: color-mix(in srgb, var(--volt) 55%, var(--line)); }
.region-group .ghead { background: linear-gradient(90deg, var(--accent-soft), transparent 75%); }

/* ===== O'yin qatori: telefon — ikki qator (ixcham) ===== */
.mrow { display: flex; align-items: stretch; position: relative; transition: background-color 0.12s; }
.mrow::before { content: ""; position: absolute; top: 0; left: 10px; right: 10px; height: 1px; background: var(--line); }
.mlink { flex: 1; display: flex; align-items: center; gap: 10px; min-width: 0; min-height: 48px; padding: 5px 0 5px 6px; }
.mst { width: 46px; flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; text-align: center; font-size: 12px; font-weight: 550; color: var(--muted); line-height: 1.15; }
.mst small { font-size: 10.5px; font-weight: 500; color: var(--faint); }
.mst .pens { font-size: 10px; font-weight: 600; color: var(--muted); }
.is-live .mst .st { color: var(--live); font-weight: 700; white-space: nowrap; }
.is-live .mst .st::before { content: ""; display: inline-block; width: 5px; height: 5px; margin-right: 3px; border-radius: 50%; background: currentColor; vertical-align: 2px; animation: pulse 1.4s ease-in-out infinite; }
.is-off .mst .st { color: var(--lose); font-size: 11px; }
.mteams { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.mcap { font-size: 11px; font-weight: 600; color: var(--muted); line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mt { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 14px; font-weight: 500; line-height: 18px; }
.mt .nm { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.is-ft .mt:not(.win) .nm { color: var(--muted); }
.mt.win .nm { font-weight: 650; }
.rc { display: inline-flex; gap: 2px; }
.msc { flex: none; min-width: 20px; display: flex; flex-direction: column; align-items: flex-end; gap: 3px; font-weight: 700; font-size: 14px; line-height: 18px; }
.msc span { min-height: 18px; }
.is-live .msc { color: var(--text); font-weight: 750; }
.is-ft .msc span { color: var(--muted); font-weight: 600; }
.is-ft .msc span.lead { color: var(--text); font-weight: 750; }
.mgoals { display: none; }
.res { width: 20px; height: 20px; flex: none; border-radius: 6px; display: grid; place-items: center; font-size: 11px; font-weight: 700; color: #fff; }
.res.w, .fb.w { background: var(--win); }
.res.d, .fb.d { background: var(--draw); }
.res.l, .fb.l { background: var(--lose); }
.star { width: 40px; flex: none; display: grid; place-items: center; color: var(--faint); transition: color 0.15s, transform 0.15s; }
.star .ic { width: 18px; height: 18px; }
.star.on, .pill.on { color: var(--gold); }
.star.on .ic path, .pill.on .ic path { fill: currentColor; }
.star:active { transform: scale(0.85); }
.star.big { width: 38px; height: 38px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); margin-left: auto; }
@media (hover: hover) { .mrow:hover { background: var(--surface-2); } .star:hover { color: var(--gold); } }
.mrow.sel { background: var(--accent-soft); }
.mrow.sel::after { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px; border-radius: 0 3px 3px 0; background: var(--accent); }
.mrow.flash { animation: flash 2.4s ease-out; }
@keyframes flash { 0%, 30% { background: color-mix(in srgb, var(--volt) 35%, transparent); } 100% { background: transparent; } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

/* ===== O'yin qatori: keng ekran — bir qator (uy jamoasi | hisob | mehmon) + gol urganlar ===== */
@container main (min-width: 560px) {
  .mlink {
    display: grid; grid-template-columns: 48px minmax(0, 1fr) 64px minmax(0, 1fr) 22px;
    grid-template-rows: auto auto auto; column-gap: 10px; align-items: center;
    min-height: 40px; padding: 3px 0 3px 6px;
  }
  .mlink:has(.mcap) { grid-template-columns: 48px minmax(0, 1fr) 64px minmax(0, 1fr) minmax(0, 0.62fr); }
  .mteams { display: contents; }
  .mst { grid-column: 1; grid-row: 2; }
  .mcap { grid-column: 5; grid-row: 2; text-align: right; font-weight: 550; padding-right: 2px; }
  .mt { grid-row: 2; font-size: 13.5px; }
  .mt:nth-of-type(1) { grid-column: 2; flex-direction: row-reverse; text-align: right; }
  .mt:nth-of-type(2) { grid-column: 4; }
  .mt .rc { flex: none; }
  .msc { grid-column: 3; grid-row: 2; flex-direction: row; justify-content: center; align-items: center; gap: 0; height: 24px; border-radius: 7px; background: var(--surface-2); font-size: 14px; }
  .msc span { min-height: 0; min-width: 0; }
  .msc .sh::after { content: "–"; margin: 0 5px; color: var(--faint); font-weight: 500; }
  .mlink:has(.sh:empty) .msc { background: transparent; }
  .mlink:has(.sh:empty) .msc .sh::after { margin: 0; }
  .is-live .msc { box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--live) 45%, transparent); }
  .mrow.sel .msc { background: var(--surface); }
  .res { grid-column: 5; grid-row: 2; }
  .mgoals { display: contents; }
  .mgoals span { grid-row: 3; font-size: 11px; line-height: 14px; color: var(--muted); min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: -1px; }
  .mgoals .gh { grid-column: 2; text-align: right; }
  .mgoals .ga { grid-column: 4; }
}

.crest { width: var(--s); height: var(--s); flex: none; display: inline-grid; place-items: center; position: relative; }
.crest img { width: 100%; height: 100%; object-fit: contain; }
.crest.noimg { border-radius: 50%; background: var(--surface-3); }
.crest.noimg::before { content: attr(data-i); font-size: calc(var(--s) * 0.36); font-weight: 750; color: var(--muted); letter-spacing: -0.02em; }
:root[data-theme="dark"] .crest img { filter: drop-shadow(0 0 0.6px rgba(255, 255, 255, 0.55)); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .crest img { filter: drop-shadow(0 0 0.6px rgba(255, 255, 255, 0.55)); } }
.rcard, .ycard { display: inline-block; width: 7px; height: 10px; border-radius: 1.5px; background: var(--live); vertical-align: -1px; }
.ycard { background: #f5c518; }
.rcard.big, .ii .ycard { width: 10px; height: 14px; border-radius: 2px; }

/* ===== Umumiy elementlar ===== */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); margin: 0 var(--pad) 8px; padding: 12px 14px; box-shadow: var(--shadow-1); }
.card h3 { font-size: 13.5px; font-weight: 700; letter-spacing: -0.005em; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.card h4 { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); margin: 12px 0 4px; }
.empty { text-align: center; padding: 36px 20px 24px; color: var(--muted); }
.empty-ic { width: 56px; height: 56px; margin: 0 auto 12px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center; }
.empty-ic .ic { width: 28px; height: 28px; color: var(--faint); }
.empty b { display: block; color: var(--text); font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.empty p { margin: 0 auto; max-width: 360px; font-size: 13px; }
.btn-block { display: flex; align-items: center; justify-content: center; margin: 8px calc(var(--pad) + 2px) 14px; height: 44px; border-radius: 13px; background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: 14px; }
.pill { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 13px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); font-size: 12.5px; font-weight: 650; color: var(--text-2); transition: background-color 0.15s; }
.pill .ic { width: 16px; height: 16px; }
.pill .on-text, .pill.on .off-text { display: none; }
.pill.on .on-text { display: inline; }
@media (hover: hover) { .pill:hover { background: var(--surface-3); } }
.sec { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin: 16px calc(var(--pad) + 2px) 8px; }
.page-title { padding: 14px calc(var(--pad) + 2px) 10px; }
.page-title h1 { font-family: var(--display); font-size: 20px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.hint, .loading { color: var(--muted); padding: 16px; text-align: center; font-size: 13px; }
.skel { display: block; height: 52px; margin: 0 0 1px; background: linear-gradient(90deg, var(--surface) 0%, var(--surface-2) 50%, var(--surface) 100%); background-size: 200% 100%; animation: skel 1.2s linear infinite; }
@keyframes skel { to { background-position: -200% 0; } }
.searchbar { display: flex; align-items: center; gap: 8px; margin: 4px var(--pad) 10px; padding: 0 12px; height: 42px; border-radius: 13px; background: var(--surface); border: 1px solid var(--line); transition: border-color 0.15s, box-shadow 0.15s; }
.searchbar:focus-within { border-color: var(--text); box-shadow: 0 0 0 3px var(--accent-soft); }
.searchbar.big { margin-top: 10px; height: 46px; }
.searchbar span { color: var(--faint); display: grid; }
.searchbar .ic { width: 18px; height: 18px; }
.searchbar input { flex: 1; border: 0; outline: 0; background: transparent; color: var(--text); font: inherit; font-size: 16px; height: 100%; min-width: 0; }
.tg-hint { display: flex; gap: 12px; align-items: center; margin: 12px var(--pad); padding: 12px 14px; border-radius: var(--r-lg); background: var(--accent-soft); color: var(--text); font-size: 13px; }
.tg-hint .ic { color: #2aabee; width: 26px; height: 26px; }
.tg-hint p { margin: 0; }
html.tg .tg-hint { display: none; }

/* ===== Liga va jamoa sarlavhasi ===== */
.phead { display: flex; align-items: center; gap: 12px; margin: 10px var(--pad) 4px; padding: 12px 14px; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.phead .ph-txt { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.phead small { color: var(--muted); font-size: 12px; font-weight: 550; }
.phead h1 { font-family: var(--display); font-size: 18px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.phead span { color: var(--muted); font-size: 12px; }
.phead.team { background: radial-gradient(130% 140% at 0% 0%, color-mix(in srgb, var(--tc, var(--volt)) 22%, transparent), transparent 62%), var(--surface); }
.phead .lgb { border-radius: 12px; padding: 5px; }
.week-nav { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 4px var(--pad) 2px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.week-nav .pill { height: 30px; padding: 0 10px; font-size: 12.5px; }
.week-nav .ic { width: 15px; height: 15px; }

/* ===== Tablar ===== */
.tabs { position: sticky; top: calc(var(--top-h) + env(safe-area-inset-top)); z-index: 15; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; background: var(--bg); padding: 8px var(--pad); }
.tabs::-webkit-scrollbar { display: none; }
.tabs button, .tabs a { flex: none; height: 30px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--muted); display: inline-flex; align-items: center; border: 1px solid transparent; transition: color 0.15s, background-color 0.15s; }
.tabs .on { background: var(--text); color: var(--surface); }
@media (hover: hover) { .tabs button:not(.on):hover, .tabs a:not(.on):hover { color: var(--text); background: var(--surface-2); } }
.tabpane { display: none; }
.tabpane.on { display: block; animation: fadein 0.18s ease-out; }
@keyframes fadein { from { opacity: 0; transform: translateY(3px); } to { opacity: 1; transform: none; } }

/* ===== O'yin sarlavhasi (jamoa ranglari, Unbounded raqamlar) ===== */
.mhead {
  position: relative; margin: 10px var(--pad) 2px; padding: 12px 12px 14px; border-radius: var(--r-xl); overflow: hidden;
  background:
    radial-gradient(90% 120% at 0% 0%, color-mix(in srgb, var(--hc, var(--volt)) 20%, transparent), transparent 62%),
    radial-gradient(90% 120% at 100% 0%, color-mix(in srgb, var(--ac, var(--coral)) 20%, transparent), transparent 62%),
    var(--surface);
  border: 1px solid var(--line); box-shadow: var(--shadow-1);
}
.mh-league { display: flex; align-items: center; justify-content: center; gap: 7px; font-size: 12px; font-weight: 550; color: var(--muted); text-align: center; margin: 0 auto 10px; max-width: 100%; }
.mh-league span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (hover: hover) { .mh-league:hover { color: var(--text); } }
.mh-main { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: start; gap: 6px; }
.mh-team { display: flex; flex-direction: column; align-items: center; gap: 7px; text-align: center; font-weight: 650; font-size: 13.5px; line-height: 1.25; text-wrap: balance; overflow-wrap: anywhere; }
.mh-team .crest { width: 46px; height: 46px; }
.mh-score { min-width: 96px; padding-top: 2px; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.mh-score .big { font-size: 32px; font-weight: 750; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; display: flex; align-items: center; gap: 8px; }
.mh-score .big i { font-style: normal; font-weight: 500; color: var(--faint); font-size: 0.6em; }
.mh-score .big.pre { font-size: 22px; }
.mst-long { display: inline-flex; align-items: center; gap: 5px; min-height: 22px; padding: 2px 9px; border-radius: 999px; background: color-mix(in srgb, var(--surface-2) 80%, transparent); font-size: 11.5px; font-weight: 650; color: var(--muted); line-height: 1.2; }
.is-live .mst-long { background: var(--live-soft); color: var(--live); }
.is-live .mst-long::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; animation: pulse 1.4s ease-in-out infinite; flex: none; }
.pens { font-size: 11.5px; font-weight: 650; color: var(--muted); }
.mh-scorers { display: grid; grid-template-columns: minmax(0, 1fr) 18px minmax(0, 1fr); gap: 6px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); line-height: 1.5; }
.mh-scorers ul { list-style: none; margin: 0; padding: 0; }
.mh-scorers ul:first-child { text-align: right; }
.mh-scorers b { color: var(--text-2); font-weight: 650; font-variant-numeric: tabular-nums; }
.mh-ball { display: grid; justify-content: center; color: var(--faint); padding-top: 2px; }
.mh-ball .ic { width: 13px; height: 13px; }
.mh-actions { display: flex; justify-content: center; gap: 6px; margin-top: 12px; }
@container main (min-width: 620px) {
  .mhead { padding: 16px 22px 18px; }
  .mh-team { font-size: 15px; gap: 9px; }
  .mh-team .crest { width: 60px; height: 60px; }
  .mh-score { min-width: 140px; padding-top: 4px; }
  .mh-score .big { font-size: 40px; }
  .mh-score .big.pre { font-size: 28px; }
}

/* ===== Hodisalar lentasi ===== */
.timeline { padding: 6px 0; }
.tl-period { display: flex; align-items: center; gap: 10px; margin: 6px 12px; font-size: 11px; font-weight: 650; color: var(--muted); white-space: nowrap; }
.tl-period::before, .tl-period::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.tl-item { display: grid; grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr); align-items: center; min-height: 40px; padding: 2px 0; }
.tl-min { grid-column: 2; grid-row: 1; justify-self: center; min-width: 34px; height: 22px; padding: 0 6px; border-radius: 999px; display: grid; place-items: center; background: var(--surface-2); font-size: 11.5px; font-weight: 700; color: var(--text-2); }
.tl-item.is-goal .tl-min { background: var(--accent); color: var(--accent-ink); }
.tl-body { grid-row: 1; display: flex; align-items: center; gap: 8px; min-width: 0; }
.tl-item.home .tl-body { grid-column: 1; flex-direction: row-reverse; text-align: right; padding-left: 8px; }
.tl-item.away .tl-body { grid-column: 3; padding-right: 8px; }
.tl-txt { flex: 0 1 auto; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.tl-txt b { font-size: 13px; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tl-txt small { font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tl-txt .in::before { content: "↑ "; color: var(--win); font-weight: 800; }
.tl-txt .out::before { content: "↓ "; font-weight: 800; }
.tl-score { flex: none; padding: 2px 6px; border-radius: 6px; background: var(--text); color: var(--surface); font-size: 11px; font-weight: 800; font-variant-numeric: tabular-nums; }
.ii { width: 22px; height: 22px; flex: none; display: grid; place-items: center; font-size: 14px; font-weight: 800; }
.ii .ic { width: 17px; height: 17px; }
.ii.goal { color: var(--win); }
.ii.own, .ii.miss { color: var(--lose); }
.ii.sub { color: var(--muted); font-size: 15px; }
.ii.var { width: 28px; font-size: 8.5px; border: 1.5px solid var(--muted); border-radius: 5px; color: var(--muted); }
.ii.yr { position: relative; }
.ii.yr .ycard { position: absolute; left: 3px; top: 3px; }
.ii.yr .rcard { position: absolute; left: 9px; top: 7px; }
.shootout .so { display: flex; align-items: center; gap: 8px; padding: 4px 0; font-size: 13px; }
.shootout .so.away { flex-direction: row-reverse; text-align: right; }
.info dl { margin: 0; }
.info dl div { display: flex; justify-content: space-between; gap: 14px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 13px; }
.info dl div:first-child { border-top: 0; padding-top: 0; }
.info dt { color: var(--muted); flex: none; }
.info dd { margin: 0; text-align: right; font-weight: 600; }
.info dd a { color: var(--link); text-decoration: underline; text-decoration-color: var(--volt); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.info dd small.tz { color: var(--muted); font-weight: 500; font-size: 11px; }
@container main (min-width: 700px) {
  .info-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 0 8px; align-items: start; padding: 0 var(--pad); }
  .info-grid .card { margin-left: 0; margin-right: 0; }
  .info-grid .info { position: sticky; top: calc(var(--top-h) + 56px); }
}

/* ===== Maydon va tarkiblar ===== */
.pitch-wrap { margin: 0 var(--pad) 8px; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-1); }
.pitch-cap { display: flex; align-items: center; gap: 8px; padding: 8px 12px; font-size: 13px; font-weight: 650; }
.pitch-cap > span:not(.crest) { margin-left: auto; padding: 2px 8px; border-radius: 999px; background: var(--surface-2); color: var(--muted); font-size: 11.5px; font-weight: 700; font-variant-numeric: tabular-nums; }
.pitch { position: relative; aspect-ratio: 68 / 104; background: radial-gradient(120% 60% at 50% 50%, rgba(255, 255, 255, 0.07), transparent 70%), repeating-linear-gradient(180deg, var(--pitch-a) 0 7.14%, var(--pitch-b) 7.14% 14.28%); }
.pitch-mark i { position: absolute; border: 2px solid rgba(255, 255, 255, 0.3); }
.pitch-mark .pm-half { left: 0; right: 0; top: 50%; border-width: 2px 0 0; }
.pitch-mark .pm-circle { width: 26%; aspect-ratio: 1; border-radius: 50%; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.pitch-mark .pm-box { left: 22%; right: 22%; height: 14%; }
.pitch-mark .pm-six { left: 37%; right: 37%; height: 5%; }
.pitch-mark .pm-n { top: -2px; border-top: 0; }
.pitch-mark .pm-s { bottom: -2px; border-bottom: 0; }
.pl-area { position: absolute; inset: 5% 3%; }
.pl { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; width: 76px; gap: 3px; }
.pl-num { position: relative; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 11.5px; font-weight: 800; font-variant-numeric: tabular-nums; border: 2px solid rgba(255, 255, 255, 0.92); box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3); }
.pl-name { max-width: 76px; padding: 0 5px; border-radius: 5px; background: rgba(6, 20, 12, 0.48); color: #fff; font-size: 10px; font-weight: 650; line-height: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-num em { position: absolute; font-style: normal; }
.b-goal { right: -10px; top: -6px; width: 15px; height: 15px; border-radius: 50%; background: #fff; color: #111; display: grid; place-items: center; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); }
.b-goal .ic { width: 13px; height: 13px; }
.b-goal sup { position: absolute; right: -6px; top: -6px; font-size: 9px; font-weight: 800; color: #fff; text-shadow: 0 1px 2px #000; }
.b-card { left: -6px; top: -4px; width: 8px; height: 11px; border-radius: 2px; background: #f5c518; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.35); }
.b-card.red { background: var(--live); }
.b-sub { right: -8px; bottom: -4px; width: 13px; height: 13px; border-radius: 50%; display: grid; place-items: center; background: #6b7280; color: #fff; font-size: 8px; }
.benches { display: grid; grid-template-columns: 1fr; }
.plist { list-style: none; margin: 0; padding: 0; }
.plist li { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-top: 1px solid var(--line); font-size: 13px; }
.plist li:first-child { border-top: 0; }
.plist .num { width: 22px; flex: none; text-align: center; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; font-size: 12px; }
.plist .pn { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.plist .pn small { color: var(--muted); font-size: 11.5px; }
.plist li.unused { color: var(--muted); }
.plist .sub-in, .plist .sub-out { margin-left: auto; font-size: 11px; font-weight: 700; font-variant-numeric: tabular-nums; }
.plist .sub-in { color: var(--win); }
.plist .sub-out { color: var(--muted); }
.plist .tag { font-size: 11px; }
.plist .age { margin-left: auto; color: var(--muted); font-size: 12px; }
.coach { margin: 10px 0 0; font-size: 12.5px; color: var(--muted); }
@container main (min-width: 560px) {
  .benches { grid-template-columns: 1fr 1fr; gap: 0 8px; padding: 0 var(--pad); }
  .benches .card { margin-left: 0; margin-right: 0; }
}
@container main (min-width: 720px) {
  .lineups-grid { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 0 8px; padding: 0 var(--pad); align-items: start; }
  .lineups-grid .pitch-wrap { margin: 0 0 8px; }
  .lineups-grid .benches { grid-template-columns: 1fr 1fr; padding: 0; }
}

/* ===== Statistika ===== */
.stats-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; font-weight: 700; font-size: 13px; }
.stat { padding: 6px 0; }
.stat-top { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 6px; margin-bottom: 5px; }
.stat-top span { text-align: center; color: var(--muted); font-size: 12.5px; font-weight: 550; }
.stat-top b { min-width: 40px; height: 22px; padding: 0 7px; border-radius: 999px; display: inline-grid; place-items: center; font-size: 12.5px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--text-2); }
.stat-top b.lead:first-child { background: var(--home); color: var(--home-ink); }
.stat-top b.lead:last-child { background: var(--away); color: var(--away-ink); }
.stat-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.stat-bar span { height: 6px; border-radius: 99px; background: var(--surface-2); overflow: hidden; display: flex; }
.stat-bar .h { justify-content: flex-end; }
.stat-bar i { display: block; height: 100%; border-radius: 99px; }
.stat-bar .h i { background: var(--home); }
.stat-bar .a i { background: var(--away); }

/* ===== Jadval ===== */
.tbl { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 13px; font-variant-numeric: tabular-nums; }
.tbl th { padding: 6px 3px; border-bottom: 1px solid var(--line); font-size: 10.5px; font-weight: 650; color: var(--faint); text-align: center; text-transform: uppercase; letter-spacing: 0.04em; }
.tbl td { padding: 6px 3px; border-bottom: 1px solid var(--line); text-align: center; color: var(--text-2); }
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl .tn { width: 100%; text-align: left; }
.tbl .tn a { display: flex; align-items: center; gap: 8px; min-width: 0; color: var(--text); font-weight: 550; }
.tbl .tn span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 46vw; }
.tbl .rk { width: 30px; }
.tbl .rk span { display: inline-grid; place-items: center; width: 21px; height: 21px; border-radius: 7px; font-size: 11.5px; font-weight: 700; }
.tbl .rk .zone { background: var(--zc); color: #0b0e13; }
.tbl td b { color: var(--text); font-weight: 750; }
.tbl tr.hl td { background: var(--accent-soft); }
.tbl tr.hl td:first-child { box-shadow: inset 3px 0 0 var(--accent); }
@media (hover: hover) { .tbl tbody tr:not(.hl):hover td { background: var(--surface-2); } }
@container main (max-width: 430px) { .tbl.full .xs { display: none; } }
@container main (min-width: 600px) { .tbl .tn span { max-width: none; } .tbl td, .tbl th { padding-left: 7px; padding-right: 7px; } }
.legend { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 11.5px; color: var(--muted); }
.legend i { display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }

/* ===== Liga statistikasi: to'purarlar, assistentlar va boshqalar ===== */
.leaders { display: grid; grid-template-columns: 1fr; gap: 0 8px; }
.leaders .card { padding: 10px 12px 6px; }
.ldr { list-style: none; margin: 0; padding: 0; counter-reset: ldr; }
.ldr li { display: grid; grid-template-columns: 22px 20px minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 6px 0; border-top: 1px solid var(--line); font-size: 13px; }
.ldr li:first-child { border-top: 0; }
.ldr .rk { font-weight: 700; color: var(--muted); font-size: 12px; text-align: center; font-variant-numeric: tabular-nums; }
.ldr li:first-child .rk { background: var(--accent); color: var(--accent-ink); border-radius: 6px; height: 20px; display: grid; place-items: center; }
.ldr .who { min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.ldr .who b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ldr .who small { color: var(--muted); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ldr .val { font-weight: 750; font-size: 14px; font-variant-numeric: tabular-nums; }
.ldr .val small { font-family: var(--font); font-size: 11px; color: var(--muted); font-weight: 500; margin-left: 4px; }
@container main (min-width: 600px) { .leaders { grid-template-columns: 1fr 1fr; padding: 0 var(--pad); } .leaders .card { margin-left: 0; margin-right: 0; } }

/* ===== Shakl va bosh-boshiga ===== */
.form-row { display: flex; align-items: center; gap: 8px; padding: 7px 0; font-size: 13px; }
.form-row + .form-row { border-top: 1px solid var(--line); }
.form { margin-left: auto; display: flex; gap: 3px; }
.fb { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; color: #fff; font-style: normal; font-size: 11px; font-weight: 700; }
.h2h-sum { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; }
.h2h-sum b { display: block; font-size: 22px; font-weight: 750; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.h2h-sum small { color: var(--muted); font-size: 11.5px; }
.h2h-bar { display: flex; gap: 3px; height: 6px; margin: 10px 0 6px; }
.h2h-bar i { border-radius: 4px; min-width: 3px; }
.h2h-bar .h { background: var(--home); }
.h2h-bar .d { background: var(--draw); }
.h2h-bar .a { background: var(--away); }
.games { list-style: none; margin: 6px 0 0; padding: 0; }
.games li { display: grid; grid-template-columns: 60px minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 6px; padding: 7px 0; border-top: 1px solid var(--line); font-size: 12.5px; }
.games .gd { display: flex; flex-direction: column; font-size: 11px; color: var(--muted); line-height: 1.2; }
.games .gd small { font-size: 10px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.games .gt { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.games .gt.r { text-align: left; }
.games li .gt:first-of-type { text-align: right; }
.games .gs { padding: 2px 7px; border-radius: 6px; background: var(--surface-2); font-variant-numeric: tabular-nums; font-weight: 700; }

/* ===== Sharh ===== */
.comm ul { list-style: none; margin: 0; padding: 0; }
.comm li { display: flex; gap: 10px; padding: 7px 0; border-top: 1px solid var(--line); font-size: 13px; }
.comm li:first-child { border-top: 0; }
.comm li b { width: 38px; flex: none; color: var(--muted); font-variant-numeric: tabular-nums; }
.comm .note { margin: 0 0 6px; font-size: 11.5px; color: var(--muted); }

/* ===== Ligalar ro'yxati ===== */
.lrow { display: flex; align-items: center; position: relative; transition: background-color 0.12s; }
.lrow::before { content: ""; position: absolute; top: 0; left: 12px; right: 12px; height: 1px; background: var(--line); }
.lrow a { flex: 1; display: flex; align-items: center; gap: 10px; min-width: 0; padding: 5px 0 5px 12px; min-height: 42px; }
.ln { display: flex; flex-direction: column; min-width: 0; }
.ln b { font-weight: 600; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ln small { color: var(--muted); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lrow .glive { margin-right: 2px; }
@media (hover: hover) { .lrow:hover { background: var(--surface-2); } }
.lg-cols { padding: 0 var(--pad); }
@container main (min-width: 620px) {
  .lg-cols { columns: 2; column-gap: 8px; }
  .lg-cols .group { break-inside: avoid; display: inline-block; width: 100%; }
}

/* ===== Sozlamalar oynasi ===== */
.sheet { border: 0; padding: 0; margin: auto auto 0; width: 100%; max-width: 480px; max-height: 92dvh; background: var(--surface); color: var(--text); border-radius: 22px 22px 0 0; box-shadow: var(--shadow-float); }
.sheet[open] { animation: sheetin 0.26s cubic-bezier(0.2, 0.9, 0.3, 1); }
.sheet::backdrop { background: rgba(5, 8, 12, 0.45); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
@keyframes sheetin { from { transform: translateY(60px); opacity: 0.4; } to { transform: none; opacity: 1; } }
.sheet-in { padding: 6px 16px calc(16px + var(--safe-b)); }
.sheet-in::before { content: ""; display: block; width: 36px; height: 4px; border-radius: 3px; background: var(--line-2); margin: 4px auto 6px; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 2px 0; }
.sheet-head h2 { font-family: var(--display); font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
.sheet-head .icon-btn { margin-right: -6px; background: var(--surface-2); width: 30px; height: 30px; border-radius: 50%; }
.sheet-head .icon-btn .ic { width: 16px; height: 16px; }
.sheet h3 { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin: 14px 0 6px; }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 3px; padding: 3px; background: var(--surface-2); border-radius: 12px; }
.seg button { height: 34px; border-radius: 9px; font-size: 13px; font-weight: 600; color: var(--muted); transition: background-color 0.15s, color 0.15s; }
.seg button.on { background: var(--surface); color: var(--text); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 0 0 1px var(--line); }
.select { width: 100%; height: 40px; padding: 0 10px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface-2); color: var(--text); font: inherit; font-size: 14px; }
.sheet-note { margin: 6px 2px 0; font-size: 12px; color: var(--muted); }
.sheet .btn-block { width: 100%; margin: 18px 0 2px; border: 0; font: inherit; font-weight: 700; }
html.tg .theme-pref { display: none; }

/* ===== Bildirishnoma (toast) ===== */
#toasts { position: fixed; left: 0; right: 0; bottom: calc(var(--tabbar-h) + var(--bar-gap) * 2 + var(--safe-b)); z-index: 50; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 0 12px; pointer-events: none; }
.toast { pointer-events: auto; width: 100%; max-width: 400px; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 16px; background: rgba(11, 14, 19, 0.94); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); color: #fff; box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.5); border: 1px solid rgba(198, 241, 53, 0.25); font-size: 13px; animation: toastin 0.28s cubic-bezier(0.2, 0.9, 0.3, 1); }
.toast .t-ic { font-size: 20px; }
.toast b { display: block; }
.toast small { color: #b4bccb; }
@keyframes toastin { from { transform: translateY(16px) scale(0.98); opacity: 0; } to { transform: none; opacity: 1; } }

/* ===== Kompyuter: yuqori menyu, chap ustun (ligalar), o'ng ustun (o'yin tafsiloti) ===== */
@media (min-width: 1024px) {
  :root:not(.tg) { --top-h: 56px; --pad: 0px; }
  :root:not(.tg) body { padding-bottom: 40px; }
  :root:not(.tg) .tabbar, :root:not(.tg) .m-only { display: none; }
  :root:not(.tg) .appbar-in { padding: 0 24px; gap: 22px; }
  :root:not(.tg) .back-btn { display: none; }
  :root:not(.tg) .brand.compact { display: flex; }
  :root:not(.tg) .brand.compact + .appbar-title { display: none; }
  :root:not(.tg) .brand-word { width: 105px; height: 17px; }
  :root:not(.tg) .topnav { display: flex; align-items: center; gap: 2px; }
  :root:not(.tg) .topnav a { position: relative; height: 32px; padding: 0 12px; border-radius: 999px; display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; color: var(--muted); transition: color 0.15s, background-color 0.15s; }
  :root:not(.tg) .topnav a:hover { color: var(--text); background: var(--surface-2); }
  :root:not(.tg) .topnav a.on { color: var(--accent-ink); background: var(--accent); }
  :root:not(.tg) .topnav .nav-badge { position: static; box-shadow: none; }
  :root:not(.tg) .topsearch { display: flex; align-items: center; gap: 8px; margin-left: auto; width: min(340px, 28vw); height: 36px; padding: 0 8px 0 12px; border-radius: 11px; background: var(--surface-2); border: 1px solid var(--line); color: var(--faint); transition: border-color 0.15s, box-shadow 0.15s, background-color 0.15s; }
  :root:not(.tg) .topsearch .ic { width: 16px; height: 16px; }
  :root:not(.tg) .topsearch:focus-within { background: var(--surface); border-color: var(--text); box-shadow: 0 0 0 3px var(--accent-soft); }
  :root:not(.tg) .topsearch input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; color: var(--text); font: inherit; font-size: 13.5px; }
  :root:not(.tg) .topsearch input::-webkit-search-cancel-button { display: none; }
  :root:not(.tg) .topsearch kbd { font: inherit; font-size: 11px; font-weight: 600; color: var(--faint); border: 1px solid var(--line-2); border-radius: 5px; padding: 0 6px; }
  :root:not(.tg) .top-actions { margin-left: 0; }
  :root:not(.tg) .shell { display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: 18px; padding: 16px 24px 0; align-items: start; }
  :root:not(.tg) #content { max-width: 920px; margin: 0; width: 100%; justify-self: start; }
  :root:not(.tg) body[data-page="leagues"] .shell { grid-template-columns: minmax(0, 1fr); }
  :root:not(.tg) body[data-page="leagues"] .rail-l { display: none; }
  :root:not(.tg) body[data-page="leagues"] #content { justify-self: center; }
  :root:not(.tg) .rail-l { display: block; }
  :root:not(.tg) .sub-head { padding-top: 0; }
  :root:not(.tg) .sub-head::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 16px; background: var(--bg); }
  :root:not(.tg) .tabs { padding-top: 0; }
  :root:not(.tg) .mhead, :root:not(.tg) .phead { margin-top: 0; }
  :root:not(.tg) .page-title { padding-top: 2px; }
  :root:not(.tg) #toasts { left: auto; right: 24px; bottom: 24px; align-items: flex-end; padding: 0; }
  :root:not(.tg) .sheet { margin: auto; border-radius: 22px; }
  :root:not(.tg) .sheet-in::before { display: none; }
  :root:not(.tg) .sheet-in { padding-top: 12px; }
}
@media (min-width: 1360px) {
  :root:not(.tg) .shell { grid-template-columns: 236px minmax(0, 1fr) 380px; }
  :root:not(.tg) body[data-page="leagues"] .shell { grid-template-columns: minmax(0, 1fr) 380px; }
  :root:not(.tg) .rail-r { display: block; }
}
.rail { position: sticky; top: calc(var(--top-h) + 16px); max-height: calc(100dvh - var(--top-h) - 32px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; border-radius: var(--r-lg); }
.rail::-webkit-scrollbar { display: none; }
.rail-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 4px; margin-bottom: 10px; box-shadow: var(--shadow-1); }
.rail-h { display: flex; align-items: center; gap: 7px; padding: 8px 8px 6px; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.rail-h .ic { width: 13px; height: 13px; }
.rail-list a { display: flex; align-items: center; gap: 9px; padding: 5px 8px; border-radius: 10px; min-width: 0; transition: background-color 0.12s; }
.rail-list a > span { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.rail-list b { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rail-list small { font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rail-list a:hover { background: var(--surface-2); }
.rail-list a.on { background: var(--accent-soft); }
.rail-list a.on b { color: var(--text); }
.rail-more { display: flex; align-items: center; justify-content: space-between; margin-top: 2px; padding: 8px; border-top: 1px solid var(--line); font-size: 12.5px; font-weight: 650; color: var(--link); }
.rail-more .ic { width: 14px; height: 14px; }

/* O'ng ustundagi o'yin tafsiloti */
.rdetail { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-1); container: rail / inline-size; --pad: 0px; }
.rdetail-bar { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-bottom: 1px solid var(--line); font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.rdetail-bar a { margin-left: auto; display: inline-flex; align-items: center; gap: 3px; text-transform: none; letter-spacing: 0; font-size: 12.5px; font-weight: 650; color: var(--link); }
.rdetail-bar a .ic { width: 14px; height: 14px; }
.rdetail .mhead { margin: 0; border: 0; border-radius: 0; box-shadow: none; }
.rdetail .tabs { position: sticky; top: 0; padding: 8px 10px; background: var(--surface); border-bottom: 1px solid var(--line); }
.rdetail .card, .rdetail .pitch-wrap { margin: 0; border: 0; border-radius: 0; box-shadow: none; }
.rdetail .card + .card, .rdetail .pitch-wrap + .benches .card { border-top: 1px solid var(--line); }
.rdetail .benches { padding: 0; grid-template-columns: 1fr; }
.rdetail .empty { padding: 26px 14px; }
.rdetail .mh-actions .pill { height: 30px; font-size: 12px; }
.rail.busy .rdetail { opacity: 0.55; transition: opacity 0.2s; }
.rail-loading { padding: 12px; }
.rail-loading .skel { border-radius: 12px; margin-bottom: 8px; height: 100px; }
.rail-r .group { margin-bottom: 10px; }
.list-wrap > .group { margin: 0 var(--pad) 8px; }

/* ===== Telegram Mini App ===== */
html.tg .appbar { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom: 0; padding-top: var(--tg-content-safe-area-inset-top, 0px); }
html.tg .appbar-in { padding: 0 4px 0 14px; }
html.tg .brand, html.tg .back-btn { display: none !important; }
html.tg .appbar-title { display: block; font-size: 15px; font-weight: 650; letter-spacing: -0.01em; }
html.tg .phead { padding: 8px 12px; gap: 10px; }
html.tg .phead .lgb { --s: 34px !important; border-radius: 9px; padding: 3px; }
html.tg .phead .crest { --s: 36px !important; width: 36px; height: 36px; }
html.tg .phead h1 { font-family: var(--font); font-size: 15px; font-weight: 700; }
html.tg .phead small, html.tg .phead span { font-size: 11.5px; }
html.tg .prefs-btn { background: var(--surface); border-color: transparent; }
html.tg body { padding-bottom: calc(54px + var(--tg-bottom) + 10px); }
html.tg .tabbar {
  left: 0; right: 0; bottom: 0; transform: none; width: auto; height: calc(54px + var(--tg-bottom));
  padding: 3px 6px var(--tg-bottom); border-radius: 0; border: 0; border-top: 1px solid var(--line);
  background: var(--tg-theme-bottom-bar-bg-color, var(--surface));
  -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none;
}
html.tg .tabbar a { font-size: 10px; }
html.tg .group, html.tg .card, html.tg .phead, html.tg .mhead, html.tg .pitch-wrap, html.tg .dchip, html.tg .chip:not(.on) { border-color: transparent; box-shadow: none; }
html.tg .region-group { border-color: color-mix(in srgb, var(--volt) 55%, transparent); }
html.tg #toasts { bottom: calc(54px + var(--tg-bottom) + 10px); }
html.tg .sheet-in { padding-bottom: calc(16px + var(--tg-bottom)); }
html.tg .mrow::before { left: 60px; }
html.tg .lrow::before { left: 50px; }
html.tg .page-title { display: none; }

/* ===== Sahifalar orasida silliq o'tish ===== */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.16s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  @view-transition { navigation: none; }
}
.ldr.recs .rk, .ldr.recs li:first-child .rk { background: none; color: inherit; font-size: 14px; }
.ldr a.who:hover b { text-decoration: underline; text-decoration-color: var(--volt); text-decoration-thickness: 2px; text-underline-offset: 2px; }
/* ===== Chrome kengaytmasi sahifasi ===== */
.ext-hero { display: flex; gap: 14px; align-items: flex-start; }
.ext-hero img { border-radius: 14px; flex: none; }
.ext-hero p { margin: 0 0 10px; color: var(--text-2); font-size: 13px; }
.ext-hero .btn-block { margin: 0; display: inline-flex; padding: 0 18px; height: 38px; }
.steps { margin: 0; padding-left: 20px; font-size: 13px; line-height: 1.55; }
.steps li { padding: 2px 0; }
html[data-ext="1"] .ext-ok { display: block !important; }
html[data-ext="1"] .ext-promo { display: none !important; }
.ext-promo { display: flex; align-items: center; gap: 10px; padding: 10px; }
.ext-promo img { border-radius: 8px; flex: none; }
.ext-promo span { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.ext-promo b { font-size: 12.5px; }
.ext-promo small { font-size: 11px; color: var(--muted); }

/* Tablar sig'masa — o'ngda so'nish (davomi borligini ko'rsatadi) */
.tabs.ovf { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); scroll-snap-type: x proximity; }
.tabs.ovf.end { -webkit-mask-image: none; mask-image: none; }
.tabs > * { scroll-snap-align: start; }
.rdetail .tabs { gap: 2px; }
.rdetail .tabs button, .rdetail .tabs a { padding: 0 9px; font-size: 12px; height: 28px; }

/* ===== O'yin vaqt chizig'i (0'–90'): gollar va qizil kartochkalar ===== */
.mbar { padding: 22px 16px 8px; }
.mbar-track { position: relative; height: 6px; border-radius: 99px; background: var(--surface-2); }
.mbar-fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 99px; background: var(--accent); }
.mbar-ht { position: absolute; top: -3px; bottom: -3px; width: 2px; margin-left: -1px; background: var(--line-2); border-radius: 2px; }
.mbar-m { position: absolute; top: -18px; width: 16px; height: 16px; margin-left: -8px; display: grid; place-items: center; color: var(--home); }
.mbar-m.away { top: 8px; color: var(--away); }
.mbar-m .ic { width: 14px; height: 14px; }
.mbar-m .rcard { width: 8px; height: 11px; }
.mbar-scale { position: relative; display: flex; justify-content: space-between; margin-top: 20px; font-size: 10.5px; font-weight: 600; color: var(--faint); font-variant-numeric: tabular-nums; }
.mbar-scale span[style] { position: absolute; transform: translateX(-50%); }
.rdetail .mbar { border-bottom: 1px solid var(--line); }
/* ===== Jonli jadval ===== */
.lt-note { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; margin: 0 var(--pad) 8px; padding: 8px 12px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); font-size: 12px; font-weight: 600; color: var(--text-2); }
.lt-note.in-card { border: 0; padding: 0; background: none; }
.lt-note a { color: var(--link); text-decoration: underline; text-decoration-color: var(--volt); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.lt-note span + a { margin-left: auto; }
.lt-note.in-card { margin: 0 0 8px; color: var(--muted); }
.tbl tr.lt td { background: color-mix(in srgb, var(--live) 5%, transparent); }
.tbl .mv { display: inline-block; width: 0; height: 0; margin-left: 3px; vertical-align: 2px; border: 4px solid transparent; }
.tbl .mv.up { border-bottom: 5px solid var(--win); border-top-width: 0; }
.tbl .mv.dn { border-top: 5px solid var(--lose); border-bottom-width: 0; }
.tbl .rk { white-space: nowrap; }
.lt-sc { flex: none; margin-left: 2px; padding: 1px 6px; border-radius: 6px; font-size: 11px; font-weight: 750; font-variant-numeric: tabular-nums; background: var(--surface-2); color: var(--text-2); }
.lt-sc.w { background: var(--win-soft); color: var(--win); }
.lt-sc.l { background: color-mix(in srgb, var(--lose) 13%, transparent); color: var(--lose); }
/* ===== Taqvim va boshlanishgacha vaqt ===== */
.countdown { font-size: 11.5px; font-weight: 650; color: var(--text-2); font-variant-numeric: tabular-nums; }
.cal-sub { display: flex; align-items: center; gap: 10px; margin: 6px var(--pad) 2px; }
.cal-sub small { color: var(--muted); font-size: 11.5px; line-height: 1.3; }
.cal-sub .pill { flex: none; }

/* ===== Ulashish oynasi ===== */
.share-preview { display: flex; flex-direction: column; gap: 2px; margin: 8px 0 14px; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); min-width: 0; }
.share-preview b { font-size: 13.5px; font-weight: 650; overflow-wrap: anywhere; }
.share-preview small { font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.share-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 6px; padding-bottom: 6px; }
.sn { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; padding: 4px 0; border-radius: 12px; font-size: 11.5px; font-weight: 600; color: var(--text-2); }
.sn span { max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sn i { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--c); color: #fff; font-style: normal; transition: transform 0.15s; }
.sn i svg { width: 26px; height: 26px; }
.sn i b { font-size: 14px; font-weight: 800; letter-spacing: -0.02em; }
.sn i.plain { background: var(--surface-2); color: var(--text); border: 1px solid var(--line); }
.sn i.plain .ic { width: 21px; height: 21px; }
.sn:active i { transform: scale(0.92); }
@media (hover: hover) { .sn:hover i { transform: translateY(-2px); } }
:root[data-theme="dark"] .sn[data-net="x"] i { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2); }
.phead .share-btn { margin-left: 4px; width: 38px; height: 38px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); flex: none; }
.phead .share-btn + .star.big { margin-left: 6px; }
.phead .share-btn:first-of-type { margin-left: auto; }

/* ===== O'yinchi kartochkasi (popover) ===== */
button.pl { cursor: pointer; }
button.pl:focus-visible { outline-offset: 4px; }
.plist button.pn { text-align: left; font: inherit; color: inherit; cursor: pointer; }
@media (hover: hover) { .plist button.pn:hover { text-decoration: underline; text-decoration-color: var(--volt); text-decoration-thickness: 2px; text-underline-offset: 3px; } }
.pp { width: min(340px, calc(100vw - 24px)); margin: auto; padding: 12px 14px 10px; border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--surface); color: var(--text); box-shadow: var(--shadow-float); }
.pp::backdrop { background: rgba(5, 8, 12, 0.35); }
.pp-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.pp-head .pl-num { position: static; width: 34px; height: 34px; flex: none; font-size: 13px; border-color: transparent; box-shadow: none; }
.pp-who { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.pp-who b { font-size: 14.5px; font-weight: 700; }
.pp-who small { font-size: 12px; color: var(--muted); }
.pp-head .icon-btn { width: 30px; height: 30px; border-radius: 50%; background: var(--surface-2); }
.pp-head .icon-btn .ic { width: 16px; height: 16px; }
.pp-stats { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.pp-stats div { padding: 7px 10px; border-radius: 10px; background: var(--surface-2); display: flex; flex-direction: column-reverse; gap: 1px; }
.pp-stats dt { font-size: 11px; color: var(--muted); line-height: 1.25; }
.pp-stats dd { margin: 0; font-size: 17px; font-weight: 750; font-variant-numeric: tabular-nums; }
.src-note { margin: 8px 0 0; font-size: 11px; color: var(--faint); }
/* ===== Videolar ===== */
.vids-card h3 .ic, .card h3 > .ic { width: 16px; height: 16px; color: var(--muted); }
.vids { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 46%); gap: 10px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; margin: 0 -2px; padding: 2px; }
.vids::-webkit-scrollbar { display: none; }
.vid { display: flex; flex-direction: column; gap: 6px; scroll-snap-align: start; min-width: 0; }
.vid-th { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: linear-gradient(135deg, var(--surface-3), var(--surface-2)); display: grid; place-items: center; }
.vid-th img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vid-th i { position: relative; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(11, 14, 19, 0.72); color: #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.vid-th i .ic { width: 15px; height: 15px; margin-left: 2px; }
.vid-th small { position: absolute; right: 6px; bottom: 6px; padding: 1px 5px; border-radius: 5px; background: rgba(11, 14, 19, 0.78); color: #fff; font-size: 10.5px; font-weight: 650; font-variant-numeric: tabular-nums; }
.vid-t { font-size: 12.5px; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (hover: hover) { .vid:hover .vid-t { text-decoration: underline; text-decoration-color: var(--volt); text-decoration-thickness: 2px; text-underline-offset: 2px; } }
/* ===== Yangiliklar ===== */
.news { list-style: none; margin: 0; padding: 0; }
.news li + li { border-top: 1px solid var(--line); }
.news a { display: flex; gap: 12px; align-items: flex-start; padding: 9px 0; }
.news img { width: 120px; height: 68px; flex: none; border-radius: 8px; object-fit: cover; background: var(--surface-2); }
.news.compact img { width: 88px; height: 50px; }
.news span { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.news b { font-size: 13.5px; font-weight: 650; line-height: 1.3; }
.news small { font-size: 12px; color: var(--text-2); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news em { font-style: normal; font-size: 11px; color: var(--muted); }
@media (hover: hover) { .news a:hover b { text-decoration: underline; text-decoration-color: var(--volt); text-decoration-thickness: 2px; text-underline-offset: 2px; } }

/* ===== Tashqi vidjetlar (Superliga — Sofascore) ===== */
.card.embed { padding: 0; overflow: hidden; }
.card.embed iframe { display: block; width: 100%; border: 0; background: #fff; }
.embed-note { margin: 0 calc(var(--pad) + 2px) 12px; }
.wlink { display: flex; align-items: center; gap: 10px; padding: 8px 10px 8px 12px; position: relative; }
.wlink::before { content: ""; position: absolute; top: 0; left: 10px; right: 10px; height: 1px; background: var(--line); }
.wlink .wl-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.wlink b { font-size: 13.5px; font-weight: 650; }
.wlink small { font-size: 11.5px; color: var(--muted); }
.wlink .chev { width: 16px; height: 16px; color: var(--faint); }
@media (hover: hover) { .wlink:hover { background: var(--surface-2); } }
