/* Ranking 2.0: scoped to the public publication and history surfaces. */
.ranking-v2{max-width:1120px}.ranking-v2 :is(a,button,input):focus-visible{outline:3px solid var(--btb-sand);outline-offset:3px}.rank-hero{padding:36px 40px;color:white;border-radius:24px;background:var(--btb-ocean) url("../visual/patterns/btb-play-pattern-rally-hero.0045009cbc9f.svg") right center/cover;position:relative;overflow:hidden}.rank-hero h1{font:800 clamp(2rem,4vw,3.25rem)/1.15 var(--btb-font-heading);letter-spacing:-.04em;margin:16px 0 12px}.rank-hero>p{color:#e0f2f4;margin:0 0 24px;font-size:1.05rem}.rank-eyebrow{font-size:.76rem;font-weight:700;letter-spacing:.06em}.rank-publication{display:flex;gap:12px;align-items:center;flex-wrap:wrap;font-size:.9rem}.rank-official{background:#dff6f7;color:#005a63;border-radius:30px;padding:5px 12px;font-weight:750}.rank-navigation{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:24px 0}.rank-navigation .segment-control{margin:0;min-width:260px}.rank-navigation .segment-control a{min-height:44px;display:flex;align-items:center;justify-content:center}.rank-history-link{display:flex;align-items:center;gap:8px;min-height:44px;font-weight:700}.rank-history-link img,.rank-footnotes img{width:20px;height:20px}.rank-archive-note{background:#f7f1e6;border:1px solid #d9cfbd;border-radius:12px;padding:16px;line-height:1.6}.rank-personal{display:grid;grid-template-columns:1fr 1fr auto;align-items:center;gap:24px;background:#dff6f7;border:1px solid #91cbcf;border-left:5px solid #007e89;border-radius:16px;padding:24px;margin:20px 0 28px}.rank-personal-position{display:block;font:800 3rem/1.3 var(--btb-font-heading);font-variant-numeric:tabular-nums}.rank-personal-points{display:block;font-size:1.6rem;font-weight:800}.rank-small-label{font-size:.85rem;color:#3f5c67}.rank-personal-links{display:grid;gap:12px;font-size:.9rem;font-weight:700}.rank-personal-links a{min-height:32px;display:flex;align-items:center}.rank-board{background:white;border:1px solid var(--btb-grey-200);border-radius:18px;overflow:hidden}.rank-board-toolbar{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:24px}.rank-board h2{margin:0;font:var(--btb-font-public-section)}.rank-muted{color:var(--btb-grey-600);font-size:.88rem;line-height:1.5}.rank-board-toolbar p{margin:4px 0 0}.rank-search{width:340px;max-width:100%}.rank-search label{display:block;font-size:.8rem;font-weight:700;margin-bottom:6px}.rank-search>div{display:flex;gap:8px}.rank-search input{min-width:0;width:100%;border:1px solid #71838a;border-radius:9px;padding:10px 12px;min-height:44px;font:inherit}.rank-search button{min-height:44px;white-space:nowrap}.rank-search>a{display:inline-block;margin-top:8px;font-size:.85rem}.rank-comparison{margin:0;padding:12px 24px;background:#f7fafa;border-block:1px solid var(--btb-grey-200);color:#52666e;font-size:.82rem}.rank-table{width:100%;border-collapse:collapse;table-layout:fixed;font-variant-numeric:tabular-nums}.rank-table :is(td,th){padding:16px 24px;text-align:left;border-bottom:1px solid #eef3f4;overflow-wrap:anywhere}.rank-table thead th{font-size:.74rem;color:#52666e;text-transform:uppercase;letter-spacing:.04em;background:#fafcfc}.rank-table th:nth-child(1){width:15%}.rank-table th:nth-child(2){width:36%}.rank-table th:nth-child(3){width:19%}.rank-table th:nth-child(4){width:30%}.rank-table tbody th{font-size:1rem}.rank-position{font:800 1.5rem/1 var(--btb-font-heading);color:var(--btb-ocean)}.rank-points{font-size:1.12rem;font-weight:750}.rank-player-link{display:inline-block;padding:8px 0;color:var(--btb-ink);text-underline-offset:5px}.rank-row:hover{background:#f7fafa}.rank-is-you{background:#dff6f7;box-shadow:inset 4px 0 #007e89}.rank-you{display:inline-block;margin-left:12px;font-size:.72rem;font-weight:700;background:#007e89;color:white;padding:3px 8px;border-radius:20px}.rank-movement{display:inline-flex;align-items:center;gap:4px;font-size:.85rem;font-weight:700;line-height:1.35}.rank-movement-up{color:#086242}.rank-movement-down{color:#a6342b}.rank-movement-new{color:#005a63;background:#dff6f7;padding:3px 9px;border-radius:20px}.rank-movement-unknown{color:#52666e;font-weight:400}.rank-previous{display:block;font-size:.75rem;color:#52666e;font-weight:400;margin-top:5px;line-height:1.4}.rank-pagination{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px;padding:20px 24px;border-top:1px solid var(--btb-grey-200);font-size:.85rem}.rank-pagination a{min-height:44px;display:flex;align-items:center;font-weight:700}.rank-pagination a:last-child{justify-content:flex-end}.rank-empty{text-align:center;padding:36px 16px}.rank-empty img{width:40px;margin-bottom:12px}.rank-empty h3{margin:0 0 10px}.rank-empty p{color:#52666e}.rank-footnotes{margin:24px 0;color:#52666e;font-size:.8rem;line-height:1.6}.rank-footnotes p:first-child{display:flex;align-items:flex-start;gap:8px}.rank-back{display:inline-flex;align-items:center;min-height:44px;font-weight:700}.rank-page-title{margin:20px 0 28px;max-width:700px}.rank-page-title h1{font:var(--btb-font-public-page);margin:8px 0}.rank-page-title p{color:#52666e;line-height:1.6}.rank-date-list{display:grid;grid-template-columns:1fr 1fr;gap:16px}.rank-date-card{display:flex;align-items:center;gap:16px;background:white;border:1px solid #cbd6d9;border-radius:16px;padding:22px;color:var(--btb-ink);text-decoration:none}.rank-date-card:hover{border-color:#007e89;background:#e8f8fa}.rank-date-card>img{width:24px}.rank-date-card>span{margin-left:auto}.rank-date-card h2{font-size:1.15rem;margin:0}.rank-date-card p{font-size:.8rem;color:#52666e;margin:6px 0 0}.rank-trend{margin:0 0 28px;padding:24px;border-radius:18px;background:white;border:1px solid #dde5e7}.rank-trend h2{font-size:1.2rem;margin:0}.rank-trend p,.rank-history-explanation{font-size:.85rem;color:#52666e;line-height:1.6}.rank-trend svg{display:block;width:100%;max-height:230px;overflow:visible;margin-top:20px}.rank-trend polyline{fill:none;stroke:#007e89;stroke-width:3}.rank-trend circle{fill:#007e89;stroke:white;stroke-width:2}.rank-trend .rank-trend-guide{fill:none;stroke:#dde5e7;stroke-width:1}.rank-trend-dates{display:flex;justify-content:space-between;gap:20px;font-size:.75rem;color:#52666e;margin-top:10px}.rank-player-history .rank-table th:nth-child(1){width:32%}.rank-player-history .rank-table th:nth-child(2){width:16%}.rank-player-history .rank-table th:nth-child(3){width:18%}.rank-player-history .rank-table th:nth-child(4){width:34%}
@media(max-width:700px){.rank-hero{padding:28px 22px;border-radius:18px}.rank-hero>p{font-size:.95rem;line-height:1.5;max-width:240px}.rank-eyebrow{font-size:.67rem}.rank-hero h1{max-width:290px}.rank-navigation{flex-wrap:wrap;gap:8px;margin:18px 0}.rank-navigation .segment-control{width:100%}.rank-history-link{font-size:.85rem}.rank-personal{grid-template-columns:1fr 1fr;padding:20px;gap:12px}.rank-personal-position{font-size:2.5rem}.rank-personal-links{grid-column:1/-1;border-top:1px solid #91cbcf;padding-top:8px;gap:4px}.rank-board-toolbar{flex-direction:column;align-items:stretch;padding:20px;gap:16px}.rank-board-toolbar>div{display:flex;align-items:baseline;gap:12px}.rank-search{width:100%}.rank-comparison{padding:12px 16px;line-height:1.5}.rank-table :is(td,th){padding:14px 10px}.rank-table th:nth-child(1){width:14%}.rank-table th:nth-child(2){width:31%}.rank-table th:nth-child(3){width:20%}.rank-table th:nth-child(4){width:35%}.rank-table thead th{font-size:.64rem;letter-spacing:0}.rank-position{font-size:1.25rem}.rank-table tbody th{font-size:.9rem}.rank-points{font-size:1rem}.rank-movement{font-size:.75rem}.rank-previous{font-size:.67rem}.rank-you{margin:4px 0 0;font-size:.65rem}.rank-pagination{padding:12px;font-size:.75rem;gap:8px}.rank-date-list{grid-template-columns:1fr}.rank-date-card{padding:20px}.rank-trend{padding:18px}.rank-trend svg{min-height:140px}.rank-player-history .rank-table :is(td,th){padding:14px 8px}.rank-player-history .rank-table tbody th{font-size:.8rem}.rank-player-history .rank-table th:nth-child(1){width:32%}.rank-player-history .rank-table th:nth-child(2){width:16%}.rank-player-history .rank-table th:nth-child(3){width:18%}.rank-player-history .rank-table th:nth-child(4){width:34%}}

.rank-table tbody th{text-transform:none;letter-spacing:normal}.rank-trend text{font:12px var(--btb-font-body);fill:#52666e}

.rank-position{white-space:nowrap}@media(max-width:700px){.rank-row td:first-child{padding-left:10px;padding-right:6px}.rank-table th:nth-child(1){width:16%}.rank-table th:nth-child(2){width:29%}.rank-player-history .rank-table th:nth-child(1){width:32%}.rank-player-history .rank-table th:nth-child(2){width:16%}}

.rank-hero>.rank-revision{font-size:.76rem;line-height:1.5;color:#e0f2f4;margin:14px 0 0}.rank-trend svg{max-width:766px;margin-inline:auto}.rank-trend-dates{max-width:766px;margin-inline:auto}

.rank-empty img{margin:0 auto 12px}
