.leaderboard-page { padding-bottom: 36px; font-size: calc(17px + var(--font-bump)); }
.leaderboard-page [hidden] { display: none; }
.leaderboard-header { --leaderboard-tab-font-size: calc(12px + var(--font-bump)); position: sticky; top: 0; z-index: 8; display: flex; align-items: stretch; gap: 8px; padding: 13px 0 8px; background: var(--canvas); }
.leaderboard-header-scroll { display: flex; min-width: 0; flex: 1 1 0; gap: 8px; }
.leaderboard-scroll-hint { display: none; }
.leaderboard-tabs { display: flex; width: auto; min-width: 0; flex: 1 1 0; }
.leaderboard-tabs > .view-tab { display: flex; width: auto; min-width: 0; flex: 1 1 0; align-items: center; justify-content: center; padding: 5px 3px; overflow-wrap: anywhere; font-size: var(--leaderboard-tab-font-size); text-align: center; text-decoration: none; }
.leaderboard-mobile-label { display: none; }
.leaderboard-year-picker { position: relative; display: flex; min-height: 38px; flex: 0 0 auto; align-items: stretch; border: 1px solid var(--theme-8fbf9f, #8fbf9f); border-radius: 6px; background: var(--theme-e3f1e7, #e3f1e7); }
.leaderboard-year-picker button { width: 29px; padding: 0; border: 0; color: var(--theme-1f5a3a, #1f5a3a); background: transparent; cursor: pointer; font-size: 21px; font-weight: 700; }
.leaderboard-year-picker button:disabled { color: #9ab5a1; cursor: default; }
.leaderboard-year-picker button:focus-visible { outline: 2px solid var(--theme-3c865c, #3c865c); outline-offset: -2px; }
.leaderboard-year-picker output { display: grid; min-width: 70px; padding: 0 5px; place-items: center; color: var(--theme-1f5a3a, #1f5a3a); font-size: calc(var(--leaderboard-tab-font-size) + 1px); font-weight: 700; white-space: nowrap; }
.leaderboard-year-picker #selected-year { width: auto; min-width: 70px; padding: 0 5px; font-size: calc(var(--leaderboard-tab-font-size) + 1px); white-space: nowrap; }
.leaderboard-year-menu { position: absolute; z-index: 20; top: calc(100% + 4px); left: 0; width: 200px; max-height: 320px; overflow-y: auto; padding: 10px; border: 1px solid var(--theme-8fbf9f, #8fbf9f); border-radius: 6px; color: var(--theme-1f5a3a, #1f5a3a); background: white; box-shadow: 0 4px 14px #0002; }
.leaderboard-year-menu[hidden] { display: none; }
.leaderboard-year-menu label { display: block; font-size: 13px; }
.leaderboard-year-menu input[type="text"] { width: 100%; margin: 4px 0; }
.leaderboard-year-menu input[type="checkbox"] { width: 15px; height: 15px; margin: 0 4px 0 0; border: 1px solid var(--theme-1f5a3a, #1f5a3a); border-radius: 3px; background: #fff; vertical-align: -2px; appearance: none; cursor: pointer; }
.leaderboard-year-menu input[type="checkbox"]:checked { background: var(--theme-1f5a3a, #1f5a3a) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2 5 8.7l4.5-5' fill='none' stroke='%23fff' stroke-width='1.8'/%3E%3C/svg%3E") center / 11px no-repeat; }
.lb-board-subtitle.is-warning { margin-top: 0; color: #c0392b; }
.leaderboard-year-menu .year-all-option { display: block; padding: 3px 0; }
.leaderboard-year-menu #year-options label { padding: 3px 0; }
.leaderboard-filters { display: grid; grid-template-columns: minmax(210px, .8fr) minmax(0, 2fr); align-items: center; gap: 16px; margin: 12px 0 20px; padding: 12px 24px; border: 1px solid #dfeae2; border-radius: 12px; background: #fff; box-shadow: 0 8px 26px rgb(26 64 41 / 5%); }
.leaderboard-section-tag { color: #8d9d90; font-size: 10px; font-weight: 800; letter-spacing: .14em; }
.leaderboard-filter-intro h2 { margin: 5px 0; color: #1b3828; font-size: 16px; }
.leaderboard-filter-intro p { margin: 0; color: #75867a; font-size: 13px; line-height: 1.4; }
.leaderboard-filter-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.leaderboard-field { min-width: 0; }
.leaderboard-field label { display: block; min-height: 45px; margin-bottom: 5px; color: #4a6050; font-size: 12px; font-weight: 700; line-height: 1.35; }
.leaderboard-field > div { display: flex; height: 40px; align-items: center; overflow: hidden; border: 1px solid #d9e6dc; border-radius: 7px; background: #f7faf7; }
.leaderboard-field input { width: 85px; min-width: 0; height: 100%; padding: 0 10px; border: 0; border-right: 1px solid #e1ebe3; color: var(--theme-174b35, #174b35); background: #fff; font-size: 17px; font-weight: 800; }
.leaderboard-filter-fields .leaderboard-field input { width: calc(85px + 1ch); }
.leaderboard-field input:focus-visible { outline: 2px solid var(--theme-3c865c, #3c865c); outline-offset: -2px; }
.leaderboard-field input[aria-invalid="true"] { color: #a32626; outline: 2px solid #c54b4b; outline-offset: -2px; }
.leaderboard-field > div span { padding-left: 10px; color: #819087; font-size: 12px; }
.leaderboard-filter-fields .leaderboard-field > div span { padding-left: calc(10px + .25em); }
.leaderboard-field > .combination-filter-control { height: auto; min-height: 40px; align-items: stretch; }
.combination-filter-control input { height: auto; }
.leaderboard-field > .combination-filter-control span { min-width: 0; align-self: center; padding: 4px 8px 4px 10px; }
.combination-filter-control small { margin-top: 2px; }
.leaderboard-field small { display: block; min-height: 15px; margin-top: 4px; color: #718078; font-size: 11px; line-height: 1.3; }
.leaderboard-field small:empty { display: none; }
.leaderboard-field small.is-error { color: #a32626; }
.leaderboard-status { padding: 18px 22px; border: 1px solid var(--theme-dce8df, #dce8df); border-radius: 10px; color: #42634d; background: #fff; }
.leaderboard-status.is-error { border-color: #eac4bf; color: #8f302a; background: #fff5f3; }
.leaderboard-page .data-notice { font-size: calc(13px + var(--font-bump)); }
.leaderboard-section { margin: 34px 0 44px; scroll-margin-top: calc(var(--leaderboard-header-height, 160px) + 12px); }
.leaderboard-overview { margin-top: -9px; }
.leaderboard-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; margin-bottom: 15px; }
.leaderboard-heading h2 { margin: 4px 0; color: #1b3828; font: 700 clamp(22px, 2.2vw, 30px) Georgia, "Times New Roman", serif; letter-spacing: -.025em; }
.leaderboard-heading p { max-width: 700px; margin: 0; color: #77887c; font-size: 13px; line-height: 1.5; }
.leaderboard-heading-badge { flex: 0 0 auto; padding: 7px 9px; border: 1px solid #dceae0; border-radius: 6px; color: #65816e; background: #f3f8f4; font-size: 11px; font-weight: 800; white-space: nowrap; }
.combination-controls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; align-items: end; margin: -4px 0 14px; }
.combination-modes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.combination-setting label { min-height: 0; }
@media (max-width: 900px) { .combination-controls { grid-template-columns: 1fr; } }
.combination-modes button { min-width: 0; min-height: 40px; overflow-wrap: anywhere; padding: 6px 12px; border: 1px solid var(--theme-b7cdbd, #b7cdbd); border-radius: 6px; color: #607367; background: #fff; cursor: pointer; font: inherit; font-size: 13px; font-weight: 700; }
.combination-modes button[aria-pressed="true"] { border-color: var(--theme-8fbf9f, #8fbf9f); color: var(--theme-1f5a3a, #1f5a3a); background: var(--theme-e3f1e7, #e3f1e7); }
.leaderboard-highlights { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.lb-highlight { display: flex; min-width: 0; min-height: 72px; flex-direction: column; justify-content: space-between; gap: 8px; padding: 12px; border: 1px solid #e2ebe4; border-radius: 10px; background: #fff; }
.lb-highlight-label { display: block; color: #788a7c; font-size: 11px; font-weight: 700; overflow-wrap: anywhere; }
.lb-highlight-value { display: block; color: #1a5036; font: 700 calc(clamp(14px, 1.7vw, 22px) + 1px) Georgia, "Times New Roman", serif; white-space: nowrap; }
.leaderboard-charts { display: grid; grid-template-columns: minmax(260px, .75fr) minmax(0, 1.6fr); gap: 10px; margin-top: 10px; }
.leaderboard-panel, .lb-board { min-width: 0; padding: 18px; border: 1px solid #e2ebe4; border-radius: 11px; background: #fff; box-shadow: 0 5px 22px rgb(25 57 38 / 3%); }
.leaderboard-panel-heading, .lb-board-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.leaderboard-panel h3, .lb-board h3 { margin: 4px 0 0; color: #244231; font-size: 14px; line-height: 1.3; }
.leaderboard-panel-icon { display: grid; width: 34px; height: 34px; flex: 0 0 auto; place-items: center; border-radius: 9px; color: #3e8058; background: #eef7ef; font-size: 20px; }
.leaderboard-panel-note { margin: 8px 0 0; color: #8a9a8f; font-size: 12px; }
.leaderboard-year-panel #year-chart { position: relative; }
.leaderboard-year-panel .lb-year-chart { height: var(--leaderboard-year-plot-height, 156px); }
.leaderboard-year-panel .lb-year-bar { height: var(--leaderboard-year-bar-height, 120px); }
.leaderboard-page .lb-year-label { font-size: 10px; }
.leaderboard-page .lb-year-legend { font-size: 11px; }
.lb-outcome { display: flex; align-items: center; justify-content: space-around; gap: 18px; padding: 18px 0 2px; }
.lb-donut { display: grid; width: 130px; height: 130px; flex: 0 0 auto; place-items: center; border-radius: 50%; }
.lb-donut-center { display: grid; width: 86px; height: 86px; align-content: center; border-radius: 50%; background: #fff; text-align: center; }
.lb-donut-center strong { color: #254c34; font: 700 23px Georgia, "Times New Roman", serif; }
.lb-donut-center span { color: #829287; font-size: 11px; }
.lb-legend { display: grid; gap: 12px; min-width: 100px; }
.lb-legend div { display: grid; grid-template-columns: 9px 1fr auto; align-items: center; gap: 7px; color: #617267; font-size: 12px; }
.lb-legend i { width: 9px; height: 9px; border-radius: 3px; }
.lb-legend strong { color: #284335; font-size: 13px; }
.lb-team-metrics { display: grid; gap: 7px; margin-top: 14px; }
.lb-team-metric { display: flex; justify-content: space-between; gap: 12px; color: #617267; font-size: 13px; }
.lb-team-metric strong { color: #284737; font-variant-numeric: tabular-nums; white-space: nowrap; }
.leaderboard-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 10px; }
.leaderboard-combinations { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lb-board { --board-color: #2f8954; --board-soft: #e6f4e9; }
.lb-board[data-tone="gold"] { --board-color: #c79437; --board-soft: #fbf3e2; }
.lb-board[data-tone="blue"] { --board-color: #5684ad; --board-soft: #edf4fa; }
.lb-board[data-tone="coral"] { --board-color: #c87160; --board-soft: #fbefec; }
.lb-board-heading { min-height: 42px; margin-bottom: 12px; }
.lb-board h3 { margin: 0; }
.lb-board-subtitle { margin: 5px 0 0; color: #8a9a8e; font-size: 11px; line-height: 1.35; }
.lb-top-badge { flex: 0 0 auto; padding: 5px 7px; border-radius: 5px; color: var(--board-color); background: var(--board-soft); font-size: 10px; font-weight: 800; white-space: nowrap; }
.lb-board-badges { display: flex; flex: 0 0 auto; gap: 4px; }
.lb-list-scroll { height: min(440px, calc(var(--lb-count) * 44px)); padding-right: 12px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.lb-list-scroll:focus-visible { outline: 2px solid var(--theme-3c865c, #3c865c); outline-offset: 2px; }
.lb-list { position: relative; margin: 0; padding: 0; list-style: none; }
.lb-row { position: absolute; right: 0; left: 0; display: grid; height: 44px; grid-template-columns: var(--lb-rank-width, 32px) minmax(0, 1fr) max-content; align-items: center; gap: 8px; padding-bottom: 8px; }
.lb-rank { display: grid; min-width: 21px; height: 21px; place-items: center; border-radius: 6px; color: #899a8d; background: #f4f7f4; font-size: 12px; font-weight: 800; }
.lb-row[data-first="true"] .lb-rank { color: #8b671c; background: #f8eabf; }
.lb-row-main { min-width: 0; }
.lb-row-name, .lb-row-detail { display: block; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; white-space: nowrap; }
.lb-row-name::-webkit-scrollbar, .lb-row-detail::-webkit-scrollbar { display: none; }
.lb-row-name:focus-visible, .lb-row-detail:focus-visible { outline: 2px solid var(--theme-3c865c, #3c865c); }
.lb-row-name { color: #314b39; font-size: 13px; font-weight: 700; }
.lb-row-detail { margin-top: 2px; color: #9aa89e; font-size: 11px; }
.lb-track { display: block; height: 3px; margin-top: 5px; overflow: hidden; border-radius: 3px; background: #edf2ee; }
.lb-track span { display: block; height: 100%; border-radius: inherit; background: var(--board-color); }
.lb-row-value { color: #284737; font-size: 13px; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lb-combination-columns, .lb-combination-row { grid-template-columns: var(--lb-rank-width, 32px) minmax(0, 1fr) 40px 48px 48px; gap: 4px; }
.lb-combination-columns { display: grid; margin: 0 0 5px; padding-right: 12px; color: #829287; font-size: 10px; text-align: right; }
.lb-combination-row { text-align: right; }
.lb-combination-row .lb-row-name { text-align: left; }
.lb-combination-row .lb-row-value { font-size: 12px; }
.lb-combination-row .lb-row-value.is-reduced { color: #c0392b; }
.lb-empty { padding: 16px 2px; color: #8a998e; font-size: 13px; line-height: 1.5; }
@media (min-width: 761px) {
  .leaderboard-tabs > .view-tab { border-color: var(--green-active); }
  .leaderboard-tabs > .view-tab.active { border-color: var(--green-dark); color: #fff; background: var(--green-dark); }
  .leaderboard-year-picker { position: absolute; z-index: 2; top: calc(100% + 6px); right: 0; border-color: transparent; background: var(--green-dark); box-shadow: 0 3px 12px rgb(22 66 40 / 25%); }
  .leaderboard-year-picker button { color: #f3f8f4; }
  .leaderboard-year-picker button:focus-visible { outline-color: #fff; }
}
@media (max-width: 1200px) {
  .leaderboard-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .leaderboard-filters { grid-template-columns: 1fr; gap: 8px; }
  .leaderboard-charts { grid-template-columns: 1fr; }
  .leaderboard-combinations { grid-template-columns: 1fr; }
  .lb-outcome { justify-content: flex-start; }
}
@media (min-width: 761px) {
  .leaderboard-filters { display: contents; }
  .leaderboard-filter-intro { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 6px 0 0; padding: 10px calc(var(--leaderboard-year-picker-width, 130px) + 16px) 8px 16px; border: 1px solid #dfeae2; border-bottom: 0; border-radius: 12px 12px 0 0; background: #fff; }
  .leaderboard-filter-intro .leaderboard-section-tag { flex-basis: 100%; }
  .leaderboard-filter-intro h2 { margin: 0; }
  .leaderboard-filter-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0 0 20px; padding: 8px 16px 10px; border: 1px solid #dfeae2; border-top: 0; border-radius: 0 0 12px 12px; background: #fff; box-shadow: 0 8px 26px rgb(26 64 41 / 5%); }
  .leaderboard-filter-fields .leaderboard-field { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: 4px 8px; }
  .leaderboard-filter-fields .leaderboard-field label { min-height: 0; margin: 0; }
  .leaderboard-filter-fields .leaderboard-field > div { height: auto; min-height: 36px; align-items: stretch; }
  .leaderboard-filter-fields .leaderboard-field input { width: 85px; height: auto; flex: 0 0 85px; }
  .leaderboard-filter-fields .leaderboard-field > div span { min-width: 0; align-self: center; padding-top: 2px; padding-bottom: 2px; overflow-wrap: anywhere; }
  .leaderboard-filter-fields .leaderboard-field small { grid-column: 1 / -1; margin: 0; }
}
@media (min-width: 761px) {
  .leaderboard-header .leaderboard-year-menu { top: calc(100% + 50px); right: 0; left: auto; }
  .leaderboard-header .leaderboard-filter-fields { position: absolute; z-index: 3; top: calc(100% + 6px); right: calc(var(--leaderboard-year-picker-width, 130px) + 6px); left: 0; width: auto; margin: 0; padding: 0; border: 0; border-radius: 0; gap: 6px; background: transparent; box-shadow: none; }
  .leaderboard-header .leaderboard-field label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
  .leaderboard-header .leaderboard-field { display: block; }
  .leaderboard-header .leaderboard-field > div { height: 38px; min-height: 38px; border-color: var(--green-active); }
  .leaderboard-header .leaderboard-field > div span::before { content: "minimum mérkőzés "; }
}
@media (max-width: 760px) {
  .leaderboard-header { --leaderboard-tab-font-size: calc(12px + var(--font-bump)); padding: 8px 0 0; }
  .leaderboard-header { top: var(--mobile-primary-nav-height, 0px); isolation: isolate; container-type: inline-size; background: var(--green-dark); }
  .leaderboard-header::before { position: absolute; z-index: -1; inset: 0 auto 0 50%; width: 100vw; transform: translateX(-50%); background: var(--green-dark); content: ""; }
  .leaderboard-header-scroll, .leaderboard-tabs { gap: 4px; }
  .leaderboard-header-scroll { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
  .leaderboard-header-scroll::-webkit-scrollbar { display: none; }
  .leaderboard-tabs { flex: 0 0 auto; }
  .leaderboard-desktop-label { display: none; }
  .leaderboard-mobile-label { display: inline; }
  .leaderboard-tabs > .view-tab { flex: 0 0 auto; padding-bottom: 13px; overflow-wrap: normal; white-space: nowrap; touch-action: pan-x; }
  .leaderboard-tabs > .view-tab { border-color: transparent; border-bottom: 0; border-radius: 0; color: #f3f8f4; background: var(--green-dark); }
  .leaderboard-tabs > .view-tab.active { border-color: transparent; color: #fff; background: var(--green-dark); box-shadow: inset 0 -3px 0 #fff; text-decoration: none; }
  .leaderboard-scroll-hint { position: absolute; z-index: 1; top: 8px; bottom: 8px; width: 16px; align-items: center; justify-content: center; color: #fff; background: var(--green-dark); font-size: 22px; pointer-events: none; }
  .leaderboard-header.has-scroll-left .leaderboard-scroll-hint-left,
  .leaderboard-header.has-scroll-right .leaderboard-scroll-hint-right { display: flex; }
  .leaderboard-scroll-hint-left { left: 0; }
  .leaderboard-scroll-hint-right { right: 0; }
  .leaderboard-year-picker { position: absolute; z-index: 2; top: calc(100% + 6px); right: 0; border-color: transparent; border-radius: 10px; background: var(--green-dark); box-shadow: 0 3px 12px rgb(22 66 40 / 25%); }
  .leaderboard-year-menu { top: calc(100% + 50px); right: 0; left: auto; max-height: min(320px, 45vh); border-color: var(--green-dark); }
  .leaderboard-year-picker button { color: #f3f8f4; }
  .leaderboard-year-picker button:disabled { color: #9ab5a1; }
  .leaderboard-header .leaderboard-filter-fields { position: absolute; z-index: 3; top: calc(100% + 6px); right: calc(var(--leaderboard-year-picker-width, 74px) + 6px); left: 0; display: grid; grid-template-columns: minmax(0, calc(50% + 5ch - 2px)) minmax(0, 1fr); gap: 4px; font-size: 10px; }
  .leaderboard-header .leaderboard-field label { position: absolute; width: 1px; height: 1px; min-height: 0; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
  .leaderboard-header .leaderboard-field > div { height: auto; min-height: 38px; align-items: stretch; border-color: var(--green-active); }
  .leaderboard-header .leaderboard-field input { width: calc(46px + 1ch); height: auto; flex: 0 0 calc(46px + 1ch); padding: 0 2px; font-size: 13px; text-align: center; }
  .leaderboard-header .leaderboard-field > div span { min-width: 0; align-self: center; padding: 2px 0 2px calc(2px + .5em); color: #52645a; font-size: 10px; line-height: 1.1; overflow-wrap: anywhere; }
  .leaderboard-header .leaderboard-field > div span::before { content: "minimum mérkőzés "; }
  .leaderboard-header .leaderboard-field > div span.is-compact { white-space: pre-line; overflow-wrap: normal; }
  .leaderboard-header .leaderboard-field > div span.is-compact::before { content: "min. mérk.\a"; }
  .leaderboard-header .leaderboard-field small { padding: 2px 4px; border-radius: 4px; background: #fff; }
  .leaderboard-year-picker button { width: 14px; }
  .leaderboard-year-picker > button { touch-action: none; }
  .leaderboard-tabs > .view-tab { touch-action: none; }
  .leaderboard-year-picker #selected-year { display: grid; min-width: 0; width: min-content; padding: 0 1px; place-items: center; font-size: calc(14px + var(--font-bump)); white-space: nowrap; }
  .leaderboard-year-picker #selected-year span, .leaderboard-year-picker #selected-year::after { grid-area: 1 / 1; }
  .leaderboard-year-picker #selected-year::after { visibility: hidden; content: "Összes év"; }
  .leaderboard-highlights { gap: 4px; }
  .lb-highlight { min-height: 68px; gap: 4px; padding: 6px 1px; border-radius: 6px; }
  .lb-highlight-label { font-size: 9px; }
  .lb-highlight-value { font-size: calc(clamp(11px, 2.6vw, 15px) + 1px); }
  .leaderboard-filters { padding: 12px 17px; }
}
@media (max-width: 760px) and (orientation: landscape) {
  .leaderboard-tabs > .view-tab { padding: 1px 3px 9px; line-height: 1.1; }
}
@media (max-width: 760px) and (orientation: portrait) {
  .leaderboard-tabs > .view-tab { flex: 0 0 auto; padding: 5px 10px 13px; white-space: nowrap; touch-action: pan-x; }
  .leaderboard-header .leaderboard-filter-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .leaderboard-header .leaderboard-filter-fields .leaderboard-field { display: flex; flex-direction: column; min-width: 0; }
  .leaderboard-header .leaderboard-filter-fields .leaderboard-field > div { display: flex; flex: 1 1 auto; align-items: stretch; }
  .leaderboard-header .leaderboard-filter-fields .leaderboard-field > div span { align-self: center; }
}
@container (max-width: 380px) {
  .leaderboard-year-picker #selected-year { font-size: 12px; }
  .leaderboard-filter-fields .leaderboard-field input { width: 45px; flex-basis: 45px; padding: 0 1px; font-size: 14px; appearance: textfield; }
  .leaderboard-filter-fields .leaderboard-field input::-webkit-inner-spin-button, .leaderboard-filter-fields .leaderboard-field input::-webkit-outer-spin-button { margin: 0; appearance: none; }
  .leaderboard-filter-fields .leaderboard-field > div span { padding-left: 2px; font-size: 9px; }
}
@media (max-width: 760px) {
  .archive-header .leaderboard-header-scroll, .archive-header .archive-tabs { width: 100%; }
  .archive-header .archive-tabs { flex: 1 1 auto; }
  .archive-header .archive-tabs > .view-tab { min-width: 0; flex: 1 1 0; padding-inline: 2px; }
}
@media (max-width: 560px) {
  .leaderboard-filter-fields { grid-template-columns: 1fr; gap: 8px; }
  .leaderboard-field label { min-height: 0; }
  .leaderboard-grid { grid-template-columns: 1fr; }
  .leaderboard-heading { align-items: flex-start; }
  .leaderboard-heading-badge { font-size: 10px; }
}
