:root {
  --green: #0f6b3b;
  --green-dark: #073b24;
  --lime: #d7ff49;
  --yellow: #ffd84d;
  --line: #d9e5dc;
  --ink: #102016;
  --muted: #617168;
  --bg: #f7faf6;
  --panel: #ffffff;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 70px;
  padding: 10px clamp(16px, 4vw, 56px);
  border-bottom: 1px solid rgba(217, 229, 220, .9);
  background: rgba(247, 250, 246, .92);
  backdrop-filter: blur(14px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--green-dark);
  font-weight: 950;
  text-decoration: none;
}
.brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}
nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
nav a {
  padding: 9px 11px;
  border-radius: 8px;
  color: var(--green-dark);
  font-weight: 850;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
nav a.active,
nav a:hover {
  background: #eaf5ee;
}
nav a.active {
  color: var(--green);
  border-bottom-color: var(--green);
  box-shadow: inset 0 -1px 0 var(--green);
}
nav a.nav-booking {
  margin-left: 4px;
  border: 1px solid rgba(15, 107, 59, .2);
  background: #edf8f1;
  color: var(--green-dark);
  font-weight: 950;
}
nav a.nav-booking:hover,
nav a.nav-booking.active {
  border-color: rgba(15, 107, 59, .38);
  background: var(--green);
  color: white;
  box-shadow: none;
}
.menu-toggle { display: none; }
.hero-section {
  position: relative;
  min-height: clamp(210px, 28vh, 285px);
  display: grid;
  align-items: end;
  padding: clamp(14px, 2.5vw, 24px);
  overflow: hidden;
  color: white;
}
.hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 59, 36, .12), rgba(7, 59, 36, .2) 44%, rgba(7, 59, 36, .82));
}
.hero-section > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}
.hero-content {
  position: relative;
  z-index: 1;
  justify-self: end;
  width: min(520px, 100%);
  text-align: right;
}
.eyebrow {
  margin: 0 0 10px;
  color: var(--green);
  font-size: .78rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}
.hero-content .eyebrow { color: var(--lime); }
h1, h2, h3 { margin: 0; letter-spacing: 0; line-height: 1.03; }
h1 { font-size: clamp(1.95rem, 4vw, 3.25rem); }
h2 { font-size: clamp(1.35rem, 2.6vw, 2.15rem); }
h3 { font-size: 1.18rem; }
p { line-height: 1.55; }
.hero-content p:not(.eyebrow) {
  max-width: 520px;
  margin: 8px 0 0;
  margin-left: auto;
  font-size: clamp(.95rem, 1.15vw, 1.04rem);
}
.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-top: 14px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--green-dark);
  font-weight: 900;
  text-decoration: none;
}
.button.primary {
  border-color: var(--green);
  background: var(--green);
  color: white;
}
.button.secondary {
  border-color: var(--yellow);
  background: var(--yellow);
  color: #2d2500;
}
.button.hero-booking-button {
  border-color: #f0c924;
  background: linear-gradient(180deg, #ffe66a 0%, #ffd84d 100%);
  color: #21310c;
  box-shadow: 0 12px 28px rgba(255, 216, 77, .24);
}
.button.hero-booking-button:hover {
  border-color: #e2b80c;
  background: linear-gradient(180deg, #fff07d 0%, #ffd13a 100%);
  color: #172306;
}
.button.hero-booking-button:focus-visible {
  outline: 3px solid rgba(255, 216, 77, .45);
  outline-offset: 3px;
}
.button.danger {
  border-color: #b93131;
  background: #b93131;
  color: white;
}
.button.light {
  border-color: rgba(255,255,255,.35);
  background: rgba(255,255,255,.12);
  color: white;
}
.text-link {
  color: var(--green);
  font-weight: 950;
  text-decoration: none;
}
.section {
  width: min(1180px, calc(100% - 32px));
  margin: clamp(16px, 3vw, 38px) auto;
}
.page-title {
  width: min(1180px, calc(100% - 32px));
  margin: clamp(16px, 2.2vw, 26px) auto clamp(10px, 1.8vw, 18px);
  padding-bottom: 9px;
  border-bottom: 1px solid var(--line);
}
.page-title h1 {
  color: var(--green-dark);
  font-size: clamp(1.35rem, 2.4vw, 1.95rem);
  line-height: 1.08;
}
.page-title + .section {
  margin-top: 0;
}
.page-title + .article {
  margin-top: 0;
}
.intro-grid {
  margin-top: clamp(12px, 2vw, 20px);
  margin-bottom: clamp(12px, 2vw, 18px);
}
.home-events {
  margin-top: clamp(22px, 4vw, 42px);
  margin-bottom: clamp(24px, 5vw, 54px);
}
.section-heading {
  display: grid;
  gap: 8px;
  max-width: 760px;
  margin-bottom: 16px;
}
.section-heading p:last-child {
  margin: 0;
  color: var(--muted);
}
.intro-grid,
.card-grid,
.two-col,
.home-news-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.card-grid,
.home-news-grid,
.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.home-news-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.home-updates {
  display: grid;
  grid-template-columns: minmax(0, 3.1fr) minmax(270px, 1fr);
  gap: 16px;
  align-items: start;
  margin-top: 0;
}
.updates-main-column {
  display: grid;
  gap: 16px;
  align-self: start;
}
.updates-main,
.updates-side {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.82);
  box-shadow: 0 14px 34px rgba(16, 32, 22, .07);
}
.updates-side {
  display: grid;
  gap: 14px;
}
.updates-main {
  align-self: start;
}
.updates-side {
  align-self: start;
}
.home-club-teaser {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  padding: 14px 16px;
  border: 1px solid rgba(15, 107, 59, .16);
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff 0%, #f1faf4 100%);
  box-shadow: 0 14px 34px rgba(16, 32, 22, .07);
}
.home-club-teaser h2 {
  font-size: clamp(1.08rem, 1.55vw, 1.28rem);
  line-height: 1.1;
}
.home-club-teaser p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.38;
}
.home-club-teaser .button {
  justify-self: start;
  min-height: 38px;
  padding: 8px 12px;
  font-size: .9rem;
}
.updates-side h2,
.updates-main h2 {
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}
.compact-home-block {
  display: grid;
  gap: 5px;
}
.compact-home-block + .compact-home-block {
  padding-top: 9px;
  border-top: 1px solid rgba(217, 229, 220, .86);
}
.compact-home-block .eyebrow {
  margin-bottom: 2px;
  font-size: .7rem;
}
.compact-home-block h2 {
  margin: 0;
  font-size: clamp(1.08rem, 1.45vw, 1.28rem);
  line-height: 1.08;
}
.split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}
.split.compact {
  margin-bottom: 12px;
}
.fact-card,
.panel,
.news-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 16px 42px rgba(16, 32, 22, .08);
}
.fact-card {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: start;
  gap: 5px 12px;
  min-height: 78px;
  padding: 12px;
}
.fact-label,
.news-card span,
.muted {
  color: var(--muted);
}
.fact-label {
  align-self: end;
  font-size: .9rem;
}
.fact-card strong {
  color: var(--green-dark);
  font-size: .98rem;
  line-height: 1.22;
}
.fact-icon {
  position: relative;
  grid-row: 1 / span 2;
  width: 32px;
  height: 32px;
  border: 1px solid #bedbc8;
  border-radius: 8px;
  background: #eef8f2;
}
.fact-icon::before,
.fact-icon::after {
  content: "";
  position: absolute;
}
.fact-icon-court {
  background:
    linear-gradient(90deg, transparent 47%, var(--green) 47% 53%, transparent 53%),
    linear-gradient(0deg, transparent 47%, var(--green) 47% 53%, transparent 53%),
    #eef8f2;
}
.fact-icon-court::before {
  inset: 7px;
  border: 2px solid var(--green);
  border-radius: 2px;
}
.fact-icon-play::before {
  left: 8px;
  top: 6px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--green);
}
.fact-icon-play::after {
  left: 13px;
  top: 14px;
  width: 12px;
  height: 9px;
  border-left: 3px solid var(--green);
  border-bottom: 3px solid var(--green);
  transform: rotate(-28deg);
}
.fact-icon-youth::before,
.fact-icon-club::before {
  left: 7px;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 10px 0 0 var(--green);
}
.fact-icon-youth::after,
.fact-icon-club::after {
  left: 5px;
  top: 18px;
  width: 22px;
  height: 8px;
  border-radius: 10px 10px 4px 4px;
  background: var(--green);
}
.fact-icon-club::before {
  left: 5px;
  box-shadow: 9px -3px 0 var(--green), 18px 0 0 var(--green);
}
.fact-icon-club::after {
  left: 4px;
  width: 24px;
}
.news-card {
  overflow: hidden;
}
.news-card img {
  width: 100%;
  aspect-ratio: 16 / 8.5;
  object-fit: cover;
}
.news-card div,
.panel {
  padding: 18px;
}
.home-news-grid .news-card div {
  padding: 14px;
}
.home-news-grid .news-card img {
  aspect-ratio: 16 / 6;
}
.home-news-grid .news-card h3 {
  font-size: 1rem;
  line-height: 1.25;
}
.home-news-grid .news-card p {
  margin: 8px 0 0;
  font-size: .92rem;
  line-height: 1.45;
}
.home-news-grid .text-link {
  display: inline-flex;
  margin-top: 8px;
  font-size: .92rem;
}
.home-team-summary {
  display: grid;
  gap: 8px;
  margin: 14px 0;
}
.home-team-summary article {
  display: grid;
  gap: 2px;
  padding: 10px 0;
  border-top: 1px solid rgba(217, 229, 220, .7);
}
.home-team-summary span {
  color: var(--muted);
  font-size: .92rem;
}
.feature-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: clamp(22px, 5vw, 44px);
  border-radius: 8px;
  background: var(--green-dark);
  color: white;
}
.feature-band .eyebrow { color: var(--lime); }
.feature-band p { color: rgba(255,255,255,.78); }
.page-hero {
  padding: clamp(22px, 3.6vw, 40px) clamp(16px, 4vw, 56px);
  background: linear-gradient(135deg, #f0f7f2, #ffffff);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  max-width: 900px;
  font-size: clamp(1.85rem, 4vw, 3.15rem);
  color: var(--green-dark);
}
.page-hero strong {
  display: block;
  margin-top: 8px;
  font-size: clamp(1.02rem, 2vw, 1.3rem);
}
.page-hero p:last-child {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
}
.event-list {
  display: grid;
  gap: 10px;
}
.event-list article {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfb;
}
.event-list article.is-featured {
  border-color: rgba(15, 107, 59, .3);
  background: linear-gradient(135deg, #ffffff 0%, #f2faf5 100%);
  box-shadow: 0 12px 30px rgba(16, 32, 22, .08);
}
.event-list time {
  display: grid;
  place-items: center;
  min-height: 60px;
  border-radius: 8px;
  background: #eaf5ee;
  color: var(--green);
  font-weight: 950;
  text-align: center;
}
.event-list time strong {
  color: var(--green-dark);
  font-size: 1.58rem;
  line-height: .95;
}
.event-list time span {
  margin: 0;
  color: var(--green);
  font-size: .78rem;
  letter-spacing: 0;
}
.event-list span {
  display: block;
  color: var(--muted);
  margin-top: 3px;
}
.event-label {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  margin-top: 7px;
  padding: 3px 7px;
  border-radius: 999px;
  background: #eaf5ee;
  color: var(--green-dark);
  font-size: .72rem;
  font-style: normal;
  font-weight: 950;
}
.event-detail-button {
  display: inline-flex;
  margin-top: 7px;
  font-size: .9rem;
}
.event-list-compact {
  gap: 6px;
}
.event-list-compact article {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
}
.event-row-button,
.championship-mini-list a {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  width: 100%;
  min-height: 42px;
  padding: 5px 0;
  border: 0;
  border-bottom: 1px solid rgba(217, 229, 220, .75);
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.championship-mini-list a {
  align-items: center;
}
.event-list-compact article:last-child .event-row-button,
.championship-mini-list a:last-child {
  border-bottom: 0;
}
.event-list-compact time,
.championship-mini-list time {
  display: grid;
  place-items: center;
  min-height: 36px;
  border-radius: 8px;
  background: #edf8f1;
  color: var(--green);
  font-weight: 950;
  text-align: center;
}
.event-list-compact time strong,
.championship-mini-list time strong {
  font-size: .95rem;
  line-height: 1;
}
.event-list-compact time span,
.championship-mini-list time span {
  font-size: .62rem;
  line-height: 1;
}
.event-row-info,
.championship-mini-info {
  display: grid;
  gap: 2px;
  min-width: 0;
  color: var(--green-dark);
  font-weight: 950;
  line-height: 1.2;
}
.event-row-info strong,
.championship-mini-info strong {
  display: block;
  min-width: 0;
  color: var(--green-dark);
  font-weight: 950;
  line-height: 1.2;
  overflow-wrap: anywhere;
  white-space: normal;
}
.event-row-info em,
.championship-mini-info em {
  display: block;
  color: var(--muted);
  font-size: .76rem;
  font-style: normal;
  font-weight: 850;
  line-height: 1.2;
  overflow-wrap: anywhere;
  white-space: normal;
}
.championship-mini-list {
  display: grid;
  gap: 4px;
}
.championship-mini-info span {
  min-width: 0;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 650;
  line-height: 1.22;
  overflow-wrap: anywhere;
}
.compact-empty {
  margin: 0;
  padding: 8px 0;
  font-size: .9rem;
}
.event-modal[hidden] {
  display: none;
}
.event-modal {
  position: fixed;
  inset: 0;
  z-index: 82;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(5, 32, 22, .58);
}
.event-modal-box {
  position: relative;
  width: min(620px, 100%);
  max-height: min(680px, calc(100vh - 44px));
  overflow: auto;
  padding: 24px;
  border-radius: 8px;
  background: white;
  box-shadow: 0 28px 90px rgba(0, 0, 0, .28);
}
.event-modal-body {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}
.event-modal-body dl {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 8px 14px;
  margin: 0;
}
.event-modal-body dt {
  color: var(--muted);
  font-weight: 900;
}
.event-modal-body dd {
  margin: 0;
  color: var(--ink);
}
.event-description {
  margin: 4px 0 0;
  color: var(--muted);
  line-height: 1.55;
  white-space: pre-line;
}
.championship-overview,
.championship-grid,
.championship-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.championship-tabs-section {
  display: grid;
  gap: 16px;
}
.championship-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.championship-tab {
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--green-dark);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(16, 32, 22, .06);
}
.championship-tab:hover,
.championship-tab:focus-visible {
  border-color: rgba(0, 104, 65, .42);
  outline: 0;
}
.championship-tab.is-active {
  border-color: var(--green-dark);
  background: var(--green-dark);
  color: white;
}
.team-card {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 16px 42px rgba(16, 32, 22, .08);
}
.team-card h2 {
  font-size: clamp(1.45rem, 2.6vw, 2rem);
}
.team-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.team-meta span {
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f4faf6;
  color: var(--green-dark);
  font-size: .78rem;
  font-weight: 900;
}
.team-section {
  scroll-margin-top: 92px;
}
.team-section[hidden] {
  display: none;
}
.team-section .panel {
  min-width: 0;
}
.team-section .split {
  align-items: start;
}
.championship-updated {
  margin-top: 4px;
  font-size: .9rem;
}
.championship-grid {
  margin-top: 16px;
}
.championship-highlights {
  margin-top: 16px;
}
.next-match-card {
  border-color: rgba(0, 104, 65, .22);
  background: linear-gradient(135deg, #ffffff 0%, #f3fbf6 100%);
}
.compact-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.championship-full-panel {
  margin-top: 16px;
}
.match-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}
.match-list article {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) minmax(150px, 220px);
  gap: 12px;
  align-items: start;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.match-list article:last-child {
  border-bottom: 0;
}
.match-list span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: .9rem;
}
.text-button {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--green-dark);
  font: inherit;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.text-button:hover,
.text-button:focus-visible {
  color: var(--green);
  outline: 0;
}
.opponent-action {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: .92rem;
}
.details-button {
  display: inline-block;
  margin-top: 8px;
}
.match-info {
  min-width: 0;
}
.match-scoreboard {
  display: grid;
  gap: 4px;
  width: 100%;
}
.match-scoreboard.inline {
  max-width: 360px;
  margin-top: 10px;
}
.score-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px;
  gap: 8px;
  align-items: center;
  padding: 5px 7px;
  border-radius: 7px;
  color: var(--muted);
  background: #f8fbf9;
}
.score-row.is-winner {
  color: var(--green-dark);
  background: #edf8f1;
  font-weight: 900;
}
.score-row.is-club .score-name::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--green);
  vertical-align: 1px;
}
.score-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.score-row strong {
  text-align: right;
  color: inherit;
  font-size: 1.08rem;
}
.score-detail {
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.25;
}
.players-table td,
.standings-table td {
  text-align: left;
}
.players-table th:first-child,
.players-table td:first-child {
  width: 54px;
  text-align: center;
  color: var(--muted);
}
.players-table th:nth-child(2),
.standings-table th:nth-child(2) {
  text-align: left;
}
.players-table th:last-child,
.players-table td:last-child {
  width: 76px;
  text-align: center;
}
.standings-table th,
.standings-table td {
  padding: 9px 7px;
  text-align: center;
}
.standings-table th:nth-child(2),
.standings-table td:nth-child(2) {
  width: 100%;
  text-align: left;
}
.standings-table .is-club-team th,
.standings-table .is-club-team td,
.standings-cards .is-club-team {
  color: var(--green-dark);
  font-weight: 900;
  background: #f3fbf6;
}
.standings-cards {
  display: none;
  gap: 8px;
  margin-top: 12px;
}
.championship-modal[hidden] {
  display: none;
}
.championship-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(5, 32, 22, .58);
}
.championship-modal-box {
  position: relative;
  width: min(920px, 100%);
  max-height: min(760px, calc(100vh - 44px));
  overflow: auto;
  padding: 24px;
  border-radius: 8px;
  background: white;
  box-shadow: 0 28px 90px rgba(0, 0, 0, .28);
}
.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--green-dark);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.championship-modal-body {
  display: grid;
  gap: 18px;
  margin-top: 16px;
}
.modal-match-details {
  display: grid;
  gap: 10px;
}
.modal-match-details h4 {
  margin-top: 8px;
  color: var(--green-dark);
}
.modal-team-result,
.match-detail-card {
  display: grid;
  gap: 7px;
}
.modal-team-result {
  padding: 14px;
  border: 1px solid rgba(0, 104, 65, .16);
  border-radius: 8px;
  background: #f7fbf8;
}
.match-detail-card {
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}
.match-detail-card p {
  margin: 0;
  color: var(--muted);
  font-size: .84rem;
  font-weight: 900;
}
.score-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) repeat(var(--set-count, 3), 34px);
  gap: 8px;
  align-items: center;
  min-height: 30px;
  padding: 4px 7px;
  border-radius: 7px;
  color: var(--muted);
}
.score-line.is-winner {
  color: var(--green-dark);
  background: #edf8f1;
  font-weight: 900;
}
.score-line strong {
  min-width: 0;
  overflow-wrap: anywhere;
}
.set-scores {
  display: grid;
  grid-column: 2 / -1;
  grid-template-columns: repeat(var(--set-count, 3), 34px);
  gap: 8px;
  align-items: center;
}
.set-scores span {
  text-align: center;
  font-variant-numeric: tabular-nums;
  font-weight: 900;
}
.set-special {
  grid-column: 1 / -1;
  width: max-content;
  max-width: 100%;
  justify-self: end;
}
.modal-players-table {
  margin-top: 10px;
}
.source-note p {
  margin-bottom: 0;
}
.clean-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 14px;
}
.clean-table th,
.clean-table td {
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.clean-table td {
  text-align: right;
  font-weight: 900;
}
.players-table th,
.players-table td,
.standings-table th,
.standings-table td {
  padding: 9px 7px;
}
.players-table th:first-child,
.players-table td:first-child {
  width: 54px;
  text-align: center;
  color: var(--muted);
}
.players-table th:nth-child(2),
.players-table td:nth-child(2),
.standings-table th:nth-child(2),
.standings-table td:nth-child(2) {
  text-align: left;
}
.players-table th:last-child,
.players-table td:last-child {
  width: 76px;
  text-align: center;
}
.standings-table th:not(:nth-child(2)),
.standings-table td:not(:nth-child(2)) {
  width: 54px;
  text-align: center;
}
.people-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}
.people-list article {
  display: grid;
  gap: 3px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.people-list span,
.people-list a {
  color: var(--muted);
}
.article {
  width: min(880px, calc(100% - 32px));
  margin: 42px auto 80px;
}
.article-image {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 28px;
}
.article-content {
  margin-top: 24px;
  font-size: 1.05rem;
  line-height: 1.75;
}
.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(16px, 4vw, 56px);
  background: var(--green-dark);
  color: white;
}
.site-footer a { color: white; }
.footer-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.admin-login {
  min-height: calc(100vh - 70px);
  display: grid;
  place-items: center;
  padding: 24px 16px;
  background: linear-gradient(135deg, #eaf5ee, #ffffff);
}
.admin-card,
.admin-form {
  display: grid;
  gap: 14px;
}
.admin-card {
  width: min(460px, 100%);
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 20px 52px rgba(16, 32, 22, .12);
}
.admin-card h1 {
  color: var(--green-dark);
  font-size: clamp(2rem, 5vw, 3rem);
}
.admin-card label,
.admin-form label {
  display: grid;
  gap: 7px;
  color: var(--green-dark);
  font-weight: 850;
}
.admin-card input,
.admin-form input,
.admin-form select,
.admin-form textarea {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  font: inherit;
}
.form-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.admin-form textarea {
  resize: vertical;
}
.checkbox-row {
  display: flex !important;
  grid-template-columns: none;
  align-items: center;
  gap: 10px;
}
.checkbox-row input {
  width: 18px;
  min-height: 18px;
}
.form-error {
  padding: 10px 12px;
  border: 1px solid #f0bbbb;
  border-radius: 8px;
  background: #fff2f2;
  color: #8b2020;
  font-weight: 800;
}
.admin-toolbar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.admin-table-wrap {
  overflow-x: auto;
}
.admin-table th,
.admin-table td {
  vertical-align: middle;
}
.admin-table td {
  text-align: left;
}
.admin-thumb {
  width: 78px;
  height: 50px;
  border-radius: 8px;
  object-fit: cover;
}
.admin-current-image {
  width: min(360px, 100%);
  border-radius: 8px;
  border: 1px solid var(--line);
}
.image-picker {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.image-picker legend {
  padding: 0 6px;
  color: var(--green-dark);
  font-weight: 950;
}
.current-image-box {
  display: grid;
  gap: 8px;
}
.current-image-box span {
  color: var(--muted);
  font-weight: 850;
}
.default-image-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}
.default-image-option {
  position: relative;
  display: grid !important;
  gap: 6px;
  cursor: pointer;
}
.default-image-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.default-image-option img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 2px solid transparent;
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(16, 32, 22, .08);
}
.default-image-option span {
  justify-self: start;
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 900;
}
.default-image-option input:checked + img {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(15, 107, 59, .16), 0 12px 24px rgba(16, 32, 22, .12);
}
.default-image-option input:checked ~ span {
  border-color: var(--green);
  background: var(--green);
  color: white;
}
.admin-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.admin-actions form {
  margin: 0;
}
.local-booking-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .8fr);
  gap: 16px;
  align-items: start;
}
.local-booking-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}
.local-booking-list article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.local-booking-list article:last-child {
  border-bottom: 0;
}
.local-booking-list strong,
.local-booking-list span,
.local-booking-list em {
  display: block;
}
.local-booking-list span {
  margin-top: 4px;
  color: var(--muted);
}
.local-booking-list em {
  width: max-content;
  max-width: 100%;
  margin-top: 7px;
  padding: 3px 7px;
  border-radius: 999px;
  background: #eaf5ee;
  color: var(--green-dark);
  font-size: .76rem;
  font-style: normal;
  font-weight: 950;
}
@media (max-width: 860px) {
  .site-header { align-items: flex-start; }
  .menu-toggle {
    display: inline-flex;
    min-height: 42px;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: white;
    color: var(--green-dark);
    font-weight: 900;
  }
  nav {
    display: none;
    position: absolute;
    inset: 68px 16px auto 16px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: white;
    box-shadow: 0 18px 42px rgba(16, 32, 22, .12);
  }
  nav.open { display: grid; }
  nav a { padding: 12px; }
  .hero-section {
    min-height: clamp(225px, 32vh, 285px);
    align-items: end;
  }
  .hero-section > img {
    object-position: center bottom;
  }
  .actions { margin-top: 14px; }
  .page-hero { padding-top: 26px; padding-bottom: 28px; }
  .intro-grid,
  .card-grid,
  .championship-overview,
  .championship-grid,
  .championship-highlights,
  .local-booking-grid,
  .form-row,
  .home-news-grid,
  .two-col {
    grid-template-columns: 1fr;
  }
  .intro-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .championship-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .championship-tab {
    width: 100%;
  }
  .home-updates {
    grid-template-columns: 1fr;
  }
  .updates-main-column {
    display: contents;
  }
  .updates-main { order: 1; }
  .updates-side { order: 2; }
  .home-club-teaser {
    order: 3;
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .split,
  .feature-band,
  .site-footer {
    display: grid;
  }
  .event-list article {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
  }
  .event-list time { min-height: 62px; }
  .event-list time strong { font-size: 1.55rem; }
  .event-list-compact article {
    display: block;
    padding: 0;
  }
  .event-list-compact time,
  .championship-mini-list time {
    min-height: 36px;
  }
  .event-list-compact time strong,
  .championship-mini-list time strong {
    font-size: .95rem;
  }
  .match-list article {
    grid-template-columns: 1fr;
    gap: 5px;
  }
  .match-scoreboard {
    margin-top: 6px;
    max-width: none;
  }
  .players-table th,
  .players-table td {
    padding: 9px 6px;
  }
  .standings-table {
    display: none;
  }
  .standings-cards {
    display: grid;
  }
  .standings-cards article {
    display: grid;
    gap: 4px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: white;
  }
  .standings-cards span {
    color: var(--muted);
    font-size: .9rem;
  }
  .championship-modal {
    align-items: stretch;
    padding: 12px;
  }
  .event-modal {
    align-items: stretch;
    padding: 12px;
  }
  .championship-modal-box {
    max-height: calc(100vh - 24px);
    padding: 20px 16px;
  }
  .event-modal-box {
    max-height: calc(100vh - 24px);
    padding: 20px 16px;
  }
  .event-modal-body dl {
    grid-template-columns: 1fr;
    gap: 3px;
  }
  .score-line {
    grid-template-columns: minmax(0, 1fr) repeat(var(--set-count, 3), 28px);
    gap: 5px;
    padding: 4px 5px;
  }
  .set-scores {
    grid-template-columns: repeat(var(--set-count, 3), 28px);
    gap: 5px;
  }
  .admin-table {
    min-width: 760px;
  }
  .local-booking-list article {
    grid-template-columns: 1fr;
  }
  .default-image-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  h1 { font-size: clamp(2.25rem, 11vw, 3.7rem); }
}

@media (max-width: 520px) {
  .site-header { min-height: 64px; }
  .brand img { width: 38px; height: 38px; }
  .hero-section {
    min-height: 238px;
    padding: 16px 16px 18px;
  }
  .hero-section > img {
    object-position: center bottom;
  }
  .hero-content p:not(.eyebrow) { max-width: 320px; }
  .button {
    min-height: 38px;
    padding: 8px 11px;
  }
  .fact-card {
    min-height: auto;
    padding: 12px;
  }
  .updates-main,
  .updates-side {
    padding: 14px;
  }
  .event-row-button,
  .championship-mini-list a {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 8px;
  }
  .default-image-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 360px) {
  .intro-grid {
    grid-template-columns: 1fr;
  }
}
