/*
 * DG-STATS-UI-REDESIGN-01 — İstatistikler sayfası açık, tablo merkezli görünüm (sahip onayı 10.10; onaylanan önizleme).
 * YALNIZ GÖRÜNÜM: işaretleme ve veri aynı; renkler sitenin kendi değişkenleri .sx kapsamında açık tonlarla yeniden tanımlanarak değişir.
 * Sitenin üst menüsü ve alt çubuğu koyu kalır; yalnız bu sayfanın içerik alanı açık zemindir. Diğer sayfalar etkilenmez (.sx yalnız stats.php'de).
 */
/* Yazı tipi: sitenin CSP kuralı (font-src yok) dış / gömülü yazı tipine izin vermez → yalnız cihaz yazı tipleri. */

.sx {
    --color-bg: #eef2f0;
    --color-surface: #ffffff;
    --color-surface-2: #f5f7f6;
    --color-surface-3: #e8eeeb;
    --color-border: #dde3e0;
    --color-border-strong: #c7d0cb;
    --color-text: #14201a;
    --color-text-secondary: #46554d;
    --color-text-muted: #5b6a63;
    --color-accent: #0b7a45;
    --color-accent-fill: #0b7a45;
    --color-accent-fill-hover: #096a3c;
    --color-accent-contrast: #ffffff;
    --color-accent-soft: #e3f3ea;
    --color-success: #1f9a55;
    --color-success-soft: #e4f5ec;
    --color-warning: #9a5b07;
    --color-warning-soft: #fff6e5;
    --color-danger: #c9402f;
    --color-danger-soft: #fdecea;
    --color-info: #2c5f9e;
    --color-info-soft: #e8f0fa;
    --color-focus: #0b7a45;
    --shadow-1: 0 1px 2px rgba(20, 32, 26, 0.08);
    --sx-head: "Bahnschrift", "Roboto Condensed", "Arial Narrow", "Segoe UI", system-ui, sans-serif;
    --sx-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --sx-win: #1f9a55; --sx-draw: #6f7c83; --sx-loss: #d4483f;
    --sx-cl: #2c64d8; --sx-eu: #e08a1e; --sx-down: #d4483f; --sx-other: #8b979e;

    color-scheme: light;
    color: var(--color-text);
    font-family: var(--sx-body);
    font-size: 15px;
    line-height: 1.45;
    display: grid;
    gap: 16px;
    min-width: 0;
}
/* içerik alanı açık zemin (üst menü / alt çubuk koyu kalır) */
.app-content:has(> .sx) { background: #eef2f0; max-width: none; }
.app-main:has(.sx) { background: #eef2f0; }
.sx > * { width: 100%; max-width: 1180px; margin-inline: auto; min-width: 0; }

.sx a { color: var(--color-accent); }
.sx .num, .sx .table__num, .sx td { font-variant-numeric: tabular-nums; }
.sx :focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }

/* başlık */
.sx .st-head { padding: 0; border: 0; background: none; }
.sx .mc-head__h1 { font: 700 30px/1.1 var(--sx-head); letter-spacing: .01em; color: var(--color-text); text-wrap: balance; }
/* R2: sayfa başlığı bandı (yalnız görünüm) */
.sx .sx-hero { position: relative; overflow: hidden; padding: 24px 26px 22px; margin-bottom: 18px; border-radius: 16px; color: #fff;
    background: radial-gradient(circle at 88% 50%, transparent 0 46px, rgba(255, 255, 255, .09) 47px 48px, transparent 49px),
        linear-gradient(90deg, transparent calc(88% - 1px), rgba(255, 255, 255, .09) calc(88% - 1px) calc(88% + 1px), transparent calc(88% + 1px)),
        linear-gradient(135deg, #0a3a27 0%, #0b5e37 55%, #0b7a45 100%); box-shadow: 0 6px 20px rgba(10, 58, 39, .18); }
.sx-hero__in { position: relative; display: grid; gap: 8px; max-width: 760px; }
.sx-hero__eyebrow { display: inline-flex; align-items: center; gap: 7px; margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #9fe0bd; }
.sx-hero__ico { width: 15px; height: 15px; }
.sx-hero__back { justify-self: start; display: inline-flex; align-items: center; gap: 6px; margin-bottom: 2px; padding: 5px 12px 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .25); color: #fff !important; font-size: 13.5px; font-weight: 600; text-decoration: none; }
.sx-hero__back:hover { background: rgba(255, 255, 255, .24); text-decoration: none; }
.sx .sx-hero .sx-hero__home { color: #fff; text-decoration: none; }
.sx .sx-hero .sx-hero__home:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.sx .sx-hero :focus-visible { outline-color: #fff; }
.sx .sx-hero .mc-head__h1 { margin: 0; font-size: 40px; line-height: 1.05; color: #fff; letter-spacing: .005em; }
.sx .sx-hero .st-h1-sub { color: rgba(255, 255, 255, .78); font-weight: 600; }
.sx-hero__lead { margin: 0; font-size: 15.5px; line-height: 1.45; color: rgba(255, 255, 255, .88); }
.sx-hero__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 2px; padding: 0; list-style: none; }
.sx-hero__chips li { display: inline-flex; align-items: baseline; gap: 5px; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); font-size: 13.5px; color: rgba(255, 255, 255, .9); }
.sx-hero__chips strong { font: 700 17px/1 var(--sx-head); color: #fff; }
.sx .sx-hero .mc-head__date { margin: 2px 0 0; font-size: 13px; color: rgba(255, 255, 255, .72); }
.sx .sx-hero .mc-head__date strong { color: #fff; }
.sx .st-h1-sub { color: var(--color-text-secondary); font-weight: 600; }
.sx .mc-head__date { color: var(--color-text-muted); font-size: 14px; }

/* kart / panel */
.sx .panel, .sx-finder, .sx-block { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 12px; box-shadow: none; }
.sx .panel { padding: 16px; }
.sx .panel__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 12px; margin-bottom: 12px; }
.sx .section-title, .sx .stats-sub, .sx-h2 { font: 700 21px/1.15 var(--sx-head); letter-spacing: .01em; color: var(--color-text); text-transform: none; margin: 0; }
.sx .stats-sub { font-size: 18px; margin: 14px 0 8px; }
.sx .panel__note, .sx .st-note, .sx .st-n, .sx .st-meta, .sx .st-foot { color: var(--color-text-muted); }
.sx .panel__note { font-size: 13px; max-width: 90ch; margin: 10px 0 0; }
.sx .st-meta { font-size: 13px; margin: 0 auto; }   /* R4: .sx > * ortalamasını bozmasın */
.sx-muted { color: var(--color-text-muted); font-size: 14px; }

/* süzgeç (ülke → lig → sezon → takım) */
.sx .st-filter { display: flex; flex-wrap: wrap; gap: 10px 12px; align-items: flex-end; padding: 14px 16px; }
.sx-finder .st-filter { padding: 0; border: 0; background: none; }
.sx .st-filter__field { display: grid; gap: 4px; flex: 1 1 180px; min-width: 0; }
.sx .st-filter__label, .sx-search__label { font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--color-text-muted); }
.sx .input, .sx select.input { font: inherit; font-size: 15px; padding: 10px 12px; border: 1px solid var(--color-border); border-radius: 8px; background: var(--color-surface); color: var(--color-text); width: 100%; min-height: 44px; }
.sx .input:hover { border-color: var(--color-border-strong); }
.sx .input:disabled { background: var(--color-surface-2); color: var(--color-text-muted); }
.sx .st-filter__notice { flex-basis: 100%; margin: 0; font-size: 13px; color: var(--color-warning); background: var(--color-warning-soft); border: 1px solid #f1d59b; border-radius: 8px; padding: 8px 10px; }
.sx .btn--primary { background: var(--color-accent-fill); color: #fff; border-color: var(--color-accent-fill); }
.sx .btn--primary:hover { background: var(--color-accent-fill-hover); }
.sx .btn--secondary, .sx .btn--ghost { color: var(--color-accent); border-color: var(--color-border); background: var(--color-surface); }
.sx .btn--ghost:hover, .sx .btn--secondary:hover { background: var(--color-accent-soft); }

/* arama paneli (Lig · Takım · Oyuncu) */
.sx-finder { overflow: hidden; }
.sx-finder__tabs { display: flex; gap: 2px; padding-inline: 12px; border-bottom: 1px solid var(--color-border); overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
.sx-finder__tab { flex: 0 0 auto; font: 600 18px/1 var(--sx-head); letter-spacing: .02em; padding: 14px 14px 12px; color: var(--color-text-muted) !important; text-decoration: none; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.sx-finder__tab[aria-selected="true"] { color: var(--color-text) !important; border-bottom-color: var(--color-accent); }
.sx-finder__tab:hover { color: var(--color-text) !important; text-decoration: none; }
.sx-finder__panel { padding: 14px 16px 6px; display: grid; gap: 12px; }
.sx-finder__hint { margin: 0; font-size: 13px; color: var(--color-text-muted); }
.sx-search { display: grid; gap: 4px; }
.sx-search__row { display: flex; gap: 8px; }
.sx-search__row .input { flex: 1 1 auto; min-width: 0; }
.sx-search__row .btn { flex: 0 0 auto; min-height: 44px; padding-inline: 18px; }
.sx-results { padding: 0 16px 14px; }
.sx-results:empty { display: none; }
.sx-results__msg { margin: 6px 0 8px; font-size: 14px; color: var(--color-text-secondary); }
.sx-results__list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--color-border); border-radius: 10px; overflow: hidden; }
.sx-results__list li + li { border-top: 1px solid var(--color-border); }
.sx-results__list a { display: flex; justify-content: space-between; gap: 12px; padding: 11px 14px; color: var(--color-text); text-decoration: none; flex-wrap: wrap; }
.sx-results__list a:hover { background: var(--color-surface-2); }
.sx-results__name { font-weight: 600; }
.sx-results__sub { color: var(--color-text-muted); font-size: 13px; }

/* popüler ligler */
.sx-block { padding: 16px; }
.sx-block__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 12px; margin-bottom: 12px; }
.sx-leagues { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 12px; }
/* Popüler lig kartları (R1: yalnız görünüm) */
.sx-league { --lg: var(--color-accent); position: relative; display: grid; gap: 10px; align-content: start; padding: 16px 16px 14px; border: 1px solid var(--color-border); border-top: 4px solid var(--lg); border-radius: 14px; background: var(--color-surface); color: var(--color-text) !important; text-decoration: none; box-shadow: 0 1px 2px rgba(20, 32, 26, .06); transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.sx-league:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(20, 32, 26, .12); border-color: var(--color-border-strong); border-top-color: var(--lg); text-decoration: none; }
.sx-league:focus-visible { outline-offset: 3px; }
.sx-league[data-c="Turkey"] { --lg: #e30a17; }
.sx-league[data-c="England"] { --lg: #3d195b; }
.sx-league[data-c="Spain"] { --lg: #b35c00; }
.sx-league[data-c="Italy"] { --lg: #008fd7; }
.sx-league[data-c="Germany"] { --lg: #d20515; }
.sx-league[data-c="France"] { --lg: #091c3e; }
.sx-league[data-c="Netherlands"] { --lg: #c2510f; }
.sx-league[data-c="Portugal"] { --lg: #046a38; }
.sx-league__top { display: flex; align-items: center; gap: 8px; min-width: 0; }
.sx-flag { width: 24px; height: 16px; flex: 0 0 auto; border-radius: 3px; box-shadow: 0 0 0 1px rgba(20, 32, 26, .14); }
.sx-league__c { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--color-text-secondary); }
.sx-league__s { margin-left: auto; font-size: 12px; font-weight: 600; color: var(--color-text-secondary); background: var(--color-surface-2); border: 1px solid var(--color-border); border-radius: 999px; padding: 2px 9px; white-space: nowrap; }
.sx-league__n { font: 700 23px/1.1 var(--sx-head); letter-spacing: .005em; text-wrap: balance; }
.sx-league__m { display: flex; gap: 18px; font-size: 13px; color: var(--color-text-muted); }
.sx-league__k { display: inline-flex; align-items: baseline; gap: 5px; }
.sx-league__k strong { font: 700 20px/1 var(--sx-head); color: var(--color-text); }
.sx-league__lead { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: baseline; gap: 6px; padding: 9px 12px; border-radius: 10px; background: var(--color-surface-2); border: 1px solid var(--color-border); font-size: 14px; }
.sx-league__lead--none { display: block; }
.sx-league__ll { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--color-text-muted); }
.sx-league__lt { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sx-league__lp { font-size: 12.5px; color: var(--color-text-muted); white-space: nowrap; }
.sx-league__lp strong { font: 700 20px/1 var(--sx-head); color: var(--lg); margin-right: 2px; }
.sx-league__note { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--color-text-muted); padding-right: 22px; }
.sx-league__note--old { color: var(--color-warning); }
.sx-ico { width: 13px; height: 13px; flex: 0 0 auto; }
.sx-league__go { position: absolute; right: 14px; bottom: 11px; font-size: 17px; color: var(--color-text-muted); opacity: .45; transition: opacity .15s ease, transform .15s ease, color .15s ease; }
.sx-league:hover .sx-league__go { opacity: 1; color: var(--lg); transform: translateX(3px); }

/* tüm ligler (kapalı liste) */
.sx-all { padding: 0; }
.sx-all__sum { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; cursor: pointer; list-style: none; }
.sx-all__sum::-webkit-details-marker { display: none; }
.sx-all__btn { font: 600 14px var(--sx-body); color: var(--color-accent); border: 1px solid var(--color-border); border-radius: 8px; padding: 8px 14px; }
.sx-all[open] .sx-all__btn { font-size: 0; }
.sx-all[open] .sx-all__btn::after { content: "Gizle"; font-size: 14px; }
.sx-az { columns: 3 220px; column-gap: 24px; padding: 0 16px 16px; }
.sx-az__g { break-inside: avoid; margin-bottom: 12px; }
.sx-az__h { font: 600 12px/1.2 var(--sx-body); letter-spacing: .05em; text-transform: uppercase; color: var(--color-text-muted); margin: 0 0 4px; }
.sx-az__g a { display: block; padding: 3px 0; font-size: 14px; }

/* lig: sezon çubuğu, bölüm sekmeleri */
.sx .st-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.sx .st-chip { border: 1px solid var(--color-border); background: var(--color-surface); color: var(--color-text-secondary); border-radius: 999px; padding: 4px 12px; font-size: 13px; text-decoration: none; }
.sx .st-chip.is-active { background: var(--color-text); border-color: var(--color-text); color: #fff; }
.sx .st-tabs { border-bottom: 2px solid var(--color-border); }
.sx .st-tabs .segmented { display: flex; flex-wrap: nowrap; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; gap: 2px; background: none; border: 0; padding: 0; border-radius: 0; max-width: 100%; }
.sx .st-tabs .segmented__item { flex: 0 0 auto; font: 600 18px/1 var(--sx-head); letter-spacing: .02em; padding: 13px 14px; border-radius: 0; background: none; color: var(--color-text-muted); border-bottom: 3px solid transparent; margin-bottom: -2px; text-decoration: none; }
.sx .st-tabs .segmented__item.is-active { color: var(--color-text); background: none; border-bottom-color: var(--color-accent); }
/* bölüm içi seçimler (Genel / İç saha / Deplasman …): segment düğmesi */
.sx .panel .segmented { display: inline-flex; flex-wrap: wrap; gap: 2px; background: var(--color-surface-2); border: 1px solid var(--color-border); border-radius: 8px; padding: 3px; margin-bottom: 12px; }
.sx .panel .segmented__item { font: 500 14px var(--sx-body); padding: 6px 12px; border-radius: 6px; color: var(--color-text-muted); text-decoration: none; }
.sx .panel .segmented__item.is-active { background: var(--color-surface); color: var(--color-text); box-shadow: 0 1px 2px rgba(20, 32, 26, .12); }
.sx .st-seg-row { display: flex; flex-wrap: wrap; gap: 8px 12px; }

/* tablolar */
.sx .table-wrap { overflow-x: auto; border: 1px solid var(--color-border); border-radius: 10px; background: var(--color-surface); }
.sx .table, .sx .st-mini-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.sx .table th, .sx .table td, .sx .st-mini-table th, .sx .st-mini-table td { padding: 9px 10px; white-space: nowrap; border: 0; }
.sx .table thead th, .sx .st-mini-table thead th { background: var(--color-surface-2); color: var(--color-text-muted); font-weight: 600; font-size: 12.5px; letter-spacing: .03em; text-transform: none; border-bottom: 1px solid var(--color-border); position: sticky; top: 0; }
.sx .table tbody tr + tr, .sx .st-mini-table tbody tr + tr { border-top: 1px solid var(--color-border); }
.sx .table tbody tr:hover, .sx .st-mini-table tbody tr:hover { background: var(--color-surface-2); }
.sx .table__num { text-align: right; }
.sx .st-col-team { text-align: left; font-weight: 600; position: sticky; left: 0; background: inherit; }
.sx tbody .st-col-team { background: var(--color-surface); }
.sx tbody tr:hover .st-col-team { background: var(--color-surface-2); }
.sx .st-team-link { color: var(--color-text); text-decoration: none; }
.sx .st-team-link:hover { color: var(--color-accent); text-decoration: underline; }
.sx .st-row--sel, .sx .st-row--sel .st-col-team { background: var(--color-accent-soft) !important; }
.sx .st-sort { color: inherit; text-decoration: none; }
.sx .st-sort.is-active { color: var(--color-accent); }
.sx .st-sort.is-active::after { content: " ▾"; }
.sx .st-pct { font-weight: 600; color: var(--color-text); }
.sx .st-n { font-size: 12px; }
.sx .dash { color: var(--color-text-muted); }
.sx-glossary { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12.5px; color: var(--color-text-muted); margin: 10px 0 0; }
.sx-glossary b { color: var(--color-text); font-weight: 600; }

/* form (G / B / M) ve bölge şeritleri */
.sx .st-form { display: inline-flex; gap: 3px; }
.sx .st-form__r { width: 21px; height: 21px; border-radius: 4px; color: #fff; font-size: 11px; }
.sx .st-form__r--w { background: var(--sx-win); }
.sx .st-form__r--d { background: var(--sx-draw); }
.sx .st-form__r--l { background: var(--sx-loss); }
.sx .st-zone { border-left-width: 4px; font-weight: 600; color: var(--color-text-secondary); }
.sx .st-zone--cl, .sx .st-zone-key.st-zone--cl { border-left-color: var(--sx-cl); }
.sx .st-zone--eu, .sx .st-zone-key.st-zone--eu { border-left-color: var(--sx-eu); }
.sx .st-zone--down, .sx .st-zone-key.st-zone--down { border-left-color: var(--sx-down); }
.sx .st-zone--other, .sx .st-zone-key.st-zone--other { border-left-color: var(--sx-other); }
.sx .st-zone-legend { color: var(--color-text-muted); font-size: 13px; }

/* rozet / uyarı */
.sx .st-badge { border-radius: 999px; padding: 1px 8px; font-size: 12px; border: 1px solid var(--color-border); background: var(--color-surface); }
.sx .st-badge--ok { color: var(--color-success); border-color: #a9dcc0; }
.sx .st-badge--warn { color: var(--color-warning); border-color: #f1d59b; background: var(--color-warning-soft); }
.sx .st-badge--muted { color: var(--color-text-muted); }
.sx .st-stale, .sx .st-warn { font-size: 13px; color: #7a4b06; background: var(--color-warning-soft); border: 1px solid #f1d59b; border-radius: 8px; padding: 8px 10px; }

/* genel bakış */
.sx .st-stories { display: grid; gap: 8px; padding: 0; margin: 0 0 14px; list-style: none; }
.sx .st-story { padding: 10px 12px; border-left: 4px solid var(--color-accent); background: var(--color-surface-2); border-radius: 0 8px 8px 0; font-weight: 500; }
.sx .st-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.sx .st-kpi { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 10px; padding: 12px; }
.sx .st-kpi__label { font-size: 13px; color: var(--color-text-muted); }
.sx .st-kpi__v { font: 700 26px/1.1 var(--sx-head); color: var(--color-text); }
.sx .st-split__h { background: var(--sx-win); }
.sx .st-split__d { background: var(--sx-draw); }
.sx .st-split__a { background: var(--sx-cl); }
.sx .st-dot--h { background: var(--sx-win); }
.sx .st-dot--d { background: var(--sx-draw); }
.sx .st-dot--a { background: var(--sx-cl); }
.sx .st-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 10px; padding: 12px; }
.sx .st-card__title { font: 700 18px/1.15 var(--sx-head); color: var(--color-text); }
.sx .st-card__all { font-size: 13px; }
.sx .st-top3 li { border-top-color: var(--color-border); }
.sx .st-top3 li.is-first .st-top3__n { font-weight: 700; }
.sx .st-top3__v { font-weight: 600; }
.sx .st-cards__group { font: 700 18px/1.15 var(--sx-head); color: var(--color-text); }
.sx .st-trust { border-top: 1px solid var(--color-border); color: var(--color-text-muted); }
.sx .st-help summary { border-color: var(--color-border-strong); color: var(--color-text-muted); background: var(--color-surface); }
.sx .st-help[open] > p { background: var(--color-surface); color: var(--color-text); border: 1px solid var(--color-border); box-shadow: 0 6px 18px rgba(20, 32, 26, .14); }
.sx .st-bar-pct { background: var(--color-surface-3); }
.sx .st-bar-pct > span { background: var(--color-accent); }

/* takım kartı + oyuncu vurgusu */
.sx .st-team { border-color: var(--color-accent); }
.sx-player { border: 1px solid var(--color-accent); background: var(--color-accent-soft); border-radius: 10px; padding: 12px 14px; margin: 0 0 12px; }
.sx-player__n { font: 700 20px/1.15 var(--sx-head); margin: 0 0 8px; }
.sx-player__stats { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; }
.sx-player__stats strong { font: 700 20px/1 var(--sx-head); }
.sx-player__stats em { font-style: normal; color: var(--color-text-muted); font-size: 13px; }

/* boş / hata durumu */
.sx .empty-state__title { color: var(--color-text); }
.sx .empty-state__text { color: var(--color-text-secondary); }
.sx .st-foot { font-size: 12.5px; }

@media (max-width: 640px) {
    .sx .mc-head__h1 { font-size: 25px; }
    .sx .sx-hero { padding: 18px 18px 16px; border-radius: 14px; background-size: auto; }
    .sx .sx-hero .mc-head__h1 { font-size: 30px; }
    .sx-hero__lead { font-size: 14.5px; }
    .sx-hero__chips { flex-wrap: nowrap; gap: 6px; }
    .sx-hero__chips li { padding: 4px 9px; font-size: 12.5px; white-space: nowrap; gap: 4px; }
    .sx-hero__chips strong { font-size: 15px; }
    .sx .table th, .sx .table td, .sx .st-mini-table th, .sx .st-mini-table td { padding: 8px 7px; }
    .sx-search__row { flex-wrap: wrap; }
    .sx-search__row .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) { .sx * { transition: none !important; } .sx-league:hover, .sx-league:hover .sx-league__go { transform: none; } }

/* Bağlantı ile açılan kart / oyuncu kutusu sabit üst menünün altında kalmasın */
.sx #st-team, .sx #st-player, .sx [id^="st-"] { scroll-margin-top: 84px; }
@media (max-width: 340px) { .sx-hero__chips { flex-wrap: wrap; } }

/* DG-STATS-MATCH-01: maç istatistikleri (lig paneli + takım kartı) */
.stm__tot { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr)); gap: 10px; margin: 8px 0 14px; }
.stm__card { display: grid; gap: 2px; align-content: start; padding: 12px 14px; border: 1px solid var(--color-border); border-radius: 12px; background: var(--color-surface); }
.stm__l { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--color-text-secondary); }
.stm__avg { font: 700 26px/1.1 var(--dg-head, "Bahnschrift", "Segoe UI", sans-serif); color: var(--color-text); }
.stm__overs { display: grid; gap: 2px; margin: 6px 0 0; padding: 0; list-style: none; }
.stm__overs li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px; align-items: baseline; font-size: 13px; color: var(--color-text-secondary); }
.stm__overs b { color: var(--color-accent); }
.stm__overs small { font-size: 11.5px; color: var(--color-text-muted); }
.stm__leads { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 10px; margin: 8px 0 12px; }
.stm__lead { padding: 12px 14px; border: 1px solid var(--color-border); border-radius: 12px; background: var(--color-surface); }
.stm__lt { margin: 0 0 6px; font-size: 13px; font-weight: 700; color: var(--color-text); }
.stm__lead ol { display: grid; gap: 3px; margin: 0; padding-left: 18px; font-size: 13.5px; }
.stm__lead li { padding-left: 2px; }
.stm__lead li a { color: var(--color-text); }
.stm__lead li b { float: right; margin-left: 8px; color: var(--color-accent); }
.stm__lead li small { float: right; margin-left: 6px; color: var(--color-text-muted); font-size: 11.5px; }
.stm__team .stm__ag td { color: var(--color-text-secondary); }
