:root {
  color-scheme: dark;
  --bg: #07110c;
  --bg-deep: #030806;
  --surface: #0d1c14;
  --surface-2: #13251a;
  --field: #09160f;
  --ink: #f4f7ef;
  --muted: #b4c2b7;
  --line: #294235;
  --line-strong: #3d5b49;
  --pitch: #38a85c;
  --pitch-bright: #68d486;
  --gold: #f2c14e;
  --gold-soft: #ffe095;
  --danger: #ff8f83;
  --success: #79db92;
  --shadow: 0 20px 60px rgb(0 0 0 / 35%);
  --display: "Barlow Condensed", system-ui, sans-serif;
  --body: "Source Sans 3", system-ui, sans-serif;
  --radius: 12px;
  --wrap: min(1180px, calc(100% - 32px));
}

html[data-theme="light"] {
  color-scheme: light;
  --bg: #f4f7f1;
  --bg-deep: #e8efe8;
  --surface: #ffffff;
  --surface-2: #e9f1e9;
  --field: #ffffff;
  --ink: #102017;
  --muted: #4e6255;
  --line: #c8d6cc;
  --line-strong: #9fb3a5;
  --pitch: #167b3c;
  --pitch-bright: #096d33;
  --gold: #9b6900;
  --gold-soft: #704a00;
  --danger: #a92f25;
  --success: #126d35;
  --shadow: 0 18px 50px rgb(31 57 40 / 14%);
}

* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(rgb(255 255 255 / 2%) 1px, transparent 1px) 0 0 / 100% 72px,
    var(--bg);
  color: var(--ink);
  font: 400 1rem/1.55 var(--body);
  text-rendering: optimizeLegibility;
}
body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background: radial-gradient(circle at 50% -20%, rgb(56 168 92 / 16%), transparent 48%);
  content: "";
  pointer-events: none;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--pitch-bright); text-underline-offset: .18em; }
button, input, textarea, select, summary { font: inherit; }
button, summary { cursor: pointer; }
button, input, textarea, select { color: inherit; }
[hidden] { display: none !important; }
.wrap { width: var(--wrap); margin-inline: auto; }
.visually-hidden, .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;
}
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}
.skip-link {
  position: fixed;
  z-index: 100;
  inset-block-start: 10px;
  inset-inline-start: 10px;
  translate: 0 -150%;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--gold);
  color: #171000;
  font-weight: 700;
}
.skip-link:focus { translate: 0; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1, h2, h3 {
  margin-block: 0;
  font-family: var(--display);
  line-height: .98;
  text-wrap: balance;
}
h1 { font-size: clamp(2.65rem, 7vw, 5.6rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); letter-spacing: -.02em; }
p, li { text-wrap: pretty; }
.lede { max-width: 68ch; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.25rem); }
.scoreboard-label, .eyebrow, .kicker, .profile-kicker {
  margin: 0;
  color: var(--gold);
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 9px 18px;
  color: inherit;
  font-family: var(--display);
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--gold); color: #181100; }
.button-primary:hover { background: var(--gold-soft); }
.button-ghost { border-color: var(--line-strong); background: transparent; }
.button-ghost:hover { border-color: var(--pitch-bright); }
.button-small { min-height: 40px; padding-inline: 13px; }
.button-wide { width: 100%; }

.site-header {
  position: sticky;
  z-index: 30;
  inset-block-start: 0;
  border-block-end: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 94%, transparent);
}
.header-bar { overflow: visible; }
.header-inner {
  display: flex;
  min-height: 68px;
  align-items: center;
  gap: 18px;
}
.brand, .footer-brand {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 800;
  text-decoration: none;
}
.brand img { width: 32px; height: 32px; }
.header-nav { min-width: 0; flex: 1; }
.main-nav {
  display: flex;
  overflow-x: auto;
  gap: 4px;
  padding-block: 8px;
  scrollbar-width: none;
}
.main-nav::-webkit-scrollbar { display: none; }
.nav-sport {
  display: inline-flex;
  min-height: 44px;
  flex: none;
  align-items: center;
  border-radius: 7px;
  padding: 8px 11px;
  color: var(--muted);
  font-family: var(--display);
  font-weight: 700;
  text-decoration: none;
}
.nav-sport:hover, .nav-sport[aria-current="page"] { background: var(--surface-2); color: var(--ink); }
.nav-sport[aria-current="page"] { box-shadow: inset 0 -2px var(--gold); }
.header-tools { display: flex; flex: none; align-items: center; gap: 8px; }
.theme-toggle, .nav-toggle, .picker > summary, .sheet-close {
  display: grid;
  width: 44px;
  min-width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
}
.theme-toggle { padding: 10px; }
.theme-toggle svg { width: 20px; height: 20px; }
[data-theme="dark"] .icon-sun, [data-theme="light"] .icon-moon { display: none; }
.picker { position: relative; }
.picker > summary { width: auto; padding-inline: 12px; list-style: none; }
.picker > summary::-webkit-details-marker { display: none; }
.picker-panel {
  display: none;
  width: min(260px, calc(100vw - 24px));
  max-height: min(70vh, 520px);
  overflow-y: auto;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 7px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.picker-panel.is-open { display: grid; }
.picker-panel a {
  min-height: 44px;
  border-radius: 7px;
  padding: 10px 12px;
  color: var(--ink);
  text-decoration: none;
}
.picker-panel a:hover, .picker-panel a[aria-current="page"] { background: var(--surface-2); }
.header-claim-menu, .nav-toggle, .nav-backdrop { display: none; }

main { min-height: calc(100vh - 137px); }
.site-footer { border-block-start: 1px solid var(--line); background: var(--bg-deep); }
.footer-bar {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: .9rem;
}
.footer-bar nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-bar nav a { min-height: 44px; align-content: center; color: var(--muted); text-decoration: none; }
.footer-bar nav a:hover { color: var(--ink); }

.page-hub { padding-block: clamp(56px, 9vw, 120px); }
.hub-hero {
  max-width: 880px;
  padding-block-end: clamp(44px, 8vw, 88px);
}
.hub-hero h1 { max-width: 12ch; margin-block: 10px 18px; }
.hub-hero .lede { margin-block: 0 28px; }
.hub-directory { border-block-start: 1px solid var(--line-strong); }
.hub-group {
  display: grid;
  grid-template-columns: minmax(150px, .28fr) 1fr;
  gap: clamp(18px, 4vw, 56px);
  border-block-end: 1px solid var(--line);
  padding-block: clamp(24px, 4vw, 44px);
}
.hub-group h2 { color: var(--gold); font-size: clamp(1.35rem, 2.5vw, 2rem); }
.hub-sports { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hub-sport {
  display: grid;
  min-height: 70px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-content: center;
  gap: 0 16px;
  border-block-end: 1px solid var(--line);
  padding: 11px 14px;
  color: var(--ink);
  text-decoration: none;
}
.hub-sport:nth-last-child(-n + 2) { border-block-end-color: transparent; }
.hub-sport:hover { background: var(--surface); }
.hub-sport strong { font-family: var(--display); font-size: 1.25rem; }
.hub-sport span { grid-column: 1; color: var(--muted); font-size: .9rem; }
.hub-sport b { grid-column: 2; grid-row: 1 / span 2; align-self: center; color: var(--gold); }

.page-cup { padding-block: clamp(42px, 7vw, 84px); }
.cup-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 18px 28px;
  margin-block-end: 28px;
}
.cup-head h1, .cup-head .lede, .cup-head .scoreboard-label, .cup-controls { grid-column: 1; }
.cup-head h1 { max-width: 13ch; margin-block-start: 6px; }
.cup-head .lede { margin: 0; }
.cup-head > .button { grid-column: 2; grid-row: 2 / 4; align-self: end; }
.cup-controls { margin-block-start: 10px; }
.cup-controls > summary {
  display: none;
  min-height: 44px;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 9px 12px;
  font-weight: 700;
}
.cup-control-groups { display: grid; gap: 10px; }
.cup-filters, .cup-stats {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  gap: 6px;
}
.cup-filters a, .cup-stats a, .rail-tag, .support-lang-pills button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 13px;
  color: var(--muted);
  font-weight: 600;
  text-decoration: none;
}
.cup-filters a:hover, .cup-stats a:hover, .cup-filters a[aria-current="page"], .cup-stats a[aria-current="page"] {
  border-color: var(--pitch-bright);
  background: var(--surface-2);
  color: var(--ink);
}
.cup-stats::before {
  align-self: center;
  margin-inline: 2px 6px;
  color: var(--gold);
  content: "★";
}
.rank-board { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.rank-card { position: relative; min-width: 0; }
.rank-hit {
  display: grid;
  min-height: 76px;
  grid-template-columns: 58px 58px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px 18px 8px 10px;
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  transition: border-color .18s ease, background-color .18s ease, transform .18s ease;
}
.rank-hit:hover { border-color: var(--line-strong); background: var(--surface-2); transform: translateX(3px); }
[dir="rtl"] .rank-hit:hover { transform: translateX(-3px); }
.rank-num {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--muted);
  font-family: var(--display);
  font-size: 1.35rem;
}
.rank-medal { font-family: sans-serif; font-size: 1rem; }
.rank-photo, .rank-photo img { width: 56px; height: 56px; }
.rank-photo {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--field);
}
.rank-photo img { object-fit: contain; padding: 5px; }
.rank-copy { min-width: 0; }
.rank-copy strong, .rank-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank-copy strong { font-family: var(--display); font-size: 1.18rem; }
.rank-copy small { color: var(--muted); }
.rank-flag { font-size: 1.25rem; }
.rank-price { color: var(--gold-soft); font-family: var(--display); font-size: 1.2rem; font-weight: 800; white-space: nowrap; }
.rank-card.is-top .rank-hit { border-color: color-mix(in srgb, var(--gold) 42%, var(--line)); }
.rank-card.is-top-1 .rank-hit { min-height: 92px; background: color-mix(in srgb, var(--gold) 8%, var(--surface)); }
.rank-card.is-top-1 .rank-num { color: var(--gold); font-size: 1.65rem; }
.rank-card.is-top-2 .rank-num { color: #ccd4d1; }
.rank-card.is-top-3 .rank-num { color: #d69a68; }
.rank-card.is-empty .rank-hit { grid-template-columns: 60px minmax(0, 1fr); border-style: dashed; }
.rank-num svg { width: 24px; height: 24px; }
.rank-end-note { margin: 24px 0 10px; color: var(--muted); text-align: center; }
.rank-more { display: inline-flex; min-height: 44px; align-items: center; margin: 8px 8px 0 0; }

.page-browse, .content-page, .error-page { padding-block: clamp(48px, 8vw, 96px); }
.page-head { max-width: 840px; margin-block-end: clamp(32px, 6vw, 62px); }
.page-head h1 { margin-block: 8px 16px; }
.browse-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 8px; }
.browse-card {
  display: flex;
  min-height: 60px;
  align-items: center;
  gap: 12px;
  border-block-end: 1px solid var(--line);
  padding: 10px 12px;
  color: var(--ink);
  text-decoration: none;
}
.browse-card:hover { background: var(--surface); }
.browse-flag { font-size: 1.35rem; }
.rank-context { max-width: 72ch; margin-block-start: 64px; color: var(--muted); }
.rank-context h2 { color: var(--ink); }

.claim-layout {
  display: grid;
  grid-template-columns: minmax(220px, .7fr) minmax(0, 1.3fr);
  gap: clamp(28px, 6vw, 82px);
  align-items: start;
  padding-block: clamp(48px, 8vw, 96px);
}
.claim-summary { position: sticky; inset-block-start: 98px; }
.claim-summary h1 { margin-block: 8px 18px; }
.claim-summary p { max-width: 52ch; color: var(--muted); }
.claim-form-wrap { min-width: 0; }
.support-finder, .claim-form, .donate-form {
  display: grid;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(18px, 4vw, 34px);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.support-board { margin: 0; color: var(--gold); font-family: var(--display); font-weight: 800; }
.support-results, .indication-results {
  display: grid;
  max-height: 320px;
  overflow-y: auto;
  gap: 4px;
  margin: 0;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--field);
  list-style: none;
}
.support-results button, .indication-results button {
  display: flex;
  width: 100%;
  min-height: 52px;
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: 7px;
  padding: 6px 9px;
  background: transparent;
  text-align: start;
}
.support-results button:hover, .indication-results button:hover { background: var(--surface-2); }
.support-results img, .indication-results img { width: 40px; height: 40px; object-fit: contain; }
.support-results span, .support-results small, .indication-results span, .indication-results small { display: block; }
.support-results small, .indication-results small { color: var(--muted); }
.support-chosen { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.support-chip, .indication-chip {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  margin: 0;
}
.support-chip img, .indication-chip img { width: 48px; height: 48px; object-fit: contain; }
.support-chip span, .support-chip small, .indication-chip span, .indication-chip small { display: block; min-width: 0; }
.support-chip small, .indication-chip small { color: var(--muted); }
.support-clear, .indication-clear, .country-action {
  min-height: 44px;
  border: 0;
  background: transparent;
  color: var(--pitch-bright);
  font-weight: 700;
}
.claim-trust {
  grid-column: 1;
  border-block: 1px solid var(--line);
  padding-block: 24px;
}
.claim-trust h2 { font-size: 1.35rem; }
.claim-trust ol { display: grid; gap: 14px; margin: 18px 0 0; padding-inline-start: 22px; }
.claim-trust li { padding-inline-start: 6px; color: var(--gold); }
.claim-trust strong, .claim-trust span { display: block; color: var(--ink); }
.claim-trust span { color: var(--muted); }
.support-pick > .share-bar { grid-column: 1 / -1; }

label { display: grid; gap: 7px; font-weight: 600; }
label small, .stat-hint, .country-hint, .form-status { color: var(--muted); font-weight: 400; }
input, textarea, select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 10px 12px;
  background: var(--field);
}
textarea { min-height: 112px; resize: vertical; }
input::placeholder, textarea::placeholder { color: color-mix(in srgb, var(--muted) 88%, var(--ink)); opacity: 1; }
input:focus, textarea:focus, select:focus { border-color: var(--pitch-bright); }
fieldset { min-width: 0; margin: 0; border: 0; padding: 0; }
legend { margin-block-end: 10px; font-family: var(--display); font-size: 1.2rem; font-weight: 800; }
.form-field { min-width: 0; }
.form-field.is-invalid input, .form-field.is-invalid textarea, .form-field.is-invalid fieldset { border-color: var(--danger); }
.field-error { margin: 6px 0 0; color: var(--danger); }
.field-grid, .site-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.cta-fields, .site-fields, .social-fields, .category-pick, .country-pick {
  display: grid;
  gap: 12px;
  border-block-start: 1px solid var(--line);
  padding-block-start: 18px;
}
.check-label { display: flex; min-height: 44px; align-items: center; gap: 10px; }
.check-label input { width: 22px; min-height: 22px; }
.donate-presets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.donate-presets button, .donate-stepper button {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--field);
  font-weight: 700;
}
.donate-presets button[aria-pressed="true"] { border-color: var(--gold); background: color-mix(in srgb, var(--gold) 12%, var(--field)); }
.donate-stepper { display: grid; grid-template-columns: 48px minmax(0, 1fr) 48px; gap: 8px; }
.donate-amount { position: relative; }
.donate-amount span { position: absolute; z-index: 1; inset-block-start: 50%; inset-inline-start: 14px; translate: 0 -50%; color: var(--gold); }
.donate-amount input { padding-inline-start: 32px; text-align: center; font-family: var(--display); font-size: 1.5rem; font-weight: 800; }
.stat-board { display: grid; gap: 13px; border-block: 1px solid var(--line); padding-block: 20px; }
.stat-hint { margin: 0; }
.stat-slider { grid-template-columns: minmax(90px, .35fr) minmax(100px, 1fr) 28px; align-items: center; }
.stat-slider input { min-height: 44px; padding: 0; accent-color: var(--gold); }
.stat-slider b { color: var(--gold); text-align: end; }
.donate-optional { border-block-end: 1px solid var(--line); padding-block-end: 18px; }
.donate-optional > summary {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
}
.donate-optional > summary::after { content: "+"; color: var(--gold); font-size: 1.4rem; }
.donate-optional[open] > summary::after { content: "−"; }
.donate-optional-fields { display: grid; gap: 18px; padding-block-start: 16px; }
.country-picked, .category-picked { display: flex; flex-wrap: wrap; gap: 6px; }
.country-chip, .category-chip {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  background: var(--surface-2);
}
.category-chip button { min-width: 30px; min-height: 30px; border: 0; background: transparent; color: var(--ink); }
.country-browse > summary { min-height: 44px; align-content: center; color: var(--pitch-bright); }
.country-pick.is-collapsed .country-browse:not([open]) > *:not(summary) { display: none; }
.country-options, .category-options {
  display: grid;
  max-height: 300px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow-y: auto;
  gap: 4px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.country-option, .category-option { display: flex; min-height: 44px; align-items: center; gap: 8px; border-radius: 6px; padding: 6px 8px; }
.country-option:hover, .category-option:hover { background: var(--surface-2); }
.country-option input, .category-option input { width: 20px; min-height: 20px; flex: none; }
.category-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 14px; }
.category-toolbar p { margin: 0; color: var(--muted); }

.profile-card { padding-block: clamp(44px, 7vw, 86px); }
.profile-kicker { margin-block-end: 18px; }
.profile-hero { display: grid; grid-template-columns: minmax(170px, 260px) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.profile-avatar { aspect-ratio: 1; overflow: hidden; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); }
.profile-avatar img { width: 100%; height: 100%; object-fit: contain; padding: 10%; }
.profile-identity h1 { max-width: 13ch; }
.profile-headline { color: var(--gold-soft); font-size: 1.2rem; }
.profile-bio { max-width: 68ch; color: var(--muted); }
.profile-cat { display: flex; flex-wrap: wrap; gap: 6px; }
.profile-lead { margin-block-start: 22px; }
.profile-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-block: 46px;
  border-block: 1px solid var(--line);
}
.profile-metrics > div { min-width: 0; padding: 18px 14px; }
.profile-metrics span, .profile-metrics strong { display: block; }
.profile-metrics span { color: var(--muted); }
.profile-metrics strong { overflow-wrap: anywhere; font-family: var(--display); font-size: 1.35rem; }
.profile-stat-board, .support-wall, .related-entities, .profile-achievements { margin-block-start: 48px; }
.profile-stat-board ul, .support-wall ol, .related-entities ul, .profile-achievements ul, .blog-list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}
.profile-stat-board li {
  display: grid;
  min-height: 52px;
  grid-template-columns: minmax(110px, .35fr) minmax(100px, 1fr) 40px;
  align-items: center;
  gap: 14px;
  border-block-end: 1px solid var(--line);
}
.stat-bar { width: 100%; height: 10px; border: 0; border-radius: 99px; overflow: hidden; background: var(--surface-2); }
.stat-bar::-webkit-progress-bar { background: var(--surface-2); }
.stat-bar::-webkit-progress-value { background: var(--pitch-bright); }
.stat-bar::-moz-progress-bar { background: var(--pitch-bright); }
.support-lang-filter { margin-block: 16px; }
.support-lang-label { color: var(--muted); }
.support-lang-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.support-lang-pills button { background: transparent; }
.support-lang-pills button[aria-pressed="true"] { border-color: var(--pitch-bright); background: var(--surface-2); color: var(--ink); }
.support-wall li { border-block-end: 1px solid var(--line); padding-block: 18px; }
.support-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 12px; margin: 0; color: var(--muted); }
.support-meta b { margin-inline-start: auto; color: var(--gold-soft); }
.support-body { max-width: 72ch; margin-block-end: 0; }
.related-entities li > a {
  display: grid;
  min-height: 68px;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  border-block-end: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
}
.related-entities img { width: 48px; height: 48px; object-fit: contain; }
.profile-achievements li { display: flex; justify-content: space-between; gap: 18px; border-block-end: 1px solid var(--line); padding-block: 14px; }
.profile-achievements span { color: var(--muted); }

.share-bar { margin-block: 28px; }
.share-prompt { color: var(--muted); }
.share-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.share-btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 11px;
  background: transparent;
  color: var(--muted);
  text-decoration: none;
}
.share-btn:hover { border-color: var(--line-strong); color: var(--ink); }
.share-btn svg { width: 18px; height: 18px; }
.share-bar.is-compact .share-btn span { display: none; }

.notice {
  margin-block: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 13px 15px;
  background: var(--surface-2);
}
.notice-success { border-color: color-mix(in srgb, var(--success) 55%, var(--line)); }
.content-page { max-width: 880px; }
.content-sections { display: grid; gap: 0; }
.content-block {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 18px;
  border-block-start: 1px solid var(--line);
  padding-block: 30px;
}
.section-index { color: var(--gold); font-family: var(--display); font-weight: 800; }
.content-block p, .content-block li, .blog-body, .blog-standfirst { color: var(--muted); }
.content-block > div { max-width: 72ch; }
.content-disclaimer { margin-block: 36px; border: 1px solid var(--line-strong); border-radius: 8px; padding: 20px; background: var(--surface); }
.content-disclaimer-label { color: var(--gold); font-family: var(--display); font-weight: 800; }
.content-cta { display: flex; flex-wrap: wrap; gap: 8px; }
.blog-list li { border-block-start: 1px solid var(--line); }
.blog-card { display: block; padding-block: 24px; color: var(--ink); text-decoration: none; }
.blog-card time { color: var(--gold); }
.blog-card h2 { margin-block: 5px 10px; }
.blog-card p { max-width: 68ch; color: var(--muted); }
.blog-body { max-width: 72ch; font-size: 1.08rem; }
.blog-body h2, .blog-body h3 { margin-block: 1.5em .6em; color: var(--ink); }
.blog-body img { margin-block: 24px; border-radius: 8px; }
.blog-empty { display: grid; gap: 5px; color: var(--muted); }
.error-page { max-width: 720px; text-align: center; }
.error-page .lede { margin-inline: auto; }

.profile-sheet {
  width: min(900px, calc(100% - 24px));
  max-height: calc(100dvh - 24px);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  box-shadow: var(--shadow);
}
.profile-sheet::backdrop { background: rgb(0 0 0 / 70%); }
.profile-sheet > form { position: sticky; z-index: 2; inset-block-start: 10px; display: flex; height: 0; justify-content: flex-end; padding-inline: 10px; }
.sheet-close { font-size: 1.6rem; }
.sheet-body .profile-card { width: min(100% - 28px, 780px); }

@media (max-width: 900px) {
  .header-inner { min-height: 62px; }
  .brand span, .header-claim { display: none; }
  .nav-toggle { display: grid; }
  .header-nav {
    position: fixed;
    z-index: 42;
    inset-block: 0;
    inset-inline-end: 0;
    display: none;
    width: min(88vw, 390px);
    overflow-y: auto;
    border-inline-start: 1px solid var(--line);
    padding: 78px 16px 22px;
    background: var(--bg);
    box-shadow: var(--shadow);
  }
  .is-nav-open .header-nav { display: block; }
  .main-nav { display: grid; overflow: visible; }
  .nav-sport { padding-inline: 14px; }
  .header-claim-menu { display: flex; width: 100%; margin-block-start: 16px; }
  .nav-backdrop {
    position: fixed;
    z-index: 40;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    background: rgb(0 0 0 / 62%);
  }
  .is-nav-open .nav-backdrop { display: block; }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
    width: 20px;
    height: 2px;
    background: currentColor;
    content: "";
  }
  .nav-toggle-bars { position: relative; }
  .nav-toggle-bars::before, .nav-toggle-bars::after { position: absolute; inset-inline-start: 0; }
  .nav-toggle-bars::before { inset-block-start: -6px; }
  .nav-toggle-bars::after { inset-block-start: 6px; }
  .claim-layout { grid-template-columns: 1fr; }
  .claim-summary { position: static; }
  .claim-trust { grid-column: auto; }
  .support-pick > .share-bar { grid-column: auto; }
}

@media (max-width: 700px) {
  :root { --wrap: min(100% - 24px, 1180px); }
  h1 { font-size: clamp(2.45rem, 13vw, 4.25rem); }
  .footer-bar { align-items: flex-start; flex-direction: column; padding-block: 20px; }
  .footer-rights { display: none; }
  .hub-group { grid-template-columns: 1fr; }
  .hub-sports { grid-template-columns: 1fr; }
  .hub-sport:nth-last-child(2) { border-block-end-color: var(--line); }
  .cup-head { display: block; }
  .cup-head > .button { margin-block-start: 18px; }
  .cup-controls > summary { display: flex; }
  .cup-controls:not([open]) .cup-control-groups { display: none; }
  .cup-control-groups { margin-block-start: 9px; }
  .cup-filters, .cup-stats {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-block-end: 4px;
    scrollbar-width: thin;
  }
  .cup-filters a, .cup-stats a { flex: none; }
  .rank-hit {
    min-height: 70px;
    grid-template-columns: 38px 48px minmax(0, 1fr) auto;
    gap: 9px;
    padding: 8px 10px 8px 6px;
  }
  .rank-photo, .rank-photo img { width: 46px; height: 46px; }
  .rank-flag { display: none; }
  .rank-price { font-size: 1rem; }
  .rank-copy strong { font-size: 1.05rem; }
  .rank-copy small { font-size: .82rem; }
  .rank-card.is-top-1 .rank-hit { min-height: 80px; }
  .field-grid, .site-pair, .profile-hero { grid-template-columns: 1fr; }
  .profile-avatar { width: min(58vw, 220px); }
  .profile-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .country-options, .category-options { grid-template-columns: 1fr; }
  .category-toolbar { align-items: stretch; flex-direction: column; }
  .profile-achievements li { flex-direction: column; gap: 4px; }
  .content-block { grid-template-columns: 1fr; gap: 8px; }
}

@media (max-width: 390px) {
  .picker-lang > summary { max-width: 62px; overflow: hidden; }
  .donate-presets { grid-template-columns: repeat(2, 1fr); }
  .rank-hit { grid-template-columns: 32px 44px minmax(0, 1fr); }
  .rank-price { grid-column: 3; justify-self: start; }
  .rank-photo, .rank-photo img { width: 42px; height: 42px; }
  .profile-metrics { grid-template-columns: 1fr; }
  .profile-stat-board li { grid-template-columns: minmax(90px, .45fr) minmax(80px, 1fr) 32px; gap: 8px; }
  .stat-slider { grid-template-columns: 1fr 28px; }
  .stat-slider input { grid-column: 1 / -1; grid-row: 2; }
}

@media (min-width: 1600px) {
  :root { --wrap: min(1380px, calc(100% - 80px)); }
  .page-cup, .page-hub { padding-block-start: 96px; }
  .rank-hit { min-height: 84px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
