/* XERICORE premium CTF leaderboard (additive override, loaded last) */
:root{--xl-bg:#070b11;--xl-panel:#0a1018;--xl-line:rgba(255,255,255,.08);--xl-text:#e6edf3;--xl-soft:#b4bfcc;--xl-muted:#8b98a8;--xl-acc:var(--accent,#00d4ff);--xl-font:var(--font-body,'Inter',system-ui,sans-serif)}

/* ---------- HEADER ---------- */
html body .page-hero{background:var(--xl-bg)!important;border-bottom:1px solid var(--xl-line)!important;box-shadow:none!important;padding-top:calc(var(--navbar-h,70px) + 1.8rem)!important;padding-bottom:2rem!important}
html body .page-hero::before,html body .page-hero::after{display:none!important}
html body .page-hero .container>a:first-child{font-family:var(--xl-font)!important;font-size:.88rem!important;font-weight:500!important;color:var(--xl-soft)!important;letter-spacing:0!important;transition:color .15s ease}
html body .page-hero .container>a:first-child:hover{color:#fff!important}
html body .page-hero .page-title{font-family:var(--xl-font)!important;font-size:clamp(1.9rem,3.2vw,2.6rem)!important;font-weight:700!important;letter-spacing:-.02em!important;line-height:1.15!important;color:#fff!important;text-shadow:none!important;filter:none!important;margin:.7rem 0 .6rem!important}
html body .page-hero .page-title .accent{color:var(--xl-acc)!important;text-shadow:none!important;font-family:inherit!important;font-weight:inherit!important;background:none!important;-webkit-text-fill-color:var(--xl-acc)!important}
html body .page-hero .page-subtitle{font-family:var(--xl-font)!important;font-size:1rem!important;color:var(--xl-soft)!important;letter-spacing:0!important}

/* ---------- SUMMARY CARDS ---------- */
html body .lb-summary,html body .lb-summary *{box-shadow:none!important;text-shadow:none!important;font-family:var(--xl-font)!important;letter-spacing:0!important;text-transform:none!important;animation:none!important}
html body .lb-summary>*{background:var(--xl-panel)!important;border:1px solid var(--xl-line)!important;border-radius:10px!important}
html body .lb-summary>[class*="me"],html body .lb-summary>[class*="rank"]{border-color:rgba(229,194,106,.35)!important}
html body .lb-summary b,html body .lb-summary strong{color:#fff!important;font-weight:700!important}

/* ---------- PODIUM ---------- */
html body .lbp,html body .lbp *{text-shadow:none!important;font-family:var(--xl-font)!important;letter-spacing:0!important}
html body .lbp>*{background:var(--xl-panel)!important;box-shadow:none!important;border-radius:10px!important}
html body .lbp>*::before,html body .lbp>*::after{box-shadow:none!important;filter:none!important}
html body .lbp [class*="av"]{box-shadow:none!important;filter:none!important}
html body .lbp .lbp-name,html body .lbp .lb-nm{font-weight:600!important;color:#fff!important}
html body .lbp .lbp-pts{font-weight:700!important}
html body .lbp .lbp-stg{color:var(--xl-muted)!important}
html body .lbp .lb-you{background:rgba(0,212,255,.1)!important;border:1px solid rgba(0,212,255,.4)!important;color:var(--xl-acc)!important}

/* ---------- RANKING TABLE ---------- */
html body .ctf-lb-table{background:var(--xl-panel)!important;border:1px solid var(--xl-line)!important;border-radius:10px!important;box-shadow:none!important;overflow:hidden!important}
html body .ctf-lb-header{background:rgba(255,255,255,.03)!important;border-bottom:1px solid var(--xl-line)!important;font-family:var(--xl-font)!important;font-size:.72rem!important;font-weight:600!important;letter-spacing:.08em!important;text-transform:uppercase!important;color:var(--xl-muted)!important;text-shadow:none!important}
html body #ctfLeaderboardWrap{background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important}
html body #ctfLeaderboardWrap::before{display:none!important}
html body .ctf-lb-row{border-bottom:1px solid var(--xl-line)!important;font-family:var(--xl-font)!important;transition:background .15s ease!important}
html body .ctf-lb-row:last-child{border-bottom:0!important}
html body .ctf-lb-row:hover{background:rgba(255,255,255,.03)!important}
html body .ctf-lb-row.me{background:rgba(0,212,255,.06)!important;border-left-color:var(--xl-acc)!important}
html body .ctf-lb-row.me .ctf-lb-rank{border-color:var(--xl-acc)!important;color:var(--xl-acc)!important}
html body .ctf-lb-rank,html body .ctf-lb-points,html body .ctf-lb-stages,html body .ctf-lb-name,html body .ctf-lb-name *,html body .ctf-lb-country{font-family:var(--xl-font)!important;letter-spacing:0!important;text-shadow:none!important;box-shadow:none!important}
html body .ctf-lb-rank{font-weight:600!important;color:var(--xl-soft)!important;background:none!important}
html body .ctf-lb-name,html body .lb-nm{font-weight:600!important;color:#fff!important}
html body .ctf-lb-stages{color:var(--xl-muted)!important;font-weight:400!important}
html body .ctf-lb-points{font-weight:600!important;font-variant-numeric:tabular-nums}
html body .ctf-lb-avatar{box-shadow:none!important;filter:none!important}
html body .lb-bar{background:rgba(255,255,255,.08)!important;box-shadow:none!important}
html body .lb-bar i{background:var(--xl-acc)!important;box-shadow:none!important}
html body .lb-you{font-family:var(--xl-font)!important;font-weight:600!important;letter-spacing:.04em!important;background:rgba(0,212,255,.1)!important;border:1px solid rgba(0,212,255,.4)!important;color:var(--xl-acc)!important;border-radius:5px!important;box-shadow:none!important;text-shadow:none!important}
html body .backend-placeholder h3{font-family:var(--xl-font)!important;letter-spacing:-.01em!important;text-transform:none!important;color:#fff!important}
