@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("fonts/InterVariable.woff2") format("woff2");
}

:root {
    color-scheme: dark;
    --font-family: "Inter", Arial, sans-serif;
    --text: #f4f0e8;
    --muted: #aeb7c5;
    --accent: #f4b544;
    --panel: #191e29;
    --panel-shadow: 0 8px 22px #00000029, 0 2px 6px #0000001a;
    --new: #72d9a0;
    --departure: #e54c3c;
    --cutoff: #74b8e8;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { font-family: var(--font-family); color: var(--text); }
.infographic {
    width: 1450px;
    padding: 24px 88px 26px;
    display: flow-root;
}
h1 { font-size: 48px; line-height: 1.12; margin: 22px 0 14px; font-weight: 650; letter-spacing: -.8px; overflow-wrap: anywhere; }
p { margin: 0; }
.ranking-summary { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; margin-bottom: 12px; }
.source { color: var(--muted); font-size: 22px; line-height: 1.4; }
.player-total { color: #dfe5ef; font-size: 18px; line-height: 1.4; white-space: nowrap; }
.description, .cutoff-line { color: var(--muted); font-size: 18px; line-height: 1.4; }
.cutoff-line { margin-top: 14px; }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding-bottom: 12px; margin-bottom: 18px; border-bottom: 2px solid #333b49; }
h2 { margin: 0; font-size: 18px; line-height: 1.4; font-weight: 600; }
.legend { color: #d7dee8; font-size: 13px; }
.new-marker { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--new); margin: 0 4px 3px; }
.count-group { margin: 0 -6px; position: relative; }
.character-row { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 18px; padding: 10px 16px; min-height: 80px; align-items: start; }
.character-icon { width: 56px; height: 56px; object-fit: contain; }
.icon-fallback { display: grid; place-items: center; font-size: 20px; font-weight: 600; color: var(--cutoff); }
.row-content { min-width: 0; align-self: center; }
.character-heading { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-bottom: 2px; }
h3 { margin: 0; font-size: 22px; line-height: 1.35; font-weight: 600; overflow-wrap: anywhere; }
.cutoff-chip { background: var(--cutoff); color: var(--panel); font-size: 14px; line-height: 1.3; padding: 3px 10px; border-radius: 8px; font-weight: 500; }
.players { display: flex; flex-wrap: wrap; gap: 0 6px; color: #d7dee8; font-size: 16px; line-height: 1.5; font-weight: 500; }
.player { max-width: 100%; overflow-wrap: anywhere; }
.rank { color: var(--accent); font-size: 16px; font-weight: 600; white-space: nowrap; }
.rank-position { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.rank-delta { color: var(--muted); font-size: 13px; line-height: 1; font-weight: 500; }
.rank-up { color: var(--new); }
.rank-down { color: #ff8b80; }
.grouping-panels .count-group { background: var(--panel); border-radius: 12px; box-shadow: var(--panel-shadow); }
.grouping-panels .count-group + .count-group { margin-top: 18px; }
.grouping-panels .character-row + .character-row .row-content { position: relative; }
.grouping-panels .character-row + .character-row .row-content::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 1px; background: #ffffff18; }
.grouping-panels.accent-tint .leading-group { background: #30291f; }
.departed { margin-top: 44px; }
.departed h2 { color: var(--departure); }
.departed-row { margin: 0 -6px; }
.empty { font-size: 16px; color: var(--muted); padding: 20px 14px 45px; }
.player-list { background: var(--panel); border-radius: 12px; box-shadow: var(--panel-shadow); overflow: hidden; margin-bottom: 20px; }
.player-table { width: 100%; }
.player-table-heading, .player-row { display: grid; grid-template-columns: 80px minmax(0, 1fr) 180px 220px; align-items: center; gap: 22px; padding: 12px 24px; }
.player-table-heading { min-height: 52px; color: var(--muted); font-size: 12px; line-height: 1.3; font-weight: 500; letter-spacing: .5px; }
.player-table-heading > :first-child { text-align: center; }
.player-table-heading > :nth-last-child(-n+2) { text-align: right; }
.player-row { min-height: 76px; border-top: 1px solid #ffffff12; }
.player-row > *, .player-table-heading > * { min-width: 0; }
.player-row:nth-child(odd) { background: #ffffff03; }
.player-row:nth-child(2) { background: #30291f; }
.local-position { display: flex; flex-direction: column; align-items: center; gap: 7px; font-size: 20px; line-height: 1.15; font-weight: 600; color: var(--accent); font-variant-numeric: tabular-nums; }
.player-name { font-size: 20px; line-height: 1.35; font-weight: 500; overflow-wrap: anywhere; }
.player-identity { display: flex; align-items: center; gap: 12px; min-width: 0; }
.player-identity .character-icon { width: 56px; height: 56px; flex: 0 0 56px; }
.player-character-name { margin-top: 5px; color: var(--muted); font-size: 16px; line-height: 1.35; overflow-wrap: anywhere; }
.player-character { display: flex; align-items: center; gap: 12px; color: #d7dee8; font-size: 16px; line-height: 1.35; }
.player-character .character-icon { width: 56px; height: 56px; flex: 0 0 56px; }
.player-character > :last-child { min-width: 0; overflow-wrap: anywhere; }
.global-position { color: var(--accent); font-size: 18px; line-height: 1.3; font-weight: 600; font-variant-numeric: tabular-nums; }
.world-position, .player-rating { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 7px; }
.player-rating { color: var(--cutoff); font-size: 28px; line-height: 1.3; font-weight: 600; font-variant-numeric: tabular-nums; gap: 4px 10px; }
.player-rating small { font-size: 13px; font-weight: 500; }
.departed-player-list { padding-bottom: 28px; }
.departed-player-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 24px; padding: 12px 20px; }
