/* ScoreProb Leagues page (leagues-v1). Everything is scoped to .lg2. */
body:has(.lg2) { background: #f5f7fa; }
html[data-theme="dark"] body:has(.lg2) { background: #0b1220; }

.lg2 {
    --bg: #f5f7fa; --surf: #ffffff; --surf2: #eef2f8; --line: #e3e8ef; --line2: #c9d2e2;
    --ink: #18212f; --ink2: #44526b; --muted: #5a6680;
    --acc: #2857d9; --acc-ink: #ffffff; --acc-soft: #e6edfc; --acc-text: #2857d9;
    --good: #0a7a5a; --good-soft: #dff3ea; --track: #e3e8f1;
    --shadow: 0 1px 2px rgba(20, 30, 60, .07); --shadow2: 0 8px 24px rgba(20, 30, 60, .10);
    background: var(--bg); color: var(--ink);
    font-size: 15px; line-height: 1.5; font-variant-numeric: tabular-nums; min-width: 0;
}
html[data-theme="dark"] .lg2 {
    --bg: #0b1220; --surf: #111a29; --surf2: #16213a; --line: #243249; --line2: #3a4d6b;
    --ink: #ecf2ff; --ink2: #b4c0d3; --muted: #8f9db5;
    --acc: #5b87ff; --acc-ink: #0b1220; --acc-soft: #17284d; --acc-text: #7397ff;
    --good: #2bd3a0; --good-soft: #0f2f2c; --track: #1f2c44;
    --shadow: 0 1px 0 rgba(0, 0, 0, .25); --shadow2: 0 10px 30px rgba(0, 0, 0, .35);
}
.lg2 *, .lg2 *::before, .lg2 *::after { box-sizing: border-box; }
.lg2 h1, .lg2 h2, .lg2 h3, .lg2 p, .lg2 ul { margin: 0; padding: 0; }
.lg2 ul { list-style: none; }
.lg2 button, .lg2 input, .lg2 select { font: inherit; color: inherit; }
.lg2 button { cursor: pointer; }
.lg2 a { color: inherit; text-decoration: none; }
.lg2 i, .lg2 em { font-style: normal; }
.lg2 [hidden] { display: none !important; }
.lg2 :focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }
.lg2 .lg2-sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lg2-wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.lg2-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--acc-text); }
.lg2-code { display: inline-grid; place-items: center; min-width: 32px; height: 21px; padding: 0 6px; border-radius: 6px; background: var(--surf2); border: 1px solid var(--line); font-size: 10.5px; font-weight: 800; letter-spacing: .05em; color: var(--ink2); flex: none; }

/* hero */
.lg2-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.lg2-hero-art { position: absolute; right: -90px; top: -70px; width: 640px; height: 640px; color: var(--ink); opacity: .06; pointer-events: none; }
.lg2-hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 56px; padding-top: 56px; padding-bottom: 48px; align-items: start; }
.lg2 h1 { font-size: 46px; line-height: 1.06; letter-spacing: -.025em; font-weight: 800; margin: 10px 0 14px; text-wrap: balance; color: var(--ink); }
.lg2-lead { font-size: 17px; color: var(--ink2); max-width: 540px; }
.lg2-search { position: relative; margin-top: 26px; }
.lg2-search input { width: 100%; height: 58px; border-radius: 15px; border: 1.5px solid var(--line2); background: var(--surf); padding: 0 52px; font-size: 17px; box-shadow: var(--shadow2); -webkit-appearance: none; appearance: none; }
.lg2-search input::-webkit-search-cancel-button, .lg2-search input::-webkit-search-decoration { -webkit-appearance: none; display: none; }
.lg2-search input::placeholder { color: var(--muted); opacity: 1; }
.lg2-search input:focus { outline: none; border-color: var(--acc); box-shadow: 0 0 0 4px var(--acc-soft); }
.lg2-mag { position: absolute; left: 18px; top: 19px; color: var(--muted); }
.lg2-clr { position: absolute; right: 10px; top: 11px; width: 36px; height: 36px; border-radius: 10px; border: 0; background: var(--surf2); display: grid; place-items: center; }
.lg2-qres { display: inline-flex; align-items: center; margin-top: 14px; padding: 0; border: 0; background: none; color: var(--acc-text); font-weight: 700; font-size: 14px; text-align: left; }
.lg2-qres:hover { text-decoration: underline; }
.lg2-try { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 16px; font-size: 13px; color: var(--muted); }
.lg2-try button { height: 32px; padding: 0 13px; border-radius: 999px; border: 1px solid var(--line2); background: var(--surf); font-size: 13px; font-weight: 600; color: var(--ink2); }
.lg2-try button:hover { border-color: var(--acc); color: var(--acc-text); }

.lg2-soon { background: var(--surf); border: 1px solid var(--line); border-radius: 20px; padding: 20px 20px 8px; box-shadow: var(--shadow2); min-width: 0; }
.lg2-soon-h { display: flex; align-items: center; gap: 10px; }
.lg2-soon-h h2 { font-size: 16px; font-weight: 700; color: var(--ink); }
.lg2-pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 4px var(--good-soft); }
.lg2-soon-st { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 16px 0 8px; }
.lg2-soon-st div { background: var(--surf2); border-radius: 12px; padding: 12px 14px; min-width: 0; }
.lg2-soon-st b { display: block; font-size: 30px; line-height: 1.05; font-weight: 800; letter-spacing: -.02em; }
.lg2-soon-st span { font-size: 12.5px; color: var(--muted); display: block; margin-top: 2px; }
.lg2-soon-r { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 11px 0; border-top: 1px solid var(--line); }
.lg2-soon-r:hover .lg2-soon-n b { color: var(--acc-text); }
.lg2-soon-n { display: flex; flex-direction: column; min-width: 0; }
.lg2-soon-n b { font-size: 14.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lg2-soon-n i { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lg2-soon-w { font-size: 13px; font-weight: 700; color: var(--good); white-space: nowrap; }

/* controls */
.lg2-ctl { scroll-margin-top: 72px; padding-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.lg2-ctl-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.lg2-seg { display: flex; gap: 8px; flex-wrap: wrap; }
.lg2-seg button { height: 42px; padding: 0 17px; border-radius: 999px; border: 1px solid var(--line2); background: var(--surf); font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 8px; color: var(--ink2); white-space: nowrap; }
.lg2-seg button:hover { border-color: var(--acc); }
.lg2-ct { font-size: 12.5px; font-weight: 700; color: var(--muted); }
.lg2-seg button[aria-pressed="true"] { background: var(--acc); border-color: var(--acc); color: var(--acc-ink); }
.lg2-seg button[aria-pressed="true"] .lg2-ct { color: var(--acc-ink); opacity: .8; }
.lg2-ctl-r { display: flex; gap: 10px; align-items: center; }
.lg2-sel { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); font-weight: 600; }
.lg2-sel select { height: 42px; border-radius: 11px; border: 1px solid var(--line2); background: var(--surf); padding: 0 12px; font-weight: 600; font-size: 14px; color: var(--ink); max-width: 100%; }
.lg2-vt { display: flex; border: 1px solid var(--line2); border-radius: 11px; overflow: hidden; background: var(--surf); }
.lg2-vt button { width: 42px; height: 40px; border: 0; background: none; display: grid; place-items: center; color: var(--muted); }
.lg2-vt button[aria-pressed="true"] { background: var(--acc-soft); color: var(--acc-text); }
.lg2-cty { display: flex; align-items: center; gap: 12px; min-width: 0; }
.lg2-cty-l { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); flex: none; }
.lg2-chips { display: flex; gap: 8px; flex-wrap: wrap; min-width: 0; }
.lg2-chip { height: 36px; padding: 0 12px 0 8px; border-radius: 999px; border: 1px solid var(--line2); background: var(--surf); display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--ink2); white-space: nowrap; flex: none; }
.lg2-chip:hover { border-color: var(--acc); }
.lg2-chip .lg2-ct { font-size: 12px; }
.lg2-chip[aria-pressed="true"] { background: var(--acc-soft); border-color: var(--acc); color: var(--acc-text); }
.lg2-chip.lg2-allbtn { padding: 0 14px; color: var(--acc-text); }
.lg2-chip.lg2-allbtn svg { transition: transform .15s; }
.lg2-chip.lg2-allbtn[aria-expanded="true"] svg { transform: rotate(180deg); }
.lg2-allc { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px; background: var(--surf); border: 1px solid var(--line); border-radius: 16px; max-height: 240px; overflow: auto; }
.lg2-res-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 6px; }
.lg2-res-n { font-size: 14px; color: var(--ink2); }
.lg2-res-n em { color: var(--muted); margin-left: 8px; }
.lg2-act { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.lg2-tag { height: 30px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--line2); background: var(--surf2); font-size: 13px; font-weight: 600; display: inline-flex; gap: 6px; align-items: center; max-width: 100%; }
.lg2-lnk { border: 0; background: none; color: var(--acc-text); font-weight: 700; font-size: 13.5px; padding: 4px 6px; }
.lg2-res { padding-top: 14px; padding-bottom: 8px; }

/* cards */
.lg2-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.lg2-card { display: flex; flex-direction: column; gap: 14px; background: var(--surf); border: 1px solid var(--line); border-radius: 18px; padding: 18px 18px 16px; box-shadow: var(--shadow); transition: border-color .15s, transform .15s, box-shadow .15s; min-width: 0; }
.lg2-card:hover { border-color: var(--acc); transform: translateY(-2px); box-shadow: var(--shadow2); }
.lg2-card-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 26px; }
.lg2-cc { display: inline-flex; align-items: center; gap: 8px; color: var(--ink2); font-size: 13px; font-weight: 600; min-width: 0; }
.lg2-cn { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lg2-when { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; white-space: nowrap; flex: none; }
.lg2-when.is-soon { background: var(--good-soft); color: var(--good); }
.lg2-when.is-soon::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--good); }
.lg2-when.is-later { background: var(--surf2); color: var(--ink2); }
.lg2-when.is-none { padding: 0; color: var(--muted); font-weight: 600; }
.lg2-name { font-size: 19px; line-height: 1.22; font-weight: 800; letter-spacing: -.015em; min-height: 46px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--ink); }
.lg2-mcount { font-size: 13.5px; color: var(--ink2); }
.lg2-rec { padding-top: 14px; border-top: 1px solid var(--line); }
.lg2-rec-h { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.lg2-rec-l { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.lg2-rec-v { font-size: 30px; line-height: 1; font-weight: 800; letter-spacing: -.025em; }
.lg2-rec-v small { font-size: 16px; font-weight: 700; color: var(--muted); margin-left: 1px; }
.lg2-rb { display: block; position: relative; height: 10px; border-radius: 5px; background: var(--track); margin: 14px 0 8px; }
.lg2-rb .lg2-rb-band { position: absolute; top: 0; bottom: 0; border-radius: 5px; background: var(--acc); opacity: .4; }
.lg2-rb .lg2-rb-dot { position: absolute; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--acc); border: 2.5px solid var(--surf); }
.lg2-rb .lg2-rb-base { position: absolute; top: -3px; bottom: -3px; width: 2px; margin-left: -1px; background: var(--ink2); opacity: .75; border-radius: 1px; }
.lg2-rb.is-sm { height: 6px; margin: 0; }
.lg2-rb.is-sm .lg2-rb-dot { width: 10px; height: 10px; margin: -5px 0 0 -5px; border-width: 2px; }
.lg2-rb.is-sm .lg2-rb-base { top: -2px; bottom: -2px; }
.lg2-rec-r { font-size: 12.5px; color: var(--muted); }
.lg2-ev { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--ink2); }
.lg2-ev-bars { display: inline-flex; gap: 3px; flex: none; }
.lg2-ev-bars i { width: 16px; height: 6px; border-radius: 3px; background: var(--track); }
.lg2-ev-bars i.on { background: var(--acc); }
.lg2-card-f { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; margin-top: auto; }
.lg2-mk { color: var(--ink2); min-width: 0; }
.lg2-go { color: var(--acc-text); font-weight: 700; white-space: nowrap; }

/* list view */
.lg2-tbl { background: var(--surf); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.lg2-th, .lg2-tr { display: grid; grid-template-columns: minmax(0, 2.5fr) minmax(0, 1.35fr) minmax(0, .7fr) minmax(0, 1.1fr) minmax(0, 1.5fr) minmax(0, .7fr) minmax(0, .7fr); gap: 14px; align-items: center; padding: 0 20px; }
.lg2-th { height: 46px; background: var(--surf2); font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.lg2-th button { border: 0; background: none; padding: 0; text-align: left; font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; display: inline-flex; gap: 4px; align-items: center; }
.lg2-th button[aria-pressed="true"] { color: var(--acc-text); }
.lg2-tr { min-height: 66px; border-top: 1px solid var(--line); padding-top: 10px; padding-bottom: 10px; }
.lg2-tr:hover { background: var(--surf2); }
.lg2-t-meta { display: contents; }
.lg2-t-name { display: flex; gap: 12px; align-items: center; min-width: 0; }
.lg2-t-nm { display: flex; flex-direction: column; min-width: 0; }
.lg2-t-nm b { font-weight: 700; font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lg2-t-nm i { font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lg2-t-n { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.lg2-t-acc { display: flex; align-items: center; gap: 10px; min-width: 0; }
.lg2-t-acc b { font-size: 16px; min-width: 40px; }
.lg2-t-acc .lg2-rb { flex: 1; }
.lg2-t-o, .lg2-t-b, .lg2-t-wk { color: var(--ink2); font-weight: 600; }

.lg2-showmore { display: flex; align-items: center; gap: 16px; justify-content: center; padding: 26px 0 0; color: var(--muted); font-size: 13.5px; flex-wrap: wrap; }
.lg2-showmore:empty { display: none; }
.lg2-btn { height: 44px; padding: 0 20px; border-radius: 12px; border: 1px solid var(--line2); background: var(--surf); font-weight: 700; font-size: 14.5px; }
.lg2-btn:hover { border-color: var(--acc); color: var(--acc-text); }
.lg2-empty { padding: 56px 16px; text-align: center; background: var(--surf); border: 1px dashed var(--line2); border-radius: 16px; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.lg2-empty h3 { font-size: 18px; }
.lg2-empty p { color: var(--ink2); }

/* sections */
.lg2-sec { padding-top: 72px; }
.lg2-sec-g { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 44px; align-items: start; }
.lg2-big { font-size: 32px; line-height: 1.12; letter-spacing: -.02em; font-weight: 800; margin: 10px 0 14px; text-wrap: balance; color: var(--ink); }
.lg2-sec-p { color: var(--ink2); font-size: 16px; }
.lg2-facts { display: flex; flex-direction: column; gap: 12px; margin-top: 22px; }
.lg2-facts li { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3px; padding-top: 12px; border-top: 1px solid var(--line); }
.lg2-facts b { font-size: 26px; font-weight: 800; letter-spacing: -.02em; color: var(--acc-text); white-space: nowrap; }
.lg2-facts span { color: var(--ink2); font-size: 14.5px; }
.lg2-map-card { background: var(--surf); border: 1px solid var(--line); border-radius: 20px; padding: 22px; box-shadow: var(--shadow); min-width: 0; }
.lg2-map-top { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: baseline; margin-bottom: 26px; }
.lg2-map-top h3 { font-size: 16px; font-weight: 700; }
.lg2-key { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); }
.lg2-key span { display: inline-flex; gap: 6px; align-items: center; }
.lg2-k-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--acc); opacity: .8; }
.lg2-k-ring { width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--ink); }
.lg2-k-zone { width: 16px; height: 10px; border-radius: 3px; background: var(--acc); opacity: .2; }
.lg2-plot-w { padding: 6px 6px 40px 44px; }
.lg2-plot { position: relative; height: 380px; border-left: 1px solid var(--line2); border-bottom: 1px solid var(--line2); touch-action: pan-y; cursor: crosshair; }
.lg2-plot svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.lg2-fz { fill: var(--acc); opacity: .13; stroke: none; }
.lg2-fl { fill: none; stroke: var(--acc); stroke-width: 1.5; opacity: .6; vector-effect: non-scaling-stroke; }
.lg2-fm { fill: none; stroke: var(--ink2); stroke-width: 1.25; stroke-dasharray: 5 5; opacity: .7; vector-effect: non-scaling-stroke; }
.lg2-gl { position: absolute; left: 0; right: 0; border-top: 1px dashed var(--line); }
.lg2-yl, .lg2-xl { position: absolute; font-size: 11.5px; color: var(--muted); }
.lg2-yl { right: 100%; margin-right: 8px; transform: translateY(50%); }
.lg2-xl { top: 100%; margin-top: 8px; transform: translateX(-50%); }
.lg2-ax-x { position: absolute; left: 0; right: 0; top: 100%; margin-top: 28px; text-align: center; font-size: 12px; color: var(--muted); }
.lg2-ax-y { position: absolute; left: -44px; top: -24px; font-size: 12px; color: var(--muted); }
.lg2-avg { position: absolute; right: 8px; font-size: 11.5px; color: var(--ink2); font-weight: 600; transform: translateY(-100%); padding-bottom: 3px; }
.lg2-dot { position: absolute; width: 9px; height: 9px; margin: 0 0 -4.5px -4.5px; border-radius: 50%; background: var(--acc); opacity: .6; transition: opacity .15s; pointer-events: none; }
.lg2-dot.is-live { opacity: .95; }
.lg2-dot.is-out { box-shadow: 0 0 0 2px var(--surf), 0 0 0 3.5px var(--ink); }
.lg2-dot.is-dim { opacity: .1; }
.lg2-dot.is-sel { width: 15px; height: 15px; margin: 0 0 -7.5px -7.5px; opacity: 1; z-index: 4; box-shadow: 0 0 0 3px var(--surf), 0 0 0 5px var(--acc); }
.lg2-ro { margin-top: 4px; padding: 14px 16px; border-radius: 14px; background: var(--surf2); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.6fr) auto; gap: 14px 16px; align-items: center; }
.lg2-ro:empty { display: none; }
.lg2-ro-l { display: flex; gap: 10px; align-items: center; min-width: 0; }
.lg2-ro-l div { display: flex; flex-direction: column; min-width: 0; }
.lg2-ro-l b { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lg2-ro-l i { font-size: 12.5px; color: var(--muted); }
.lg2-ro-m { display: flex; gap: 18px; flex-wrap: wrap; }
.lg2-ro-m span { display: flex; flex-direction: column; font-size: 12px; color: var(--muted); }
.lg2-ro-m span b { font-size: 18px; color: var(--ink); }
.lg2-ro-z { grid-column: 1 / -1; font-size: 13.5px; color: var(--ink2); }
.lg2-ro-h { color: var(--muted); font-size: 13px; margin-top: 10px; }

.lg2-how { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 22px; }
.lg2-how-i { background: var(--surf); border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.lg2-how-n { font-size: 12px; font-weight: 800; color: var(--acc-text); letter-spacing: .08em; }
.lg2-how-i h3 { font-size: 16.5px; margin: 8px 0 6px; font-weight: 700; }
.lg2-how-i p { font-size: 14px; color: var(--ink2); }
.lg2-evleg { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin-top: 16px; }
.lg2-evl { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--surf2); border-radius: 12px; }
.lg2-evl div { display: flex; flex-direction: column; min-width: 0; }
.lg2-evl b { font-size: 14px; }
.lg2-evl span { font-size: 12.5px; color: var(--muted); }
.lg2-next { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 48px; }
.lg2-nx { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; background: var(--surf); border: 1px solid var(--line); border-radius: 16px; }
.lg2-nx:hover { border-color: var(--acc); }
.lg2-nx b { font-size: 16.5px; display: block; }
.lg2-nx span { font-size: 14px; color: var(--ink2); }
.lg2-nx em { font-weight: 800; color: var(--acc-text); font-size: 18px; }
.lg2-stamp { padding: 28px 0 8px; font-size: 13px; color: var(--muted); }

/* directory: every league, grouped by country (also the crawlable index) */
.lg2-dir { padding-top: 56px; padding-bottom: 72px; }
.lg2-dir-h { font-size: 22px; font-weight: 800; letter-spacing: -.015em; color: var(--ink); }
.lg2-dir-p { color: var(--ink2); font-size: 14.5px; margin: 6px 0 18px; }
.lg2-dir-g { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 16px; align-items: start; }
.lg2-dg { background: var(--surf); border: 1px solid var(--line); border-radius: 12px; min-width: 0; }
.lg2-dg summary { list-style: none; display: flex; align-items: center; gap: 10px; padding: 10px 14px; cursor: pointer; font-weight: 600; }
.lg2-dg summary::-webkit-details-marker { display: none; }
.lg2-dg summary::after { content: ""; margin-left: 2px; width: 7px; height: 7px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg) translateY(-2px); flex: none; }
.lg2-dg[open] summary::after { transform: rotate(225deg) translateY(-2px); }
.lg2-dg-n { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lg2-dg ul { padding: 0 14px 12px 14px; display: flex; flex-direction: column; gap: 2px; }
.lg2-dg li a { display: block; padding: 6px 0; font-size: 14px; color: var(--ink2); border-top: 1px solid var(--line); }
.lg2-dg li a:hover { color: var(--acc-text); }

@media (max-width: 1020px) {
    .lg2-hero-in { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 40px; }
    .lg2-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lg2-sec-g { grid-template-columns: minmax(0, 1fr); gap: 30px; }
    .lg2-how { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lg2-dir-g { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
    .lg2-wrap { padding-left: 16px; padding-right: 16px; }
    .lg2-hero-in { gap: 26px; padding-top: 26px; padding-bottom: 28px; }
    .lg2-hero-art { right: -200px; top: -40px; width: 460px; height: 460px; }
    .lg2 h1 { font-size: 32px; }
    .lg2-lead { font-size: 15.5px; }
    .lg2-search { margin-top: 20px; }
    .lg2-search input { height: 54px; font-size: 16px; }
    .lg2-mag { top: 17px; }
    .lg2-clr { top: 9px; }
    .lg2-soon-st b { font-size: 26px; }
    #lg2-soon-list li:nth-child(n+4) { display: none; }
    .lg2-ctl { padding-top: 20px; }
    .lg2-seg, .lg2-chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px 4px; scrollbar-width: none; }
    .lg2-seg::-webkit-scrollbar, .lg2-chips::-webkit-scrollbar { display: none; }
    .lg2-seg button { flex: none; }
    .lg2-ctl-top { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 12px; min-width: 0; }
    .lg2-ctl-top > * { min-width: 0; }
    .lg2-ctl-r { width: 100%; }
    .lg2-sel { flex: 1; min-width: 0; }
    .lg2-sel span { display: none; }
    .lg2-sel select { width: 100%; }
    .lg2-cty { flex-direction: column; align-items: stretch; gap: 8px; }
    .lg2-grid { grid-template-columns: minmax(0, 1fr); }
    .lg2-th { display: none; }
    .lg2-tr { grid-template-columns: minmax(0, 1fr) 96px; grid-template-areas: "name acc" "meta acc"; gap: 8px 12px; padding: 12px 14px; min-height: 0; }
    .lg2-t-name { grid-area: name; }
    .lg2-t-meta { display: flex; grid-area: meta; gap: 12px; align-items: center; flex-wrap: wrap; }
    .lg2-t-acc { grid-area: acc; flex-direction: column; align-items: flex-end; gap: 8px; }
    .lg2-t-acc b { font-size: 20px; }
    .lg2-t-acc .lg2-rb { flex: none; width: 96px; }
    .lg2-t-wk, .lg2-t-o, .lg2-t-b { display: none; }
    .lg2-t-n span:last-child { font-size: 12px; color: var(--muted); font-weight: 600; }
    .lg2-sec { padding-top: 48px; }
    .lg2-big { font-size: 25px; }
    .lg2-facts b { font-size: 20px; }
    .lg2-map-card { padding: 16px; }
    .lg2-plot { height: 300px; }
    .lg2-plot-w { padding-left: 38px; }
    .lg2-ax-y { left: -38px; }
    .lg2-ro { grid-template-columns: minmax(0, 1fr); }
    .lg2-how, .lg2-next, .lg2-dir-g { grid-template-columns: minmax(0, 1fr); }
    .lg2-evleg { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lg2-evl { flex-direction: column; align-items: flex-start; gap: 8px; min-width: 0; }
    .lg2-evl b, .lg2-evl span { overflow-wrap: anywhere; }
}

@media (prefers-reduced-motion: reduce) {
    .lg2 * { transition: none !important; }
}

/* links-v1: link to the country page at the top of each country group */
.lg2-dg li.lg2-dg-all a { border-top: 0; font-weight: 600; color: var(--acc-text); }
.lg2-dg li.lg2-dg-all a:hover { text-decoration: underline; }

/* ---- follow stars on the leagues index (hub-stars-v1) ---- */
.lg2-cw { position: relative; display: flex; min-width: 0; }
.lg2-cw > .lg2-card { flex: 1 1 auto; min-width: 0; }
.lg2-cw > .sp-st { position: absolute; top: 56px; right: 12px; transition: margin .15s ease; }
.lg2-cw .lg2-name { padding-right: 30px; }
.lg2-cw:hover > .sp-st { margin-top: -2px; }
.lg2-trw { position: relative; }
.lg2-trw > .sp-st { position: absolute; left: 12px; top: 50%; margin-top: -12px; }
.lg2-th, .lg2-tr { padding-left: 46px; }
@media (pointer: coarse) { .lg2-trw > .sp-st { margin-top: -14px; } }

/* hub-stars-v1b: star in the "Kicking off soon" box, at the left of each row */
.lg2-soon li { position: relative; }
.lg2-soon-r { padding-left: 30px; }
.lg2-soon li > .sp-st { position: absolute; left: -4px; top: 50%; margin-top: -11px; }

/* Evidence map at the top of /leagues (10 Nov 2026): on one-column screens the chart comes before its text. */
@media (max-width: 1020px) { .lg2-sec-top .lg2-map-card { order: -1; } }
