.leaderboards-page [hidden] { display: none !important; }
.leaderboard-home-link { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; font-size: 14px; font-weight: 750; text-decoration: none; }
.leaderboard-home-link span { color: var(--teal); font-size: 22px; }
.leaderboard-home-link:hover { text-decoration: underline; }
.leaderboard-main { max-width: 1344px; margin: 0 auto; padding: 0 32px; }
.leaderboard-hero { position: relative; isolation: isolate; overflow: hidden; min-height: 370px; display: grid; grid-template-columns: 1fr 280px; align-items: center; gap: 48px; padding: 54px 64px 66px; border-radius: 36px; color: var(--cream); background: var(--navy); }
.leaderboard-hero::after { content: ""; position: absolute; z-index: -1; width: 720px; height: 500px; right: -180px; top: -160px; border-radius: 50%; background: #0b4c56; opacity: .5; transform: rotate(-26deg); }
.leaderboard-hero .eyebrow { margin-bottom: 20px; font-size: 11px; letter-spacing: .13em; }
.leaderboard-hero h1 { font-size: clamp(54px, 6.7vw, 80px); line-height: .98; }
.leaderboard-hero h1 span { color: var(--aqua); }
.leaderboard-hero-copy > p:last-child { max-width: 560px; margin-top: 22px; color: var(--muted); font-size: 17px; line-height: 1.7; }
.hero-award { position: relative; display: grid; justify-items: center; align-content: center; min-height: 230px; isolation: isolate; }
.hero-award > img { width: 174px; height: 174px; padding: 6px; border-radius: 44px; background: var(--cream); transform: rotate(8deg); box-shadow: 8px 10px 0 #041e2a; }
.award-ripple { position: absolute; z-index: -1; left: 50%; top: 50%; width: 228px; height: 228px; border: 1px solid #80dfd245; border-radius: 50%; transform: translate(-50%, -50%) scaleY(.84) rotate(-18deg); }
.award-ripple-two { width: 290px; height: 290px; opacity: .5; }
.award-ribbon { position: relative; margin-top: -5px; padding: 11px 24px 12px; border-radius: 7px; background: var(--amber); color: var(--navy); box-shadow: 0 5px 0 #041e2a; font: 400 24px/1.1 "Lilita One", sans-serif; transform: rotate(-5deg); white-space: nowrap; }
.award-spark { position: absolute; color: var(--amber); font-size: 34px; }
.award-spark-one { right: 10px; top: 8px; transform: rotate(16deg); }
.award-spark-two { left: 3px; bottom: 18px; color: var(--aqua); font-size: 23px; }
.standings-panel { position: relative; z-index: 1; margin: -24px 28px 0; padding: 30px 36px 26px; border: 2px solid #d7e9df; border-radius: 26px; background: #fffdf5; box-shadow: 0 8px 0 #0b7c8320, 0 18px 35px #082d3a08; }
.standings-toolbar { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 20px 24px; padding-bottom: 24px; border-bottom: 1px solid #d7e6df; }
.standings-toolbar label { display: block; margin-bottom: 8px; color: #526b70; font-size: 12px; font-weight: 750; }
.standings-toolbar select { width: 245px; max-width: 100%; min-height: 48px; padding: 10px 38px 10px 16px; border: 2px solid #a7ccc5; border-radius: 12px; background-color: #f3fbf6; color: var(--navy); font: 700 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; cursor: pointer; }
.standings-toolbar select:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
.standings-freshness { display: flex; align-items: center; gap: 8px; margin-left: auto; padding-bottom: 14px; color: #526b70; font-size: 12px; line-height: 1.4; }
.freshness-dot { flex: 0 0 auto; width: 7px; height: 7px; border-radius: 50%; background: #23a898; }
.standings-heading { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin: 28px 0 24px; }
.standings-heading .small-label { margin-bottom: 9px; }
.standings-heading h2 { font-size: clamp(32px, 4vw, 44px); }
.standings-heading p:not(.small-label) { max-width: 610px; margin-top: 12px; color: var(--body); font-size: 15px; line-height: 1.65; }
.player-count { flex: 0 0 auto; padding: 8px 13px; border: 1px solid #bbe0d8; border-radius: 999px; color: #176c72; background: #e5f5ee; font-size: 12px; font-weight: 750; white-space: nowrap; }
.comparison-note { margin: -10px 0 24px; color: #526b70; font-size: 13px; line-height: 1.6; }
.loading-state { display: grid; justify-items: center; gap: 18px; padding: 76px 20px 80px; color: #526b70; font-size: 15px; }
.loading-ball { display: block; width: 44px; height: 44px; border: 5px solid #bde7de; border-top-color: var(--teal); border-right-color: var(--amber); border-radius: 50%; animation: pool-spin 1.1s linear infinite; }
@keyframes pool-spin { to { transform: rotate(360deg); } }
.board-message { padding: 44px 24px 50px; text-align: center; color: var(--body); }
.board-message h3 { margin: 0; color: var(--navy); font: 400 34px/1.15 "Lilita One", sans-serif; }
.board-message > p { max-width: 540px; margin: 14px auto 0; font-size: 16px; line-height: 1.75; }
.board-action { display: inline-flex; align-items: center; justify-content: center; gap: 22px; min-height: 46px; margin-top: 23px; padding: 11px 22px; border: 0; border-radius: 999px; background: var(--amber); color: var(--navy); box-shadow: 0 4px 0 #c8932b; font: 750 14px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; text-decoration: none; cursor: pointer; }
.board-action:hover { background: #ffcf70; }
.board-action:focus-visible { outline: 3px solid var(--teal); outline-offset: 5px; }
.board-action span { font-size: 20px; line-height: 1; }
.empty-ball { position: relative; display: grid; place-items: center; width: 130px; margin: 0 auto 28px; padding-bottom: 15px; }
.empty-ball img { position: relative; z-index: 1; border-radius: 19px; transform: rotate(-8deg); box-shadow: 4px 5px 0 #082d3a18; }
.empty-ball span { position: absolute; bottom: 1px; width: 125px; height: 26px; border: 2px solid #73cfc4; border-radius: 50%; background: #def5eb; }
.podium { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; gap: 18px; padding: 20px 18px 32px; }
.podium.single { grid-template-columns: minmax(0, 360px); justify-content: center; }
.podium.double { grid-template-columns: repeat(2, minmax(0, 360px)); justify-content: center; }
.podium-card { position: relative; display: grid; justify-items: center; min-width: 0; min-height: 205px; padding: 27px 18px 24px; border: 2px solid #a7d9d0; border-radius: 20px; background: #e6f6ee; text-align: center; }
.podium-place-1 { order: 2; min-height: 237px; padding-top: 35px; border-color: #eec05d; background: #fff0bb; box-shadow: 0 7px 0 #efbd5430; }
.podium-place-2 { order: 1; }
.podium-place-3 { order: 3; background: #f6e9d9; border-color: #ddc1a1; }
.podium-medal { position: relative; display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 16px; border: 3px solid #fffdf5; border-radius: 50%; color: #fffdf5; background: #208f91; box-shadow: 0 2px 0 #15666a; font: 400 23px/1 "Lilita One", sans-serif; }
.podium-medal::before, .podium-medal::after { content: ""; position: absolute; z-index: -1; top: 30px; width: 12px; height: 20px; background: #208f91; transform: rotate(16deg); }
.podium-medal::after { transform: rotate(-16deg); }
.podium-medal::before { left: 6px; }
.podium-medal::after { right: 6px; }
.podium-place-1 .podium-medal { color: #6f4b10; background: var(--amber); box-shadow: 0 2px 0 #bf8a26; }
.podium-place-1 .podium-medal::before, .podium-place-1 .podium-medal::after { background: var(--amber); }
.podium-place-3 .podium-medal { background: #ac7954; box-shadow: 0 2px 0 #7d5234; }
.podium-place-3 .podium-medal::before, .podium-place-3 .podium-medal::after { background: #ac7954; }
.podium-name { max-width: 100%; overflow-wrap: anywhere; color: var(--navy); font: 400 22px/1.15 "Lilita One", sans-serif; }
.podium-value { margin-top: 12px; color: var(--navy); font: 400 32px/1.1 "Lilita One", sans-serif; }
.podium-unit { margin-top: 4px; color: #506766; font-size: 11px; font-weight: 750; line-height: 1.4; }
.standings-table-wrap { overflow-x: auto; }
.standings-table { width: 100%; border-collapse: collapse; border-spacing: 0; color: var(--navy); font-size: 15px; }
.standings-table th { padding: 13px 18px; border-bottom: 2px solid #b5d8d0; color: #526b70; background: #f1f7ef; font-size: 11px; font-weight: 800; letter-spacing: .045em; text-align: left; text-transform: uppercase; }
.standings-table th:first-child { border-radius: 10px 0 0; }
.standings-table th:last-child { border-radius: 0 10px 0 0; }
.standings-table td { padding: 18px; border-bottom: 1px solid #e0eae2; vertical-align: middle; }
.rank-column { width: 75px; }
.rank-number { display: grid; place-items: center; width: 33px; height: 33px; border-radius: 50%; color: #176c72; background: #e5f5ee; font: 400 19px/1 "Lilita One", sans-serif; }
.rank-number.top-rank { color: #755115; background: #ffe5a1; }
.player-name { display: block; max-width: 100%; overflow-wrap: anywhere; font-weight: 750; line-height: 1.45; }
.player-profile-link { display: block; width: fit-content; max-width: 100%; min-height: 36px; padding: 7px 0; color: #176c72; font-size: 12px; font-weight: 650; line-height: 1.5; overflow-wrap: anywhere; text-decoration: underline; text-underline-offset: .18em; }
.player-profile-link:hover { color: var(--navy); }
.player-profile-link:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 3px; }
.player-level { display: block; margin-top: 4px; color: #617675; font-size: 12px; }
.score-column, .score-cell { text-align: right !important; }
.score-cell { font: 400 26px/1.15 "Lilita One", sans-serif; white-space: nowrap; }
.record-column, .record-cell { width: 215px; text-align: right !important; }
.record-cell { color: var(--body); font-size: 13px; line-height: 1.65; }
.record-cell strong { display: block; color: var(--navy); font-size: 13px; }
.standings-limit { margin: 18px 0 0; color: #617675; font-size: 12px; line-height: 1.6; text-align: center; }
.qualification-note { margin: 24px 0 0; padding-top: 20px; border-top: 1px solid #d7e6df; color: #526b70; font-size: 13px; line-height: 1.75; }
.qualification-note:empty { display: none; }
.ranking-guide { margin: 54px 28px 50px; }
.ranking-guide-heading { margin-bottom: 27px; }
.ranking-guide h2 { font-size: 36px; }
.ranking-guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ranking-guide-grid article { padding-right: 18px; }
.guide-number { display: inline-grid; place-items: center; width: 35px; height: 35px; margin-bottom: 12px; border-radius: 50%; color: var(--teal); background: #dff1e8; font: 400 18px/1 "Lilita One", sans-serif; }
.ranking-guide h3 { margin: 0; font: 400 23px/1.2 "Lilita One", sans-serif; }
.ranking-guide article p { margin-top: 12px; color: var(--body); font-size: 14px; line-height: 1.85; }
.ranking-footnote { display: flex; justify-content: space-between; gap: 28px; margin-top: 30px; padding-top: 23px; border-top: 1px solid #d7e6df; color: #617675; font-size: 12px; line-height: 1.8; }
.ranking-footnote p { max-width: 630px; }
.ranking-footnote p:last-child { max-width: 280px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (min-width: 1441px) { .leaderboard-main { padding-inline: 0; } }
@media (max-width: 960px) {
  .leaderboard-main { padding-inline: 24px; }
  .leaderboard-hero { grid-template-columns: 1fr 210px; gap: 24px; padding: 44px 38px 60px; }
  .leaderboard-hero h1 { font-size: 61px; }
  .hero-award > img { width: 145px; height: 145px; border-radius: 37px; }
  .award-ribbon { font-size: 21px; padding-inline: 17px; }
  .award-ripple-two { width: 240px; height: 240px; }
  .award-ripple-one { width: 190px; height: 190px; }
  .standings-panel { margin-inline: 18px; padding-inline: 24px; }
  .standings-toolbar { gap: 16px 18px; }
  .standings-toolbar select { width: 225px; }
  .standings-freshness { width: 100%; margin-left: 0; padding: 0; }
  .podium { padding-inline: 0; gap: 12px; }
  .podium-card { padding-inline: 12px; }
  .podium-name { font-size: 20px; }
  .ranking-guide { margin-inline: 18px; }
  .ranking-guide-grid { gap: 20px; }
  .ranking-guide-grid article { padding-right: 0; }
}
@media (max-width: 650px) {
  .leaderboard-main { padding-inline: 16px; }
  .leaderboard-hero { grid-template-columns: 1fr; gap: 20px; min-height: 0; padding: 34px 26px 56px; border-radius: 26px; }
  .leaderboard-hero .eyebrow { font-size: 9px; letter-spacing: .09em; margin-bottom: 18px; }
  .leaderboard-hero h1 { font-size: clamp(45px, 11.5vw, 69px); }
  .leaderboard-hero-copy > p:last-child { margin-top: 18px; font-size: 15px; line-height: 1.75; }
  .hero-award { display: none; }
  .standings-panel { margin: -25px 8px 0; padding: 24px 18px 22px; border-radius: 21px; }
  .standings-toolbar { display: grid; grid-template-columns: 1fr; gap: 15px; padding-bottom: 21px; }
  .standings-toolbar select { width: 100%; }
  .standings-toolbar label { font-size: 12px; }
  .standings-freshness { font-size: 11px; margin-top: 1px; }
  .standings-heading { display: block; margin: 25px 0 22px; }
  .standings-heading h2 { font-size: 33px; }
  .standings-heading .small-label { font-size: 10px; }
  .standings-heading p:not(.small-label) { font-size: 14px; }
  .player-count { display: inline-block; margin-top: 16px; padding: 7px 11px; font-size: 11px; }
  .loading-state { padding: 58px 5px 65px; font-size: 14px; text-align: center; }
  .board-message { padding: 28px 2px 32px; }
  .board-message h3 { font-size: 30px; }
  .board-message > p { font-size: 14px; }
  .board-action { gap: 13px; padding-inline: 18px; font-size: 13px; }
  .podium { gap: 7px; padding: 15px 0 28px; }
  .podium-card { min-height: 175px; padding: 21px 7px 19px; border-radius: 14px; }
  .podium-place-1 { min-height: 193px; padding-top: 27px; }
  .podium-medal { width: 32px; height: 32px; border-width: 2px; font-size: 19px; margin-bottom: 13px; }
  .podium-medal::before, .podium-medal::after { top: 23px; width: 10px; height: 16px; }
  .podium-medal::before { left: 4px; }.podium-medal::after { right: 4px; }
  .podium-name { font-size: 15px; }
  .podium-value { margin-top: 10px; font-size: 25px; }
  .podium-unit { font-size: 9px; }
  .podium.single .podium-card { max-width: 250px; justify-self: center; width: 100%; }
  .standings-table th { padding: 11px 6px; font-size: 9px; letter-spacing: 0; }
  .standings-table td { padding: 15px 6px; }
  .rank-column { width: 40px; }.rank-number { width: 27px; height: 27px; font-size: 17px; }
  .player-name { font-size: 13px; }.player-level { font-size: 10px; }
  .score-cell { font-size: 22px; }.score-column { min-width: 53px; }
  .record-column, .record-cell { width: 95px; font-size: 11px; }
  .record-cell strong { font-size: 11px; }
  .qualification-note { font-size: 12px; line-height: 1.8; }
  .ranking-guide { margin: 40px 18px 38px; }
  .ranking-guide h2 { font-size: 31px; }.ranking-guide .small-label { font-size: 10px; }
  .ranking-guide-grid { grid-template-columns: 1fr; gap: 26px; }
  .guide-number { width: 31px; height: 31px; float: left; margin: 0 14px 12px 0; font-size: 16px; }
  .ranking-guide h3 { min-height: 31px; display: flex; align-items: center; font-size: 22px; }
  .ranking-guide article p { clear: both; margin-top: 8px; font-size: 14px; }
  .ranking-footnote { display: block; margin-top: 27px; padding-top: 21px; font-size: 12px; }
  .ranking-footnote p:last-child { max-width: none; margin-top: 12px; }
  .leaderboard-footer .footer-links { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { .loading-ball { animation: none; } }

.comparison-controls { margin-top: 18px; padding: 0 0 18px; border-bottom: 1px solid #d7e6df; }
.comparison-controls summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 4px 0; color: #176c72; font-size: 13px; font-weight: 750; list-style: none; cursor: pointer; }
.comparison-controls summary::-webkit-details-marker { display: none; }
.comparison-controls summary span { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; background: #e0f2e9; color: var(--teal); font-size: 21px; font-weight: 500; line-height: 1; }
.comparison-controls[open] summary span { transform: rotate(45deg); }
.comparison-controls summary:focus-visible, .reset-filters:focus-visible { outline: 3px solid var(--amber); outline-offset: 4px; border-radius: 5px; }
.comparison-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 17px; }
.comparison-fields label { display: block; margin-bottom: 8px; color: #526b70; font-size: 11px; font-weight: 750; }
.comparison-fields select { width: 100%; min-height: 44px; padding: 9px 30px 9px 12px; border: 1px solid #a7ccc5; border-radius: 10px; background: #f3fbf6; color: var(--navy); font: 650 13px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; cursor: pointer; }
.comparison-fields select:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
.reset-filters { margin-top: 16px; padding: 5px 0; border: 0; background: none; color: #176c72; font: 750 12px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
@media (max-width: 650px) { .comparison-controls { padding-bottom: 15px; }.comparison-controls summary { font-size: 12px; }.comparison-fields { grid-template-columns: 1fr; gap: 13px; }.comparison-fields label { font-size: 12px; }.comparison-fields select { font-size: 14px; } }

.leaderboards-page .wordmark { min-width: 0; }
.leaderboard-home-link { flex: 0 0 auto; }
.podium-rank-1 { border-color: #eec05d; background: #fff0bb; }
.podium-rank-2 { border-color: #a7d9d0; background: #e6f6ee; }
.podium-rank-3 { border-color: #ddc1a1; background: #f6e9d9; }
.podium-rank-1 .podium-medal { color: #6f4b10; background: var(--amber); box-shadow: 0 2px 0 #bf8a26; }
.podium-rank-1 .podium-medal::before, .podium-rank-1 .podium-medal::after { background: var(--amber); }
.podium-rank-2 .podium-medal { color: #fffdf5; background: #208f91; box-shadow: 0 2px 0 #15666a; }
.podium-rank-2 .podium-medal::before, .podium-rank-2 .podium-medal::after { background: #208f91; }
.podium-rank-3 .podium-medal { color: #fffdf5; background: #ac7954; box-shadow: 0 2px 0 #7d5234; }
.podium-rank-3 .podium-medal::before, .podium-rank-3 .podium-medal::after { background: #ac7954; }
.podium.tied .podium-card { min-height: 205px; padding-top: 27px; }
@media (max-width: 650px) { .leaderboard-hero h1 { font-size: clamp(34px, 10vw, 60px); }.podium.tied .podium-card { min-height: 185px; padding-top: 24px; } }
