@font-face {
  font-family: Inter;
  src: url("../fonts/Inter-19884df4a8102ca66ed497ef7f549816.woff2")
    format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: Bodoni;
  src: url("../fonts/Bodoni%20Moda-33dc776cb1a45a0a49e6242e569f1659.woff2")
    format("woff2");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
}
:root {
  --ink: #183b30;
  --muted: #626f65;
  --paper: #f3f3ec;
  --line: rgba(29, 65, 49, 0.14);
  --purple: #685384;
  --lime: #e5f2b7;
  --serif: Bodoni, Georgia, serif;
  --sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius: 24px;
  --shadow:
    0 14px 45px -25px rgba(20, 52, 39, 0.28), inset 0 1px 0 #ffffffd9,
    inset 0 -1px 0 #ffffff60;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
  background:
    radial-gradient(ellipse at 85% 20%, #dcd5eb66, transparent 38%),
    radial-gradient(ellipse at 0% 65%, #d6e2c960, transparent 40%), var(--paper);
  -webkit-font-smoothing: antialiased;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.08;
}
h1 em,
h2 em {
  font-weight: 400;
}
h1 {
  font-size: clamp(46px, 6.2vw, 82px);
  margin-bottom: 24px;
}
h2 {
  font-size: clamp(32px, 3.6vw, 48px);
  margin-bottom: 20px;
}
h3 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
}
p {
  margin-bottom: 20px;
}
small {
  font-size: 12px;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}
::selection {
  background: #d8e7b5;
  color: var(--ink);
}
:focus-visible {
  outline: 3px solid var(--purple);
  outline-offset: 5px;
}
a,
button,
input,
select,
textarea {
  touch-action: manipulation;
}
button[hidden],
[hidden] {
  display: none !important;
}
.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;
}
.skip-link {
  position: fixed;
  left: 20px;
  top: -100px;
  z-index: 1000;
  background: var(--ink);
  color: white;
  padding: 12px 22px;
  border-radius: 12px;
}
.skip-link:focus {
  top: 12px;
}
.glass-panel {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.88),
    rgba(255, 255, 255, 0.62)
  );
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  backdrop-filter: blur(20px) saturate(135%);
  -webkit-backdrop-filter: blur(20px) saturate(135%);
}
.glass-dark {
  background: linear-gradient(
    135deg,
    rgba(43, 69, 54, 0.72),
    rgba(33, 52, 44, 0.6)
  );
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow:
    0 16px 50px #102b2830,
    inset 0 1px 0 #ffffff55,
    inset 0 -1px 0 #ffffff10;
  backdrop-filter: blur(24px) saturate(125%);
  -webkit-backdrop-filter: blur(24px) saturate(125%);
  color: #fff;
  border-radius: var(--radius);
}
.site-header-wrap {
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 16px 32px 0;
  pointer-events: none;
}
.site-header {
  max-width: 1360px;
  margin: auto;
  min-height: 78px;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  border-radius: 22px;
  pointer-events: auto;
  background: linear-gradient(135deg, #fffffff0, #f5f6eef0);
  backdrop-filter: blur(24px) saturate(160%);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
  line-height: 1;
}
.brand > span {
  font-family: var(--serif);
  font-size: 27px;
  letter-spacing: -1px;
}
.brand-italic {
  font-style: italic;
}
.brand small {
  display: block;
  font-family: var(--sans);
  font-size: 8px;
  letter-spacing: 1.6px;
  line-height: 1.7;
  margin-top: 5px;
}
.site-header nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  margin: auto;
}
.site-header nav a {
  padding: 9px 12px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  border-radius: 10px;
  transition: background 0.2s;
}
.site-header nav a:hover {
  background: #e4eadc;
}
.site-header nav a[aria-current] {
  background: var(--ink);
  color: #fff;
  box-shadow:
    inset 0 1px 0 #ffffff30,
    0 3px 8px #173b3020;
}
.header-extra {
  font-size: 12px;
  text-decoration: none;
  border-left: 1px solid var(--line);
  padding-left: 22px;
  white-space: nowrap;
}
.header-extra span {
  padding-left: 10px;
}
.menu-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff9;
  padding: 10px 12px;
  color: var(--ink);
}
.site-main {
  max-width: 1240px;
  padding: 0 28px;
  margin: 0 auto;
  min-height: 60vh;
}
.home-main {
  max-width: 1416px;
}
.page-heading {
  padding: 75px 0 45px;
  max-width: 900px;
}
.page-heading h1 em {
  color: var(--purple);
}
.eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 18px;
  line-height: 1.5;
  color: #516458;
}
.eyebrow.light {
  color: #e5eccd;
}
.lede {
  max-width: 600px;
  font-size: 16px;
  color: var(--muted);
  line-height: 1.8;
}
.section {
  margin: 70px 0;
}
.home-main > .section,
.intro-strip {
  max-width: 1184px;
  margin-left: auto;
  margin-right: auto;
}
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}
.section-heading h2 {
  margin-bottom: 0;
}
.section-heading .eyebrow {
  margin-bottom: 12px;
}
.section-heading h3 {
  margin: 0;
}
.section-heading > .text-link {
  flex-shrink: 0;
  margin-bottom: 5px;
}
.text-link {
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  gap: 18px;
  align-items: center;
}
.text-link:hover {
  text-decoration: underline;
}
.text-link span {
  font-size: 20px;
  font-weight: 400;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 13px 22px;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  line-height: 1.5;
  transition:
    background 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
}
.button:hover {
  background: #285342;
  box-shadow: 0 5px 15px #183b3020;
  transform: translateY(-1px);
}
.button span {
  font-size: 20px;
}
.button-lime {
  background: var(--lime);
  color: var(--ink);
}
.button-lime:hover {
  background: #eff9d2;
}
.button-glass {
  background: #ffffff18;
  color: #fff;
  border: 1px solid #ffffff55;
  backdrop-filter: blur(16px);
}
.button-glass:hover {
  background: #ffffff30;
}
.button-secondary {
  background: #fff8;
  color: var(--ink);
  border-color: var(--line);
}
.button-secondary:hover {
  background: #e8eee0;
}
.button-small {
  min-height: 42px;
  padding: 10px 15px;
  font-size: 12px;
  gap: 12px;
}
.button-danger {
  background: #7d3434;
}
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.mini-pill {
  display: inline-block;
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 5px 11px;
  font-size: 9px;
  letter-spacing: 1px;
  white-space: nowrap;
}
.badge {
  display: inline-flex;
  align-items: center;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.5;
  padding: 6px 11px;
  border-radius: 100px;
  background: #eeedf1;
  color: #554b66;
  border: 1px solid #ffffff75;
}
.badge-green {
  color: #285c38;
  background: #e6efd8;
}
.small-note {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.65;
}
.avatar {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 50%;
  flex-shrink: 0;
}
.hero {
  position: relative;
  min-height: 660px;
  border-radius: 28px;
  overflow: hidden;
  margin-top: 20px;
  color: #fff;
  display: flex;
  align-items: center;
}
.hero-background,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
}
.hero-shade {
  background:
    linear-gradient(90deg, #102c25d6 0%, #142b2170 55%, #152a2035 100%),
    linear-gradient(0deg, #122b24b3, transparent 35%);
}
.hero-main {
  position: relative;
  z-index: 1;
  padding: 65px 62px 95px;
  width: 68%;
}
.hero h1 {
  font-size: clamp(52px, 7vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.055em;
  max-width: 800px;
  margin: 28px 0;
}
.hero h1 em {
  color: #e3edc4;
}
.hero-main > p:not(.eyebrow) {
  color: #f0f0e8;
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 30px;
}
.live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--lime);
  border-radius: 50%;
  margin-right: 10px;
  box-shadow: 0 0 0 4px #e5f2b71a;
}
.hero-trophy {
  position: absolute;
  right: 48px;
  bottom: 100px;
  width: 260px;
  padding: 26px;
}
.hero-trophy .eyebrow {
  color: #e8edda;
  font-size: 9px;
  margin-bottom: 26px;
}
.hero-trophy .trophy-mark {
  position: absolute;
  right: 28px;
  top: 12px;
  font-size: 40px;
  color: var(--lime);
}
.hero-trophy .hero-winner {
  font-family: var(--serif);
  font-size: 31px;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 10px;
  max-width: 150px;
}
.hero-trophy > p:not(.hero-winner) {
  font-size: 11px;
  color: #ecf0e3;
}
.hero-trophy a {
  font-size: 11px;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #ffffff35;
  padding-top: 16px;
  text-decoration: none;
}
.hero-footer {
  position: absolute;
  bottom: 0;
  left: 40px;
  right: 40px;
  border-top: 1px solid #ffffff35;
  padding: 20px 5px;
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  letter-spacing: 1.6px;
  color: #e4e9dd;
}
.hero-footer > span:last-child span {
  font-size: 20px;
  margin-left: 20px;
}
.intro-strip {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 30px 5px;
  gap: 20px;
}
.intro-strip p {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 14px;
}
.intro-strip strong {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 400;
  color: var(--ink);
}
.intro-strip em {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 22px;
}
.tournament-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.tournament-card {
  position: relative;
  height: 325px;
  overflow: hidden;
  border-radius: 18px;
  color: #fff;
  background: var(--ink);
  text-decoration: none;
  isolation: isolate;
}
.tournament-card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s;
}
.tournament-card:after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, #0f2419ef, transparent 65%),
    linear-gradient(180deg, #112a2060, transparent 30%);
  z-index: 0;
}
.tournament-card:hover > img {
  transform: scale(1.045);
}
.tournament-card-top,
.tournament-card-bottom {
  position: absolute;
  z-index: 1;
  left: 20px;
  right: 20px;
}
.tournament-card-top {
  top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 8px;
  letter-spacing: 1.5px;
}
.round-arrow {
  display: grid;
  place-items: center;
  border: 1px solid #ffffff70;
  background: #ffffff15;
  backdrop-filter: blur(12px);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 19px;
}
.tournament-card-bottom {
  bottom: 22px;
}
.tournament-card-bottom h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 29px;
  letter-spacing: -1px;
  line-height: 1.05;
  margin-bottom: 8px;
}
.tournament-card-bottom > span {
  font-size: 10px;
  color: #e6eadd;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 24px;
}
.ranking-preview,
.calendar-preview {
  padding: 32px;
}
.ranking-preview h2,
.calendar-preview h2 {
  font-size: 36px;
}
.ranking-preview .section-heading {
  align-items: center;
}
.mini-ranking {
  list-style: none;
  margin: 26px 0;
  padding: 0;
}
.mini-ranking li {
  display: flex;
  gap: 14px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}
.mini-ranking li:first-child {
  border-top: 1px solid var(--line);
}
.mini-ranking strong {
  font-size: 13px;
  display: block;
  font-weight: 500;
}
.mini-ranking small {
  display: block;
  font-size: 10px;
  color: var(--muted);
}
.mini-ranking li > b {
  margin-left: auto;
  font-size: 16px;
  font-weight: 500;
  text-align: right;
}
.mini-ranking li > b small {
  font-weight: 400;
}
.rank-number {
  font-size: 12px;
  color: var(--muted);
}
.calendar-preview {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(135deg, #e3e4f5b0, #fafaf5b0);
}
.calendar-preview h2,
.calendar-preview p {
  position: relative;
  z-index: 1;
}
.calendar-preview > div > p:not(.eyebrow) {
  max-width: 285px;
  font-size: 13px;
  color: #55615b;
}
.calendar-preview > .text-link {
  position: relative;
  z-index: 1;
  margin-top: 40px;
}
.court-mark {
  position: relative;
  width: 160px;
  height: 230px;
  border: 1px solid #718a7555;
  border-radius: 3px;
  transform: rotate(25deg);
}
.court-mark i:first-child {
  position: absolute;
  inset: 0 15%;
  border-left: 1px solid #718a7555;
  border-right: 1px solid #718a7555;
}
.court-mark i:nth-child(2) {
  position: absolute;
  inset: 24% 0;
  border-top: 1px solid #718a7555;
  border-bottom: 1px solid #718a7555;
}
.court-mark i:nth-child(3) {
  position: absolute;
  top: 24%;
  bottom: 24%;
  left: 50%;
  border-left: 1px solid #718a7555;
}
.court-mark:after {
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  top: 50%;
  border-top: 2px solid #718a7570;
}
.court-mark b {
  position: absolute;
  bottom: 15%;
  left: 36%;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #edf6b6, #a5bb60);
  box-shadow: 4px 5px 6px #2c492433;
}
.calendar-preview .court-mark {
  position: absolute;
  right: -15px;
  bottom: -48px;
  opacity: 0.7;
}
.story-panel {
  max-width: 1184px;
  margin: 80px auto 30px;
  border-radius: 28px;
  background: #1c3e32;
  color: #fff;
  padding: 60px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 40px;
  overflow: hidden;
}
.story-panel h2 {
  font-size: 43px;
}
.story-panel h2 em {
  color: #e2edc5;
}
.story-panel p:not(.eyebrow) {
  color: #d7e1d4;
  font-size: 13px;
  max-width: 470px;
}
.friend-stack {
  position: relative;
  min-height: 340px;
  align-self: center;
}
.friend-stack figure {
  position: absolute;
  top: calc(var(--card-index) * 35px);
  left: calc(var(--card-index) * 65px);
  width: 190px;
  transform: rotate(calc(-12deg + var(--card-index) * 10deg));
  border: 1px solid #ffffff70;
  background: #e7eddf;
  padding: 8px 8px 14px;
  margin: 0;
  box-shadow: 0 10px 30px #061b2780;
}
.friend-stack img {
  width: 100%;
  height: 235px;
  object-fit: cover;
}
.friend-stack figcaption {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--ink);
  padding-top: 8px;
  text-align: center;
}
.ranking-panel {
  padding: 28px;
}
.ranking-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}
.segmented {
  display: inline-flex;
  padding: 4px;
  gap: 4px;
  background: #dfe7dc80;
  border: 1px solid #ffffff90;
  border-radius: 13px;
  flex-wrap: wrap;
}
.segmented button {
  padding: 9px 15px;
  border: 0;
  background: transparent;
  color: #4b5e50;
  border-radius: 9px;
  font-size: 12px;
}
.segmented button.is-active {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 2px 9px #123c2015;
}
.ranking-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.ranking-table thead th {
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  text-align: right;
  padding: 12px 16px;
  font-weight: 500;
  border-bottom: 1px solid var(--line);
}
.ranking-table thead th:nth-child(2) {
  text-align: left;
}
.ranking-table tbody td {
  padding: 20px 16px;
  border-bottom: 1px solid var(--line);
  text-align: right;
}
.ranking-table tbody tr:last-child td {
  border-bottom: 0;
}
.ranking-table td.position {
  text-align: center;
  font-family: var(--serif);
  font-size: 30px;
  color: #6d7c6e;
  width: 60px;
}
.rank-player {
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
  text-decoration: none;
}
.rank-player strong {
  display: block;
  font-weight: 500;
  font-size: 15px;
}
.rank-player small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 3px;
}
.player-code {
  font-size: 9px;
  margin-left: 7px;
  padding: 2px 5px;
  background: #e8ebe2;
  border-radius: 4px;
}
.ranking-table .metric {
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  font-size: 20px;
}
.ranking-table td.points-col {
  color: var(--purple);
}
.table-note {
  border-top: 1px solid var(--line);
  margin: 12px 0 0;
  padding-top: 18px;
}
.two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.disclosure {
  padding: 25px;
}
.disclosure summary {
  font-family: var(--serif);
  font-size: 26px;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  list-style: none;
  gap: 10px;
}
.disclosure summary::-webkit-details-marker {
  display: none;
}
.disclosure p {
  font-size: 13px;
  color: var(--muted);
  margin: 20px 0 0;
}
.disclosure[open] summary span {
  transform: rotate(45deg);
}
.simple-list {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
}
.simple-list li {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 12px;
}
.simple-list strong {
  font-size: 11px;
  font-weight: 500;
}
.players-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.player-card {
  overflow: hidden;
  scroll-margin-top: 120px;
  display: flex;
  flex-direction: column;
}
.player-portrait {
  position: relative;
  height: 340px;
  background: var(--player-color);
  margin: 10px 10px 0;
  border-radius: 18px;
  overflow: hidden;
}
.player-portrait > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transition: transform 0.4s;
}
.player-card:hover .player-portrait > img {
  transform: scale(1.025);
}
.player-number {
  position: absolute;
  left: 16px;
  top: 12px;
  font-family: var(--serif);
  font-size: 45px;
  line-height: 1;
  color: white;
  text-shadow: 0 2px 8px #0007;
}
.player-tag {
  position: absolute;
  bottom: 14px;
  left: 14px;
  padding: 6px 15px;
  font-size: 12px;
  border-radius: 100px;
}
.player-content {
  padding: 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.player-content .eyebrow {
  font-size: 9px;
  margin-bottom: 12px;
}
.player-content h2 {
  font-size: 41px;
  margin-bottom: 16px;
}
.player-content h2 em {
  color: var(--purple);
}
.player-content > p:not(.eyebrow) {
  font-size: 13px;
  color: var(--muted);
  flex: 1;
}
.player-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
  margin: 5px 0 20px;
}
.player-metrics dt {
  font-size: 10px;
  color: var(--muted);
}
.player-metrics dd {
  margin: 2px 0 0;
  font-size: 20px;
  font-weight: 500;
}
.player-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.player-actions > a {
  font-size: 11px;
}
.card-dialog {
  border: 1px solid #ffffffc0;
  border-radius: 24px;
  max-width: 440px;
  width: calc(100% - 32px);
  max-height: 90dvh;
  padding: 20px;
  background: #f6f6ef;
  color: var(--ink);
  box-shadow: 0 30px 100px #071d3266;
  overflow: auto;
}
.card-dialog::backdrop {
  background: #102c23b0;
  backdrop-filter: blur(12px);
}
.dialog-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 15px;
}
.dialog-heading h2 {
  font-size: 28px;
  margin: 0;
}
.icon-button {
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 24px;
  background: white;
  color: var(--ink);
}
.card-dialog > img {
  max-height: 62dvh;
  object-fit: contain;
  margin: auto;
  border-radius: 14px;
}
.card-dialog > p {
  font-size: 11px;
  color: var(--muted);
  margin: 16px 0;
}
.card-dialog > .button {
  width: 100%;
}
.tournament-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.tournament-detail {
  overflow: hidden;
}
.tournament-art {
  position: relative;
  height: 300px;
  margin: 10px 10px 0;
  border-radius: 18px;
  overflow: hidden;
}
.tournament-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tournament-art .mini-pill {
  position: absolute;
  top: 16px;
  right: 16px;
  background: #fffdf0d9;
  border-color: #fff;
  backdrop-filter: blur(15px);
}
.tournament-detail-body {
  padding: 30px;
}
.tournament-detail h2 {
  font-size: 38px;
}
.tournament-detail p:not(.small-note) {
  font-size: 14px;
  color: var(--muted);
}
.tournament-detail .button-row {
  margin: 20px 0;
}
.rules-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
}
.rules-grid > div > p:not(.eyebrow) {
  max-width: 300px;
  color: var(--muted);
  font-size: 14px;
}
.rules-details details {
  border-top: 1px solid var(--line);
  padding: 20px 0;
}
.rules-details details:last-child {
  border-bottom: 1px solid var(--line);
}
.rules-details summary {
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  padding-right: 15px;
}
.rules-details p {
  font-size: 13px;
  color: var(--muted);
  margin: 20px 0 0;
}
.empty-calendar {
  position: relative;
  padding: 70px;
  overflow: hidden;
  min-height: 430px;
}
.empty-calendar > p:not(.eyebrow) {
  max-width: 530px;
  font-size: 15px;
  color: var(--muted);
}
.empty-calendar .court-mark {
  position: absolute;
  right: 12%;
  top: 80px;
  width: 190px;
  height: 280px;
  opacity: 0.4;
  pointer-events: none;
}
.empty-calendar > h2,
.empty-calendar > p,
.empty-calendar > .button-row {
  position: relative;
  z-index: 1;
}
.empty-calendar h2 {
  font-size: 56px;
}
.event-select {
  max-width: 400px;
  margin-bottom: 30px;
}
.event-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding: 25px 0;
}
.event-title h2 {
  margin-bottom: 12px;
}
.event-title p {
  margin-bottom: 6px;
}
.event-points {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  padding: 18px 0;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 30px;
  flex-wrap: wrap;
}
.event-points strong {
  color: var(--ink);
  font-weight: 500;
}
.matches-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.match-card {
  padding: 25px;
  background: #ffffffb0;
  border: 1px solid #fff;
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.match-final {
  background: linear-gradient(135deg, #ebe6f5dd, #ffffffb0);
}
.match-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 8px;
}
.match-card .small-note {
  font-size: 10px;
  margin-bottom: 20px;
}
.match-player {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  padding: 8px 0;
  color: #667267;
}
.match-winner {
  font-weight: 600;
  color: var(--ink);
}
.set-scores {
  display: flex;
  gap: 5px;
}
.set-scores b {
  min-width: 23px;
  text-align: center;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.pending-players {
  font-size: 13px;
  color: var(--muted);
  margin: 20px 0 8px;
}
.section-subtitle {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 400;
  margin: 45px 0 20px;
}
.table-scroll {
  overflow-x: auto;
  padding: 15px;
  max-width: 100%;
}
.standings-table {
  min-width: 640px;
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
.standings-table th,
.standings-table td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  text-align: center;
  white-space: nowrap;
}
.standings-table th {
  text-align: left;
  font-weight: 500;
}
.standings-table thead th {
  font-size: 10px;
  color: var(--muted);
}
.winner-callout {
  padding: 25px;
  border-radius: 18px;
  background: #e1ebce;
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 25px;
}
.honours-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.honours-card {
  overflow: hidden;
}
.honours-art {
  height: 230px;
  margin: 10px 10px 0;
  overflow: hidden;
  border-radius: 18px;
}
.honours-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.honours-content {
  padding: 30px;
}
.honours-content h2 {
  font-size: 37px;
}
.champion {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  margin-top: 20px;
}
.champion-year {
  font-family: var(--serif);
  font-size: 33px;
  color: var(--purple);
  margin-right: 5px;
}
.champion h3 {
  font-size: 14px;
  margin: 0 0 3px;
}
.champion > div > p {
  font-size: 11px;
  color: var(--muted);
  margin: 0;
}
.champion .champion-story {
  flex-basis: 100%;
  font-size: 13px;
  color: var(--muted);
  margin: 6px 0;
}
.champion .text-link {
  font-size: 12px;
}
.empty-honour {
  font-family: var(--serif);
  font-size: 24px;
  font-style: italic;
  line-height: 1.4;
  color: #758173;
  border-top: 1px solid var(--line);
  padding-top: 25px;
  margin-bottom: 0;
}
.collection-note {
  padding: 20px 25px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 40px;
}
.collection-note strong {
  color: var(--ink);
  margin-right: 8px;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 25px;
}
.product-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  border-radius: 20px;
  margin-bottom: 22px;
  background: #d9d9ca;
}
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.product-image:hover img {
  transform: scale(1.03);
}
.product-image .badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #fffdf1dc;
  font-size: 8px;
  letter-spacing: 1px;
  backdrop-filter: blur(15px);
}
.product-card > .eyebrow {
  margin-bottom: 8px;
  font-size: 9px;
}
.product-card > h2 {
  font-size: 30px;
  margin-bottom: 12px;
}
.product-card > p:last-child {
  font-size: 13px;
  color: var(--muted);
  max-width: 320px;
}
.contact-banner {
  padding: 35px;
  margin-top: 55px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.contact-banner h2 {
  font-size: 36px;
}
.contact-banner p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
}
.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.support-grid > section {
  padding: 40px;
}
.support-grid h2 {
  font-size: 40px;
}
.support-grid p {
  color: var(--muted);
  font-size: 14px;
}
.support-grid p.small-note {
  font-size: 11px;
  margin-top: 20px;
}
.support-symbol {
  font-family: var(--serif);
  font-size: 50px;
  color: var(--purple);
  display: block;
  margin-bottom: 25px;
}
.contact-email {
  overflow-wrap: anywhere;
  font-size: 15px;
}
.prose {
  max-width: 800px;
  padding: 45px;
}
.prose h2 {
  font-size: 32px;
  margin: 30px 0 16px;
}
.prose h2:first-child {
  margin-top: 0;
}
.prose p {
  font-size: 14px;
  color: var(--muted);
}
.site-footer {
  max-width: 1300px;
  margin: 90px auto 0;
  padding: 35px 30px 25px;
  border-top: 1px solid var(--line);
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding-bottom: 30px;
}
.footer-top p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 21px;
  color: var(--muted);
  margin: 0;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  font-size: 10px;
  color: var(--muted);
}
.footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.footer-bottom a {
  text-decoration: none;
}
.footer-bottom a:hover {
  text-decoration: underline;
}
/* Editor: local drafts only. Publication is authenticated by GitHub. */
.admin-status {
  padding: 20px 25px;
  margin-bottom: 24px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}
.admin-status p {
  margin: 0;
  font-size: 13px;
}
.admin-status small {
  display: block;
  color: var(--muted);
}
.admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0 30px;
}
.admin-section {
  padding: 30px;
  margin: 25px 0;
}
.admin-section h2 {
  font-size: 32px;
}
.admin-section h3 {
  margin-top: 25px;
}
.admin-section > p {
  font-size: 13px;
  color: var(--muted);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 12px;
  font-weight: 500;
  min-width: 0;
}
.field input,
.field select,
.field textarea {
  padding: 11px 13px;
  border: 1px solid #b5c3b6;
  border-radius: 10px;
  background: #ffffffd9;
  color: var(--ink);
  width: 100%;
  min-height: 44px;
  font-size: 14px;
}
.field textarea {
  min-height: 95px;
  resize: vertical;
}
.field small {
  font-weight: 400;
  color: var(--muted);
  font-size: 11px;
}
.field-wide {
  grid-column: 1/-1;
}
.form-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 24px;
}
.notice {
  padding: 16px 20px;
  border-left: 3px solid var(--purple);
  border-radius: 0 10px 10px 0;
  background: #ebe6f4;
  color: #514360;
  font-size: 13px;
}
.notice-error {
  border-color: #a44949;
  background: #f4e5e5;
  color: #7c2c2c;
}
.admin-instructions {
  font-size: 13px;
  padding-left: 22px;
}
.admin-instructions li {
  margin: 10px 0;
}
.admin-player-row {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 0.8fr);
  gap: 12px;
  align-items: end;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.admin-player-row > strong {
  font-size: 13px;
  padding-bottom: 12px;
}
.admin-match {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.admin-match h3 {
  font-size: 14px;
  margin: 0 0 12px;
}
.admin-match form {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 14px;
  align-items: end;
}
.admin-match small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-top: 10px;
}
.points-inputs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}
.admin-event-summary {
  cursor: pointer;
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.3;
  padding: 4px 0;
}
.admin-event-body {
  margin-top: 25px;
}
.admin-json {
  max-height: 280px;
  overflow: auto;
  padding: 20px;
  border-radius: 14px;
  background: #173b30;
  color: #e7f0db;
  font-size: 11px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: #173b30;
  color: #fff;
  box-shadow: 0 10px 35px #173b3050;
  padding: 15px 24px;
  border: 1px solid #ffffff50;
  border-radius: 16px;
  font-size: 13px;
  max-width: min(600px, calc(100% - 30px));
  z-index: 100;
}
.status-message {
  font-size: 13px;
  font-weight: 500;
  margin: 16px 0;
}
.file-input {
  max-width: 100%;
}
@media (min-width: 1500px) {
  .hero {
    min-height: 720px;
  }
}
@media (max-width: 1150px) {
  .site-header {
    gap: 14px;
    padding: 12px 18px;
  }
  .site-header nav a {
    padding: 9px 9px;
    font-size: 11px;
  }
  .header-extra {
    padding-left: 14px;
    font-size: 11px;
  }
  .hero-main {
    padding-left: 45px;
  }
  .hero-trophy {
    right: 30px;
    width: 235px;
  }
  .players-grid {
    gap: 20px;
  }
  .player-content {
    padding: 22px;
  }
  .player-portrait {
    height: 300px;
  }
  .story-panel {
    padding: 45px;
  }
  .friend-stack figure {
    width: 165px;
    left: calc(var(--card-index) * 50px);
  }
  .friend-stack img {
    height: 210px;
  }
}
@media (max-width: 1023px) {
  .site-header-wrap {
    padding: 12px 20px 0;
  }
  .site-header {
    min-height: 72px;
    position: relative;
    flex-wrap: wrap;
  }
  .site-header .brand {
    margin-right: auto;
  }
  .menu-toggle {
    display: flex;
    order: 2;
  }
  .header-extra {
    order: 1;
    margin-right: 10px;
  }
  .site-header nav {
    display: none;
    order: 3;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    margin: 0;
    padding-top: 8px;
    gap: 4px;
  }
  .site-header nav.is-open {
    display: flex;
  }
  .site-header nav a {
    font-size: 14px;
    padding: 12px 15px;
  }
  .hero {
    min-height: 590px;
  }
  .hero-main {
    width: 68%;
    padding: 50px 35px 100px;
  }
  .hero h1 {
    font-size: 72px;
  }
  .hero-trophy {
    width: 210px;
    right: 25px;
    padding: 22px;
  }
  .hero-trophy .hero-winner {
    font-size: 28px;
  }
  .hero-main > .eyebrow {
    font-size: 8px;
    letter-spacing: 1.5px;
  }
  .tournament-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .tournament-card {
    height: 350px;
  }
  .dashboard-grid {
    grid-template-columns: 1fr 1fr;
  }
  .ranking-preview,
  .calendar-preview {
    padding: 24px;
  }
  .ranking-preview h2,
  .calendar-preview h2 {
    font-size: 30px;
  }
  .mini-ranking li {
    gap: 10px;
  }
  .mini-ranking .avatar {
    width: 35px;
    height: 35px;
  }
  .mini-ranking strong {
    font-size: 11px;
  }
  .mini-ranking li > b {
    font-size: 14px;
  }
  .mini-ranking .rank-number {
    display: none;
  }
  .ranking-preview .mini-pill {
    display: none;
  }
  .story-panel {
    padding: 40px;
    gap: 20px;
  }
  .story-panel h2 {
    font-size: 35px;
  }
  .friend-stack figure {
    width: 145px;
    left: calc(var(--card-index) * 40px);
  }
  .friend-stack img {
    height: 190px;
  }
  .players-grid {
    grid-template-columns: 1fr 1fr;
  }
  .player-portrait {
    height: 350px;
  }
  .rules-grid {
    gap: 30px;
  }
  .tournament-art {
    height: 250px;
  }
  .tournament-detail h2 {
    font-size: 32px;
  }
  .empty-calendar {
    padding: 50px;
  }
  .empty-calendar .court-mark {
    right: 5%;
    opacity: 0.22;
  }
  .ranking-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .product-grid {
    grid-template-columns: 1fr 1fr;
  }
  .support-grid > section {
    padding: 30px;
  }
  .footer-top p {
    font-size: 17px;
  }
  .footer-bottom {
    flex-direction: column;
  }
  .admin-match form {
    grid-template-columns: 1fr 1fr;
  }
  .admin-match .button {
    justify-self: start;
  }
}
@media (max-width: 700px) {
  html {
    scroll-padding-top: 100px;
  }
  .site-header-wrap {
    padding: 10px 12px 0;
  }
  .site-header {
    padding: 10px 14px;
    border-radius: 18px;
    min-height: 66px;
  }
  .brand img {
    width: 38px;
    height: 38px;
  }
  .brand > span {
    font-size: 24px;
  }
  .brand small {
    font-size: 7px;
  }
  .header-extra {
    display: none;
  }
  .site-main {
    padding: 0 18px;
  }
  .home-main {
    padding: 0 12px;
  }
  .hero {
    margin-top: 12px;
    min-height: 650px;
    align-items: flex-start;
    border-radius: 22px;
    display: block;
  }
  .hero-main {
    width: 100%;
    padding: 40px 25px 25px;
  }
  .hero-shade {
    background:
      linear-gradient(90deg, #112c25df, #112c2555),
      linear-gradient(0deg, #112c25cc, transparent 70%);
  }
  .hero h1 {
    font-size: 65px;
    line-height: 1.02;
    margin: 25px 0;
  }
  .hero-main > .eyebrow {
    font-size: 8px;
    letter-spacing: 1.2px;
    max-width: 250px;
    line-height: 1.8;
  }
  .hero-main > p:not(.eyebrow) {
    font-size: 13px;
    margin-bottom: 24px;
  }
  .hero .button-row {
    gap: 10px;
  }
  .hero .button {
    padding: 11px 16px;
    font-size: 11px;
    gap: 12px;
    min-height: 44px;
  }
  .hero-trophy {
    position: relative;
    right: auto;
    bottom: auto;
    width: auto;
    margin: 0 25px 75px;
    padding: 17px 20px;
    border-radius: 16px;
    max-width: 350px;
  }
  .hero-trophy .eyebrow {
    font-size: 8px;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
  }
  .hero-trophy .hero-winner {
    font-size: 26px;
    max-width: none;
    margin-bottom: 4px;
  }
  .hero-trophy .trophy-mark {
    font-size: 32px;
    right: 20px;
    top: 9px;
  }
  .hero-trophy > p:not(.hero-winner) {
    font-size: 10px;
    margin-bottom: 10px;
  }
  .hero-trophy a {
    padding-top: 9px;
    font-size: 10px;
  }
  .hero-footer {
    left: 25px;
    right: 25px;
    bottom: 0;
    padding: 17px 0;
    font-size: 7px;
    letter-spacing: 0.8px;
    gap: 15px;
    align-items: center;
  }
  .hero-footer > span:last-child {
    max-width: 115px;
    text-align: right;
  }
  .hero-footer > span:last-child span {
    margin-left: 5px;
    font-size: 17px;
  }
  .intro-strip {
    margin: 0 10px;
    padding: 22px 0;
    gap: 14px;
    align-items: flex-start;
  }
  .intro-strip p {
    font-size: 10px;
    line-height: 1.5;
    display: block;
    flex: 1;
  }
  .intro-strip strong {
    display: block;
    font-size: 28px;
    line-height: 1.4;
  }
  .intro-strip em {
    font-size: 15px;
    display: block;
  }
  .home-main > .section {
    margin: 48px 8px;
  }
  .section {
    margin: 45px 0;
  }
  .section-heading {
    gap: 16px;
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 22px;
  }
  .section-heading h2 {
    font-size: 35px;
  }
  .section-heading .eyebrow {
    font-size: 9px;
  }
  .section-heading > .text-link {
    font-size: 11px;
    margin: 0;
  }
  .tournament-grid {
    gap: 12px;
  }
  .tournament-card {
    height: 270px;
    border-radius: 16px;
  }
  .tournament-card-top,
  .tournament-card-bottom {
    left: 14px;
    right: 14px;
  }
  .tournament-card-top {
    font-size: 6px;
    letter-spacing: 0.6px;
    top: 12px;
  }
  .tournament-card-top .round-arrow {
    width: 25px;
    height: 25px;
    font-size: 16px;
  }
  .tournament-card-bottom {
    bottom: 18px;
  }
  .tournament-card-bottom h3 {
    font-size: 26px;
  }
  .tournament-card-bottom > span {
    font-size: 9px;
  }
  .dashboard-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .ranking-preview,
  .calendar-preview {
    padding: 25px;
  }
  .ranking-preview h2,
  .calendar-preview h2 {
    font-size: 34px;
  }
  .ranking-preview .section-heading {
    flex-direction: row;
  }
  .mini-ranking strong {
    font-size: 13px;
  }
  .mini-ranking .avatar {
    width: 42px;
    height: 42px;
  }
  .mini-ranking li > b {
    font-size: 17px;
  }
  .mini-ranking .rank-number {
    display: block;
    font-size: 10px;
  }
  .calendar-preview {
    min-height: 330px;
  }
  .calendar-preview .court-mark {
    right: 0;
    bottom: -40px;
  }
  .story-panel {
    margin: 45px 8px 20px;
    padding: 30px 25px;
    grid-template-columns: 1fr;
    gap: 35px;
    border-radius: 22px;
  }
  .story-panel h2 {
    font-size: 36px;
  }
  .story-panel p:not(.eyebrow) {
    font-size: 13px;
  }
  .friend-stack {
    min-height: 310px;
    width: 280px;
    max-width: 100%;
    margin: auto;
  }
  .friend-stack figure {
    width: 155px;
    left: calc(var(--card-index) * 49px);
    top: calc(var(--card-index) * 24px);
  }
  .friend-stack img {
    height: 190px;
  }
  .friend-stack figcaption {
    font-size: 17px;
  }
  .page-heading {
    padding: 45px 0 28px;
  }
  .page-heading h1 {
    font-size: 49px;
    line-height: 1.03;
  }
  .page-heading .eyebrow {
    font-size: 9px;
    letter-spacing: 1.5px;
  }
  .lede {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 10px;
  }
  .ranking-panel {
    padding: 16px 12px;
  }
  .ranking-toolbar {
    padding: 0 4px;
  }
  .segmented {
    gap: 0;
    width: 100%;
    justify-content: space-between;
  }
  .segmented button {
    font-size: 10px;
    padding: 9px 10px;
  }
  .ranking-toolbar > .small-note {
    font-size: 10px;
  }
  .ranking-table .elo-col,
  .ranking-table .titles-col {
    display: none;
  }
  .ranking-panel[data-sort="elo"] .elo-col,
  .ranking-panel[data-sort="titles"] .titles-col {
    display: table-cell;
  }
  .ranking-panel[data-sort="elo"] .points-col,
  .ranking-panel[data-sort="titles"] .points-col {
    display: none;
  }
  .ranking-table thead th {
    font-size: 9px;
    padding: 10px 5px;
    letter-spacing: 0.6px;
  }
  .ranking-table tbody td {
    padding: 18px 5px;
  }
  .ranking-table td.position {
    font-size: 23px;
    width: 30px;
  }
  .rank-player {
    gap: 10px;
  }
  .rank-player .avatar {
    width: 35px;
    height: 35px;
  }
  .rank-player strong {
    font-size: 12px;
  }
  .rank-player small {
    font-size: 10px;
    line-height: 1.5;
  }
  .ranking-table .metric {
    font-size: 18px;
  }
  .player-code {
    display: none;
  }
  .table-note {
    font-size: 10px;
    margin-top: 8px;
    padding: 14px 4px 0;
  }
  .two-columns {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .disclosure {
    padding: 23px;
  }
  .disclosure summary {
    font-size: 25px;
  }
  .players-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .player-portrait {
    height: 370px;
  }
  .player-content {
    padding: 25px;
  }
  .player-content h2 {
    font-size: 42px;
  }
  .player-content > p:not(.eyebrow) {
    font-size: 14px;
  }
  .player-actions {
    justify-content: flex-start;
    gap: 25px;
  }
  .player-actions > a {
    font-size: 12px;
  }
  .tournament-detail-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .tournament-art {
    height: 280px;
  }
  .tournament-detail-body {
    padding: 25px;
  }
  .tournament-detail h2 {
    font-size: 35px;
  }
  .rules-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .rules-grid h2 {
    font-size: 40px;
  }
  .rules-grid > div > p:not(.eyebrow) {
    max-width: 100%;
  }
  .rules-details summary {
    font-size: 13px;
  }
  .empty-calendar {
    padding: 35px 25px;
  }
  .empty-calendar h2 {
    font-size: 44px;
  }
  .empty-calendar > p:not(.eyebrow) {
    font-size: 13px;
  }
  .empty-calendar .court-mark {
    right: -70px;
    top: 40px;
    opacity: 0.18;
  }
  .empty-calendar .button-row {
    gap: 20px;
  }
  .empty-calendar .text-link {
    font-size: 12px;
  }
  .matches-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .match-card {
    padding: 20px;
  }
  .match-player {
    font-size: 12px;
  }
  .event-title h2 {
    font-size: 34px;
  }
  .event-title {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .event-title .eyebrow {
    font-size: 9px;
  }
  .event-points {
    gap: 7px;
    font-size: 11px;
  }
  .honours-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .honours-art {
    height: 240px;
  }
  .honours-content {
    padding: 25px;
  }
  .honours-content h2 {
    font-size: 34px;
  }
  .champion {
    gap: 12px;
  }
  .champion-year {
    font-size: 29px;
  }
  .champion .avatar {
    width: 38px;
    height: 38px;
  }
  .champion h3 {
    font-size: 13px;
  }
  .collection-note {
    padding: 18px 20px;
    font-size: 12px;
  }
  .collection-note strong {
    display: block;
    margin-bottom: 5px;
  }
  .product-grid {
    gap: 25px 14px;
  }
  .product-image {
    border-radius: 14px;
    margin-bottom: 14px;
  }
  .product-image .badge {
    font-size: 6px;
    top: 8px;
    right: 8px;
    padding: 4px 7px;
  }
  .product-card > .eyebrow {
    font-size: 7px;
    letter-spacing: 1px;
  }
  .product-card > h2 {
    font-size: 25px;
  }
  .product-card > p:last-child {
    font-size: 11px;
    line-height: 1.7;
  }
  .contact-banner {
    padding: 26px;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .contact-banner h2 {
    font-size: 34px;
  }
  .support-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .support-grid > section {
    padding: 30px 25px;
  }
  .support-grid h2 {
    font-size: 36px;
  }
  .prose {
    padding: 28px 24px;
  }
  .prose h2 {
    font-size: 29px;
  }
  .prose p {
    font-size: 13px;
  }
  .site-footer {
    margin-top: 55px;
    padding: 30px 22px 25px;
  }
  .footer-top {
    flex-wrap: wrap;
    gap: 20px;
  }
  .footer-top p {
    order: 3;
    flex-basis: 100%;
    font-size: 19px;
  }
  .footer-top .text-link {
    font-size: 11px;
  }
  .footer-bottom {
    font-size: 9px;
    gap: 15px;
  }
  .footer-bottom nav {
    gap: 13px;
  }
  .admin-status {
    padding: 18px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .admin-toolbar {
    gap: 8px;
  }
  .admin-toolbar .button {
    font-size: 10px;
    padding: 10px 13px;
    min-height: 42px;
  }
  .admin-section {
    padding: 22px 18px;
  }
  .admin-section h2 {
    font-size: 29px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .admin-player-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
  .admin-player-row > strong {
    grid-column: 1/-1;
    padding-bottom: 0;
  }
  .admin-player-row .field {
    font-size: 10px;
  }
  .admin-player-row input {
    padding: 9px;
    font-size: 12px;
  }
  .admin-match form {
    grid-template-columns: 1fr;
  }
  .points-inputs {
    grid-template-columns: repeat(3, 1fr);
  }
  .admin-event-summary {
    font-size: 25px;
  }
  .notice {
    font-size: 12px;
  }
  .form-actions .button {
    font-size: 11px;
  }
  .admin-json {
    font-size: 10px;
  }
  .toast {
    font-size: 12px;
    padding: 13px 18px;
  }
}
@media (max-width: 360px) {
  .hero h1 {
    font-size: 56px;
  }
  .hero-main {
    padding-left: 22px;
    padding-right: 22px;
  }
  .hero .button {
    font-size: 10px;
    padding: 10px 13px;
    gap: 8px;
  }
  .tournament-card {
    height: 235px;
  }
  .tournament-card-bottom h3 {
    font-size: 23px;
  }
  .rank-player .avatar {
    display: none;
  }
  .rank-player strong {
    font-size: 12px;
  }
  .page-heading h1 {
    font-size: 43px;
  }
  .player-portrait {
    height: 320px;
  }
  .friend-stack figure {
    width: 140px;
    left: calc(var(--card-index) * 42px);
  }
}
@supports not (backdrop-filter: blur(1px)) {
  .glass-panel {
    background: #f9faf4;
  }
  .glass-dark {
    background: #284b3f;
  }
  .site-header {
    background: #f6f7f0;
  }
  .button-glass {
    background: #355448;
  }
  .player-tag {
    background: #284b3f;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
  .tournament-card:hover > img,
  .player-card:hover .player-portrait > img,
  .product-image:hover img {
    transform: none;
  }
  .button:hover {
    transform: none;
  }
}
@media (prefers-reduced-transparency: reduce) {
  .glass-panel,
  .site-header {
    background: #f6f7f0;
    backdrop-filter: none;
  }
  .glass-dark {
    background: #284b3f;
    backdrop-filter: none;
  }
  .button-glass {
    background: #355448;
  }
}
@media print {
  .site-header-wrap,
  .site-footer,
  .button,
  .admin-toolbar {
    display: none;
  }
  .site-main {
    max-width: none;
    padding: 0;
  }
  .glass-panel {
    box-shadow: none;
    backdrop-filter: none;
    background: white;
    border: 1px solid #ddd;
  }
  .page-heading {
    padding: 20px 0;
  }
  .ranking-table .elo-col,
  .ranking-table .titles-col {
    display: table-cell !important;
  }
  .ranking-table .points-col {
    display: table-cell !important;
  }
  body {
    background: white;
    color: black;
  }
  .event-panel[hidden] {
    display: block !important;
  }
}

@media (max-width: 1023px) {
  html:not(.js) .site-header nav {
    display: flex;
  }
  html:not(.js) .menu-toggle {
    display: none;
  }
}

.town-crest {
  display: inline-block;
  width: 18px;
  height: 22px;
  object-fit: contain;
  vertical-align: middle;
}
.town-label {
  display: flex;
  align-items: center;
  gap: 8px;
}
.player-code .town-crest {
  width: 13px;
  height: 16px;
}
.confirmation-dialog h2 {
  font-size: 30px;
  margin: 10px 0;
}
.confirmation-dialog > p {
  font-size: 14px;
  color: var(--ink);
}
