:root {
  --surface: rgba(246, 249, 242, 0.96);
  --surface-strong: #fbfcf7;
  --surface-soft: rgba(255, 255, 255, 0.88);
  --ink: #04263a;
  --muted: #334b57;
  --line: rgba(4, 38, 58, 0.13);
  --accent: #73cf16;
  --accent-deep: #3f970b;
  --accent-soft: #dff8ba;
  --tennis: #dcec00;
  --court: #062c43;
  --court-soft: #0b4967;
  --shadow: 0 18px 50px rgba(2, 24, 38, 0.13);
  --shadow-soft: 0 12px 30px rgba(2, 24, 38, 0.08);
  --radius-lg: 28px;
  --radius-sm: 999px;
  --page-gutter: clamp(14px, 2vw, 28px);
  --section-space: clamp(24px, 2.5vw, 40px);
  --page-transition-duration: 220ms;
  --page-transition-distance: 10px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  max-width: 100%;
  overflow-x: hidden;
  overflow-y: scroll;
  scrollbar-gutter: stable;
}

body {
  min-width: 0;
  max-width: 100%;
  overflow-x: hidden;
  margin: 0;
  font-family: "Segoe UI", "Trebuchet MS", sans-serif;
  color: var(--ink);
  line-height: 1.55;
  position: relative;
  background:
    radial-gradient(circle at top left, rgba(115, 207, 22, 0.2), transparent 24%),
    radial-gradient(circle at top right, rgba(6, 44, 67, 0.18), transparent 26%),
    radial-gradient(circle at center right, rgba(220, 236, 0, 0.12), transparent 20%),
    linear-gradient(180deg, #f8faf5 0%, #eef5ec 42%, #e7eef1 100%);
}

body.modal-is-open {
  overflow: hidden;
}

body.site-admin-drawer-open {
  overflow: auto;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0, transparent calc(50% - 1px), rgba(255, 255, 255, 0.16) calc(50% - 1px), rgba(255, 255, 255, 0.16) calc(50% + 1px), transparent calc(50% + 1px)),
    radial-gradient(circle at 50% 16%, transparent 0 84px, rgba(255, 255, 255, 0.11) 84px 86px, transparent 86px),
    radial-gradient(circle at 50% 84%, transparent 0 84px, rgba(255, 255, 255, 0.11) 84px 86px, transparent 86px);
  opacity: 0.45;
}

p,
li,
dd {
  overflow-wrap: anywhere;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  max-width: 100%;
}

button,
input,
select,
textarea {
  max-width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6,
strong,
span,
label,
button,
a {
  min-width: 0;
}

.page-shell,
.site-header,
.topbar,
.brand,
.brand-copy,
.nav-links,
.season-picker,
main,
.hero,
.page-hero,
.section,
.hero-grid,
.intro-band,
.two-column-grid,
.feature-grid,
.players-grid,
.team-grid,
.team-roster,
.sponsor-grid,
.sponsor-list,
.schedule-stack,
.content-card,
.feature-card,
.player-card,
.schedule-row,
.sponsor-card,
.team-panel,
.result-card,
.result-card-content,
.latest-results-card,
.latest-result-card-content,
.match-results-table,
.standings-table {
  min-width: 0;
}

code {
  font-family: Consolas, monospace;
}

.page-shell {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding: var(--page-gutter) var(--page-gutter) 32px;
}

main {
  display: grid;
  gap: 22px;
  margin-top: 22px;
  transition:
    opacity var(--page-transition-duration) ease,
    transform var(--page-transition-duration) ease;
}

.site-footer {
  transition:
    opacity var(--page-transition-duration) ease,
    transform var(--page-transition-duration) ease;
}

.site-header,
.hero,
.page-hero,
.section,
.site-footer {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.section {
  content-visibility: auto;
  contain-intrinsic-size: auto 640px;
}

.site-header {
  position: sticky;
  top: var(--page-gutter);
  z-index: 20;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(244, 249, 241, 0.86)),
    var(--surface-soft);
  border-radius: 28px;
  padding: 20px clamp(20px, 2vw, 32px);
  backdrop-filter: blur(10px);
}

.topbar {
  display: grid;
  grid-template-columns: minmax(170px, auto) minmax(0, 1fr) minmax(128px, 204px);
  align-items: center;
  gap: clamp(8px, 1.5vw, 20px);
}

body[data-page]:not(.site-nav-ready) .nav-links {
  visibility: hidden;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.brand-logos {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.brand-logos.has-multiple {
  gap: 8px;
}

.brand-logo {
  width: clamp(58px, 6vw, 84px);
  aspect-ratio: 1;
  object-fit: contain;
  flex: 0 0 auto;
  filter: drop-shadow(0 8px 14px rgba(2, 24, 38, 0.16));
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.brand-copy strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
  overflow-wrap: anywhere;
}

.brand-copy span,
.season-picker span {
  color: var(--muted);
  font-size: 0.92rem;
}

.brand-copy .brand-subtitle {
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.brand-copy [data-title-subtitle].is-empty,
.brand-copy [data-tagline][hidden] {
  display: none;
}

.site-edit-mode .brand-copy [data-title-subtitle].is-empty {
  display: inline-block;
}

.nav-links {
  display: flex;
  min-width: 0;
  width: 100%;
  justify-content: center;
  flex-wrap: nowrap;
  gap: clamp(3px, 0.45vw, 6px);
  overflow: visible;
  font-size: clamp(0.86rem, 0.9vw, 0.98rem);
}

body[data-page]:not(.site-content-ready) main {
  opacity: 0;
  transform: translateY(var(--page-transition-distance));
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  main,
  .site-footer {
    transition: none;
  }
}

.nav-links a {
  flex: 0 0 auto;
  color: #183847;
  padding: 10px clamp(7px, 0.85vw, 16px);
  border-radius: var(--radius-sm);
  text-align: center;
  white-space: nowrap;
  font-weight: 800;
  line-height: 1.15;
  transition:
    background-color 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.nav-links a[hidden] {
  display: none !important;
}

.nav-links .nav-admin-link {
  align-self: center;
  margin-left: 4px;
  padding: 8px 12px;
  color: rgba(82, 97, 106, 0.72);
  font-size: 0.84rem;
}

.nav-links .nav-admin-link::before {
  content: "";
  display: inline-block;
  width: 1px;
  height: 14px;
  margin-right: 12px;
  vertical-align: -2px;
  background: rgba(4, 38, 58, 0.18);
}

.nav-links a.is-active,
.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--ink);
  background: rgba(115, 207, 22, 0.2);
  transform: translateY(-1px);
}

.nav-links a:focus-visible {
  outline: 3px solid rgba(63, 151, 11, 0.35);
  outline-offset: 2px;
  box-shadow: 0 0 0 1px rgba(4, 38, 58, 0.1);
}

.nav-links a.is-active {
  background: rgba(115, 207, 22, 0.26);
  box-shadow: inset 0 0 0 1px rgba(63, 151, 11, 0.2);
}

.season-picker {
  display: grid;
  gap: 6px;
  justify-self: end;
  width: min(204px, 100%);
  min-width: 0;
}

.season-picker select {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fbfcf7;
  color: var(--ink);
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  margin: 5px 0;
  background: var(--ink);
  border-radius: 999px;
}

.nav-toggle:focus-visible {
  outline: 3px solid rgba(63, 151, 11, 0.38);
  outline-offset: 3px;
}

.hero,
.page-hero {
  border-radius: 36px;
  overflow: hidden;
  position: relative;
}

.hero {
  background:
    linear-gradient(135deg, rgba(6, 44, 67, 0.97), rgba(2, 22, 35, 0.95)),
    #062c43;
  color: #f9fbf6;
  padding: clamp(28px, 3.4vw, 52px);
}

.page-hero {
  background:
    linear-gradient(135deg, rgba(6, 44, 67, 0.94), rgba(11, 73, 103, 0.9)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
  color: #f9fbf6;
  padding: clamp(34px, 4vw, 56px);
  display: grid;
  gap: 10px;
  justify-items: center;
  text-align: center;
}

.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: auto -120px -120px auto;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(115, 207, 22, 0.35), transparent 65%);
}

.hero-copy h1,
.page-hero h1,
.band-card h2,
.content-card h2,
.feature-card h3,
.player-card h3,
.schedule-row h2 {
  font-family: Georgia, "Times New Roman", serif;
}

.hero-copy h1,
.page-hero h1 {
  margin: 10px 0 0;
  line-height: 0.96;
  overflow-wrap: anywhere;
}

.hero-copy h1 {
  max-width: 14.5ch;
  font-size: clamp(4.25rem, 4.4vw, 5.4rem);
  line-height: 1.06;
}

.page-hero h1 {
  max-width: 20ch;
  font-size: 4.2rem;
  line-height: 1.08;
}

body[data-page="about"] .page-hero h1 {
  max-width: 22ch;
}

.hero-text,
.page-hero p:last-child,
.page-hero [data-schedule-description],
.page-hero [data-results-description] {
  max-width: 760px;
  line-height: 1.7;
  color: rgba(249, 251, 246, 0.84);
}

.results-winner-banner {
  margin: 6px 0 0;
  padding: 12px 18px;
  border: 1px solid rgba(220, 236, 0, 0.34);
  border-radius: 999px;
  background: rgba(220, 236, 0, 0.12);
  color: #fffdf8;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
  min-width: 0;
}

.hero-grid,
.intro-band,
.two-column-grid {
  display: grid;
  gap: 18px;
}

.hero-grid {
  grid-template-columns: minmax(420px, 0.95fr) minmax(420px, 0.72fr);
  align-items: stretch;
  justify-content: space-between;
}

.intro-band,
.two-column-grid {
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.95fr);
}

.hero-points,
.feature-grid,
.players-grid,
.team-grid,
.team-roster,
.sponsor-list,
.sponsor-grid,
.schedule-stack {
  display: grid;
  gap: 16px;
}

.schedule-actions {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 16px;
}

.hero-points {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
}

.hero-points li,
.mini-meta span,
.contact-links a {
  border-radius: var(--radius-sm);
}

.hero-points li {
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(249, 251, 246, 0.9);
  font-size: 0.92rem;
  min-width: 0;
}

.hero-panel {
  display: grid;
  gap: 18px;
  align-content: start;
  align-self: start;
  width: min(100%, 560px);
  justify-self: end;
}

.event-card,
.score-ticker,
.band-card,
.band-stats,
.content-card,
.feature-card,
.player-card,
.schedule-row,
.sponsor-card,
.site-footer {
  backdrop-filter: blur(12px);
}

.event-card {
  padding: clamp(24px, 2vw, 32px);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  min-height: 100%;
}

.hero-panel .event-card {
  min-height: 0;
}

.event-card h2 {
  margin: 8px 0 10px;
  font-size: 2rem;
}

.event-card dl {
  margin: 22px 0 0;
  display: grid;
  gap: 16px;
}

.event-card dt {
  color: rgba(249, 251, 246, 0.66);
  font-size: 0.9rem;
}

.event-card dd {
  margin: 4px 0 0;
  font-weight: 700;
}

.completed-season-card {
  display: grid;
  gap: 16px;
  align-content: start;
}

.completed-season-card[hidden] {
  display: none;
}

.completed-season-card h2,
.completed-season-card p {
  margin: 0;
}

.completed-season-card .button {
  justify-self: start;
  margin-top: 6px;
}

.score-ticker {
  padding: 18px 22px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(220, 236, 0, 0.16), rgba(255, 255, 255, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.score-ticker span,
.eyebrow,
.card-label {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.74rem;
  font-weight: 700;
}

.eyebrow {
  color: var(--accent);
}

.hero .eyebrow,
.page-hero .eyebrow,
.card-label,
.score-ticker span {
  color: var(--tennis);
}

.latest-results-card strong {
  display: block;
  margin: 8px 0 16px;
  color: #fffdf8;
  font-size: 1.05rem;
  line-height: 1.35;
}

.latest-results-card strong:empty {
  display: none;
}

.latest-results-list {
  display: grid;
  gap: 12px;
  margin: 0;
  color: #fffaf2;
}

.latest-result-card-content {
  display: grid;
  gap: 14px;
}

.latest-result-card-content .match-score-grid {
  overflow-x: hidden;
  scrollbar-width: none;
}

.latest-result-card-content .match-score-grid::-webkit-scrollbar {
  display: none;
}

body[data-page="matches"] .match-score-grid,
body[data-page="matches"] .match-results-table,
body[data-page="matches"] .result-modal,
.latest-result-card-content .match-results-table {
  scrollbar-width: none;
}

body[data-page="matches"] .match-score-grid::-webkit-scrollbar,
body[data-page="matches"] .match-results-table::-webkit-scrollbar,
body[data-page="matches"] .result-modal::-webkit-scrollbar,
.latest-result-card-content .match-results-table::-webkit-scrollbar {
  display: none;
}

.latest-result-card-content h3 {
  margin: 0;
  color: #fffdf8;
  font-size: 1.2rem;
  line-height: 1.18;
}

.latest-result-card-content .detail-list,
.latest-result-card-content .detail-list li,
.latest-results-empty {
  color: rgba(255, 253, 248, 0.84);
}

.latest-result-card-content .match-result-row {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.latest-result-card-content .match-score-player,
.latest-result-card-content .match-score-player.match-winner,
.latest-result-card-content .match-score-player.match-loser,
.latest-result-card-content .match-score-set,
.latest-result-card-content .match-result-row strong,
.latest-result-card-content .match-result-row em {
  color: #fffdf8;
}

.latest-result-card-content .match-winner {
  color: #fffdf8;
}

.latest-result-card-content .match-result-summary,
.latest-result-card-content .match-result-summary .match-winner,
.latest-result-card-content .match-result-summary .match-loser,
.latest-result-card-content .match-result-summary strong {
  color: #fffdf8;
}

.latest-results-card .match-score-player,
.latest-results-card .match-score-player-name,
.latest-results-card .match-score-player-segment,
.latest-results-card .match-score-player-separator,
.latest-results-card .match-winner,
.latest-results-card .match-loser,
.latest-results-card .match-result-summary,
.latest-results-card .match-result-summary span,
.latest-results-card .match-result-summary strong {
  color: #fffdf8 !important;
}

.latest-result-card-content .match-team-logo {
  background: rgba(255, 255, 255, 0.94);
}

.latest-results-card .latest-result-card-content .match-result-status {
  justify-content: flex-start;
}

.latest-results-card .latest-result-card-content .match-result-status em {
  padding: 6px 9px;
  border-color: rgba(220, 236, 0, 0.52);
  background: rgba(220, 236, 0, 0.94);
  color: #04263a !important;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 14px rgba(2, 24, 38, 0.18);
}

.section {
  background: var(--surface);
  border-radius: 30px;
  padding: var(--section-space);
  position: relative;
  overflow: hidden;
}

.section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 45%),
    linear-gradient(0deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.06));
  pointer-events: none;
}

.section > * {
  position: relative;
  z-index: 1;
}

.section-heading {
  display: grid;
  gap: 6px;
  margin-bottom: 24px;
}

.section-heading h2,
.band-card h2,
.content-card h2 {
  margin: 0;
  font-size: 2.7rem;
  line-height: 1;
  overflow-wrap: anywhere;
}

.band-card,
.band-stats,
.content-card,
.feature-card,
.player-card,
.schedule-row,
.sponsor-card,
.site-footer {
  background: var(--surface-strong);
  border: 1px solid var(--line);
}

.band-card,
.band-stats,
.content-card,
.feature-card,
.player-card,
.schedule-row,
.sponsor-card {
  min-width: 0;
  border-radius: 24px;
  padding: clamp(22px, 2vw, 30px);
  box-shadow: var(--shadow-soft);
}

.band-card p:last-child,
.content-card p,
.feature-card p,
.player-card p,
.schedule-row p,
.stack-text p,
.site-footer,
.detail-list,
.sponsor-card p {
  color: var(--muted);
  line-height: 1.7;
}

.band-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.stat-card {
  display: grid;
  place-items: center;
  text-align: center;
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff, #edf8df);
  padding: 16px 12px;
}

.stat-card strong {
  font-size: 2rem;
  font-family: Georgia, "Times New Roman", serif;
}

.feature-grid,
.players-grid,
.team-grid,
.sponsor-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.sponsor-grid {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
}

body[data-page="matches"] .feature-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 20px;
}

.matches-score-panel {
  display: grid;
  gap: 6px;
  margin-bottom: 18px;
}

.matches-score-panel h2,
.matches-score-panel p {
  margin: 0;
}

.matches-overall-score {
  display: grid;
  min-width: 0;
}

.sponsor-list {
  gap: 28px;
}

.sponsorship-levels-header,
.sponsor-support-card {
  display: grid;
  gap: 12px;
}

.sponsorship-levels-header h2,
.sponsor-support-card h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
}

.sponsorship-levels-header p,
.sponsor-support-card p {
  margin: 0;
}

.sponsorship-levels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin: 24px 0 28px;
}

.sponsorship-tier-card {
  display: grid;
  gap: 14px;
  align-content: start;
  min-height: 100%;
}

.sponsorship-tier-card h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 2.6rem);
  color: var(--court);
}

.sponsorship-tier-card p {
  margin: 0;
}

.sponsorship-tier-card-presenting {
  background:
    linear-gradient(145deg, rgba(6, 44, 67, 0.96), rgba(11, 73, 103, 0.9)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), transparent);
  color: #f8fbf3;
}

.sponsorship-tier-card-presenting h3,
.sponsorship-tier-card-presenting .card-label,
.sponsorship-tier-card-presenting strong {
  color: #f8fbf3;
}

.sponsorship-tier-card-associate {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(223, 248, 186, 0.9));
}

.sponsorship-tier-points {
  margin: 0;
}

.sponsorship-tier-points li + li {
  margin-top: 10px;
}

.sponsor-support-section {
  padding-top: 0;
}

.sponsor-interest-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 24px;
  align-items: start;
}

.sponsor-interest-copy,
.sponsor-interest-card {
  align-self: start;
}

.sponsor-interest-copy h2 {
  margin: 0 0 14px;
}

.sponsor-interest-copy p {
  margin: 0;
}

.sponsor-interest-points {
  margin: 18px 0 0;
  padding-left: 20px;
}

.sponsor-interest-points li + li {
  margin-top: 10px;
}

.sponsor-interest-form {
  display: grid;
  gap: 16px;
}

.sponsor-interest-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.sponsor-interest-field {
  display: grid;
  gap: 8px;
}

.sponsor-interest-field span {
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.sponsor-interest-field input,
.sponsor-interest-field select,
.sponsor-interest-field textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border: 1px solid rgba(6, 44, 67, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font: inherit;
}

.sponsor-interest-field textarea {
  min-height: 160px;
  resize: vertical;
}

.sponsor-interest-breakdown {
  display: grid;
  gap: 14px;
  margin-top: 20px;
  padding: 18px;
  border: 1px solid rgba(6, 44, 67, 0.12);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(244, 249, 241, 0.88)),
    rgba(255, 255, 255, 0.74);
}

.sponsor-interest-breakdown-heading {
  display: grid;
  gap: 6px;
}

.sponsor-interest-breakdown-toggle {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
}

.sponsor-interest-breakdown-toggle-icon {
  display: none;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(6, 44, 67, 0.08);
  position: relative;
  flex: 0 0 auto;
}

.sponsor-interest-breakdown-toggle-icon::before,
.sponsor-interest-breakdown-toggle-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  border-radius: 999px;
  background: var(--ink);
  transform: translate(-50%, -50%);
}

.sponsor-interest-breakdown-toggle-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform 160ms ease, opacity 160ms ease;
}

.sponsor-interest-breakdown.is-expanded .sponsor-interest-breakdown-toggle-icon::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(0deg);
}

.sponsor-interest-breakdown-content {
  display: grid;
}

.sponsor-interest-breakdown-title {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}

.sponsor-interest-breakdown-intro,
.sponsor-interest-tier p {
  margin: 0;
  color: var(--muted);
}

.sponsor-interest-breakdown-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.sponsor-interest-tier {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(6, 44, 67, 0.1);
  min-height: 100%;
}

.sponsor-interest-tier-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.sponsor-interest-tier-top strong {
  font-size: 1rem;
  color: var(--ink);
}

.sponsor-interest-tier-top span {
  color: var(--accent-deep);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.sponsor-interest-tier-list {
  margin: 0;
  padding-left: 20px;
}

.sponsor-interest-tier-list li + li {
  margin-top: 8px;
}

.sponsor-interest-field input:focus,
.sponsor-interest-field select:focus,
.sponsor-interest-field textarea:focus {
  outline: 2px solid rgba(173, 211, 0, 0.42);
  outline-offset: 2px;
  border-color: rgba(6, 44, 67, 0.28);
}

.sponsor-interest-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.sponsor-interest-actions {
  display: grid;
  gap: 12px;
  align-items: start;
}

.sponsor-interest-submit {
  border: 0;
  cursor: pointer;
}

.sponsor-interest-submit[disabled] {
  cursor: wait;
  opacity: 0.7;
}

.sponsor-interest-status {
  min-height: 1.5em;
  margin: 0;
  color: var(--muted);
}

.sponsor-interest-status.is-error {
  color: #a43f24;
}

.sponsor-interest-status.is-success {
  color: #165f34;
}

.sponsor-interest-closed {
  display: grid;
  gap: 0.75rem;
}

.sponsor-interest-closed h2,
.sponsor-interest-closed p {
  margin: 0;
}

.sponsor-category {
  display: grid;
  gap: 16px;
}

.sponsor-category h2 {
  justify-self: center;
  margin: 0;
  padding: 10px 22px;
  border: 1px solid rgba(6, 44, 67, 0.18);
  border-left: 4px solid var(--tennis);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 22px rgba(2, 24, 38, 0.07);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.2rem;
  line-height: 1.05;
  text-align: center;
}

.team-panel {
  background:
    linear-gradient(180deg, #ffffff, #edf8e1),
    linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(24px, 2vw, 32px);
  box-shadow: var(--shadow-soft);
}

.team-panel h2 {
  margin: 10px 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.8rem;
}

.team-panel-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
}

.team-panel-logo {
  width: clamp(58px, 8vw, 86px);
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  padding: 8px;
  box-shadow: 0 10px 24px rgba(2, 24, 38, 0.12);
}

.team-panel-heading {
  min-width: 0;
}

.team-panel .card-label {
  color: var(--accent-deep);
}

.team-meta {
  color: var(--muted);
  margin-bottom: 18px;
}

.team-roster {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.free-agent-roster {
  grid-template-columns: repeat(auto-fill, minmax(220px, 260px));
  justify-content: start;
}

body[data-page="players"] .team-grid {
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 40px);
}

body[data-page="players"] .team-panel {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  backdrop-filter: none;
}

body[data-page="players"] .team-panel h2 {
  margin-bottom: 10px;
}

body[data-page="players"] .team-meta {
  margin-bottom: 0;
}

.results-search-panel {
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.74);
}

.results-search-field {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
}

.results-search-field span {
  font-size: 0.88rem;
}

.results-search-field input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(4, 38, 58, 0.18);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.results-search-field input:focus {
  border-color: rgba(63, 151, 11, 0.52);
  outline: 3px solid rgba(115, 207, 22, 0.22);
}

.results-search-summary,
.results-search-empty {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.feature-card a {
  color: var(--accent-deep);
  font-weight: 700;
}

.highlight-card {
  background: linear-gradient(180deg, #ecf8d7, #d8f0b0);
}

.season-standings-card {
  grid-column: 1 / -1;
  background: linear-gradient(160deg, rgba(6, 44, 67, 0.96), rgba(11, 73, 103, 0.92));
  color: #f9fbf6;
}

.season-standings-card h3,
.season-standings-card .card-label {
  color: #fffdf8;
}

.season-standings-card .standings-empty {
  color: rgba(249, 251, 246, 0.78);
  margin: 0;
}

.season-scoreboard {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
}

.season-score-team {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px 12px;
  min-height: 108px;
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(249, 251, 246, 0.16), rgba(255, 255, 255, 0.08));
  border: 1px solid rgba(249, 251, 246, 0.2);
  align-items: center;
}

.season-team-logo {
  grid-row: span 2;
  width: clamp(44px, 6vw, 64px);
  aspect-ratio: 1;
  object-fit: contain;
  align-self: center;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.92);
  padding: 6px;
}

.season-score-team span {
  color: #fffdf8;
  font-weight: 800;
}

.season-score-team strong {
  color: #fffdf8;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.6rem;
  line-height: 1;
}

.season-score-team.is-leader {
  background: linear-gradient(135deg, rgba(220, 236, 0, 0.2), rgba(255, 255, 255, 0.12));
  border-color: rgba(220, 236, 0, 0.38);
}

.season-score-divider {
  align-self: center;
  color: rgba(249, 251, 246, 0.7);
  font-weight: 900;
}

.season-score-note {
  justify-self: start;
  margin: 16px 0 0;
  padding: 10px 14px;
  border: 1px solid rgba(220, 236, 0, 0.34);
  border-radius: var(--radius-sm);
  background: rgba(220, 236, 0, 0.13);
  color: #fff;
  font-weight: 900;
  line-height: 1.35;
  text-shadow: 0 1px 0 rgba(2, 24, 38, 0.24);
}

.season-standings-card .season-score-note {
  color: #fff !important;
}

.standings-table,
.match-results-table {
  display: grid;
  gap: 10px;
  min-width: 0;
  max-width: 100%;
}

.standings-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(72px, auto) minmax(92px, auto);
  gap: 14px;
  align-items: center;
  min-width: 0;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
}

.standings-row-head {
  color: rgba(249, 251, 246, 0.7);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.season-winner-row {
  background: linear-gradient(135deg, rgba(220, 236, 0, 0.24), rgba(255, 255, 255, 0.12));
  border: 1px solid rgba(220, 236, 0, 0.34);
}

.result-card {
  display: grid;
  align-content: start;
  gap: 20px;
}

body[data-page="matches"] .result-card.is-collapsible {
  gap: 14px;
}

body[data-page="matches"] .result-card.is-collapsible.is-collapsed .result-card-content {
  display: none;
}

.result-card.is-clickable {
  cursor: pointer;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.result-card.is-clickable:hover,
.result-card.is-clickable:focus-visible {
  border-color: rgba(6, 44, 67, 0.26);
  box-shadow: 0 18px 42px rgba(2, 24, 38, 0.14);
  outline: none;
  transform: translateY(-2px);
}

.result-card-heading {
  min-width: 0;
}

.result-card.is-clickable .result-card-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
}

.result-card-toggle {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  font: inherit;
  cursor: pointer;
}

.result-card-toggle:focus-visible {
  outline: 3px solid rgba(6, 80, 48, 0.34);
  outline-offset: 6px;
}

.result-card-heading-text {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.result-card-heading-text .card-label,
.result-card-heading-text h3 {
  margin: 0;
}

.result-card-preview {
  margin: 0;
}

.result-card-action {
  display: inline-grid;
  place-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(4, 38, 58, 0.14);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(115, 207, 22, 0.14);
  font-size: 0.84rem;
  font-weight: 800;
  white-space: nowrap;
}

.result-card-toggle-icon {
  width: 12px;
  height: 12px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 180ms ease;
}

.result-card-toggle[aria-expanded="true"] .result-card-toggle-icon {
  transform: rotate(225deg);
}

.result-card-content {
  display: grid;
  gap: 20px;
  min-width: 0;
}

.result-card .match-results-table {
  grid-template-columns: 1fr;
  gap: 12px;
}

.result-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 58;
  display: grid;
  place-items: center;
  padding: clamp(12px, 3vw, 28px);
  background: rgba(12, 18, 15, 0.72);
  backdrop-filter: blur(8px);
}

.result-modal {
  position: relative;
  width: min(980px, 100%);
  max-height: calc(100dvh - clamp(24px, 6vw, 56px));
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 24px;
  background: var(--surface-strong);
  box-shadow: 0 30px 90px rgba(2, 24, 38, 0.34);
}

.result-modal-close {
  position: sticky;
  top: 14px;
  z-index: 1;
  float: right;
  min-height: 40px;
  margin: 14px 14px 0 0;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fbfcf7;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  box-shadow: 0 12px 32px rgba(2, 24, 38, 0.16);
}

.result-modal-close:hover,
.result-modal-close:focus-visible {
  background: #ffffff;
  transform: translateY(-1px);
}

.result-modal-card {
  clear: both;
  display: grid;
  gap: 20px;
  padding: clamp(22px, 3vw, 34px);
}

.result-modal-card h2,
.result-modal-card h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
}

.result-modal-card .card-label {
  margin: 0;
  color: var(--accent-deep);
}

.result-modal-card > p,
.result-modal-card .detail-list {
  margin: 0;
}

.result-modal-card .match-results-table {
  gap: 12px;
}

.result-summary-line {
  margin: 0;
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 800;
}

.result-scoreboard {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 10px;
  align-items: stretch;
}

.result-team {
  display: grid;
  gap: 8px;
  min-height: 92px;
  padding: 14px;
  border-radius: 18px;
  background: #f6fbef;
  border: 1px solid rgba(4, 38, 58, 0.1);
}

.result-team span {
  color: var(--muted);
  font-weight: 800;
}

.result-team strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.6rem;
  line-height: 1;
}

.result-team.is-winner {
  background: linear-gradient(180deg, #e8f8cf, #d8f0b0);
  border-color: rgba(63, 151, 11, 0.32);
}

.result-team.is-winner span,
.match-winner {
  color: var(--accent-deep);
}

.result-score-divider {
  align-self: center;
  color: var(--muted);
  font-weight: 900;
}

.match-result-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-width: 0;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(4, 38, 58, 0.04);
}

.match-result-summary {
  min-width: 0;
  color: var(--ink);
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.match-summary-competitor {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  vertical-align: middle;
}

.match-summary-competitor .match-team-logo {
  width: 24px;
  height: 24px;
}

.match-score-grid {
  --score-column-width: 2.85ch;
  --score-player-column: minmax(0, 1fr);
  display: grid;
  gap: 6px;
  column-gap: 16px;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.match-score-grid-pending {
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
}

.match-score-grid-pending .match-score-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.match-score-pending-note {
  font-size: 0.92rem;
  font-weight: 900;
}

.match-score-row {
  display: grid;
  grid-template-columns: var(--score-player-column) repeat(var(--score-set-count, 1), minmax(var(--score-column-width), var(--score-column-width)));
  column-gap: 16px;
  align-items: center;
  min-width: 0;
  width: 100%;
}

.match-score-grid.has-winner .match-score-row {
  grid-template-columns: var(--score-player-column) repeat(var(--score-set-count), minmax(var(--score-column-width), var(--score-column-width))) 8px;
}

.match-score-player {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-width: 0;
  overflow-wrap: anywhere;
  font-weight: 800;
  line-height: 1.2;
}

.match-score-player.has-team-logo {
  grid-template-columns: 28px minmax(0, 1fr);
}

.match-score-player-name {
  min-width: 0;
  overflow-wrap: normal;
  word-break: normal;
}

.match-score-player-segment {
  white-space: nowrap;
}

.match-score-player-separator {
  white-space: normal;
}

.match-team-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex: 0 0 auto;
  border-radius: 0;
  background: #fff;
  padding: 3px;
  box-shadow: 0 0 0 1px rgba(4, 38, 58, 0.1);
}

.match-score-set {
  min-width: 2ch;
  color: var(--ink);
  font-size: 1.05rem;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  line-height: 1;
  justify-self: end;
  text-align: right;
}

.match-score-set.is-set-winner {
  font-weight: 900;
}

.match-score-tiebreak {
  margin-left: 1px;
  font-size: 0.58em;
  font-weight: 800;
  line-height: 0;
  vertical-align: super;
}

.match-score-winner-arrow {
  width: 0;
  height: 0;
  justify-self: end;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-right: 6px solid currentColor;
}

.match-score-arrow-spacer {
  width: 6px;
}

.match-result-summary .match-winner {
  display: inline-flex;
  font-weight: 800;
}

.match-result-summary .match-loser {
  display: inline-flex;
  font-weight: 700;
}

.match-result-summary strong {
  font-weight: 900;
}

.match-result-def {
  font-weight: 900;
}

.match-result-row strong {
  color: var(--ink);
  font-size: 1.05rem;
}

.match-result-row em {
  justify-self: end;
  color: var(--muted);
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
}

.match-result-status {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  min-width: 0;
}

.match-result-status em {
  padding: 5px 8px;
  border: 1px solid rgba(4, 38, 58, 0.12);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.72);
  line-height: 1;
}

.detail-list {
  margin: 0;
  padding-left: 20px;
}

.schedule-row {
  display: grid;
  gap: 0;
  align-items: center;
  min-width: 0;
  padding: 0;
  background: linear-gradient(180deg, #ffffff, #edf8e1);
}

.schedule-row-button {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto;
  gap: 18px;
  align-items: center;
  padding: clamp(22px, 2vw, 30px);
  border: 0;
  border-radius: inherit;
  color: inherit;
  font: inherit;
  text-align: left;
  background: transparent;
}

.schedule-row-actions {
  display: flex;
  justify-content: flex-end;
  padding: 0 clamp(22px, 2vw, 30px) clamp(18px, 1.8vw, 24px);
}

.schedule-calendar-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0;
  border: 0;
  color: rgba(4, 38, 58, 0.68);
  background: transparent;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.schedule-calendar-button:hover,
.schedule-calendar-button:focus-visible {
  color: #05263a;
  background: transparent;
  outline: none;
}

.schedule-calendar-button:focus-visible {
  box-shadow: 0 2px 0 rgba(115, 207, 22, 0.72);
}

button.schedule-row-button {
  cursor: pointer;
}

button.schedule-row-button:focus-visible {
  outline: 3px solid rgba(6, 80, 48, 0.34);
  outline-offset: 5px;
}

.schedule-row.has-results {
  overflow: hidden;
}

.schedule-row.has-results:hover {
  border-color: rgba(6, 44, 67, 0.24);
}

.schedule-row.has-results .schedule-status-result {
  color: var(--ink);
  background: rgba(220, 236, 0, 0.82);
  border-color: rgba(63, 151, 11, 0.28);
}

.schedule-row.is-expanded .schedule-status-result {
  background: var(--tennis);
}

.schedule-row.is-rain-out {
  border-color: rgba(164, 63, 36, 0.26);
  background: linear-gradient(180deg, #ffffff, #f7ece9);
}

.schedule-row h2 {
  margin: 6px 0 10px;
  font-size: 1.8rem;
}

.schedule-address {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: baseline;
  margin: -2px 0 12px;
  color: #415460;
  font-weight: 700;
}

.schedule-address-label {
  color: rgba(4, 38, 58, 0.72);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.schedule-row.featured-row {
  background: linear-gradient(160deg, rgba(6, 44, 67, 0.96), rgba(11, 73, 103, 0.92));
}

.schedule-row.featured-row,
.schedule-row.featured-row p,
.schedule-row.featured-row h2,
.schedule-row.featured-row .schedule-address-label,
.schedule-row.featured-row .mini-meta span {
  color: #f9fbf6;
}

.schedule-row.featured-row .schedule-calendar-button {
  color: #f9fbf6;
}

.schedule-row.featured-row .schedule-calendar-button:hover,
.schedule-row.featured-row .schedule-calendar-button:focus-visible {
  color: var(--tennis);
}

body[data-page="matches"] .schedule-row.featured-row .schedule-row-actions .schedule-calendar-button {
  color: #f9fbf6;
}

body[data-page="matches"] .schedule-row.featured-row .schedule-row-actions .schedule-calendar-button:hover,
body[data-page="matches"] .schedule-row.featured-row .schedule-row-actions .schedule-calendar-button:focus-visible {
  color: var(--tennis);
}

.mini-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  min-width: 0;
}

.mini-meta span {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 38px;
  padding: 0 14px;
  background: rgba(115, 207, 22, 0.13);
  color: var(--ink);
  overflow-wrap: anywhere;
  font-weight: 700;
}

.mini-meta .schedule-status-rainout {
  color: #7b2d1e;
  background: rgba(164, 63, 36, 0.14);
  border: 1px solid rgba(164, 63, 36, 0.24);
}

.player-card {
  background: linear-gradient(180deg, #ffffff, #eef8e4);
  min-height: 100%;
}

.player-card-button {
  position: relative;
  width: 100%;
  display: grid;
  justify-items: start;
  align-content: start;
  text-align: left;
  color: inherit;
  font: inherit;
  cursor: pointer;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.player-card-button:hover,
.player-card-button:focus-visible {
  border-color: rgba(115, 207, 22, 0.46);
  box-shadow: 0 16px 38px rgba(2, 24, 38, 0.15);
  outline: none;
  transform: translateY(-2px);
}

.player-card-button p {
  margin: 0;
  font-weight: 700;
  color: var(--accent-deep);
}

.player-card-button .player-win-count {
  position: absolute;
  top: clamp(14px, 1.6vw, 22px);
  right: clamp(14px, 1.6vw, 22px);
  min-height: 30px;
  display: inline-grid;
  place-items: center;
  padding: 0 10px;
  border: 1px solid rgba(63, 151, 11, 0.28);
  border-radius: 999px;
  background: rgba(220, 236, 0, 0.22);
  color: var(--accent-deep);
  font-weight: 800;
  line-height: 1.1;
  text-align: right;
}

.player-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--court), var(--court-soft));
  color: #fffdf8;
  font-weight: 800;
}

.player-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(20, 27, 23, 0.64);
  backdrop-filter: blur(8px);
}

.player-modal {
  position: relative;
  width: min(900px, 100%);
  max-height: min(760px, calc(100vh - 40px));
  overflow: auto;
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(20px, 3vw, 34px);
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(239, 248, 230, 0.98)),
    var(--surface-strong);
  box-shadow: 0 30px 90px rgba(2, 24, 38, 0.34);
}

.player-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fbfcf7;
  color: var(--ink);
  cursor: pointer;
  font-weight: 700;
}

.player-modal-photo {
  min-height: 360px;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--court), var(--accent-deep));
  color: #fffdf8;
}

.player-modal-photo img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  display: block;
}

.player-modal-photo-fallback {
  display: grid;
  place-items: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 6rem;
  font-weight: 700;
}

.player-modal-copy {
  align-self: stretch;
  display: grid;
  align-content: center;
  gap: 14px;
  padding-right: 34px;
}

.player-modal-copy .card-label {
  color: var(--ink);
}

.player-modal-copy h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.4rem;
  line-height: 1;
}

.player-modal-bio {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
  font-size: 1.05rem;
}

.sponsor-card {
  width: 100%;
  max-width: 760px;
  min-height: 140px;
  display: grid;
  align-content: center;
  gap: 8px;
  background: linear-gradient(180deg, #ffffff, #eff7e8);
}

body[data-page="sponsors"] .sponsor-card {
  min-height: auto;
  padding: 16px 18px;
  border: 1px solid rgba(4, 38, 58, 0.12);
  border-left: 3px solid rgba(115, 207, 22, 0.58);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.42);
  box-shadow: 0 8px 18px rgba(2, 24, 38, 0.04);
  backdrop-filter: none;
}

body[data-page="sponsors"] .sponsor-card-presenting {
  color: var(--ink);
}

body[data-page="sponsors"] .sponsor-card-presenting strong {
  color: var(--ink);
}

.sponsor-card-identity {
  width: 100%;
  max-width: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  gap: clamp(14px, 2vw, 24px);
  min-width: 0;
}

.sponsor-card:not(.sponsor-card-has-logo) .sponsor-card-identity {
  display: grid;
}

.sponsor-card-logo-only .sponsor-card-identity {
  max-width: 360px;
}

.sponsor-card-logo-only .sponsor-card-logo {
  max-width: min(300px, 90%);
  max-height: 96px;
}

.sponsor-card-logo {
  width: auto;
  height: auto;
  max-width: min(220px, 42%);
  max-height: 74px;
  display: block;
  object-fit: contain;
  flex: 0 1 auto;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(4, 38, 58, 0.1);
  padding: 7px;
}

.sponsor-card-presenting {
  min-height: 190px;
  background: linear-gradient(160deg, rgba(6, 44, 67, 0.98), rgba(11, 73, 103, 0.94));
  border-color: rgba(255, 255, 255, 0.18);
  color: #fffdf8;
}

.sponsor-card-presenting p,
.sponsor-card-presenting .card-label {
  color: var(--tennis);
}

.sponsor-card-name-only {
  justify-items: center;
  text-align: center;
}

.sponsor-card-name-only.sponsor-card-has-logo {
  justify-items: center;
  text-align: center;
}

.sponsor-card strong {
  font-size: 1.8rem;
  line-height: 1.12;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.sponsor-card p {
  margin: 0;
  font-size: 1.15rem;
}

@media (min-width: 1400px) {
  body[data-page="sponsors"] main {
    gap: 28px;
  }

  body[data-page="sponsors"] main > .section:not(.sponsor-interest-section) {
    padding: clamp(34px, 3.2vw, 64px);
    background:
      linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(239, 248, 230, 0.76)),
      var(--surface);
  }

  body[data-page="sponsors"] .sponsor-list {
    width: min(1520px, 100%);
    margin: 0 auto;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: clamp(22px, 1.7vw, 34px);
    align-items: stretch;
  }

  body[data-page="sponsors"] .sponsor-category {
    grid-column: span 3;
    align-content: start;
    gap: 18px;
    min-height: 100%;
    padding: clamp(18px, 1.4vw, 26px);
    border: 1px solid rgba(4, 38, 58, 0.1);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.48);
  }

  body[data-page="sponsors"] .sponsor-category-presenting,
  body[data-page="sponsors"] .sponsor-category-associate {
    grid-column: 1 / -1;
  }

  body[data-page="sponsors"] .sponsor-category h2 {
    justify-self: start;
    padding: 0 0 8px;
    border-width: 0 0 3px;
    border-left: 0;
    border-color: rgba(115, 207, 22, 0.74);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    font-size: clamp(1.55rem, 1.6vw, 2.05rem);
  }

  body[data-page="sponsors"] .sponsor-grid {
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    align-items: stretch;
    justify-items: stretch;
    gap: 18px;
  }

  body[data-page="sponsors"] .sponsor-card {
    max-width: none;
    min-height: 128px;
    padding: clamp(22px, 1.7vw, 30px);
    border-left-width: 5px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 14px 32px rgba(2, 24, 38, 0.08);
  }

  body[data-page="sponsors"] .sponsor-card-identity {
    max-width: none;
    justify-content: flex-start;
  }

  body[data-page="sponsors"] .sponsor-card-logo-only .sponsor-card-identity {
    justify-content: center;
  }

  body[data-page="sponsors"] .sponsor-card-logo {
    max-width: min(260px, 44%);
    max-height: 88px;
  }

  body[data-page="sponsors"] .sponsor-card-logo-only .sponsor-card-logo {
    max-width: min(340px, 92%);
    max-height: 112px;
  }

  body[data-page="sponsors"] .sponsor-card strong {
    font-size: clamp(1.65rem, 1.55vw, 2.25rem);
  }
}

.contact-links {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.contact-socials {
  margin-top: 22px;
}

.contact-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  background: #edf8e1;
  font-weight: 700;
}

.contact-facebook-link {
  width: 52px;
  min-width: 52px;
  padding: 0;
}

.contact-facebook-icon {
  width: 28px;
  height: 28px;
  color: #1877f2;
}

.contact-facebook-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.contact-socials .contact-outbound-static {
  display: flex !important;
  min-height: 52px;
  opacity: 1;
  visibility: visible;
}

.contact-socials .contact-outbound-link {
  display: inline-flex !important;
  flex: 0 0 52px;
}

.contact-detail-social {
  margin-top: -4px;
}

.contact-detail-social .contact-outbound-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  min-width: 52px;
  height: 52px;
  border-radius: 6px;
  background: #edf8e1;
  color: #1877f2;
}

.contact-detail-social .contact-outbound-link svg {
  display: block;
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.contact-coordinator-title {
  margin-top: 8px;
  font-weight: 700;
}

.contact-coordinator-details {
  margin: 22px 0 0;
  display: grid;
  gap: 14px;
}

.contact-detail-item {
  display: grid;
  gap: 4px;
}

.contact-detail-item dt {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-detail-item a {
  color: #04263a;
  text-decoration: none;
  font-weight: 700;
}

.contact-detail-item a:hover,
.contact-detail-item a:focus-visible {
  text-decoration: underline;
}

.contact-topics {
  margin: 0;
  padding-left: 20px;
}

.contact-topics li + li {
  margin-top: 10px;
}

.stack-text {
  display: grid;
  gap: 8px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 48px;
  padding: 0 20px;
  border-radius: var(--radius-sm);
  text-align: center;
  overflow-wrap: anywhere;
  font-weight: 700;
}

.button-primary {
  background: linear-gradient(135deg, var(--tennis), #bce600);
  color: #05263a;
}

.button-secondary {
  border: 1px solid rgba(249, 251, 246, 0.24);
  color: #fffdf8;
}

.site-footer {
  border-radius: 24px;
  margin-top: 28px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(239, 248, 230, 0.94)),
    var(--surface-strong);
}

.site-footer p {
  margin: 0;
}

.site-credit {
  font-size: 0.88rem;
  font-weight: 600;
  opacity: 0.78;
  text-align: right;
}

@media (min-width: 0px) {
  :root {
    --shadow: none;
    --shadow-soft: none;
  }

  .hero,
  .page-hero,
  .section,
  .site-footer,
  .event-card,
  .score-ticker,
  .band-card,
  .band-stats,
  .content-card,
  .feature-card,
  .player-card,
  .schedule-row,
  .sponsor-card,
  .team-panel,
  .photo-card,
  .stat-card,
  .match-result-row,
  .season-score-team,
  .result-team {
    border-radius: 0;
    box-shadow: none;
  }

  .event-card,
  .score-ticker,
  .band-card,
  .band-stats,
  .content-card,
  .feature-card,
  .player-card,
  .schedule-row,
  .sponsor-card,
  .team-panel {
    backdrop-filter: none;
  }

  .section .band-card,
  .section .band-stats,
  .section .content-card,
  .section .feature-card,
  .section .player-card,
  .section .schedule-row,
  .section .sponsor-card,
  .section .team-panel {
    border: 1px solid rgba(4, 38, 58, 0.11);
    border-left: 4px solid rgba(115, 207, 22, 0.78);
    background: rgba(255, 255, 255, 0.9);
  }

  .section .band-card p,
  .section .content-card p,
  .section .feature-card p,
  .section .player-card p,
  .section .schedule-row p,
  .section .team-meta,
  .section .detail-list,
  .section .sponsor-card p,
  .section .contact-topics {
    color: #2e4753;
  }

  .section .card-label,
  .section .eyebrow {
    color: #2f8508;
  }

  .hero-text,
  .page-hero p:last-child,
  .hero-points li,
  .event-card dt,
  .latest-result-card-content .detail-list,
  .latest-result-card-content .detail-list li,
  .latest-results-empty {
    color: rgba(255, 253, 248, 0.94);
  }

  .event-card,
  .score-ticker,
  .latest-result-card-content .match-result-row {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.24);
  }

  .section .schedule-row.featured-row,
  .section .season-standings-card,
  .section .sponsor-card-presenting {
    color: #fffdf8;
    border-color: rgba(249, 251, 246, 0.26);
    border-left-color: var(--tennis);
    background: linear-gradient(160deg, rgba(6, 44, 67, 0.98), rgba(8, 59, 86, 0.96));
  }

  .section .schedule-row.featured-row p,
  .section .schedule-row.featured-row h2,
  .section .schedule-row.featured-row .mini-meta span,
  .section .season-standings-card h3,
  .section .season-standings-card .standings-empty,
  .section .sponsor-card-presenting strong {
    color: #fffdf8;
  }

  .section .schedule-row.featured-row .eyebrow,
  .section .season-standings-card .card-label,
  .section .sponsor-card-presenting .card-label,
  .section .sponsor-card-presenting p {
    color: var(--tennis);
  }

  .mini-meta span,
  .contact-links a {
    color: #04263a;
    background: rgba(115, 207, 22, 0.2);
    border: 1px solid rgba(4, 38, 58, 0.1);
  }

  .site-credit {
    opacity: 1;
  }
}

@media (min-width: 761px) {
  body[data-page="matches"] .season-standings-card {
    gap: 22px;
    padding: 24px;
    border-left-color: var(--tennis);
  }

  body[data-page="matches"] .season-scoreboard {
    grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
  }

  body[data-page="matches"] .season-score-team {
    grid-template-columns: 76px minmax(0, 1fr) 96px;
    min-height: 118px;
    gap: 18px;
    align-items: center;
    padding: 20px 22px;
    border: 1px solid rgba(249, 251, 246, 0.26);
    border-left: 5px solid rgba(249, 251, 246, 0.42);
    background: rgba(255, 255, 255, 0.14);
  }

  body[data-page="matches"] .season-score-team.is-leader {
    border-color: rgba(220, 236, 0, 0.48);
    border-left-color: var(--tennis);
    background: linear-gradient(135deg, rgba(220, 236, 0, 0.26), rgba(255, 255, 255, 0.14));
  }

  body[data-page="matches"] .season-team-logo {
    width: 68px;
    justify-self: center;
    align-self: center;
  }

  body[data-page="matches"] .season-score-team span {
    align-self: center;
    max-width: 18ch;
    color: #fffdf8;
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    line-height: 1.15;
    overflow-wrap: anywhere;
    text-shadow: 0 1px 0 rgba(2, 24, 38, 0.32);
  }

  body[data-page="matches"] .season-score-team strong {
    width: 100%;
    min-height: 1.05em;
    display: grid;
    place-items: center end;
    align-self: center;
    justify-self: stretch;
    color: #fffdf8;
    font-size: clamp(4rem, 6vw, 5.8rem);
    line-height: 1;
    text-align: right;
    text-shadow: 0 2px 0 rgba(2, 24, 38, 0.34);
  }

  body[data-page="matches"] .season-score-divider {
    justify-self: center;
    color: #fffdf8;
    font-size: 2rem;
    line-height: 1;
    opacity: 0.9;
  }

  body[data-page="matches"] .season-score-note {
    margin-top: 2px;
    font-size: 1rem;
  }
}

@media (max-width: 1100px) {
  .topbar {
    grid-template-columns: minmax(160px, auto) minmax(0, 1fr) minmax(120px, 168px);
    gap: 8px;
  }

  .nav-links {
    grid-column: auto;
    justify-content: center;
    font-size: clamp(0.78rem, 0.82vw, 0.9rem);
  }

  .nav-links a {
    padding-inline: clamp(5px, 0.62vw, 10px);
  }

  .season-picker {
    grid-column: auto;
    justify-self: end;
    width: min(168px, 100%);
  }

  .sponsor-interest-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1280px) and (min-width: 761px) {
  .site-header {
    padding-inline: 12px;
  }

  .topbar {
    position: relative;
    grid-template-columns: minmax(0, 1fr) 40px;
    gap: 8px;
    align-items: center;
  }

  .brand {
    gap: 8px;
  }

  .brand-logo {
    width: 44px;
  }

  .brand-copy strong {
    font-size: 0.9rem;
    line-height: 1.05;
  }

  .brand-copy span {
    display: none;
  }

  .nav-toggle {
    display: inline-grid;
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    place-content: center;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: none;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    z-index: 25;
    width: 100%;
    max-height: calc(100dvh - 88px);
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
    gap: 0;
    overflow-x: hidden;
    overflow-y: auto;
    border: 1px solid rgba(4, 38, 58, 0.14);
    border-bottom: 0;
    border-radius: 12px 12px 0 0;
    background: rgba(251, 252, 247, 0.98);
    box-shadow: 0 18px 34px rgba(2, 24, 38, 0.16);
    font-size: 1rem;
  }

  .nav-links.is-open {
    display: grid;
  }

  .nav-links a {
    width: 100%;
    max-width: 100%;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 20px 0 26px;
    border: 0;
    border-top: 1px solid rgba(4, 38, 58, 0.1);
    border-radius: 0;
    background: transparent;
    color: #102f3f;
    overflow: hidden;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 850;
  }

  .nav-links a:hover,
  .nav-links a:focus-visible,
  .nav-links a.is-active {
    background: rgba(115, 207, 22, 0.18);
    transform: none;
  }

  .nav-links a:first-child {
    border-top: 0;
  }

  .nav-links .nav-admin-link {
    align-self: stretch;
    grid-column: 1 / -1;
    margin-left: 0;
    padding: 0 20px 0 26px;
    font-size: 0.95rem;
  }

  .nav-links .nav-admin-link::before {
    display: none;
  }

  .season-picker {
    display: none;
    position: absolute;
    top: calc(100% + 10px + var(--mobile-nav-menu-height, 0px));
    left: 0;
    right: 0;
    z-index: 25;
    width: 100%;
    max-height: calc(100dvh - 88px);
    grid-column: 1 / -1;
    gap: 6px;
    padding: 10px 14px 14px 26px;
    border: 1px solid rgba(4, 38, 58, 0.14);
    border-top: 0;
    border-radius: 0 0 12px 12px;
    background: rgba(251, 252, 247, 0.98);
    box-shadow: 0 18px 34px rgba(2, 24, 38, 0.16);
  }

  .nav-links.is-open + .season-picker {
    display: grid;
  }

  .season-picker select {
    width: 100%;
    min-height: 46px;
    border-radius: 6px;
    font-size: 1rem;
  }
}

@media (max-width: 900px) {
  .hero-grid,
  .intro-band,
  .two-column-grid,
  .schedule-row,
  .feature-grid,
  .players-grid,
  .team-grid,
  .sponsor-grid,
  .hero-points {
    grid-template-columns: 1fr;
  }

  .result-card .match-results-table {
    grid-template-columns: 1fr;
  }

  body[data-page="matches"] .feature-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 761px) and (max-width: 900px) {
  body[data-page="home"] .hero-panel {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    justify-self: stretch;
  }
}

@media (max-width: 760px) {
  :root {
    --page-gutter: 0px;
    --section-space: 18px;
    --shadow: none;
    --shadow-soft: none;
  }

  body {
    background:
      linear-gradient(180deg, #f8faf5 0%, #eef5ec 48%, #e7eef1 100%);
    font-size: 15px;
  }

  body::before {
    opacity: 0.1;
  }

  .page-shell {
    padding: 0 0 18px;
  }

  main {
    gap: 0;
    margin-top: 0;
  }

  .site-header {
    top: 0;
    border-width: 0 0 1px;
    border-radius: 0;
    padding: 10px 14px;
    box-shadow: none;
  }

  .site-header,
  .hero,
  .page-hero,
  .section {
    border-radius: 0;
  }

  .topbar {
    display: grid;
    position: relative;
    grid-template-columns: minmax(0, 1fr) 40px;
    gap: 8px;
    align-items: center;
  }

  .brand {
    gap: 9px;
  }

  .brand-logos {
    gap: 7px;
  }

  .brand-logo {
    width: 46px;
  }

  .brand-copy {
    gap: 1px;
  }

  .brand-copy strong {
    font-size: 0.98rem;
    line-height: 1.08;
  }

  .brand-copy span {
    font-size: 0.78rem;
    line-height: 1.25;
  }

  .nav-toggle {
    display: inline-grid;
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    place-content: center;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: none;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    z-index: 25;
    width: 100%;
    max-height: calc(100dvh - 74px);
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
    gap: 0;
    overflow-x: hidden;
    overflow-y: auto;
    border: 1px solid rgba(4, 38, 58, 0.14);
    border-bottom: 0;
    border-radius: 12px 12px 0 0;
    background: rgba(251, 252, 247, 0.98);
    box-shadow: 0 18px 34px rgba(2, 24, 38, 0.16);
    font-size: 1rem;
  }

  .nav-links.is-open {
    display: grid;
  }

  .nav-links a {
    width: 100%;
    max-width: 100%;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 20px 0 26px;
    border: 0;
    border-top: 1px solid rgba(4, 38, 58, 0.1);
    border-radius: 0;
    background: transparent;
    color: #102f3f;
    overflow: hidden;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav-links a:hover,
  .nav-links a:focus-visible,
  .nav-links a.is-active {
    background: rgba(115, 207, 22, 0.18);
    transform: none;
  }

  .nav-links a:first-child {
    border-top: 0;
  }

  .nav-links .nav-admin-link {
    align-self: stretch;
    grid-column: 1 / -1;
    margin-left: 0;
    padding: 0 20px 0 26px;
    font-size: 0.95rem;
  }

  .nav-links .nav-admin-link::before {
    display: none;
  }

  .season-picker {
    display: none;
    position: absolute;
    top: calc(100% + 10px + var(--mobile-nav-menu-height, 0px));
    left: 0;
    right: 0;
    z-index: 25;
    width: 100%;
    max-height: calc(100dvh - 74px);
    grid-column: 1 / -1;
    gap: 6px;
    padding: 10px 14px 14px 26px;
    border: 1px solid rgba(4, 38, 58, 0.14);
    border-top: 0;
    border-radius: 0 0 12px 12px;
    background: rgba(251, 252, 247, 0.98);
    box-shadow: 0 18px 34px rgba(2, 24, 38, 0.16);
  }

  .nav-links.is-open + .season-picker {
    display: grid;
  }

  .season-picker select {
    width: 100%;
    min-height: 46px;
    border-radius: 6px;
    font-size: 1rem;
  }

  .hero,
  .page-hero,
  .section {
    padding: 18px 16px;
    border-width: 0 0 1px;
    box-shadow: none;
  }

  .hero {
    padding: 24px 16px;
  }

  .page-hero {
    justify-items: start;
    text-align: left;
    gap: 8px;
  }

  .hero::after,
  .page-hero::after {
    display: none;
  }

  .hero-copy h1,
  .page-hero h1 {
    max-width: none;
    margin-top: 6px;
    line-height: 1.05;
    overflow-wrap: anywhere;
  }

  .hero-copy h1 {
    font-size: 2.25rem;
  }

  .page-hero h1 {
    font-size: 2rem;
  }

  .hero-text,
  .page-hero p:last-child {
    font-size: 0.98rem;
    line-height: 1.55;
  }

  .hero-actions {
    display: grid;
    gap: 8px;
    margin-top: 16px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-points,
  .hero-panel,
  .schedule-stack,
  .feature-grid,
  .players-grid,
  .team-grid,
  .team-roster,
  .sponsor-grid,
  .sponsor-list {
    gap: 12px;
  }

  .hero-points {
    margin-top: 18px;
  }

  .hero-points li {
    border-radius: 0;
    padding: 10px 0;
    background: transparent;
    border-top: 1px solid rgba(249, 251, 246, 0.2);
  }

  .event-card,
  .score-ticker,
  .band-card,
  .band-stats,
  .content-card,
  .feature-card,
  .player-card,
  .schedule-row,
  .sponsor-card,
  .team-panel {
    border-radius: 0;
    padding: 14px 0;
    border-width: 1px 0 0;
    box-shadow: none;
    background: transparent;
    backdrop-filter: none;
  }

  .hero .event-card,
  .hero .score-ticker {
    padding: 14px;
    border: 1px solid rgba(249, 251, 246, 0.22);
    border-left: 4px solid var(--tennis);
    background: rgba(255, 255, 255, 0.08);
  }

  .section .band-card,
  .section .band-stats,
  .section .content-card,
  .section .feature-card,
  .section .player-card,
  .section .schedule-row,
  .section .sponsor-card,
  .section .team-panel {
    padding: 14px 12px;
    border: 1px solid rgba(4, 38, 58, 0.11);
    border-left: 4px solid rgba(115, 207, 22, 0.78);
    background: rgba(255, 255, 255, 0.9);
  }

  .section .schedule-row.featured-row,
  .section .season-standings-card,
  .section .sponsor-card-presenting {
    border-color: rgba(249, 251, 246, 0.2);
    border-left-color: var(--tennis);
    background: linear-gradient(160deg, rgba(6, 44, 67, 0.96), rgba(11, 73, 103, 0.9));
  }

  .card-label,
  .eyebrow,
  .score-ticker span {
    display: inline-block;
    margin-bottom: 4px;
  }

  .event-card h2 {
    font-size: 1.4rem;
    line-height: 1.08;
  }

  .event-card dl {
    gap: 12px;
    margin-top: 16px;
  }

  .section-heading {
    margin-bottom: 12px;
  }

  .section-heading h2,
  .band-card h2,
  .content-card h2 {
    font-size: 1.55rem;
    line-height: 1.12;
  }

  .band-stats {
    grid-template-columns: 1fr;
  }

  .stat-card {
    min-height: 86px;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.52);
    border-top: 1px solid rgba(4, 38, 58, 0.1);
    padding: 14px 10px;
  }

  .stat-card strong {
    font-size: 1.75rem;
  }

  .schedule-row {
    align-items: start;
  }

  .schedule-row h2 {
    font-size: 1.35rem;
    line-height: 1.14;
  }

  .mini-meta {
    justify-content: flex-start;
    gap: 8px;
  }

  .schedule-row-actions {
    justify-content: flex-start;
    padding: 0 12px 12px;
  }

  .mini-meta span {
    min-height: 36px;
    border-radius: 4px;
    padding: 0 10px;
    background: rgba(115, 207, 22, 0.13);
    border: 1px solid rgba(4, 38, 58, 0.08);
    font-size: 0.88rem;
  }

  .team-panel h2,
  .sponsor-category h2 {
    font-size: 1.4rem;
    line-height: 1.12;
  }

  .sponsor-category h2 {
    text-align: center;
  }

  .team-roster {
    grid-template-columns: 1fr;
  }

  .player-card-button {
    grid-template-columns: 48px minmax(0, 1fr);
    column-gap: 12px;
    align-items: center;
    padding-right: 94px;
  }

  .player-card-button h3 {
    grid-column: 2;
    margin: 0;
  }

  .player-card-button .player-win-count {
    grid-column: auto;
    margin: 0;
    top: 14px;
    right: 12px;
  }

  .player-badge {
    grid-row: 1;
    width: 48px;
    height: 48px;
    margin-bottom: 0;
    border-radius: 6px;
  }

  .sponsor-card {
    min-height: 122px;
  }

  .sponsor-card-presenting {
    min-height: 150px;
  }

  .sponsor-card strong {
    font-size: 1.2rem;
    overflow-wrap: anywhere;
  }

  .sponsor-card-identity {
    gap: 12px;
  }

  .sponsor-card-logo {
    max-width: min(168px, 40%);
    max-height: 58px;
    border-radius: 10px;
    padding: 6px;
  }

  .sponsor-card-logo-only .sponsor-card-logo {
    max-width: min(260px, 88%);
    max-height: 82px;
  }

  .sponsor-interest-shell,
  .sponsor-interest-grid {
    grid-template-columns: 1fr;
  }

  .sponsor-interest-copy,
  .sponsor-interest-card {
    min-width: 0;
  }

  .sponsor-interest-breakdown {
    padding: 16px 14px;
  }

  .sponsor-interest-breakdown-toggle {
    cursor: pointer;
  }

  .sponsor-interest-breakdown-toggle:focus-visible {
    outline: 2px solid rgba(173, 211, 0, 0.42);
    outline-offset: 4px;
    border-radius: 12px;
  }

  .sponsor-interest-breakdown-toggle-icon {
    display: block;
  }

  .sponsor-interest-breakdown:not(.is-expanded) .sponsor-interest-breakdown-content {
    display: none;
  }

  .sponsor-interest-breakdown-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .sponsor-interest-tier {
    padding: 12px;
  }

  .sponsor-interest-tier-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .sponsor-interest-tier-top span {
    font-size: 0.9rem;
  }

  .sponsor-interest-tier-list {
    padding-left: 18px;
  }

  .sponsor-interest-field input,
  .sponsor-interest-field select,
  .sponsor-interest-field textarea {
    border-radius: 10px;
  }

  .contact-links {
    grid-template-columns: 1fr;
  }

  .contact-links a,
  .button {
    min-height: 48px;
    padding: 0 14px;
    border-radius: 6px;
  }

  .contact-links .contact-facebook-link {
    width: 52px;
    min-width: 52px;
    max-width: 52px;
    padding: 0;
  }

  .site-footer {
    display: grid;
    border-width: 1px 0 0;
    border-radius: 0;
    margin-top: 14px;
    padding: 16px;
    gap: 8px;
    box-shadow: none;
  }

  .site-credit {
    text-align: left;
  }

  .player-modal {
    grid-template-columns: 1fr;
    width: min(100%, 520px);
    max-height: calc(100dvh - 24px);
    border-radius: 22px;
    padding-top: 58px;
  }

  .player-modal-photo,
  .player-modal-photo img {
    min-height: 260px;
  }

  .player-modal-copy {
    padding-right: 0;
  }

  .result-scoreboard,
  .season-scoreboard,
  .standings-row,
  .match-result-row {
    grid-template-columns: 1fr;
  }

  .result-score-divider,
  .season-score-divider {
    justify-self: center;
  }

  .latest-result-item {
    grid-template-columns: 1fr;
    border-radius: 0;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.08);
    border-width: 1px;
    border-left: 4px solid rgba(220, 236, 0, 0.74);
  }

  .latest-result-item em {
    justify-self: start;
  }

  .latest-result-card-content .match-result-row {
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.16);
    border-left-color: rgba(220, 236, 0, 0.74);
  }

  .latest-result-card-content .match-result-row em {
    justify-self: start;
  }

  .latest-results-card {
    display: grid;
    gap: 10px;
  }

  .latest-results-list,
  .latest-result-card-content,
  .latest-result-card-content .match-results-table {
    min-width: 0;
    width: 100%;
  }

  .latest-result-card-content h3 {
    font-size: 1.05rem;
  }

  .latest-result-card-content .match-score-grid {
    --score-column-width: 2.85ch;
    --score-player-column: minmax(10ch, 1fr);
    column-gap: 10px;
    row-gap: 0;
    align-items: center;
  }

  .latest-result-card-content .match-score-row {
    column-gap: 10px;
  }

  .latest-result-card-content .match-score-grid.has-winner .match-score-row {
    grid-template-columns: var(--score-player-column) repeat(var(--score-set-count), minmax(var(--score-column-width), var(--score-column-width))) 8px;
    column-gap: 10px;
    row-gap: 0;
    align-items: center;
  }

  .latest-result-card-content .match-score-player {
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .latest-result-card-content .match-score-player.has-team-logo {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    align-items: center;
  }

  .latest-result-card-content .match-score-set,
  .latest-result-card-content .match-score-player,
  .latest-result-card-content .match-score-player.match-winner,
  .latest-result-card-content .match-score-player.match-loser,
  .latest-result-card-content .match-score-player-name,
  .latest-result-card-content .match-result-row strong,
  .latest-result-card-content .match-result-row em,
  .latest-result-card-content .match-winner,
  .latest-result-card-content .match-loser,
  .latest-result-card-content .match-result-summary,
  .latest-result-card-content .match-result-summary .match-winner,
  .latest-result-card-content .match-result-summary .match-loser,
  .latest-result-card-content .match-result-summary strong {
    color: #fffdf8;
  }

  .latest-result-card-content .match-score-player-name {
    line-height: 1.15;
    transform: translateY(4px);
  }

  .latest-result-card-content .match-team-logo {
    align-self: center;
    justify-self: center;
  }

  .latest-result-card-content .match-score-set {
    font-size: 0.98rem;
  }

  .latest-result-card-content .match-score-arrow-spacer,
  .latest-result-card-content .match-score-winner-arrow {
    display: block;
  }

  .season-score-team,
  .result-team {
    min-height: 82px;
    padding: 12px;
    border-width: 1px;
    border-left: 4px solid rgba(249, 251, 246, 0.42);
    border-radius: 0;
    background: rgba(255, 255, 255, 0.38);
  }

  body[data-page="matches"] .season-score-team {
    grid-template-columns: 48px minmax(0, 1fr) 56px;
    gap: 10px;
    align-items: center;
    min-height: 68px;
  }

  body[data-page="matches"] .season-team-logo {
    grid-row: auto;
    width: 44px;
    justify-self: center;
    align-self: center;
  }

  body[data-page="matches"] .season-score-team span {
    align-self: center;
    min-width: 0;
    line-height: 1.15;
    overflow-wrap: anywhere;
  }

  body[data-page="matches"] .season-score-team strong {
    width: 100%;
    min-height: 1.05em;
    display: grid;
    place-items: center end;
    align-self: center;
    justify-self: stretch;
    text-align: right;
    line-height: 1;
    transform: translateY(-0.06em);
  }

  .season-scoreboard .season-score-team:last-child:not(.is-leader) {
    background: rgba(255, 255, 255, 0.38);
    border-color: rgba(249, 251, 246, 0.2);
    border-left-color: rgba(249, 251, 246, 0.42);
  }

  .season-scoreboard .season-score-team:last-child:not(.is-leader) span,
  .season-scoreboard .season-score-team:last-child:not(.is-leader) strong {
    color: #fffdf8;
  }

  .season-score-team strong,
  .result-team strong {
    font-size: 2.25rem;
  }

  .match-result-row {
    align-items: start;
    grid-template-columns: minmax(0, 1fr);
    padding: 12px;
    border-radius: 0;
    background: rgba(4, 38, 58, 0.035);
    border-top: 1px solid rgba(4, 38, 58, 0.1);
    border-left: 4px solid rgba(4, 38, 58, 0.12);
  }

  body[data-page="matches"] .result-card-toggle {
    min-height: 44px;
  }

  body[data-page="matches"] .result-card-toggle-icon {
    margin-right: 4px;
  }

  .result-card.is-clickable .result-card-heading {
    grid-template-columns: 1fr;
  }

  .result-card-action {
    justify-self: start;
    min-height: 36px;
    border-radius: 6px;
  }

  .result-modal-backdrop {
    padding: 10px;
  }

  .result-modal {
    max-height: calc(100dvh - 20px);
    border-radius: 18px;
  }

  .result-modal-card {
    padding: 56px 12px 14px;
  }

  .match-result-row em {
    justify-self: start;
  }

  .match-score-grid {
    --score-column-width: 2.85ch;
    --score-player-column: minmax(10ch, 1fr);
    column-gap: 10px;
  }

  .match-score-row {
    column-gap: 10px;
  }

  .match-score-grid.has-winner .match-score-row {
    grid-template-columns: var(--score-player-column) repeat(var(--score-set-count), minmax(var(--score-column-width), var(--score-column-width))) 8px;
  }

  body[data-page="matches"] .match-score-player {
    gap: 8px;
  }

  body[data-page="matches"] .match-score-player.has-team-logo {
    grid-template-columns: 30px minmax(0, 1fr);
  }

  body[data-page="matches"] .match-team-logo {
    width: 30px;
    height: 30px;
    justify-self: center;
  }

  .match-score-row .match-score-set {
    opacity: 0.72;
  }

  .match-score-row .match-score-set.is-set-winner {
    opacity: 1;
    font-weight: 900;
    text-shadow:
      0.45px 0 currentColor,
      -0.45px 0 currentColor,
      0 0.45px currentColor;
  }
}

@media (max-width: 430px) {
  .brand-copy [data-tagline] {
    display: none;
  }

  .nav-links {
    grid-template-columns: 1fr;
  }

  .hero,
  .page-hero,
  .section {
    padding: 14px;
  }

  .hero-copy h1 {
    font-size: 2.18rem;
  }

  .page-hero h1 {
    font-size: 1.95rem;
  }

  .sponsor-interest-breakdown {
    padding: 14px 12px;
  }

  .sponsor-interest-tier {
    padding: 11px;
  }

  .hero-actions {
    gap: 10px;
  }

  .event-card,
  .score-ticker,
  .band-card,
  .band-stats,
  .content-card,
  .feature-card,
  .player-card,
  .schedule-row,
  .sponsor-card,
  .team-panel {
    padding: 14px 12px;
  }

  .player-modal-backdrop {
    padding: 10px;
  }

  .player-modal-photo,
  .player-modal-photo img {
    min-height: 220px;
  }
}

.section .schedule-row {
  padding: 0;
}

@media (max-width: 430px) {
  .section .schedule-row-button {
    grid-template-columns: 1fr;
    padding: 14px 12px;
  }
}

.site-admin-bar {
  position: fixed;
  right: clamp(12px, 2vw, 24px);
  bottom: clamp(12px, 2vw, 24px);
  z-index: 80;
  display: none;
  align-items: flex-start;
  gap: 14px;
  max-width: min(860px, calc(100vw - 24px));
  padding: 10px;
  border: 1px solid rgba(4, 38, 58, 0.2);
  border-radius: 18px;
  color: #f8faf5;
  background: rgba(4, 38, 58, 0.94);
  box-shadow: 0 18px 48px rgba(2, 24, 38, 0.28);
}

.site-admin-ready .site-admin-bar {
  display: flex;
}

body.site-admin-drawer-open .site-admin-bar {
  right: calc(min(540px, 100vw) + clamp(12px, 2vw, 24px));
  max-width: min(720px, calc(100vw - min(540px, 100vw) - 32px));
}

body.site-admin-drawer-open .site-admin-bar-copy {
  min-width: 96px;
  max-width: 120px;
}

body.site-admin-drawer-open .site-admin-actions {
  min-width: 0;
  justify-content: flex-start;
  padding: 2px;
  scroll-padding-inline: 2px;
}

.site-admin-bar-copy {
  display: grid;
  gap: 1px;
  min-width: 0;
  max-width: 220px;
  padding-left: 8px;
  overflow: hidden;
  pointer-events: none;
}

.site-admin-bar-copy strong {
  font-size: 0.9rem;
}

.site-admin-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
  max-width: 100%;
  overflow: visible;
}

.site-admin-button {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  color: #f8faf5;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.site-admin-button:hover,
.site-admin-button:focus-visible {
  background: rgba(255, 255, 255, 0.16);
}

.site-admin-button-primary {
  color: #04263a;
  border-color: var(--tennis);
  background: var(--tennis);
}

.site-admin-button-danger {
  color: #fff;
  border-color: rgba(180, 35, 24, 0.74);
  background: #b42318;
}

.site-admin-toast {
  position: fixed;
  top: clamp(12px, 2vw, 24px);
  left: 50%;
  z-index: 160;
  width: min(520px, calc(100vw - 24px));
  padding: 12px 16px;
  border: 1px solid rgba(4, 38, 58, 0.18);
  border-radius: 10px;
  color: #f8faf5;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  background: rgba(4, 38, 58, 0.94);
  box-shadow: 0 18px 48px rgba(2, 24, 38, 0.24);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -12px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.site-admin-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.site-admin-toast.is-error {
  color: #fff4f2;
  border-color: rgba(180, 35, 24, 0.34);
  background: rgba(147, 27, 18, 0.96);
}

.site-admin-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 120;
  display: grid;
  grid-template-rows: auto 1fr;
  width: min(540px, 100vw);
  height: 100dvh;
  max-height: 100vh;
  border-left: 1px solid rgba(4, 38, 58, 0.18);
  background: #fbfcf7;
  box-shadow: -22px 0 60px rgba(2, 24, 38, 0.2);
  transform: translateX(100%);
  transition: transform 180ms ease;
}

.site-admin-drawer.is-open {
  transform: translateX(0);
}

.site-admin-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.site-admin-drawer-header h2 {
  margin: 0;
  font-size: 1.15rem;
}

.site-admin-drawer-header .site-admin-button {
  color: var(--ink);
  border-color: var(--line);
  background: #fff;
}

.site-admin-drawer-body .site-admin-button {
  color: var(--ink);
  border-color: rgba(4, 38, 58, 0.16);
  background: #fff;
}

.site-admin-drawer-body .site-admin-button:hover,
.site-admin-drawer-body .site-admin-button:focus-visible {
  background: rgba(115, 207, 22, 0.14);
}

.site-admin-drawer-body .site-admin-button-danger {
  color: #fff;
  border-color: rgba(180, 35, 24, 0.78);
  background: #b42318;
}

.site-admin-drawer-body .site-admin-button-danger:hover,
.site-admin-drawer-body .site-admin-button-danger:focus-visible {
  background: #931b12;
}

.site-admin-drawer-body {
  display: grid;
  align-content: start;
  gap: 18px;
  min-width: 0;
  overflow: auto;
  padding: 18px;
}

.site-admin-jump-nav {
  position: sticky;
  top: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  gap: 8px;
  min-width: 0;
  min-height: 58px;
  padding: 12px;
  margin: 0;
  overflow: visible;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(251, 252, 247, 0.94);
  box-shadow: 0 10px 24px rgba(2, 24, 38, 0.08);
  backdrop-filter: blur(8px);
}

.site-admin-jump-nav .site-admin-button {
  width: 100%;
  min-height: 38px;
  color: var(--ink);
  border-color: rgba(4, 38, 58, 0.16);
  background: #fff;
}

.site-admin-panel {
  display: grid;
  gap: 14px;
  min-width: 0;
  scroll-margin-top: 72px;
}

.site-admin-panel-group {
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(4, 38, 58, 0.16);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 10px 28px rgba(2, 24, 38, 0.06);
  scroll-margin-top: 72px;
}

.site-admin-panel-group > h3 {
  position: sticky;
  top: 58px;
  z-index: 1;
  margin: -2px 0 0;
  padding: 10px 0;
  color: var(--ink);
  font-size: 1.02rem;
  background: #fbfcf7;
}

.site-admin-panel-group-body {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.site-admin-panel-group .site-admin-panel {
  padding-top: 4px;
  scroll-margin-top: 120px;
}

.site-admin-panel-group .site-admin-panel h3 {
  position: static;
  padding: 0 0 2px;
  color: var(--muted);
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0;
  background: transparent;
}

.site-admin-panel h3 {
  position: sticky;
  top: 58px;
  z-index: 1;
  margin: 0;
  padding: 10px 0;
  font-size: 1rem;
  background: #fbfcf7;
}

.site-admin-help {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-admin-subheading {
  margin: 8px 0 0;
  padding-top: 8px;
  border-top: 1px solid rgba(4, 38, 58, 0.1);
  color: var(--ink);
  font-size: 0.9rem;
}

.site-admin-field {
  display: grid;
  gap: 6px;
  min-width: 0;
  font-weight: 700;
}

.site-admin-field span,
.site-admin-check span {
  font-size: 0.86rem;
}

.site-admin-field input,
.site-admin-field textarea,
.site-admin-field select {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  font: inherit;
  background: #fff;
}

.site-admin-field input::placeholder,
.site-admin-field textarea::placeholder,
.site-admin-inline-form input::placeholder {
  color: rgba(4, 38, 58, 0.72);
  opacity: 1;
}

.site-admin-field textarea {
  min-height: 120px;
  resize: vertical;
}

.site-admin-logo-slot {
  display: grid;
  gap: 12px;
  padding: 14px;
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.58);
}

.site-admin-logo-preview,
.site-admin-team-logo-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 92px;
  padding: 12px;
  border: 1px dashed var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.74);
}

.site-admin-logo-preview img,
.site-admin-team-logo-preview img {
  max-width: min(180px, 100%);
  max-height: 72px;
  object-fit: contain;
}

.site-admin-logo-preview span,
.site-admin-team-logo-preview span {
  color: var(--muted);
  font-size: 0.9rem;
}

.site-admin-range-field input[type="range"] {
  width: 100%;
}

.site-admin-range-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.site-admin-json-field textarea {
  min-height: 58vh;
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.86rem;
  line-height: 1.5;
  white-space: pre;
}

.site-admin-field .has-error {
  border-color: #b42318;
  box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.12);
}

.site-admin-check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.site-admin-inline-form,
.site-admin-manage-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  min-width: 0;
  max-width: 100%;
}

.site-admin-inline-form input,
.site-admin-inline-form select {
  min-height: 36px;
  min-width: 92px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  font: inherit;
  background: #fff;
}

.site-admin-field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.site-admin-manage-item {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
}

.site-admin-manage-item summary {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-width: 0;
  cursor: pointer;
  list-style: none;
}

.site-admin-manage-item summary::-webkit-details-marker {
  display: none;
}

.site-admin-manage-item summary::before {
  content: "";
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  transition: transform 160ms ease;
}

.site-admin-manage-item[open] summary::before {
  transform: rotate(45deg);
}

.site-admin-manage-item summary > strong {
  grid-column: 2;
}

.site-admin-manage-item summary > .site-admin-manage-actions {
  grid-column: 2;
  justify-self: start;
}

.site-admin-manage-item strong {
  font-size: 0.92rem;
  min-width: 0;
  overflow-wrap: anywhere;
}

.site-admin-sponsor-logo-preview {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
}

.site-admin-sponsor-logo-preview img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  padding: 8px;
}

.site-admin-sponsor-logo-preview span {
  padding: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
}

.site-admin-match-editor {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(4, 38, 58, 0.12);
  border-radius: 10px;
  background: rgba(246, 249, 242, 0.72);
}

@media (max-width: 1180px) and (min-width: 761px) {
  body.site-admin-drawer-open .site-admin-bar {
    left: clamp(12px, 2vw, 24px);
    right: calc(min(540px, 100vw) + clamp(12px, 2vw, 24px));
    max-width: none;
  }

  body.site-admin-drawer-open .site-admin-bar-copy {
    display: none;
  }
}

@media (max-width: 760px) {
  body.site-admin-drawer-open {
    overflow: hidden;
  }

  .site-admin-field-row {
    grid-template-columns: 1fr;
  }

  .site-admin-drawer {
    inset: 0;
    width: 100vw;
    height: 100dvh;
    max-height: none;
    border-left: 0;
    box-shadow: none;
  }

  .site-admin-drawer-header {
    position: sticky;
    top: 0;
    z-index: 1;
    align-items: start;
    padding: 12px 14px;
    background: #fbfcf7;
  }

  .site-admin-drawer-header h2 {
    font-size: 1rem;
    line-height: 1.2;
  }

  .site-admin-drawer-header .site-admin-button {
    min-height: 40px;
    border-radius: 6px;
  }

  .site-admin-drawer-body {
    gap: 14px;
    padding: 14px;
    padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px));
    -webkit-overflow-scrolling: touch;
  }

  .site-admin-panel {
    gap: 12px;
  }

  .site-admin-panel-group {
    gap: 10px;
    padding: 12px;
    border-radius: 0;
  }

  .site-admin-panel-group > h3 {
    top: 61px;
    font-size: 0.98rem;
  }

  .site-admin-field input,
  .site-admin-field textarea,
  .site-admin-field select,
  .site-admin-inline-form input,
  .site-admin-inline-form select {
    min-height: 46px;
    border-radius: 6px;
    font-size: 16px;
  }

  .site-admin-json-field textarea {
    min-height: 48dvh;
    white-space: pre-wrap;
  }

  .site-admin-inline-form,
  .site-admin-manage-actions {
    display: flex;
    flex-wrap: wrap;
  }

  .site-admin-inline-form .site-admin-button,
  .site-admin-manage-actions .site-admin-button {
    width: auto;
  }

  .site-admin-manage-item,
  .site-admin-match-editor {
    border-radius: 0;
  }
}

.site-edit-mode .page-hero,
.site-edit-mode .hero,
.site-edit-mode .section {
  outline: 2px dashed rgba(115, 207, 22, 0.78);
  outline-offset: 5px;
}

.site-edit-mode .site-inline-editable {
  border-radius: 6px;
  box-shadow: 0 0 0 2px rgba(115, 207, 22, 0.48);
  cursor: text;
}

.site-edit-mode .site-inline-editable:hover,
.site-edit-mode .site-inline-editable:focus {
  background: rgba(220, 236, 0, 0.16);
  box-shadow: 0 0 0 3px rgba(115, 207, 22, 0.74);
  outline: none;
}

.site-edit-mode .site-inline-editable[data-inline-empty="true"] {
  min-height: 1.4em;
}

.site-edit-mode .site-inline-editable[data-inline-empty="true"][data-inline-display="block"] {
  display: block;
  width: 100%;
  margin-inline: 0;
}

.site-edit-mode .site-inline-editable[data-inline-empty="true"][data-inline-display="inline"] {
  display: inline-block;
  min-width: 8ch;
  vertical-align: baseline;
}

.site-edit-mode .site-inline-editable[data-inline-empty="true"][data-inline-display="list-item"] {
  display: list-item;
}

.site-edit-mode .site-inline-editable[data-inline-empty="true"]::before {
  content: attr(data-inline-placeholder);
  color: #04263a;
  font-style: italic;
  opacity: 0.82;
}

.site-inline-editable[contenteditable="true"] {
  white-space: pre-wrap;
}

.site-admin-dirty .site-admin-button-primary {
  box-shadow: 0 0 0 3px rgba(220, 236, 0, 0.28);
}

@media (max-width: 760px) {
  .site-edit-mode .site-inline-editable,
  .site-inline-editable[contenteditable="true"] {
    font-size: max(16px, 1em);
  }

  .site-admin-bar {
    left: 10px;
    right: 10px;
    bottom: 10px;
    align-items: stretch;
    flex-direction: column;
  }

  .site-admin-bar-copy {
    min-width: 0;
  }

  .site-admin-actions {
    justify-content: flex-start;
  }

  .site-admin-actions .site-admin-button {
    flex: 0 0 auto;
  }

  .site-admin-drawer-open .site-admin-bar {
    display: none;
  }
}
