:root {
  color-scheme: light;
  --ink: #142b39;
  --muted: #667985;
  --line: #d9e1e4;
  --surface: #fff;
  --page: #f3f6f6;
  --accent: #0b736c;
  --dark: #122d3c;
  --gold: #bb8541;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--page); font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif; font-size: 16px; line-height: 1.5; }
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 3px solid #159c8f; outline-offset: 3px; border-radius: 3px; }
.shell { width: min(100% - 48px, 1200px); margin-inline: auto; }
.site-header { background: var(--dark); color: #fff; }
.nav { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 850; letter-spacing: .12em; line-height: 1.12; text-decoration: none; }
.brand-second { display: block; color: #78d1c2; }
.brand-mark { display: grid; place-items: center; width: 40px; height: 40px; border: 2px solid #69c7b8; border-radius: 50%; color: #7ed3c4; font-size: 31px; font-weight: 400; line-height: 1; }
.edition { color: #c4d3d9; font-size: 14px; }
.edition-year { margin-left: 9px; border: 1px solid #607683; border-radius: 6px; padding: 6px 10px; color: #fff; font-weight: 700; }
.main-content { padding-top: 47px; padding-bottom: 68px; }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 26px; margin-bottom: 31px; }
.eyebrow { color: var(--accent); font-size: 12px; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 8px; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 8px; font-size: clamp(2.15rem, 4vw, 3.5rem); line-height: 1.08; letter-spacing: -.045em; }
h2 { margin-bottom: 0; font-size: clamp(1.4rem, 2.3vw, 1.95rem); line-height: 1.18; letter-spacing: -.025em; }
h3 { margin: 0; font-size: 1.14rem; letter-spacing: -.015em; }
.intro { margin: 0; color: var(--muted); font-size: 17px; }
.season-panel { flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-end; padding-bottom: 3px; }
.season-panel span, .profile-rank span, .profile-total > span, .stat-tile span, .points-card > span { font-size: 12px; font-weight: 800; letter-spacing: .11em; }
.season-panel span { color: var(--muted); }
.season-panel strong { font-size: 32px; font-variant-numeric: tabular-nums; line-height: 1.1; }
.notice { display: flex; gap: 16px; align-items: flex-start; border: 1px solid #a9d4ca; border-left: 4px solid var(--accent); border-radius: 10px; background: #e6f4f0; padding: 14px 18px; margin-bottom: 22px; font-size: 14px; }
.notice strong { white-space: nowrap; }
.notice span { color: #365b59; }
.summary-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--line); margin-bottom: 31px; }
.summary-strip > div { display: flex; align-items: baseline; gap: 12px; padding: 17px 22px; background: #fff; }
.summary-strip strong { font-size: 26px; font-variant-numeric: tabular-nums; line-height: 1; }
.summary-strip span { color: var(--muted); font-size: 13px; }
.main-board, .clubs-board { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding: 25px 28px; }
.main-board .section-head, .clubs-board .section-head { border-bottom: 1px solid var(--line); }
.rule-tag { color: #526773; font-size: 13px; font-weight: 650; white-space: nowrap; }
.rank-list { list-style: none; padding: 0; margin: 0; }
.rank-row { min-height: 68px; display: flex; align-items: center; gap: 17px; border-bottom: 1px solid #e7edef; padding: 10px 28px; }
.rank-row:last-child { border-bottom: 0; }
.rank-row:hover { background: #f7faf9; }
.rank-number { flex: 0 0 36px; display: grid; place-items: center; font-size: 16px; font-weight: 800; color: #6b7a82; font-variant-numeric: tabular-nums; }
.rank-number.medal { width: 36px; height: 36px; border-radius: 8px; }
.medal-1 { background: #f9e9c6; color: #8f621a; }
.medal-2 { background: #e9eef0; color: #526773; }
.medal-3 { background: #fae9dd; color: #995c3a; }
.rank-person { min-width: 0; flex: 1; display: flex; flex-direction: column; align-items: flex-start; text-decoration: none; }
a.rank-person:hover strong { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.rank-person strong { font-size: 16px; line-height: 1.25; font-weight: 750; }
.rank-person > span { color: var(--muted); font-size: 13px; margin-top: 3px; }
.rank-score { display: flex; align-items: baseline; gap: 4px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.rank-score strong { font-size: 22px; font-weight: 800; line-height: 1; }
.rank-score small { color: var(--muted); font-size: 12px; }
.categories, .clubs-board { margin-top: 39px; }
.categories > .section-head { padding-left: 0; padding-right: 0; }
.category-grid { display: grid; align-items: start; gap: 18px; }
.category-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.category-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.category-card { background: var(--surface); border: 1px solid var(--line); border-radius: 13px; overflow: hidden; }
.category-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 20px 20px 17px; border-top: 3px solid var(--accent); border-bottom: 1px solid var(--line); }
.category-head span { color: var(--muted); font-size: 12px; text-align: right; }
.category-card .rank-row { padding: 9px 15px; min-height: 59px; gap: 10px; }
.rank-row-small .rank-number { flex-basis: 30px; width: 30px; font-size: 14px; }
.rank-row-small .rank-number.medal { width: 30px; height: 30px; }
.rank-row-small .rank-person strong { font-size: 14px; }
.rank-row-small .rank-person > span { font-size: 12px; }
.rank-row-small .rank-score strong { font-size: 18px; }
.more-results { border-top: 1px solid var(--line); }
.more-results summary { cursor: pointer; list-style: none; padding: 13px 20px; color: var(--accent); font-weight: 700; font-size: 14px; }
.more-results summary::-webkit-details-marker { display: none; }
.more-results summary::after { content: ' +'; }
.more-results[open] summary::after { content: ' −'; }
.empty-card { padding: 20px 26px; color: var(--muted); margin: 0; }
.method-note { max-width: 920px; margin: 30px 0 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.method-note a { color: var(--accent); font-weight: 700; }
.site-footer { background: var(--dark); color: #c5d3d8; }
.site-footer .shell { min-height: 72px; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: 13px; }
.back-link { display: inline-block; color: var(--accent); font-weight: 700; text-decoration: none; margin-bottom: 25px; font-size: 14px; }
.back-link:hover { text-decoration: underline; }
.profile-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 22px; margin-bottom: 25px; }
.profile-heading h1 { font-size: clamp(2rem, 3.8vw, 3rem); }
.profile-heading p:last-child { color: var(--muted); margin-bottom: 0; }
.profile-rank { display: flex; flex-direction: column; align-items: flex-end; min-width: 145px; }
.profile-rank span { color: var(--muted); }
.profile-rank strong { font-size: 42px; line-height: 1.1; }
.profile-rank small { color: var(--muted); font-size: 12px; }
.profile-overview { display: grid; grid-template-columns: 1.45fr repeat(3, 1fr); gap: 14px; margin-bottom: 40px; }
.profile-total { display: flex; flex-direction: column; justify-content: center; border-radius: 12px; background: var(--dark); color: #fff; padding: 23px 27px; }
.profile-total > span { color: #9bd9cc; }
.profile-total > strong { font-size: 54px; line-height: 1.06; }
.profile-total > small { color: #c4d8dd; font-size: 12px; }
.stat-tile { display: flex; flex-direction: column; justify-content: center; border-radius: 12px; border: 1px solid var(--line); background: #fff; padding: 23px 20px; }
.stat-tile span { color: var(--muted); }
.stat-tile strong { font-size: 36px; font-variant-numeric: tabular-nums; }
.profile-section { margin-bottom: 39px; }
.profile-section .section-head { padding-left: 0; padding-right: 0; }
.points-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.points-card { border: 1px solid var(--line); border-top: 3px solid var(--accent); background: #fff; border-radius: 11px; padding: 22px; }
.points-card > span { color: var(--muted); }
.points-card > strong { display: block; font-size: 44px; line-height: 1.3; }
.points-card > strong small { font-size: 14px; color: var(--muted); }
.points-card > div { border-top: 1px solid var(--line); padding: 11px 0 0; margin-top: 7px; display: flex; justify-content: space-between; gap: 10px; font-size: 14px; }
.points-card > div span { color: var(--muted); }
.points-card b { white-space: nowrap; }
.fine-print { color: var(--muted); font-size: 13px; margin: 11px 0 0; }
.progress-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; border: 1px solid var(--line); border-radius: 11px; overflow: hidden; background: var(--line); }
.progress-grid > div { display: flex; justify-content: space-between; gap: 10px; padding: 15px 18px; background: #fff; font-size: 14px; }
.progress-grid span { color: var(--muted); }
.progress-grid strong { white-space: nowrap; font-variant-numeric: tabular-nums; }
.qualification { display: inline-block; border-radius: 7px; padding: 10px 14px; margin: 15px 0 0; background: #e9edef; color: #475864; font-size: 14px; }
.qualification.met { background: #dff2eb; color: #08614d; }
.results-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.history-table { border-collapse: collapse; width: 100%; text-align: left; min-width: 760px; font-size: 14px; }
.history-table th { padding: 14px 17px; background: var(--dark); color: #fff; font-size: 12px; text-transform: uppercase; letter-spacing: .055em; }
.history-table td { padding: 14px 17px; border-top: 1px solid var(--line); }
.history-table td:first-child span, .history-table td small { display: block; color: var(--muted); font-size: 12px; }
.history-table td:not(:first-child) { white-space: nowrap; }
.history-points { font-weight: 800; }
.rules-page h1 { margin-bottom: 28px; }
.rules-copy { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 30px; max-width: 890px; }
.rules-copy section { padding: 23px 0; border-bottom: 1px solid var(--line); }
.rules-copy section:last-child { border: 0; }
.rules-copy h2 { font-size: 1.25rem; margin-bottom: 8px; }
.rules-copy p { margin: 0 0 9px; color: #465a66; }
.rules-copy p:last-child { margin: 0; }
.error-state { min-height: 55vh; padding-top: 70px; }
.error-state p { color: var(--muted); }
@media (max-width: 980px) {
  .category-grid.three { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .profile-overview { grid-template-columns: repeat(2,1fr); }
  .points-grid { grid-template-columns: repeat(2,1fr); }
  .progress-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 660px) {
  .shell { width: min(100% - 30px, 1200px); }
  .nav { min-height: 65px; }
  .edition { font-size: 12px; }
  .edition-year { margin-left: 4px; padding: 4px 6px; }
  .brand { font-size: 12px; gap: 8px; }
  .brand-mark { width: 32px; height: 32px; font-size: 25px; }
  .main-content { padding-top: 28px; }
  .page-heading { align-items: flex-start; margin-bottom: 24px; }
  .page-heading .intro { font-size: 15px; }
  .season-panel { display: none; }
  .notice { flex-direction: column; gap: 3px; }
  .summary-strip { grid-template-columns: repeat(3,1fr); }
  .summary-strip > div { display: block; padding: 14px 8px; text-align: center; }
  .summary-strip strong { display: block; font-size: 22px; }
  .summary-strip span { display: block; font-size: 11px; line-height: 1.25; margin-top: 4px; }
  .section-head { display: block; padding: 20px 15px; }
  .rule-tag { display: block; margin-top: 9px; white-space: normal; }
  .main-list .rank-row { padding: 10px 13px; gap: 10px; }
  .rank-person strong { font-size: 14px; }
  .rank-person > span { font-size: 12px; }
  .rank-score strong { font-size: 19px; }
  .category-grid.three, .category-grid.two { grid-template-columns: 1fr; }
  .categories { margin-top: 30px; }
  .category-card .rank-row { padding: 10px 16px; }
  .profile-heading { align-items: flex-start; }
  .profile-rank { min-width: 80px; }
  .profile-rank span { max-width: 100px; text-align: right; font-size: 10px; }
  .profile-rank strong { font-size: 30px; }
  .profile-rank small { text-align: right; }
  .profile-overview, .points-grid, .progress-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .profile-total { grid-column: 1/-1; }
  .stat-tile { padding: 15px; }
  .stat-tile strong { font-size: 30px; }
  .points-card { padding: 16px; }
  .points-card:last-child { grid-column: 1/-1; }
  .points-card > span { font-size: 11px; }
  .points-card > div { font-size: 12px; }
  .progress-grid > div { flex-direction: column; padding: 13px; gap: 3px; }
  .site-footer .shell { padding-block: 18px; display: block; }
  .site-footer .shell span { display: block; margin-bottom: 5px; }
  .rules-copy { padding: 8px 17px; }
}
@media (max-width: 360px) {
  .edition { font-size: 0; }
  .edition-year { font-size: 12px; }
  .points-grid { grid-template-columns: 1fr; }
  .points-card:last-child { grid-column: auto; }
}
