/* =====================================================================
   SCL 2026 — stats.css   (Stats hub: champions, caps, leaderboards,
   points table, results). Uses the tokens from style.css.
   ===================================================================== */
:root {
  --orange:   #FF8A1F;
  --orange-2: #FFB36B;
  --purple:   #9B5CFF;
  --purple-2: #C9A4FF;
  --six:      #2FD2E8;
}

#scl-stats .shell { min-width: 0; }
.st-block { margin-top: clamp(3rem, 6vw, 4.5rem); }
.st-h3 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
  text-transform: uppercase;
  line-height: 1;
  margin: 0 0 1.4rem;
  color: #fff;
}
.st-subhead {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin: 0 0 .9rem;
  display: flex; flex-wrap: wrap; gap: .3rem .8rem; align-items: baseline;
}
.st-subhead span { color: var(--muted); letter-spacing: .08em; font-weight: 500; font-size: .92rem; }
.st-label {
  font-family: var(--font-cond); font-weight: 700; font-size: .78rem;
  letter-spacing: .24em; text-transform: uppercase; color: var(--muted);
}
.st-muted { color: var(--muted-2); }
.st-crest { width: 28px; height: 28px; border-radius: 8px; object-fit: cover; flex: none; background: var(--ink-2); }

/* --------------------------------------------------- champions banner */
.st-champ {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(0, 300px);
  gap: clamp(1.2rem, 3vw, 2.4rem);
  align-items: center;
  padding: clamp(1.4rem, 3vw, 2.2rem);
  border-radius: var(--r-lg);
  border: 1px solid rgba(240, 180, 41, .45);
  background:
    radial-gradient(500px 260px at 0% 0%, rgba(240, 180, 41, .22), transparent 70%),
    radial-gradient(420px 260px at 100% 100%, color-mix(in srgb, var(--tc) 30%, transparent), transparent 70%),
    linear-gradient(135deg, var(--card-2), var(--panel));
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.st-champ::after {
  content: "";
  position: absolute; inset: 0;
  background: repeating-linear-gradient(115deg, transparent 0 22px, rgba(255, 216, 116, .035) 22px 23px);
  pointer-events: none;
}
.st-champ__crest {
  width: clamp(92px, 12vw, 132px); aspect-ratio: 1; max-width: 100%;
  border-radius: 28px; padding: 6px;
  background: linear-gradient(140deg, var(--gold-2), var(--gold-deep));
  box-shadow: 0 18px 40px -18px rgba(240, 180, 41, .9);
}
.st-champ__logo { width: 100%; height: 100%; object-fit: cover; border-radius: 22px; display: block; }
.st-champ__copy { min-width: 0; position: relative; z-index: 1; }
.st-champ__kicker {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-cond); font-weight: 700; letter-spacing: .28em; text-transform: uppercase;
  font-size: .86rem; color: var(--gold-2);
}
.st-champ__kicker::before { content: "🏆"; letter-spacing: 0; }
.st-champ h3 {
  font-family: var(--font-display); text-transform: uppercase; color: #fff;
  font-size: clamp(2.2rem, 6vw, 4rem); line-height: .95; margin: .35rem 0 .6rem; text-wrap: balance;
}
.st-champ p { margin: 0; color: var(--text-2); max-width: 52ch; }
.st-champ p b { color: #fff; }
.st-champ__final {
  position: relative; z-index: 1;
  display: grid; gap: .55rem;
  padding: 1rem 1.1rem; border-radius: var(--r-md);
  background: rgba(7, 12, 28, .55); border: 1px solid var(--line-2);
}
.st-champ__line { display: flex; align-items: center; gap: .65rem; font-family: var(--font-cond); }
.st-champ__line b { font-size: 1.15rem; letter-spacing: .08em; color: #fff; }
.st-champ__line em {
  margin-left: auto; font-style: normal; font-family: var(--font-display);
  font-size: 1.7rem; color: var(--gold-2); font-variant-numeric: tabular-nums;
}
.st-champ__line.is-dim b, .st-champ__line.is-dim em { color: var(--muted); }
.st-champ__potm { font-size: .84rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: .55rem; }
.st-champ__potm b { color: var(--text); }

/* --------------------------------------------------------- totals row */
.st-totals {
  list-style: none; margin: 1.2rem 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr));
  border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden;
  background: var(--panel);
}
.st-totals li { padding: 1rem .9rem; display: grid; gap: .1rem; text-align: center; }
.st-totals li + li { border-left: 1px solid var(--line); }
.st-totals b {
  font-family: var(--font-display); font-size: clamp(1.6rem, 3.2vw, 2.3rem); line-height: 1;
  color: #fff; font-variant-numeric: tabular-nums;
}
.st-totals span { font-family: var(--font-cond); font-weight: 600; letter-spacing: .18em; text-transform: uppercase; font-size: .78rem; color: var(--muted); }

/* ------------------------------------------------------------ cap cards */
.st-caps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.st-cap {
  --cap: var(--orange); --cap-2: var(--orange-2);
  display: flex; flex-direction: column;
  border-radius: var(--r-lg); overflow: hidden;
  background:
    radial-gradient(340px 240px at 100% 0%, color-mix(in srgb, var(--cap) 32%, transparent), transparent 70%),
    linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid color-mix(in srgb, var(--cap) 45%, transparent);
  box-shadow: var(--shadow);
  min-width: 0;
}
.st-cap--purple { --cap: var(--purple); --cap-2: var(--purple-2); }
.st-cap--sixes  { --cap: var(--six); --cap-2: #9BEFFA; }
.st-cap__ribbon {
  display: flex; align-items: baseline; justify-content: space-between; gap: .6rem;
  padding: .8rem 1.2rem;
  background: linear-gradient(100deg, var(--cap), color-mix(in srgb, var(--cap) 55%, #000));
  color: #120A02;
}
.st-cap--purple .st-cap__ribbon, .st-cap--sixes .st-cap__ribbon { color: #0A0618; }
.st-cap__ribbon span { font-family: var(--font-display); font-size: 1.35rem; text-transform: uppercase; letter-spacing: .04em; }
.st-cap__ribbon small { font-family: var(--font-cond); font-weight: 700; letter-spacing: .2em; text-transform: uppercase; font-size: .78rem; opacity: .8; }
.st-cap__body { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 1.1rem; padding: 1.2rem; align-items: end; }
.st-cap__shot {
  position: relative; aspect-ratio: 4 / 5; max-width: 100%;
  border-radius: 18px; overflow: hidden;
  background: var(--ink-2);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--cap) 70%, transparent), 0 20px 40px -20px #000;
}
.st-cap__shot > img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; display: block; }
.st-cap__team {
  position: absolute; left: 8px; bottom: 8px;
  width: 38px; height: 38px; border-radius: 10px; padding: 3px;
  background: rgba(7, 12, 28, .8); backdrop-filter: blur(4px);
}
.st-cap__team img { width: 100%; height: 100%; border-radius: 7px; object-fit: cover; display: block; }
.st-cap__info { min-width: 0; }
.st-cap__big { display: flex; align-items: baseline; gap: .45rem; }
.st-cap__big b {
  font-family: var(--font-display); font-size: clamp(3rem, 6vw, 4.2rem); line-height: .9;
  color: var(--cap-2); font-variant-numeric: tabular-nums;
}
.st-cap__big span { font-family: var(--font-cond); font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-size: .86rem; }
.st-cap h4 {
  font-family: var(--font-cond); font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  font-size: 1.45rem; line-height: 1.05; margin: .45rem 0 .2rem; color: #fff; overflow-wrap: anywhere;
}
.st-cap__meta { margin: 0; font-size: .86rem; color: var(--muted); }
.st-cap__value {
  margin: .7rem 0 0; display: inline-flex; flex-direction: column; gap: 0;
  padding: .4rem .7rem; border-radius: 10px; background: rgba(240, 180, 41, .1); border: 1px solid rgba(240, 180, 41, .3);
}
.st-cap__value span { font-family: var(--font-cond); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; font-size: .7rem; color: var(--muted); }
.st-cap__value b { font-family: var(--font-cond); font-size: 1.15rem; color: var(--gold-2); font-variant-numeric: tabular-nums; }
.st-cap__value i, .st-auc i { font-style: normal; font-size: .72em; color: var(--muted); letter-spacing: .08em; }
.st-cap__grid {
  margin: auto 0 0; padding: 0 1.2rem 1.2rem;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem;
}
.st-cap__grid div { padding: .55rem .4rem; border-radius: 10px; background: rgba(7, 12, 28, .45); border: 1px solid var(--line); text-align: center; }
.st-cap__grid dt { font-family: var(--font-cond); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; font-size: .68rem; color: var(--muted); }
.st-cap__grid dd { margin: .1rem 0 0; font-family: var(--font-cond); font-weight: 700; font-size: 1.15rem; color: #fff; font-variant-numeric: tabular-nums; }

/* -------------------------------------------------------- leaderboards */
.st-tabs {
  display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .4rem; margin-bottom: 1rem;
  scrollbar-width: thin;
}
.st-tab {
  flex: none;
  font-family: var(--font-cond); font-weight: 700; font-size: .98rem; letter-spacing: .1em; text-transform: uppercase;
  padding: .6rem 1.05rem; border-radius: 999px; cursor: pointer;
  background: var(--card); color: var(--text-2); border: 1px solid var(--line-2);
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.st-tab:hover { color: #fff; border-color: var(--gold); }
.st-tab:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 2px; }
.st-tab[aria-selected="true"] { background: linear-gradient(100deg, var(--gold-2), var(--gold)); color: #1A1204; border-color: transparent; }
.st-tab--orange[aria-selected="true"] { background: linear-gradient(100deg, var(--orange-2), var(--orange)); }
.st-tab--purple[aria-selected="true"] { background: linear-gradient(100deg, var(--purple-2), var(--purple)); color: #0A0618; }

.st-table-wrap {
  overflow-x: auto; border-radius: var(--r-md);
  border: 1px solid var(--line); background: var(--panel);
}
.st-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; min-width: 640px; }
.st-table--points { min-width: 520px; }
.st-table th {
  font-family: var(--font-cond); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .78rem;
  color: var(--muted); text-align: left; padding: .8rem .7rem; background: var(--ink-2); border-bottom: 1px solid var(--line-2);
  white-space: nowrap;
}
.st-table td { padding: .6rem .7rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
.st-table tbody tr:last-child td { border-bottom: 0; }
.st-table tbody tr:hover td { background: rgba(150, 175, 255, .05); }
.st-table .st-num, .st-table .st-main { text-align: right; white-space: nowrap; }
.st-table td.st-num { color: var(--text-2); }
.st-table td.st-main { font-family: var(--font-display); font-size: 1.3rem; color: #fff; }
.st-table .st-auc { text-align: right; white-space: nowrap; font-family: var(--font-cond); font-weight: 600; color: var(--gold-2); }
.st-rank { width: 2.6rem; text-align: center !important; }
.st-rank span {
  display: inline-grid; place-items: center; width: 1.8rem; height: 1.8rem; border-radius: 50%;
  font-family: var(--font-cond); font-weight: 700; color: var(--muted); background: rgba(150, 175, 255, .07);
}
.st-table tr.is-top td { background: rgba(240, 180, 41, .10); }
.st-table tr.is-top .st-rank span { background: var(--gold); color: #1A1204; }
.st-table--runs tr.is-top td { background: rgba(255, 138, 31, .12); }
.st-table--runs tr.is-top .st-rank span { background: var(--orange); }
.st-table--wickets tr.is-top td { background: rgba(155, 92, 255, .14); }
.st-table--wickets tr.is-top .st-rank span { background: var(--purple); color: #fff; }

.st-who { display: flex; align-items: center; gap: .75rem; min-width: 190px; }
.st-who__pic {
  width: 44px; height: 44px; flex: none; border-radius: 50%; overflow: hidden;
  background: var(--ink-2); box-shadow: 0 0 0 2px var(--line-2);
}
.st-who__pic img { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; display: block; }
tr.is-top .st-who__pic { width: 54px; height: 54px; box-shadow: 0 0 0 2px var(--gold); }
.st-who__txt { display: grid; min-width: 0; }
.st-who__txt b { font-weight: 600; color: #fff; line-height: 1.25; }
.st-who__txt small { display: flex; align-items: center; gap: .35rem; color: var(--muted); font-size: .8rem; }
.st-who__crest { width: 18px; height: 18px; border-radius: 5px; object-fit: cover; }
.st-vs { display: inline-flex; align-items: center; gap: .35rem; font-family: var(--font-cond); font-weight: 600; color: var(--text-2); }

/* ---------------------------------------------------------- points table */
.st-pools { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.6rem; }
.st-pool { min-width: 0; }
.st-teamcell { display: flex; align-items: center; gap: .6rem; }
.st-teamcell b { font-weight: 600; color: #fff; white-space: nowrap; }
.st-q {
  font-style: normal; font-family: var(--font-cond); font-weight: 700; font-size: .72rem;
  padding: .05rem .4rem; border-radius: 6px; background: rgba(53, 208, 127, .18); color: var(--pitch);
}
.st-table tr.is-q td:first-child { box-shadow: inset 3px 0 0 var(--pitch); }
.st-form { white-space: nowrap; text-align: left; }
.st-f {
  display: inline-grid; place-items: center; width: 1.35rem; height: 1.35rem; margin-right: .2rem;
  border-radius: 5px; font-style: normal; font-family: var(--font-cond); font-weight: 700; font-size: .78rem;
}
.st-f--W { background: rgba(53, 208, 127, .2); color: var(--pitch); }
.st-f--L { background: rgba(255, 59, 71, .16); color: #FF7B83; }

/* -------------------------------------------------------------- results */
.st-ko { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.st-day + .st-day { margin-top: 1.8rem; }
.st-mgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: .9rem; }
.st-m {
  display: flex; flex-direction: column; gap: .5rem;
  padding: 1rem; border-radius: var(--r-md);
  background: var(--card); border: 1px solid var(--line);
  min-width: 0;
}
.st-m--ko { background: linear-gradient(180deg, var(--card-2), var(--card)); border-color: rgba(240, 180, 41, .35); }
.st-m__head { display: flex; justify-content: space-between; gap: .5rem; font-size: .8rem; color: var(--muted); }
.st-m__stage { font-family: var(--font-cond); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--text-2); }
.st-m--ko .st-m__stage { color: var(--gold-2); }
.st-m__side { display: flex; align-items: center; gap: .6rem; color: var(--muted); }
.st-m__side b { font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-m__side em {
  margin-left: auto; font-style: normal; font-family: var(--font-cond); font-weight: 700; font-size: 1.3rem;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.st-m__side em small { font-size: .72rem; font-weight: 500; color: var(--muted-2); margin-left: .35rem; letter-spacing: .04em; }
.st-m__side.is-win { color: #fff; }
.st-m__side.is-win em { color: var(--gold-2); }
.st-m__result { margin: .15rem 0 0; font-size: .88rem; color: var(--pitch); font-weight: 600; }
.st-m__result small { display: block; color: var(--muted); font-weight: 400; font-size: .78rem; }
.st-m__foot {
  margin-top: auto; padding-top: .6rem; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: .6rem;
}
.st-m__potm { display: flex; align-items: center; gap: .5rem; min-width: 0; }
.st-m__potm img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; object-position: center 28%; flex: none; background: var(--ink-2); }
.st-m__potm span { display: grid; min-width: 0; line-height: 1.2; }
.st-m__potm small { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.st-m__potm b { font-size: .88rem; font-weight: 600; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-m__link {
  flex: none; font-family: var(--font-cond); font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-2); padding: .3rem .65rem; border-radius: 999px; border: 1px solid rgba(240, 180, 41, .35);
}
.st-m__link:hover, .st-m__link:focus-visible { background: rgba(240, 180, 41, .14); }

.st-source {
  margin-top: clamp(2.4rem, 5vw, 3.4rem); padding-top: 1.6rem; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
}
.st-source p { margin: 0; color: var(--muted); font-size: .9rem; max-width: 62ch; }

/* ---------------------------------------------------------- responsive */
@media (max-width: 1100px) {
  .st-caps { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
  .st-ko { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
  .st-pools { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .st-champ { grid-template-columns: auto minmax(0, 1fr); }
  .st-champ__final { grid-column: 1 / -1; }
  .st-totals { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .st-totals li:nth-child(4) { border-left: 0; }
  .st-totals li:nth-child(n+4) { border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .st-champ { grid-template-columns: minmax(0, 1fr); text-align: left; }
  .st-champ__crest { width: 84px; }
  .st-caps { grid-template-columns: minmax(0, 1fr); }
  .st-cap__body { grid-template-columns: 104px minmax(0, 1fr); }
  .st-mgrid { grid-template-columns: minmax(0, 1fr); }
  .st-table .st-auc { display: none; }
  .st-table { min-width: 560px; }
}
.nav a.nav__stats { color: var(--gold-2); }

/* fixture results (final days) */
.fx-side__name small.fx-side__score {
  display: block; margin-top: .15rem;
  font-family: var(--font-cond); font-weight: 700; font-size: 1.05rem;
  letter-spacing: .02em; color: var(--gold-2); font-variant-numeric: tabular-nums; white-space: nowrap;
}
.fx-match__result {
  grid-column: 1 / -1; margin: 0; text-align: center;
  font-size: .9rem; font-weight: 600; color: var(--pitch);
}

/* ------------------------------------------------ player directory */
.st-row-link { cursor: pointer; }
.st-row-link:focus-visible { outline: 2px solid var(--gold-2); outline-offset: -2px; }
.st-table tr.st-row-link:hover td { background: rgba(240, 180, 41, .07); }
.st-cap.st-row-link { transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.st-cap.st-row-link:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.st-dir__bar { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; margin-bottom: .9rem; }
.st-dir__search { flex: 1 1 260px; min-width: 0; }
.st-dir__search input, .st-dir__sort select {
  width: 100%; font: inherit; color: var(--text); background: var(--panel);
  border: 1px solid var(--line-2); border-radius: 999px; padding: .7rem 1.1rem;
}
.st-dir__search input:focus, .st-dir__sort select:focus { outline: 2px solid var(--gold-2); outline-offset: 1px; }
.st-dir__sort { display: flex; align-items: center; gap: .6rem; flex: none; }
.st-dir__sort span { font-family: var(--font-cond); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; font-size: .78rem; color: var(--muted); }
.st-dir__sort select { width: auto; padding-right: 2rem; }
.st-tab--crest { display: inline-flex; align-items: center; gap: .45rem; }
.st-table--dir { min-width: 620px; }
.st-table--dir td.st-main { font-size: 1.15rem; }
.st-count, .st-empty { margin: .7rem 0 0; color: var(--muted); font-size: .86rem; }
#st-dir-list .st-table-wrap { max-height: 640px; overflow: auto; }
#st-dir-list thead th { position: sticky; top: 0; z-index: 1; }

/* squad cards */
.st-squadline {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem .45rem;
  margin: .2rem 0 .6rem; padding: .5rem .7rem; border-radius: 10px;
  background: rgba(240, 180, 41, .08); border: 1px solid rgba(240, 180, 41, .22);
  font-size: .82rem; color: var(--text-2);
}
.st-squadline span { font-family: var(--font-cond); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; font-size: .7rem; color: var(--gold-2); margin-right: .2rem; }
.st-squadline b { color: #fff; font-variant-numeric: tabular-nums; }
.st-squadline em { margin-left: auto; font-style: normal; font-family: var(--font-cond); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .74rem; color: var(--gold-2); }
[data-player-none] .st-squadline { background: rgba(150, 175, 255, .05); border-color: var(--line); }
[data-player-none] .st-squadline b { color: var(--muted); font-weight: 500; }
.player-card.st-row-link:hover { border-color: rgba(240, 180, 41, .5); }

/* ---------------------------------------------------- profile modal */
html.st-lock, html.st-lock body { overflow: hidden; }
.st-modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center;
  padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.st-modal__scrim { position: absolute; inset: 0; background: rgba(4, 7, 18, .78); backdrop-filter: blur(6px); }
.st-pf {
  position: relative; width: min(880px, 100%); max-height: 100%; overflow: auto;
  border-radius: var(--r-lg); border: 1px solid var(--line-2);
  background:
    radial-gradient(520px 260px at 0% 0%, color-mix(in srgb, var(--tc) 30%, transparent), transparent 70%),
    linear-gradient(180deg, var(--card-2), var(--ink-2));
  box-shadow: var(--shadow-lg);
  animation: st-pop .35s var(--ease);
}
@keyframes st-pop { from { transform: translateY(14px) scale(.98); opacity: .4; } to { transform: none; opacity: 1; } }
.st-pf__close {
  position: sticky; top: .7rem; float: right; margin: .7rem .7rem 0 0; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2);
  background: rgba(7, 12, 28, .8); color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer;
}
.st-pf__close:hover, .st-pf__close:focus-visible { border-color: var(--gold); color: var(--gold-2); outline: none; }
.st-pf__head { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 1.4rem; align-items: end; padding: 1.6rem 1.6rem 1.2rem; }
.st-pf__shot { aspect-ratio: 4 / 5; max-width: 100%; border-radius: 18px; overflow: hidden; background: var(--ink); box-shadow: 0 0 0 2px var(--gold), 0 20px 40px -20px #000; }
.st-pf__shot img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; display: block; }
.st-pf__id { min-width: 0; }
.st-pf__team { display: inline-flex; align-items: center; gap: .45rem; font-family: var(--font-cond); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .84rem; color: var(--gold-2); }
.st-pf h3 { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(2rem, 5vw, 3.1rem); line-height: .95; margin: .35rem 0 .3rem; color: #fff; overflow-wrap: anywhere; }
.st-pf__meta { margin: 0; color: var(--muted); font-size: .9rem; }
.st-pf__chips { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .8rem; }
.st-pf__chips span { padding: .3rem .7rem; border-radius: 999px; background: rgba(150, 175, 255, .08); border: 1px solid var(--line); font-size: .84rem; color: var(--text-2); }
.st-pf__chips b { color: #fff; font-variant-numeric: tabular-nums; }
.st-pf__chips .is-gold { background: rgba(240, 180, 41, .12); border-color: rgba(240, 180, 41, .4); }
.st-pf__chips .is-gold b { color: var(--gold-2); }
.st-pf__body { display: grid; gap: 1.4rem; padding: 0 1.6rem 1.6rem; }
.st-pf__body section { min-width: 0; }
.st-pf__grid { margin: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .5rem; }
.st-pf__grid div { padding: .6rem .4rem; border-radius: 10px; background: rgba(7, 12, 28, .5); border: 1px solid var(--line); text-align: center; }
.st-pf__grid dt { font-family: var(--font-cond); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; font-size: .68rem; color: var(--muted); }
.st-pf__grid dd { margin: .15rem 0 0; font-family: var(--font-cond); font-weight: 700; font-size: 1.2rem; color: #fff; font-variant-numeric: tabular-nums; }
.st-pf__grid div:first-child { background: rgba(240, 180, 41, .12); border-color: rgba(240, 180, 41, .35); }
.st-pf__grid div:first-child dd { color: var(--gold-2); }
.st-table--log { min-width: 560px; }
.st-table--log td { font-variant-numeric: tabular-nums; }
.st-table--log td.st-num { color: #fff; font-family: var(--font-cond); font-weight: 700; font-size: 1.05rem; }
.st-table--log small { font-weight: 500; color: var(--muted); font-size: .8em; }
.st-pf__how { display: block; font-family: var(--font-body); font-weight: 400; font-size: .74rem; color: var(--muted); }
.st-pf__stage { font-family: var(--font-cond); font-weight: 600; letter-spacing: .06em; color: var(--text-2); white-space: nowrap; }
.st-table--log .st-vs { margin-right: .4rem; }
.st-pf__potm { font-style: normal; margin-left: .3rem; padding: .05rem .4rem; border-radius: 5px; font-family: var(--font-cond); font-weight: 700; font-size: .7rem; background: var(--gold); color: #1A1204; }
@media (max-width: 700px) {
  .st-modal { padding: 0; place-items: end stretch; }
  .st-pf { width: 100%; max-height: 92vh; border-radius: var(--r-lg) var(--r-lg) 0 0; padding-bottom: env(safe-area-inset-bottom, 0px); }
  .st-pf__head { grid-template-columns: 96px minmax(0, 1fr); gap: 1rem; padding: 1.2rem 1.1rem 1rem; }
  .st-pf__body { padding: 0 1.1rem 1.4rem; }
  .st-pf__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .st-dir__sort { width: 100%; }
  .st-dir__sort select { flex: 1; }
}
@media (prefers-reduced-motion: reduce) { .st-pf { animation: none; } .st-cap.st-row-link:hover { transform: none; } }
.st-modal[hidden] { display: none !important; }
