:root {
  color-scheme: light;
  /* Brand & surfaces */
  --brand: #1a4d3e;
  --brand-dark: #12352d;
  --brand-soft: #ecf7f3;
  --nav-bg: #12352d;
  --ink: #1c2e28;
  --muted: #5f726b;
  --line: #d8e3df;
  --surface: #f4f6f5;
  --white: #fff;
  --gold: #a97800;
  --radius-sm: 4px;
  --radius: 6px;
  --content: 1280px;
  --touch: 44px;
  --shadow-sm: 0 1px 2px rgba(18, 53, 45, .04);
  --shadow-md: 0 2px 6px rgba(18, 53, 45, .06);
  /* Legacy aliases (avoid touching every component rule) */
  --blue: var(--brand);
  --blue-dark: var(--brand-dark);
  --soft: var(--surface);
  --text: var(--ink);
  --green: var(--brand);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-size: 14px;
  line-height: 1.55;
  font-variant-numeric: tabular-nums;
  overflow-x: clip;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.shell {
  width: min(100%, var(--content));
  max-width: var(--content);
  margin-inline: auto;
  padding-inline: 16px;
  min-width: 0;
}
main .shell { overflow-x: clip; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
.header-search:focus-visible,
.pill:focus-visible,
.button:focus-visible,
.home-top10-row-link:focus-visible,
.home-module-more:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

/* ── Header & nav ── */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.header-row {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.header-search {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: var(--touch);
  min-height: var(--touch);
  padding: 0;
  border-radius: var(--radius-sm);
  color: var(--muted);
  flex-shrink: 0;
}
.header-search:active { color: var(--brand); background: var(--brand-soft); }
.header-search-icon { display: inline-flex; width: 22px; height: 22px; flex-shrink: 0; }
.header-search-icon svg { display: block; }
.header-search-text { font-size: 14px; font-weight: 650; white-space: nowrap; display: none; }
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1 1 auto;
  margin-left: max(0px, calc(12.5% - 1ch - 6px));
}
.brand-mark { display: grid; grid-template-columns: repeat(2, 22px); gap: 3px; flex: none; }
.ball {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 800;
  border: 1px solid #c5cec9;
  font-variant-numeric: tabular-nums;
}
.ball-eight { color: white; background: #111; border-color: #333; }
.ball-nine { color: #111; background: #f3c32f; border-color: #d4ad2a; }
.brand-text {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  text-align: left;
}
.brand strong {
  display: block;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 800;
  white-space: nowrap;
  letter-spacing: 0;
}
.header-meta {
  display: none;
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}

.site-nav {
  background: var(--nav-bg);
  color: white;
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 0, 0, .12);
}
.nav-row {
  min-height: 46px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  overflow: visible;
}
.nav-row a {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  min-height: 46px;
  padding: 0 8px;
  white-space: nowrap;
  font-weight: 650;
  font-size: 14px;
  letter-spacing: 0;
  border-bottom: 2px solid transparent;
  text-align: center;
}
.nav-row a[aria-current="page"] {
  background: var(--brand);
  border-bottom-color: #7bc4a8;
}
.nav-row a:active { background: var(--brand-dark); }

@media (max-width: 390px) {
  .brand strong { font-size: 14px; }
  .brand { gap: 8px; }
  .header-row { gap: 8px; }
}

.ad-slot:empty,
.ad-slot.is-ad-empty {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
}
.ad-slot.is-ad-filled {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  box-sizing: border-box;
  margin: 12px auto;
  padding: 10px 12px;
  max-width: 100%;
  border: 1px dashed #d5e3dc;
  border-radius: var(--radius-sm);
  background: #f7faf8;
}
.ad-slot.is-ad-filled[role="complementary"] { outline: none; }
.ad-slot-label {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--muted);
  letter-spacing: 0.04em;
  padding: 2px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}
.ad-slot-inner {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}
.ad-slot-inner img,
.ad-slot-inner iframe,
.ad-slot-inner video,
.ad-slot-inner object {
  display: block;
  max-width: 100%;
  height: auto;
}
.ad-slot:not(:empty):not(.is-ad-empty) { margin: 10px auto; }
.ad-slot-top:not(:empty):not(.is-ad-empty),
.ad-slot-top.is-ad-filled {
  width: auto;
  max-width: 100%;
  margin: 16px auto;
  display: flex;
  justify-content: center;
}
main .ad-slot:not(:empty):not(.is-ad-empty),
main .ad-slot.is-ad-filled { width: 100%; margin: 16px auto; display: flex; justify-content: center; }
main .ad-slot-top:not(:empty):not(.is-ad-empty),
main .ad-slot-top.is-ad-filled { width: auto; max-width: 100%; }
.ad-slot-side:not(:empty):not(.is-ad-empty),
.ad-slot-side.is-ad-filled { margin-top: 12px; width: auto; max-width: 100%; }
.ad-slot[data-ad-slot="ranking-inline"].is-ad-filled,
.ad-slot[data-ad-slot="ranking-inline"]:not(:empty):not(.is-ad-empty) {
  width: 100%;
  max-width: 100%;
  margin: 14px 0 0;
}
.ad-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  box-sizing: border-box;
  padding: 8px 10px;
  border: 1px dashed var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--muted);
  text-align: center;
}
.ad-placeholder-top {
  width: 320px;
  max-width: calc(100% - 28px);
  height: 100px;
  min-height: 100px;
}
.ad-slot-side .ad-placeholder { min-height: 250px; width: 300px; max-width: 100%; }
.ad-placeholder-label { font-size: 13px; font-weight: 650; color: var(--muted); }
.ad-placeholder-size { font-size: 12px; font-variant-numeric: tabular-nums; }

.ad-label {
  display: inline-flex;
  align-items: center;
  height: 18px;
  padding: 0 6px;
  border-radius: 999px;
  font-size: 11px;
  line-height: 18px;
  color: var(--muted);
  background: var(--soft);
  border: 1px solid var(--line);
}

.direct-ad-card {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  text-decoration: none;
  color: var(--text);
}

.direct-ad-image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.direct-ad-title {
  font-weight: 700;
  color: var(--text);
}

.direct-ad-subtitle {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

.direct-ad-cta {
  font-size: 13px;
  color: var(--green);
  font-weight: 700;
}

.baidu-ad-container {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}

.is-miniprogram-webview .is-baidu-ad,
.is-miniprogram-webview [data-ad-provider="baidu"] {
  display: none !important;
}

main { padding: 14px 0 32px; }
main.home-page { padding-bottom: 22px; }
main.home-page + .ad-slot:not(:empty):not(.is-ad-empty),
main.home-page + .ad-slot.is-ad-filled { margin-top: 7px; }
.page-head { margin-bottom: 12px; }
.home-head { margin-bottom: 10px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 6px; color: var(--muted); font-size: 14px; margin-bottom: 8px; }
.breadcrumbs a:active { color: var(--blue); }
.detail-page-nav {
  display: grid;
  gap: 2px;
  margin-bottom: 8px;
}
.detail-page-nav .breadcrumbs {
  margin-bottom: 0;
}
.detail-back-btn {
  display: inline-flex;
  align-items: center;
  align-self: start;
  min-height: 44px;
  margin: 0;
  padding: 0 2px;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  color: #5f706b;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.detail-back-btn:active {
  color: var(--brand);
}
h1, h2, h3 { margin: 0; line-height: 1.35; letter-spacing: 0; }
h1 { font-size: 22px; font-weight: 800; }
h2 { font-size: 17px; font-weight: 750; }
h3 { font-size: 16px; font-weight: 700; }
.page-lead {
  color: var(--muted);
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 1.5;
}
.home-head .page-lead {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.updated { color: var(--muted); font-size: 14px; margin-top: 6px; }

.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.section { margin-top: 12px; }
.section-head {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: nowrap;
}
.section-body { padding: 10px 12px; }
.section-note { color: var(--muted); font-size: 14px; display: none; }
.eyebrow { display: block; color: var(--blue); font-size: 12px; font-weight: 750; margin-bottom: 2px; }
.grid { display: grid; gap: 10px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.metric { padding: 10px 6px; text-align: center; min-width: 0; }
.metric span { color: var(--muted); font-size: 12px; line-height: 1.3; min-height: 28px; display: flex; align-items: center; justify-content: center; }
.metric strong { display: block; margin-top: 2px; font-size: 16px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.rank-links {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 2px;
}
.rank-links::-webkit-scrollbar { display: none; }

/* Segmented / filter pills — brand green (no browser default blue) */
.pill,
button.pill,
a.pill {
  display: inline-flex;
  flex: 0 0 auto;
  min-height: var(--touch);
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid #d5e3dc;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--brand);
  font-weight: 650;
  font-size: 14px;
  white-space: nowrap;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  text-decoration: none;
}
.pill.active,
.pill[aria-pressed="true"] {
  color: var(--brand);
  border-color: var(--brand);
  background: var(--brand-soft);
  font-weight: 700;
}
.pill:hover:not(.active):not([aria-pressed="true"]) {
  background: #f3faf7;
  border-color: #c5ddd2;
  color: var(--brand);
}
.pill:active:not(.active):not([aria-pressed="true"]) {
  background: #e8f5ef;
  border-color: var(--brand);
  color: var(--brand);
}
.pill:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}
.event-filter-pills .pill,
.index-filter-pills .pill {
  min-height: 36px;
  font-size: 13px;
}
.rank-links .pill-short { display: inline; }
.rank-links .pill-full { display: none; }
.button {
  border: 1px solid var(--blue);
  color: var(--blue);
  background: white;
  border-radius: var(--radius);
  min-height: var(--touch);
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  font-weight: 650;
  font-size: 14px;
  white-space: nowrap;
  flex-shrink: 0;
}
.button:active { color: white; background: var(--blue); }

.table-tools { padding: 10px 12px; border-bottom: 1px solid var(--line); }
.search {
  width: 100%;
  border: 1px solid #cbd6e4;
  border-radius: var(--radius);
  min-height: var(--touch);
  padding: 10px 12px;
  color: var(--ink);
  background: white;
  font-size: 14px;
}
.search:focus { outline: 2px solid var(--brand); outline-offset: 0; border-color: var(--brand); }

/* Desktop table hidden on mobile */
.desktop-rank-table { display: none; }
.mobile-rank-list-wrap { display: block; }

.table-wrap { overflow-x: auto; max-width: 100%; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; color: white; background: var(--ink); font-weight: 700; white-space: nowrap; }
th, td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
tbody tr:nth-child(even) { background: #f8fafd; }
tbody tr:last-child td { border-bottom: 0; }
.numeric { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rank-col-secondary { color: var(--muted); font-size: 13px; font-weight: 600; }
.rank { font-weight: 800; width: 56px; text-align: center; }
.rank-1 { color: var(--gold); }
.rank-2 { color: #66788e; }
.rank-3 { color: #b26825; }
.entity-link { font-weight: 700; color: var(--ink); }
.entity-link:active { color: var(--blue); }
.tag { display: inline-flex; align-items: center; min-height: 22px; padding: 0 7px; border: 1px solid #cbd6e4; border-radius: 4px; background: white; white-space: nowrap; font-size: 12px; flex-shrink: 0; }
.empty { color: var(--muted); text-align: center; padding: 24px 14px; font-size: 14px; }

/* Mobile rank list */
.mobile-rank-list { list-style: none; margin: 0; padding: 0; }
.rank-row { border-bottom: 1px solid var(--line); }
.rank-row:last-child { border-bottom: 0; }
.rank-row-link {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) max-content;
  column-gap: 12px;
  align-items: center;
  padding: 12px 14px;
  min-height: var(--touch);
  -webkit-tap-highlight-color: transparent;
}
.rank-row-link:active { background: #edf7f3; }
.rank-row-static { cursor: default; }
.rank-row-num { font-size: 15px; font-weight: 800; text-align: center; line-height: 1; flex-shrink: 0; }
.rank-row-main { min-width: 0; display: grid; gap: 4px; overflow: hidden; }
.rank-row-name {
  font-size: 15px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  word-break: keep-all;
  line-height: 1.3;
}
.rank-row-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  overflow: hidden;
}
.rank-row-meta .tag { flex-shrink: 0; }
.rank-row-secondary {
  font-size: 13px;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  word-break: keep-all;
  min-width: 0;
  line-height: 1.3;
}
.rank-row-secondary-money { font-size: 12px; }
.rank-row-metric {
  flex-shrink: 0;
  display: grid;
  gap: 2px;
  text-align: right;
  white-space: nowrap;
  word-break: keep-all;
  writing-mode: horizontal-tb;
  min-width: max-content;
  padding-left: 12px;
}
.rank-row-metric-label {
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
  word-break: keep-all;
  writing-mode: horizontal-tb;
  text-align: right;
  line-height: 1.2;
  letter-spacing: 0;
}
.rank-row-metric-value {
  font-size: 15px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  word-break: keep-all;
  writing-mode: horizontal-tb;
  text-align: right;
  line-height: 1.2;
}
.rank-row-metric-prize .rank-row-metric-value { font-size: 12px; font-weight: 750; }

/* Home year switcher */
.home-page .home-layout-sidebar {
  display: none;
}
.home-page .home-layout:not(:has(.home-layout-sidebar .ad-slot:not(:empty))) {
  grid-template-columns: minmax(0, 1fr);
}
.home-page .home-layout-main {
  min-width: 0;
}

.home-page .home-year-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  height: 36px;
  margin: 12px 0 14px;
  padding: 3px;
  box-sizing: border-box;
  background: #eef3f0;
  border-radius: 6px;
}
.home-page .home-year-switch-btn {
  min-width: 0;
  height: 30px;
  margin: 0;
  padding: 0 8px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  color: var(--brand);
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
}
.home-page .home-year-switch-btn.is-active {
  background: #0f4a3a;
  color: #fff;
  font-weight: 700;
}
.home-page .home-year-switch-btn:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 1px;
}
.home-page .home-year-empty-note {
  margin: 0;
  padding: 18px 12px 16px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  color: #758880;
  text-align: center;
}
.home-page .home-year-panel > .home-top10:first-child {
  margin-top: 0;
}

/* Home top-10 ranking grid */
.home-page .home-top10 {
  margin-top: 0;
  overflow: hidden;
  border-color: #cfe0d8;
}
.home-page .ad-slot-home-top:not(:empty) + .home-year-switch { margin-top: 0; }
.home-page .ad-slot-home-top:not(:empty) + .home-top10 { margin-top: 0; }
.home-page .home-top10 .home-module-title,
.home-page .home-players .home-module-title,
.home-page .home-events .home-module-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  font-weight: 700;
  color: #06251f;
}
.home-page .home-top10 .home-module-title::before,
.home-page .home-players .home-module-title::before,
.home-page .home-events .home-module-title::before {
  content: "";
  flex: 0 0 3px;
  width: 3px;
  height: 18px;
  border-radius: 2px;
  background: #0f4a3a;
}
.home-page .home-module-head {
  min-height: 48px;
  padding: 0 12px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: #fff;
  border-bottom: 1px solid #e2ece7;
}
.home-module-title {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  color: #102e26;
  white-space: nowrap;
}
.home-module-more {
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  color: #0f4a3a;
  text-decoration: none;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}
.home-module-more:active {
  color: #0a3228;
}
.home-page .home-top10 .home-top10-head {
  background: #eaf4ef;
  color: #0b332a;
  min-height: 42px;
  font-size: 13px;
  font-weight: 700;
  border-bottom: 1px solid #d5e5de;
}
.home-page .home-top10 .home-top10-line.home-top10-row,
.home-page .home-top10 a.home-top10-row-link {
  min-height: 52px;
}
.home-page .home-top10 .home-top10-player {
  font-weight: 700;
}
.home-page .home-top10 .home-top10-prize,
.home-page .home-top10 .home-top10-gap,
.home-page .home-top10 .home-top10-money-value {
  color: #06251f;
  font-weight: 750;
}
.home-top10-wrap {
  overflow-x: clip;
  max-width: 100%;
}
.home-top10-sheet { width: 100%; }
.home-top10-line {
  display: grid;
  grid-template-columns: 17fr 17fr 30fr 30fr 6fr;
  column-gap: 0;
  padding-left: 10px;
  padding-right: 10px;
  align-items: center;
  min-height: 60px;
}
.home-top10-head {
  background: var(--ink);
  color: white;
  min-height: 43px;
  font-size: 13px;
  font-weight: 700;
}
.home-top10-line > .home-top10-cell {
  text-align: center;
  justify-self: center;
  min-width: 0;
  width: 100%;
}
.home-top10-row {
  border-bottom: 1px solid var(--line);
}
a.home-top10-row-link {
  position: relative;
  color: inherit;
  text-decoration: none;
  min-height: 53px;
  -webkit-tap-highlight-color: transparent;
}
.home-page .home-top10 .home-top10-row-link {
  background: var(--white);
}
.home-page .home-top10 .home-top10-row-link:active {
  background: #edf7f3;
}
.home-top10-row:last-child { border-bottom: 0; }
.home-top10-line > .home-top10-cell.rank,
.home-top10-line > .home-top10-cell.home-top10-h-rank,
.home-top10-line > .home-top10-cell.home-top10-player,
.home-top10-line > .home-top10-cell.home-top10-h-player {
  justify-self: stretch;
  align-self: stretch;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.home-top10-line > .home-top10-cell.home-top10-prize,
.home-top10-line > .home-top10-cell.home-top10-gap,
.home-top10-line > .home-top10-cell.home-top10-h-prize,
.home-top10-line > .home-top10-cell.home-top10-h-gap {
  justify-self: stretch;
  align-self: stretch;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  text-align: right;
}
.home-top10-spacer,
.home-top10-h-spacer {
  min-width: 0;
}
.home-top10-cell.rank {
  width: auto;
  max-width: 100%;
  font-weight: 800;
  font-size: 15px;
  line-height: 1.2;
}
.home-top10-cell.rank .home-top10-num,
.home-top10-cell.rank .home-top10-num-rank {
  text-align: center;
  width: 100%;
}
.home-top10-player {
  font-size: 15px;
  font-weight: 650;
  line-height: 1.2;
  white-space: nowrap;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}
.home-top10-money {
  display: block;
  width: 13ch;
  max-width: 100%;
}
.home-top10-money-value {
  display: block;
  width: 100%;
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.home-top10-num {
  display: block;
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.home-top10-num-rank {
  min-width: 1.5ch;
}
.home-top10-player .entity-link {
  display: inline-block;
  max-width: 100%;
  vertical-align: middle;
}
.home-top10-points {
  font-size: 14px;
  font-weight: 750;
  line-height: 1.2;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.home-top10-prize {
  font-size: 14px;
  font-weight: 750;
  line-height: 1.2;
  justify-self: stretch;
  width: 100%;
}
.home-top10-gap {
  font-size: 14px;
  font-weight: 750;
  line-height: 1.2;
  justify-self: stretch;
  width: 100%;
}
.home-top10-h-prize,
.home-top10-h-gap {
  justify-self: stretch;
  width: 100%;
}
.home-top10-money-label,
.home-top10-gap-none {
  display: block;
  width: 100%;
  text-align: right;
  white-space: nowrap;
}
.home-top10-h-prize .home-top10-money-label {
  text-align: right;
  white-space: pre;
}
.home-top10-gap-none {
  font-size: 0.75em;
  font-weight: 500;
  color: var(--muted);
  line-height: 1;
  letter-spacing: 0.02em;
  padding-right: 0.22em;
}
@media (max-width: 430px) {
  .home-top10-prize,
  .home-top10-gap {
    font-size: 13px;
  }
  .home-top10-money {
    width: 13ch;
  }
}
.rank-medal {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  box-sizing: border-box;
  font-weight: 800;
  line-height: 1;
}
.rank-medal-num {
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.rank-medal-1 {
  color: #4a3a0a;
  background: linear-gradient(145deg, #f5d76e 0%, #d4a72c 100%);
  border: 1.5px solid #c9a227;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 0 0 1px rgba(201, 162, 39, .18);
}
.rank-medal-2 {
  color: #3d4a56;
  background: linear-gradient(145deg, #f0f4f8 0%, #b8c4d0 100%);
  border: 1.5px solid #a8b4c0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 0 0 1px rgba(168, 180, 192, .22);
}
.rank-medal-3 {
  color: #4a2f12;
  background: linear-gradient(145deg, #e8c4a0 0%, #b87333 100%);
  border: 1.5px solid #a86528;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 0 0 1px rgba(168, 101, 40, .18);
}
.home-top10-row-arrow {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  color: #b5c0bb;
  font-size: 17px;
  font-weight: 400;
  line-height: 1;
  pointer-events: none;
}
.home-top10-row:nth-child(even) { background: var(--white); }
.home-top10-row:nth-child(odd) { background: #f8faf9; }
.home-top10-row-link:nth-child(even),
.home-top10-row-link:nth-child(odd) { background: var(--white); }
.home-top10-row:not(.home-top10-row-link):active { background: #edf7f3; }
.home-top10-row-link:active { background: #edf7f3; }
.home-top10-cell.rank-1,
.home-top10-cell.rank-2,
.home-top10-cell.rank-3 {
  color: var(--ink);
}

/* Home metrics — single card, two equal columns */
.home-page .home-metrics { margin-top: 14px; }
.home-page .home-metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.home-page .home-metrics .metric {
  padding: 12px 8px;
  text-align: center;
  min-width: 0;
}
.home-page .home-metrics .metric:not(:last-child) { border-right: 1px solid var(--line); }
.home-page .home-metrics .metric span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.3;
  font-weight: 500;
  min-height: 0;
}
.home-page .home-metrics .metric strong {
  display: block;
  margin-top: 4px;
  font-size: 20px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
  color: var(--ink);
}

/* Home ranking hub pills */
.home-page .ranking-hub { margin-top: 14px; }
.home-page .ranking-hub .section-body { padding: 10px 12px; overflow: visible; }
.home-page .rank-links-home {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  overflow: visible;
  padding-bottom: 0;
}
.home-page .rank-links-home .pill {
  flex: none;
  width: 100%;
  min-height: 40px;
  padding: 0 2px;
  font-size: 13px;
  justify-content: center;
  border-radius: var(--radius-sm);
}

/* Home layout */
.home-page .card {
  border-color: #dde8e3;
  box-shadow: none;
}
.home-page .section { margin-top: 14px; }
.home-page .home-top10 + .home-players { margin-top: 18px; }
.home-page .home-players + .home-columns { margin-top: 18px; }
.home-page .home-top10-row { border-bottom-color: #e2ece7; }
.home-page .event-feed-item { border-bottom-color: #e2ece7; }

/* Home players entry */
.home-players-body {
  padding: 18px 12px 12px;
  text-align: center;
}
.home-players-eyebrow {
  margin: 0;
  font-size: 13px;
  font-weight: 400;
  color: #5f706b;
  line-height: 1.3;
  text-align: center;
}
.home-players-count {
  margin: 6px 0 0;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.1;
  color: #06251f;
  font-variant-numeric: tabular-nums;
  text-align: center;
}
.home-players-desc {
  margin: 10px 0 0;
  font-size: 13px;
  font-weight: 400;
  color: #758880;
  line-height: 1.4;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.home-players-search-wrap {
  position: relative;
  width: 100%;
  margin: 16px 0 0;
  text-align: left;
}
.home-players-search-field {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  height: 42px;
  min-height: 42px;
  box-sizing: border-box;
  padding: 0 12px;
  border: 1px solid #dde8e3;
  border-radius: 6px;
  background: #fff;
  -webkit-tap-highlight-color: transparent;
}
.home-players-search-input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  color: var(--ink);
  outline: none;
}
.home-players-search-input:focus,
.home-players-search-input:focus-visible {
  outline: none;
}
.home-players-search-input::placeholder {
  color: var(--muted);
}
.home-players-search-input::-webkit-search-cancel-button {
  -webkit-appearance: none;
}
.home-players-results {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 5;
  max-width: 100%;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid #dde8e3;
  border-radius: 6px;
  overflow: hidden;
}
.home-players-result-item {
  display: block;
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  box-sizing: border-box;
  font-size: 14px;
  font-weight: 500;
  line-height: 42px;
  color: #06251f;
  text-decoration: none;
  background: #fff;
  border: 0;
  border-bottom: 1px solid #e2ece7;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-tap-highlight-color: transparent;
}
.home-players-result-item:last-child {
  border-bottom: 0;
}
.home-players-result-item:active {
  background: #f2f9f6;
}
.home-players-result-empty {
  margin: 0;
  padding: 11px 12px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  color: #758880;
  text-align: center;
}
.home-players-result-more {
  display: block;
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  box-sizing: border-box;
  font-size: 13px;
  font-weight: 500;
  line-height: 42px;
  color: #0f4a3a;
  text-decoration: none;
  text-align: center;
  background: #fff;
  border-top: 1px solid #e2ece7;
  -webkit-tap-highlight-color: transparent;
}
.home-players-result-more:active {
  background: #f2f9f6;
}
.home-players-search-icon {
  display: inline-flex;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  color: var(--muted);
}
.home-players-search-icon svg {
  display: block;
  width: 18px;
  height: 18px;
}
@media (hover: hover) {
  .home-players-result-item:hover {
    background: #f2f9f6;
  }
  .home-players-result-more:hover {
    background: #f2f9f6;
  }
  .home-page .home-events-row:hover {
    background: #f2f9f6;
  }
}
@media (max-width: 430px) {
  .home-players-desc {
    font-size: 12px;
  }
}

.home-page .home-columns { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 18px; }
.home-page .home-events { margin-top: 0; overflow: hidden; }

.home-page .home-events-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.home-page .home-events-item {
  border-bottom: 1px solid #e2ece7;
}
.home-page .home-events-item:last-child {
  border-bottom: 0;
}
.home-page .home-events-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px;
  box-sizing: border-box;
  color: inherit;
  text-decoration: none;
  background: #fff;
  -webkit-tap-highlight-color: transparent;
}
.home-page .home-events-row:active {
  background: #f2f9f6;
}
.home-page .home-events-row-body {
  flex: 1 1 auto;
  min-width: 0;
  display: grid;
  gap: 4px;
}
.home-page .home-events-name {
  display: block;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  color: #06251f;
  white-space: nowrap;
  overflow: hidden;
}
.home-page .home-events-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
  font-size: 12px;
  line-height: 1.4;
}
.home-page .home-events-tag {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 0 6px;
  border: 1px solid #dde8e3;
  border-radius: 4px;
  background: #f8fbf9;
  font-size: 12px;
  font-weight: 500;
  color: #0b332a;
  white-space: nowrap;
  flex-shrink: 0;
}
.home-page .home-events-date {
  color: #5f706b;
  font-size: 12px;
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.home-page .home-events-champion {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  color: #06251f;
}
.home-page .home-events-champion-name {
  font-weight: 600;
}
.home-page .home-events-arrow {
  flex: 0 0 auto;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  color: #9aaba4;
}

.event-feed { list-style: none; margin: 0; padding: 0; }
.event-feed-item {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 3px;
}
.event-feed-item:last-child { border-bottom: 0; }
.event-feed-name { font-size: 14px; font-weight: 700; line-height: 1.35; }
.event-feed-name:active { color: var(--blue); }
.event-feed-meta { font-size: 12px; color: var(--muted); line-height: 1.4; }
.event-feed-champion { font-size: 14px; color: var(--ink); }

.event-same-year-actions {
  padding: 10px 12px 0;
  border-top: 1px solid var(--line);
}
.event-same-year-actions .event-same-year-toggle {
  display: block;
  width: 100%;
  margin: 0;
}
.event-feed-item[hidden] { display: none !important; }

/* Player page */
.player-page-layout { margin-top: 10px; }
.player-hero {
  padding: 16px 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 12px;
}
.player-hero .detail-page-nav { margin-bottom: 0; }
.player-hero .breadcrumbs { margin-bottom: 0; }
.player-hero-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  margin-top: 10px;
}
.player-hero-head h1 {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.player-profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.player-profile-tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.2;
}
.player-year-segment {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  margin-top: 18px;
}
.year-segment-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid #d5e3dc;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--brand);
  font-size: 16px;
  font-weight: 750;
  text-decoration: none;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
}
.year-segment-btn.active,
.year-segment-btn[aria-current="page"] {
  background: var(--brand-soft);
  border-color: var(--brand);
  color: var(--brand);
  font-weight: 800;
}
.year-segment-btn:hover:not(.active):not([aria-current="page"]) {
  background: #f3faf7;
  border-color: #c5ddd2;
  color: var(--brand);
}
.year-segment-btn:active:not(.active):not([aria-current="page"]) {
  background: #e8f5ef;
  border-color: var(--brand);
  color: var(--brand);
}
.year-segment-btn:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}
.player-hero-summary {
  margin: 18px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}
.player-year-empty {
  padding: 24px 14px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}
.player-year-empty p { margin: 0; }
.player-hero-stats.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}
.stat-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  min-width: 0;
}
.stat-card-icon {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
}
.stat-card-ball {
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
}
.stat-card-body {
  min-width: 0;
  flex: 1 1 auto;
}
.stat-card-label {
  display: block;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.25;
}
.stat-card-value {
  display: block;
  margin-top: 3px;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.25;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.copy-link-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 12px;
  min-height: var(--touch);
  cursor: pointer;
  white-space: nowrap;
}
.copy-link-btn svg { flex-shrink: 0; }
.copy-link-btn:active { color: var(--blue); border-color: var(--blue); }
.player-results-section { margin-top: 0; }
.player-results-section .section-body { padding: 0; }
.player-results-sheet {
  display: grid;
  min-width: 0;
}
.result-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 64px 76px;
  gap: 10px;
  align-items: start;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}
.result-row:last-child { border-bottom: 0; }
a.result-row.result-row-link {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
a.result-row.result-row-link:active { background: #edf7f3; }
.result-row-head {
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}
.result-row-head .result-placement,
.result-row-head .result-prize { text-align: right; }
.result-event {
  min-width: 0;
}
.result-event-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-weight: 700;
  line-height: 1.45;
  word-break: normal;
  overflow-wrap: break-word;
}
.result-date {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.3;
}
.result-placement {
  white-space: nowrap;
  font-size: 14px;
  line-height: 1.45;
  padding-top: 1px;
  text-align: right;
}
.result-prize {
  text-align: right;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  font-variant-numeric: tabular-nums;
  padding-top: 1px;
}
.player-page-layout .player-main { min-width: 0; }
.player-ranking-cta { padding: 12px 14px 14px; margin: 0; }

/* Event page */
.event-head { margin-bottom: 8px; }
.event-head-row { display: flex; align-items: flex-start; gap: 8px; min-width: 0; }
.event-head-row h1 { flex: 1 1 auto; min-width: 0; font-size: 20px; line-height: 1.35; }
.event-head-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 4px; font-size: 13px; color: var(--muted); }
.event-page-layout { display: grid; gap: 10px; min-width: 0; }
.event-core-overview { margin-top: 0; }
.event-core-overview .section-head { padding: 8px 12px; }
.event-core-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}
.event-stat {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
  min-width: 0;
}
.event-stat span { display: block; color: var(--muted); font-size: 11px; line-height: 1.25; }
.event-stat strong {
  display: block;
  margin-top: 2px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.event-main-placements .section-head { padding: 8px 12px; }
.event-main-placements .section-body { padding: 8px 10px 10px; }
.event-top-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  min-width: 0;
}
.event-top-item {
  min-width: 0;
  display: flex;
}
.event-top-card,
.event-top-card-link {
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
  min-width: 0;
  width: 100%;
  display: grid;
  gap: 2px;
  box-sizing: border-box;
}
.event-top-card-link {
  color: inherit;
  text-decoration: none;
  min-height: 44px;
  -webkit-tap-highlight-color: transparent;
}
.event-top-card-link:active {
  background: #edf7f3;
}
.event-top-card-link:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}
.event-top-champion {
  border-color: #dcc98a;
  background: #fffdf6;
  box-shadow: inset 0 0 0 1px rgba(169, 120, 0, .06);
}
.event-top-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  min-width: 0;
}
.event-top-place {
  font-size: 11px;
  font-weight: 750;
  color: var(--blue);
  flex-shrink: 0;
  line-height: 1.2;
}
.event-top-champion .event-top-place { color: var(--gold); }
.event-top-head .tag { min-height: 18px; padding: 0 5px; font-size: 10px; flex-shrink: 1; min-width: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.event-top-name {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.event-top-stats {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 2px 3px;
  font-size: 10px;
  line-height: 1.25;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  min-width: 0;
}
.event-top-stats-sep { flex-shrink: 0; }
.event-top-prize { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.event-summary .section-body { padding: 10px 12px; }
.event-summary-text { margin: 0; font-size: 13px; line-height: 1.55; color: var(--muted); }
.event-results-tools { padding: 10px 12px; border-bottom: 1px solid var(--line); display: grid; gap: 8px; min-width: 0; }
.event-filter-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.event-results-count { margin: 0; font-size: 12px; color: var(--muted); line-height: 1.4; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.event-results-dual { min-width: 0; }
.event-results-list-actions {
  padding: 10px 12px 0;
  border-top: 1px solid var(--line);
}
.event-results-list-actions .event-results-toggle {
  display: block;
  width: 100%;
  margin: 0;
}
.event-results-footer {
  padding: 12px;
  display: grid;
  gap: 10px;
}
.event-results-toggle {
  display: block;
  width: 100%;
  margin: 0;
}
.event-results-note {
  margin: 0;
  padding: 10px 12px;
  border-radius: var(--radius);
  background: #f6faf8;
  border: 1px solid #dde8e3;
  font-size: 12px;
  line-height: 1.65;
  color: #5f706b;
  text-align: left;
}
.event-results-desktop { display: none; }
.event-results-mobile { display: block; }
.event-result-list { list-style: none; margin: 0; padding: 0; }
.event-result-entry { min-width: 0; }
.event-result-item,
.event-result-item-link {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 4px;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}
.event-result-item-link {
  color: inherit;
  text-decoration: none;
  min-height: 44px;
  -webkit-tap-highlight-color: transparent;
}
.event-result-item-link:active {
  background: #edf7f3;
}
.event-result-item-link:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: -2px;
}
.event-result-item[hidden],
.event-result-item-link[hidden],
.event-result-item.is-event-row-hidden,
.event-result-item-link.is-event-row-hidden,
.event-results-table tr[data-event-row][hidden],
.event-results-table tr[data-event-row].is-event-row-hidden {
  display: none !important;
}
.event-result-entry:last-child .event-result-item,
.event-result-entry:last-child .event-result-item-link { border-bottom: 0; }
.event-result-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 0; }
.event-result-place { font-size: 13px; font-weight: 700; flex-shrink: 0; }
.event-result-name-wrap { font-size: 15px; font-weight: 700; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.event-result-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.event-result-prize { white-space: nowrap; flex-shrink: 0; }
.event-link-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.event-meta-footer .section-body { display: grid; gap: 10px; }
.event-meta-note { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.5; }
.event-prize-pool-note { font-size: 12px; color: #758880; }
.event-scoring-note { font-size: 13px; color: var(--ink); }
.event-scoring-note summary { cursor: pointer; font-weight: 650; color: var(--blue); }
.event-scoring-note p { margin: 8px 0 0; color: var(--muted); line-height: 1.55; }

/* Index & search pages */
.index-tools { padding: 10px 12px; border-bottom: 1px solid var(--line); display: grid; gap: 8px; }
.rank-index .index-count { padding: 10px 12px 0; }
.rank-index .index-load-more { margin: 10px 12px 0; width: calc(100% - 24px); }
.rank-index .empty { padding-top: 0; }
.index-count { margin: 0; font-size: 12px; color: var(--muted); line-height: 1.4; min-width: 0; }
.index-load-more { margin: 10px 12px 12px; width: calc(100% - 24px); }
.index-filter-pills { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.players-index-table .rank-unlisted { color: var(--muted); font-weight: 600; }

/* Players library page */
.players-library-sheet {
  overflow: visible;
}
.players-library-toolbar {
  padding: 12px 0 0;
}
.players-library-search-field {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  min-height: 42px;
  margin: 0 12px;
  padding: 0 12px;
  box-sizing: border-box;
  border: 1px solid #dde8e3;
  border-radius: 6px;
  background: #fff;
  -webkit-tap-highlight-color: transparent;
}
.players-library-search-input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  color: var(--ink);
  outline: none;
}
.players-library-search-input:focus,
.players-library-search-input:focus-visible {
  outline: none;
}
.players-library-search-input::placeholder {
  color: var(--muted);
}
.players-library-search-icon {
  display: inline-flex;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  color: var(--muted);
}
.players-library-search-icon svg {
  display: block;
  width: 18px;
  height: 18px;
}
.players-library-region-field {
  display: grid;
  gap: 6px;
  margin: 10px 12px 0;
}
.players-library-region-label {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  color: #5f706b;
}
.players-library-region-select {
  width: 100%;
  height: 42px;
  margin: 0;
  padding: 0 32px 0 12px;
  box-sizing: border-box;
  border: 1px solid #dde8e3;
  border-radius: 6px;
  background: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  color: var(--ink);
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235f706b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px 12px;
}
.players-library-region-select:focus,
.players-library-region-select:focus-visible {
  outline: none;
  border-color: #b8cfc4;
}
.players-library-count {
  margin: 10px 12px 0;
  font-size: 12px;
  line-height: 1.4;
  color: #5f706b;
  text-align: left;
}
.players-library-body {
  position: relative;
}
.players-library-list-wrap {
  margin: 11px 0 0;
  border-top: 1px solid #e2ece7;
}
.players-library-list {
  margin: 0;
  padding: 0;
}
.players-library-group {
  margin: 0;
}
.players-library-letter {
  position: sticky;
  top: 0;
  z-index: 2;
  margin: 0;
  padding: 0 12px;
  height: 30px;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  color: #0f4a3a;
  background: #edf4f0;
  scroll-margin-top: 8px;
}
.players-library-group-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.players-library-index {
  position: fixed;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 18;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  width: 20px;
  margin: 0;
  padding: 4px 0;
  border: 0;
  background: transparent;
  touch-action: none;
  user-select: none;
}
.players-library-index:not([hidden]) {
  display: none;
}
.players-index-letter {
  width: 20px;
  min-height: 14px;
  padding: 1px 0;
  border: 0;
  background: transparent;
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  color: #5f706b;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.players-index-letter.is-active {
  color: #0f4a3a;
  font-weight: 800;
}
.players-index-letter.is-disabled {
  color: #c5d0cb;
  cursor: default;
}
.players-library-letter-hint {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 30;
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(15, 74, 58, 0.88);
  color: #fff;
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
}
.players-library-letter-hint[hidden] {
  display: none !important;
}

/* ── Mobile polish (≤820px) ── */
@media (max-width: 820px) {
  .players-library-list-wrap {
    padding-right: 18px;
  }
  .players-library-index:not([hidden]) {
    display: flex;
  }

  .shell { padding-inline: 14px; }

  main { padding-bottom: calc(40px + env(safe-area-inset-bottom, 0px)); }
  [data-event-page],
  [data-rankings-page],
  .players-library-sheet {
    padding-bottom: calc(52px + env(safe-area-inset-bottom, 0px));
  }

  .rank-row-link {
    grid-template-columns: 28px minmax(0, 1fr) minmax(0, max-content);
    column-gap: 8px;
    padding: 12px;
  }
  .rank-row-metric {
    min-width: 0;
    max-width: 42%;
    padding-left: 4px;
  }
  .rank-row-metric-value { font-size: 13px; }
  .rank-row-metric-prize .rank-row-metric-value { font-size: 12px; }

  .rankings-filter-switch { height: 40px; }
  .rankings-filter-btn { height: 34px; min-height: 34px; font-size: 13px; }
  .rankings-filter-short { display: inline; }
  .rankings-filter-full { display: none; }

  .event-filter-pills .pill {
    min-height: 36px;
    padding: 0 12px;
    font-size: 13px;
  }
  .event-head-row h1,
  .player-hero-head h1 {
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .copy-link-btn-compact {
    padding: 8px 10px;
    font-size: 12px;
  }

  .result-row {
    grid-template-columns: minmax(0, 1fr) 56px 72px;
    gap: 8px;
    padding: 12px;
  }
  .result-prize { font-size: 13px; }

  .content-page-head { padding: 14px 14px 10px; }
  .content-page-head h1 { font-size: 22px; line-height: 1.25; }
  .content-page-lead { font-size: 14px; }
  .content-page-body {
    padding: 14px 14px 16px;
    font-size: 14px;
    line-height: 1.65;
  }
  .content-page-body h2 {
    margin-top: 18px;
    margin-bottom: 8px;
    font-size: 16px;
    line-height: 1.35;
  }
  .content-page-body ul { padding-left: 1.15em; }
  .content-page-summary {
    padding: 10px 12px;
    font-size: 13px;
    line-height: 1.6;
  }
  .ad-inventory { margin-inline: -2px; }
  .content-table { font-size: 12px; }
  .content-table th,
  .content-table td { padding: 8px 8px; }

  .players-collapse-fab,
  .event-collapse-fab,
  .rankings-collapse-fab {
    min-height: 40px;
    height: 40px;
    padding: 0 16px;
  }

  .empty,
  .player-year-empty,
  .players-library-empty,
  .rankings-sheet-empty {
    padding: 20px 14px;
    font-size: 14px;
    line-height: 1.55;
  }

  .ad-placeholder,
  .ad-placeholder-top {
    max-width: calc(100vw - 32px);
  }
}

@media (max-width: 430px) {
  .shell { padding-inline: 12px; }
  .nav-row a { font-size: 13px; padding: 0 4px; }
  .brand strong { font-size: 13px; }

  .home-top10-line {
    padding-left: 6px;
    padding-right: 6px;
    min-height: 52px;
  }
  .home-top10-num,
  .home-top10-money-value { font-size: 12px; }
  .home-top10-player { font-size: 13px; }

  .player-hero-head h1 { font-size: 22px; }
  .player-hero { padding: 14px 12px 18px; }
  .copy-link-btn span {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  .copy-link-btn { padding: 8px 10px; }
  .stat-card { padding: 10px; gap: 8px; }
  .stat-card-value { font-size: 14px; }

  .events-stat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .events-stat-card { padding: 10px 6px; }
  .events-stat-value { font-size: 14px; }

  .rankings-page-rules {
    font-size: 13px;
    line-height: 1.55;
  }
}

@media (min-width: 821px) {
  .rankings-filter-short { display: none; }
  .rankings-filter-full { display: inline; }
}

.players-library-item {
  border-bottom: 1px solid #e2ece7;
}
.players-library-item:last-child {
  border-bottom: 0;
}
.players-library-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 12px;
  box-sizing: border-box;
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.players-library-row:active {
  background: #f2f9f6;
}
.players-library-main {
  flex: 1 1 auto;
  min-width: 0;
  display: grid;
  gap: 3px;
}
.players-library-name {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  color: #06251f;
}
.players-library-meta {
  font-size: 13px;
  line-height: 1.4;
  color: #5f706b;
}
.players-library-stats {
  font-size: 12px;
  line-height: 1.4;
  color: #758880;
}
.players-library-arrow {
  flex: 0 0 auto;
  font-size: 18px;
  line-height: 1;
  color: #9aaba4;
}
.players-library-empty {
  margin: 0;
  padding: 18px 12px 16px;
  font-size: 13px;
  line-height: 1.5;
  color: #758880;
  text-align: center;
}
.players-library-load {
  display: block;
  width: calc(100% - 24px);
  margin: 12px auto 12px;
}
.players-collapse-fab,
.event-collapse-fab {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 25;
  height: 38px;
  padding: 0 14px;
  border: 1px solid #dde8e3;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(15, 74, 58, .12);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  color: #0f4a3a;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.players-collapse-fab:active,
.event-collapse-fab:active {
  background: #f3faf7;
}
.year-link-grid, .rankings-year-links, .event-link-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.rankings-year-list { display: grid; gap: 10px; }
.rankings-year-card .section-body { padding: 10px 12px 12px; }

/* Events index page */
.events-page-layout { display: grid; gap: 12px; margin-top: 10px; }
.events-hero {
  padding: 16px 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.events-hero .breadcrumbs { margin-bottom: 0; }
.events-hero-head { margin-top: 10px; }
.events-hero-head h1 {
  margin: 0;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.events-hero-lead {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}
.events-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 18px;
}
.events-stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  padding: 10px 6px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  min-width: 0;
}
.events-stat-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
}
.events-stat-label {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.25;
}
.events-stat-value {
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.events-year-segment {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  margin-top: 16px;
}
.events-year-segment .year-segment-btn-wide {
  min-height: 48px;
  padding: 0 6px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}
.events-year-segment .year-segment-btn.active {
  box-shadow: 0 2px 8px rgba(18, 53, 45, .18);
}
.events-list-section { margin-top: 0; }
.events-list-section .section-head { padding: 12px 14px; }
.events-list-section .section-head h2 { font-size: 16px; }
.events-list { min-width: 0; }
.events-list-actions {
  padding: 10px 12px 0;
  border-top: 1px solid var(--line);
}
.events-list-actions .events-list-toggle {
  display: block;
  width: 100%;
  margin: 0;
}
.event-item[hidden] { display: none !important; }
.event-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px 10px;
  align-items: center;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.event-item:last-child { border-bottom: 0; }
.event-item:active { background: #edf7f3; }
.event-item-main { min-width: 0; }
.event-item-name {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: normal;
  overflow-wrap: break-word;
}
.event-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.35;
}
.event-meta-date { min-width: 0; }
.event-sub {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  margin-top: 3px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.35;
}
.event-sub-sep { opacity: .55; }
.event-prize {
  font-size: 13px;
  font-weight: 800;
  color: var(--brand);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.event-arrow {
  color: var(--muted);
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
}
.events-year-empty {
  padding: 28px 14px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}
.events-year-empty p { margin: 0; }
.event-index-list { list-style: none; margin: 0; padding: 0; }
.event-index-item {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 4px;
  min-width: 0;
}
.event-index-item:last-child { border-bottom: 0; }
.event-index-name { font-size: 15px; font-weight: 700; line-height: 1.35; word-break: keep-all; }
.event-index-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.event-index-date, .event-index-champion, .event-index-stats { font-size: 13px; color: var(--muted); line-height: 1.4; min-width: 0; }
.site-search { padding: 10px 12px 12px; display: grid; gap: 12px; min-width: 0; }
.site-search-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.site-search-results { display: grid; gap: 14px; min-width: 0; }
.site-search-group h2 { font-size: 15px; margin: 0 0 8px; }
.site-search-list { list-style: none; margin: 0; padding: 0; }
.site-search-item { border-bottom: 1px solid var(--line); }
.site-search-item:last-child { border-bottom: 0; }
.site-search-link { display: grid; gap: 3px; padding: 10px 0; min-width: 0; }
.site-search-link:active { color: var(--blue); }
.site-search-type { font-size: 11px; color: var(--blue); font-weight: 700; }
.site-search-title { font-size: 15px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.site-search-summary { font-size: 13px; color: var(--muted); line-height: 1.4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.site-search-noscript { margin: 0; font-size: 14px; color: var(--muted); }

.detail-layout { display: grid; grid-template-columns: 1fr; gap: 12px; align-items: start; }
.facts { display: grid; grid-template-columns: 1fr; gap: 0; }
.fact { padding: 10px 0; border-bottom: 1px solid var(--line); }
.fact span { display: block; color: var(--muted); font-size: 12px; }
.fact strong { display: block; margin-top: 2px; font-size: 14px; }
.side-card { position: static; }
.notice { border-left: 3px solid var(--blue); background: #edf7f3; padding: 10px 12px; color: #355b50; font-size: 14px; }
.prose { max-width: 820px; font-size: 14px; }
.prose p { margin: 0 0 12px; }
.prose ul { margin: 0 0 12px; padding-left: 20px; }
.prose li { margin: 4px 0; }

/* Content pages (about, rules, etc.) */
main.content-page-main { padding-bottom: 28px; }
.content-page { margin-top: 10px; overflow: hidden; }
.content-page-head {
  padding: 16px 14px 12px;
  border-bottom: 1px solid var(--line);
}
.content-page-head h1 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.35;
}
.content-page-lead {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}
.content-page-body {
  padding: 14px;
  max-width: 820px;
  font-size: 14px;
  line-height: 1.65;
}
.content-page-body > *:first-child { margin-top: 0; }
.content-page-summary {
  margin: 0 0 16px;
  padding: 12px 14px;
  border: 1px solid #dde8e3;
  border-radius: var(--radius);
  background: #f6faf8;
  font-size: 13px;
  line-height: 1.65;
  color: #3d524b;
}
.content-page-summary strong { color: var(--ink); font-weight: 700; }
.content-page-body h2 {
  margin: 22px 0 10px;
  font-size: 16px;
  font-weight: 750;
  line-height: 1.4;
  color: var(--ink);
}
.content-page-body h2:first-child { margin-top: 0; }
.content-page-body p { margin: 0 0 12px; }
.content-page-body ul {
  margin: 0 0 14px;
  padding-left: 1.35em;
}
.content-page-body li {
  margin: 6px 0;
  line-height: 1.6;
}
.content-page-body li::marker { color: var(--muted); }
.content-page-closing {
  margin: 20px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}
.content-page-note {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: #f3f8f5;
  font-size: 13px;
  color: var(--muted);
}
.content-page-body code {
  font-size: 12px;
  padding: 1px 5px;
  border-radius: 4px;
  background: #eef3f0;
}
.ad-inventory { overflow-x: auto; margin: 0 0 16px; }
.content-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  line-height: 1.45;
}
.content-table th,
.content-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.content-table th {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  background: #f6faf8;
}
.content-table tr:last-child td { border-bottom: 0; }

/* Rankings full page */
.rankings-page-head {
  margin-bottom: 15px;
}
.rankings-page-head .rankings-page-rules {
  margin-top: 11px;
  margin-bottom: 0;
}
.rankings-page-filters {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}
.rankings-filter-switch {
  display: grid;
  gap: 0;
  height: 36px;
  padding: 3px;
  box-sizing: border-box;
  background: #eef3f0;
  border-radius: 6px;
  overflow: hidden;
}
.rankings-year-switch {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.rankings-type-switch {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.rankings-filter-btn {
  min-width: 0;
  height: 30px;
  margin: 0;
  padding: 0 6px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  color: #0b332a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
}
.rankings-filter-btn.is-active,
.rankings-filter-btn[aria-selected="true"] {
  background: #0f4a3a;
  color: #fff;
  font-weight: 700;
}
.rankings-filter-btn:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 1px;
}
.rankings-page-sheet .rankings-page-search-wrap {
  margin: 0 12px;
}
.rankings-page-search-wrap {
  position: relative;
  z-index: 40;
  width: auto;
}
.rankings-page-search-field {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  height: 42px;
  min-height: 42px;
  box-sizing: border-box;
  padding: 0 12px;
  border: 1px solid #dde8e3;
  border-radius: 6px;
  background: #fff;
  -webkit-tap-highlight-color: transparent;
}
.rankings-page-search-input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  color: var(--ink);
  outline: none;
}
.rankings-page-search-input:focus,
.rankings-page-search-input:focus-visible {
  outline: none;
}
.rankings-page-search-input::placeholder {
  color: var(--muted);
}
.rankings-page-search-icon {
  display: inline-flex;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  color: var(--muted);
}
.rankings-page-search-icon svg {
  display: block;
  width: 18px;
  height: 18px;
}
.rankings-page-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 50;
  max-width: 100%;
  max-height: 260px;
  overflow-x: hidden;
  overflow-y: auto;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid #cfe0d8;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(6, 37, 31, 0.1);
  -webkit-overflow-scrolling: touch;
}
.rankings-page-result-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  box-sizing: border-box;
  border: 0;
  font-family: inherit;
  font-size: 14px;
  color: #06251f;
  text-decoration: none;
  text-align: left;
  background: #fff;
  border-bottom: 1px solid #e2ece7;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.rankings-page-result-item:last-child {
  border-bottom: 0;
}
.rankings-page-result-item:active {
  background: #f2f9f6;
}
.rankings-page-result-name {
  flex: 1 1 auto;
  min-width: 0;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rankings-page-result-rank {
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 500;
  color: #5f706b;
}
.rankings-page-result-empty {
  margin: 0;
  padding: 11px 12px;
  font-size: 13px;
  color: #758880;
  text-align: center;
}
.rankings-page-result-more {
  display: block;
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  box-sizing: border-box;
  font-size: 13px;
  font-weight: 500;
  line-height: 42px;
  color: #0f4a3a;
  text-decoration: none;
  text-align: center;
  background: #fff;
  border-top: 1px solid #e2ece7;
}
.rankings-page-rules {
  display: block;
  margin: 0;
  padding: 10px 12px;
  border-radius: 6px;
  background: #f3faf7;
  font-size: 13px;
  line-height: 1.55;
  color: #0b332a;
  text-decoration: none;
}
.rankings-page-rules-cta {
  color: #0f4a3a;
  font-weight: 600;
}
.rankings-page-sheet {
  overflow: visible;
}
.rankings-sheet-toolbar {
  padding: 12px 0 0;
}
.rankings-sheet-meta {
  margin: 6px 12px 0;
  font-size: 12px;
  line-height: 1.4;
  color: #5f706b;
  text-align: left;
}
.rankings-sheet-table {
  margin-top: 11px;
  overflow: hidden;
}
.rankings-sheet-empty {
  margin: 0;
  padding: 18px 12px 16px;
  font-size: 13px;
  line-height: 1.5;
  color: #758880;
  text-align: center;
}
.rankings-load-btn {
  display: block;
  width: calc(100% - 24px);
  margin: 12px auto 0;
}
.rankings-display-count {
  margin: 10px 12px 12px;
  font-size: 13px;
  line-height: 1.4;
  color: #5f706b;
  text-align: center;
}
.rankings-page-sheet .home-top10-head {
  background: #eaf4ef;
  color: #0b332a;
  min-height: 42px;
  font-size: 13px;
  font-weight: 700;
  border-bottom: 1px solid #d5e5de;
}
.rankings-page-sheet .home-top10-line.home-top10-row,
.rankings-page-sheet a.home-top10-row-link {
  min-height: 44px;
}
.rankings-page-sheet .home-top10-player {
  font-weight: 700;
}
.rankings-page-sheet .home-top10-prize,
.rankings-page-sheet .home-top10-gap,
.rankings-page-sheet .home-top10-money-value {
  color: #06251f;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
}
.rankings-page-sheet .home-top10-row-link:active {
  background: #f2f9f6;
}
.rankings-page-sheet .home-top10-row-link.rankings-row-highlight {
  background: #fff6d9;
}
.rankings-collapse-fab {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 20;
  height: 38px;
  padding: 0 14px;
  border: 1px solid #dde8e3;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(15, 74, 58, .12);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  color: #0f4a3a;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.rankings-collapse-fab:active {
  background: #f3faf7;
}
@media (hover: hover) {
  .players-index-letter:not(.is-disabled):hover {
    color: #0f4a3a;
  }
  .players-library-row:hover {
    background: #f2f9f6;
  }
  .players-collapse-fab:hover,
  .event-collapse-fab:hover {
    background: #f3faf7;
  }
  .rankings-page-result-item:hover {
    background: #f2f9f6;
  }
  .rankings-page-result-more:hover {
    background: #f2f9f6;
  }
  .rankings-page-rules:hover {
    background: #edf7f3;
  }
  .rankings-page-sheet .home-top10-row-link:hover {
    background: #f2f9f6;
  }
  .rankings-page-sheet .home-top10-row-link.rankings-row-highlight:hover {
    background: #fff6d9;
  }
  .rankings-collapse-fab:hover {
    background: #f3faf7;
  }
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--white);
}
.footer-row {
  padding: 22px 0 24px;
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
}
.footer-title,
.footer-note,
.footer-icp {
  margin: 0;
}
.footer-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}
.footer-note,
.footer-icp {
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}
.footer-icp a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.footer-icp a:active { color: var(--brand); }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 16px;
  max-width: 360px;
  margin-top: 2px;
}
.footer-links a {
  font-size: 13px;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}
.footer-links a:active { color: var(--brand); }

@media (min-width: 768px) {
  .footer-row {
    padding: 24px 0 26px;
    gap: 9px;
  }
  .footer-links {
    max-width: none;
  }
}

/* ── Desktop enhancements (min-width) ── */
@media (min-width: 821px) {
  body { font-size: 16px; line-height: 1.65; }
  .shell { padding-inline: 16px; }

  .header-row { min-height: 72px; gap: 20px; }
  .brand { gap: 14px; flex: 0 1 auto; }
  .header-actions { gap: 16px; }
  .header-search {
    min-width: auto;
    min-height: var(--touch);
    padding: 0 12px;
    border-radius: var(--radius-sm);
  }
  .header-search-text { display: inline; font-size: 14px; }
  .header-search:hover { color: var(--brand); background: var(--brand-soft); }
  .brand-mark { grid-template-columns: repeat(2, 28px); gap: 4px; }
  .ball { width: 28px; height: 28px; font-size: 12px; }
  .brand strong { font-size: 22px; }
  .header-meta { display: block; font-size: 14px; }
  .nav-row { min-height: 46px; gap: 0; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .nav-row a { padding: 0 12px; font-size: 15px; min-height: 46px; }
  .nav-row a:hover,
  .nav-row a[aria-current="page"] { background: var(--brand); }

  main { padding: 28px 0 48px; }
  main.home-page { padding-bottom: 34px; }
  main.home-page + .ad-slot:not(:empty) { margin-top: 11px; }
  .page-head { margin-bottom: 22px; }
  .detail-page-nav {
    grid-template-columns: auto 1fr;
    align-items: center;
    column-gap: 14px;
    row-gap: 0;
  }
  .home-head { margin-bottom: 20px; }
  h1 { font-size: 32px; }
  h2 { font-size: 22px; }
  h3 { font-size: 17px; }
  .page-lead { font-size: 16px; margin-top: 10px; max-width: 900px; }
  .home-head .page-lead { display: block; -webkit-line-clamp: unset; overflow: visible; }
  .updated { font-size: 14px; margin-top: 8px; }

  .section { margin-top: 20px; }
  .section-head { padding: 16px 20px; flex-wrap: wrap; }
  .section-body { padding: 18px 20px; }
  .section-note { display: inline; }
  .metric { padding: 18px 20px; text-align: left; }
  .metric span { font-size: 14px; min-height: 0; display: block; }
  .metric strong { font-size: 26px; margin-top: 4px; }

  .pill { min-height: 40px; font-size: 15px; padding: 0 16px; }
  .pill:hover:not(.active):not([aria-pressed="true"]) {
    background: #f3faf7;
    border-color: #c5ddd2;
    color: var(--brand);
  }
  .pill.active,
  .pill[aria-pressed="true"] {
    border-color: var(--brand);
    color: var(--brand);
    background: var(--brand-soft);
  }
  .button { min-height: auto; padding: 8px 14px; }
  .button:hover { color: white; background: var(--blue); }

  .table-tools { padding: 14px 18px; }
  .search { width: min(100%, 420px); min-height: auto; font-size: 15px; }

  .desktop-rank-table { display: block; }
  .mobile-rank-list-wrap { display: none; }

  table { font-size: 15px; }
  th, td { padding: 12px 14px; }
  tbody tr:hover { background: #edf7f3; }
  .entity-link { border-bottom: 1px solid transparent; }
  .entity-link:hover { color: var(--blue); border-color: currentColor; }
  .breadcrumbs a:hover { color: var(--blue); }
  .detail-back-btn:hover { color: var(--brand); }

  .home-page .section { margin-top: 16px; }
  .home-page .home-top10 .home-module-title,
  .home-page .home-players .home-module-title,
  .home-page .home-events .home-module-title {
    font-size: 17px;
  }
  .home-page .home-module-head {
    padding: 0 12px;
    min-height: 50px;
  }
  .home-module-more:hover {
    color: #0a3228;
  }

  .home-page .home-top10 + .home-players { margin-top: 18px; }
  .home-page .home-players + .home-columns { margin-top: 18px; }
  .home-page .home-columns {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .home-page .home-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    align-items: start;
  }
  .home-page .home-layout-sidebar {
    display: block;
    position: sticky;
    top: 16px;
  }
  .home-page .home-layout:not(:has(.home-layout-sidebar .ad-slot:not(:empty))) {
    grid-template-columns: minmax(0, 1fr);
  }
  .home-page .home-layout:has(.home-layout-sidebar .ad-slot:not(:empty)) {
    grid-template-columns: minmax(0, 1fr) 300px;
  }
  .home-page .ad-slot-home-sidebar:not(:empty),
  .home-page .ad-slot-home-sidebar.is-ad-filled {
    margin: 0;
    width: 300px;
    max-width: 100%;
  }
  .home-page .ad-slot-home-sidebar .ad-placeholder {
    width: 300px;
    max-width: 100%;
  }

  .ad-placeholder-top {
    width: 970px;
    max-width: calc(100% - 32px);
    height: 90px;
    min-height: 90px;
  }
  .ad-slot-top:not(:empty) { margin: 16px auto; }
  .home-top10-line {
    grid-template-columns: 17fr 17fr 30fr 30fr 6fr;
    column-gap: 0;
    padding-left: 14px;
    padding-right: 14px;
    min-height: 62px;
  }
  .home-page .home-top10 .home-top10-line.home-top10-row,
  .home-page .home-top10 a.home-top10-row-link {
    min-height: 52px;
  }
  .home-page .home-top10 .home-top10-head {
    min-height: 42px;
  }
  .home-top10-head { min-height: 48px; font-size: 13px; }
  .home-top10-cell.rank { font-size: 16px; }
  .home-top10-player { font-size: 16px; }
  .home-top10-points { font-size: 16px; }
  .home-top10-prize { font-size: 16px; }
  .home-top10-gap { font-size: 16px; }
  .home-page .home-top10 .home-top10-row-link:hover { background: #f2f9f6; }
  .rank-medal { width: 28px; height: 28px; }
  .rank-medal-num { font-size: 12px; }

  .rank-links .pill-short { display: none; }
  .rank-links .pill-full { display: inline; }

  .home-page .home-metrics .metric { padding: 16px 20px; text-align: center; }
  .home-page .home-metrics .metric span { font-size: 13px; }
  .home-page .home-metrics .metric strong { font-size: 26px; margin-top: 6px; }

  .home-page .rank-links-home {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .home-page .rank-links-home .pill {
    width: auto;
    min-height: 40px;
    padding: 0 16px;
    font-size: 15px;
    border-radius: var(--radius);
  }
  .home-page .ranking-hub .section-body { padding: 16px 20px; }

  .event-feed-item { padding: 14px 18px; gap: 4px; }
  .event-feed-name { font-size: 15px; }
  .event-feed-name:hover { color: var(--blue); }
  .event-feed-meta { font-size: 13px; }
  .event-feed-champion { font-size: 13px; }
  .event-same-year-actions { padding: 12px 18px 0; }

  .events-hero { padding: 20px 22px 24px; }
  .events-hero-head { margin-top: 12px; }
  .events-hero-head h1 { font-size: 32px; }
  .events-hero-lead { font-size: 14px; margin-top: 10px; }
  .events-stat-grid { gap: 10px; margin-top: 20px; }
  .events-stat-card { padding: 12px 8px; gap: 5px; }
  .events-stat-icon { width: 38px; height: 38px; }
  .events-stat-label { font-size: 11px; }
  .events-stat-value { font-size: 16px; }
  .events-year-segment { margin-top: 18px; gap: 10px; }
  .events-year-segment .year-segment-btn-wide { min-height: 52px; font-size: 14px; }
  .events-year-segment .year-segment-btn:hover:not(.active) { border-color: var(--brand); color: var(--brand); }
  .events-list-section .section-head { padding: 14px 18px; }
  .events-list-section .section-head h2 { font-size: 18px; }
  .events-list-actions { padding: 12px 18px 0; }
  .event-item { padding: 14px 18px; gap: 10px 14px; }
  .event-item:hover { background: #edf7f3; }
  .event-item-name { font-size: 16px; }
  .event-meta { font-size: 13px; }
  .event-sub { font-size: 13px; }
  .event-prize { font-size: 15px; }

  .player-hero { padding: 20px 22px 24px; margin-bottom: 16px; }
  .player-hero-head { margin-top: 12px; gap: 16px; }
  .player-hero-head h1 { font-size: 32px; }
  .player-profile-tags { margin-top: 16px; gap: 10px; }
  .player-profile-tag { font-size: 14px; padding: 6px 14px; }
  .player-year-segment { margin-top: 20px; gap: 10px; }
  .year-segment-btn { min-height: 52px; font-size: 17px; }
  .year-segment-btn:hover:not(.active) { border-color: var(--brand); color: var(--brand); }
  .player-hero-summary { margin-top: 20px; font-size: 14px; }
  .player-hero-stats.stat-grid { gap: 12px; margin-top: 18px; }
  .stat-card { padding: 14px; gap: 12px; }
  .stat-card-icon { flex-basis: 44px; width: 44px; height: 44px; }
  .stat-card-label { font-size: 12px; }
  .stat-card-value { font-size: 18px; margin-top: 4px; }
  .copy-link-btn { font-size: 13px; }
  .copy-link-btn:hover { color: var(--blue); border-color: var(--blue); }
  .result-row { grid-template-columns: minmax(0, 1fr) 72px 76px; padding: 12px 18px; }
  a.result-row.result-row-link:hover { background: #edf7f3; }
  .result-row-head { padding: 10px 18px; }
  .result-placement,
  .result-prize { font-size: 15px; }

  .event-results-desktop { display: block; }
  .event-results-mobile { display: none; }
  .event-result-item-link:hover { background: #f2f9f6; }
  .event-results-table tr.event-result-row-link { cursor: pointer; }
  .event-results-table tr.event-result-row-link:hover td { background: #f2f9f6; }
  .event-results-table tr.event-result-row-link:focus-visible td { background: #f2f9f6; outline: 2px solid var(--brand); outline-offset: -2px; }
  .event-head-row h1 { font-size: 32px; }
  .event-core-overview .section-head { padding: 14px 18px; }
  .event-stat { padding: 10px 12px; }
  .event-stat span { font-size: 12px; }
  .event-stat strong { font-size: 17px; margin-top: 3px; }
  .event-main-placements .section-head { padding: 14px 18px; }
  .event-main-placements .section-body { padding: 14px 18px 16px; }
  .event-top-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
  .event-top-card,
  .event-top-card-link { padding: 10px 12px; gap: 3px; }
  .event-top-card-link:hover { background: #f2f9f6; }
  .event-top-place { font-size: 12px; }
  .event-top-name { font-size: 15px; }
  .event-top-stats { font-size: 12px; }
  .event-summary-text { font-size: 14px; }
  .event-results-tools { padding: 14px 18px; }
  .event-results-list-actions { padding: 12px 18px 0; }
  .event-results-footer { padding: 14px 18px 16px; }
  .event-meta-note { font-size: 14px; }
  .event-prize-pool-note { font-size: 13px; }
  .event-scoring-note { font-size: 14px; }

  .detail-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 18px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
  .fact { padding: 12px 0; }
  .side-card { position: sticky; top: 16px; }
  .notice { font-size: 15px; padding: 12px 14px; }

  .rankings-filter-btn {
    font-size: 14px;
  }

  .content-page-head { padding: 20px 20px 14px; }
  .content-page-head h1 { font-size: 28px; }
  .content-page-lead { font-size: 15px; margin-top: 10px; }
  .content-page-body { padding: 18px 20px 20px; font-size: 15px; line-height: 1.7; }
  .content-page-body h2 { margin-top: 26px; font-size: 18px; }
  .content-page-closing { font-size: 14px; margin-top: 24px; padding-top: 16px; }

  .ad-slot:not(:empty) { margin: 16px auto; }
  .ad-slot-top:not(:empty) { width: auto; max-width: 100%; }
}

@media (min-width: 821px) and (hover: hover) {
  .nav-row a:hover { background: var(--brand); }
  .rank-row-link:hover { background: #edf7f3; }
  .event-feed-name:hover { color: var(--blue); }
  .footer-links a:hover { color: var(--brand); }
  .footer-icp a:hover { color: var(--brand); }
}
