/* Champions report, ported from the 2026 interactive report and mapped to site tokens */
.champ {
  --red: var(--head); --red-light: var(--accent-2); --red-dark: var(--accent);
  --red-bg: var(--accent-soft); --red-bg-hover: var(--accent-soft);
  --text-primary: var(--ink); --text-secondary: var(--muted); --text-muted: var(--muted);
  --border: var(--line); --border-light: var(--line);
  --bg-white: var(--surface); --bg-light: var(--bg); --bg-card: var(--surface);
  font-family: var(--font-body);
}
.champ .extra-filters { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; }
.champ .extra-filters label { font-size: 13px; color: var(--muted); font-weight: 600; }
.champ select { max-width: 100%; }
.champ .card { min-width: 0; }
.champ .controls { display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px 40px;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border); }
.champ .controls label { font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500; }
.champ .controls select { background: var(--bg-white);
    color: var(--text-primary);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 14px;
    font-family: inherit;
    cursor: pointer;
    min-width: 200px; }
.champ .controls select:focus { outline: none; border-color: var(--red); }
.champ .tenure-pills { display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap; }
.champ .tenure-label { font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
    margin-right: 2px; }
.champ .tenure-pill { background: var(--bg-white);
    color: var(--text-primary);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 5px 12px;
    font-size: 12px;
    font-family: inherit;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s;
    white-space: nowrap; }
.champ .tenure-pill:hover { border-color: var(--red-light); background: var(--red-bg); }
.champ .tenure-pill.active { background: var(--red);
    color: var(--bg);
    border-color: var(--red); }
.champ .tenure-pill.active:hover { background: var(--red-dark); border-color: var(--red-dark); }
.champ .stats-bar { display: flex;
    gap: 0;
    padding: 0 40px;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border); }
.champ .stat { padding: 18px 28px;
    border-right: 1px solid var(--border-light);
    min-width: 150px; }
.champ .stat:last-child { border-right: none; }
.champ .stat .value { font-size: 28px;
    font-weight: 800;
    color: var(--red); }
.champ .stat .label { font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-muted);
    margin-top: 3px;
    font-weight: 500; }
.champ .grid { display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 24px 40px; }
.champ .card { background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04); }
.champ .card h3 { font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px; }
.champ .card canvas { max-height: 320px; }
.champ .card.pie-card canvas { max-height: 400px; min-height: 320px; }
.champ .card.wide { grid-column: 1 / -1; }
.champ .map-card { grid-column: 1 / -1; }
.champ .country-chart-wrapper { display: flex;
    flex-direction: column;
    gap: 0;
    align-items: stretch; }
.champ .country-bars { display: flex;
    flex-direction: column;
    gap: 0;
    overflow-y: auto;
    max-height: 900px;
    padding-right: 4px;
    flex: 1; }
.champ .country-bars::-webkit-scrollbar { width: 5px; }
.champ .country-bars::-webkit-scrollbar-track { background: transparent; }
.champ .country-bars::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
.champ .country-bar-col { display: flex;
    flex-direction: row;
    align-items: center;
    cursor: pointer;
    padding: 1px 6px;
    border-radius: 4px;
    transition: background 0.15s;
    gap: 6px;
    min-height: 22px; }
.champ .country-bar-col:hover { background: var(--red-bg); }
.champ .country-bar-col .bar-label { display: flex;
    align-items: center;
    gap: 5px;
    min-width: 150px;
    flex-shrink: 0; }
.champ .country-bar-col .bar-label .bar-flag { font-size: 15px;
    line-height: 1;
    cursor: pointer;
    position: relative; }
.champ .country-bar-col .bar-label .country-name { font-size: 11px;
    font-weight: 500;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; }
.champ .country-bar-col .bar-count { font-size: 10px;
    font-weight: 700;
    color: var(--ink);
    min-width: 30px;
    text-align: right;
    flex-shrink: 0; }
.champ .country-bar-col .bar-track { height: 14px;
    background: transparent;
    border-radius: 3px;
    position: relative;
    overflow: visible;
    display: flex;
    flex-direction: row;
    align-items: center;
    flex: 1; }
.champ .country-bar-col .bar-fill { height: 100%;
    background: var(--red);
    border-radius: 3px;
    transition: width 0.3s ease;
    min-width: 4px; }
.champ .country-bar-col .bar-track.broken { position: relative;
    display: flex;
    flex-direction: row;
    align-items: center; }
.champ .bar-break-zigzag { display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 22px;
    flex-shrink: 0;
    position: relative;
    margin: 0 -4px;
    z-index: 2;
    overflow: visible; }
.champ .bar-break-zigzag svg { display: block;
    overflow: visible; }
.champ .country-bar-col .bar-flag .flag-tip { display: none;
    position: absolute;
    bottom: calc(100% + 4px);
    left: 50%;
    transform: translateX(-50%);
    background: #1B2A41;
    color: #fff;
    padding: 3px 8px;
    border-radius: 5px;
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
    z-index: 100;
    pointer-events: none; }
.champ .country-bar-col .bar-flag:hover .flag-tip { display: block; }
.champ .compact-sidebar { display: flex;
    flex-direction: column;
    gap: 0;
    flex-shrink: 0;
    padding-top: 2px;
    max-width: 100%;
    min-width: 0;
    border-top: 1px solid var(--border-light);
    margin-top: 4px; }
.champ .compact-row { display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    padding: 1px 6px;
    border-radius: 4px;
    transition: background 0.15s; }
.champ .compact-row:hover { background: var(--red-bg); }
.champ .compact-row .compact-label { font-size: 10px;
    font-weight: 700;
    color: var(--text-secondary);
    min-width: 18px;
    text-align: right;
    line-height: 18px; }
.champ .compact-flags { display: flex;
    flex-wrap: wrap;
    gap: 1px 6px;
    align-items: center; }
.champ .compact-flag-item { display: flex;
    align-items: center;
    gap: 3px; }
.champ .compact-flag-item .country-name { font-size: 10px;
    font-weight: 400;
    color: var(--text-secondary); }
.champ .compact-flags .bar-flag { position: relative;
    cursor: pointer;
    font-size: 13px;
    line-height: 1.1; }
.champ .compact-flags .bar-flag .flag-tip { display: none;
    position: absolute;
    bottom: calc(100% + 4px);
    left: 50%;
    transform: translateX(-50%);
    background: #1B2A41;
    color: #fff;
    padding: 3px 8px;
    border-radius: 5px;
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
    z-index: 100;
    pointer-events: none; }
.champ .compact-flags .bar-flag:hover .flag-tip { display: block; }
.champ .reset-btn { background: var(--red);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 13px;
    cursor: pointer;
    font-weight: 600;
    font-family: inherit;
    display: none;
    transition: background 0.15s; }
.champ .reset-btn:hover { background: var(--red-dark); }
.champ .reset-btn.visible { display: inline-block; }
.champ .tenure-row { display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    grid-column: 1 / -1; }

/* fit inside the site's content width */
.champ .stats-bar { flex-wrap: wrap; border-radius: var(--radius); }
.champ .stat { flex: 1 1 140px; min-width: 0; }
.champ .grid { padding-left: 0; padding-right: 0; }
@media (max-width: 760px) { .champ .grid { grid-template-columns: 1fr; } .champ .tenure-row { grid-template-columns: 1fr; } }
