.season-2027-page {
  min-height: calc(100vh - 3rem);
  background: hsl(var(--background));
}

.season-2027-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(0, 79, 52, .9), rgba(7, 31, 42, .82)),
    url("/images/hole-12.jpg");
  background-size: cover;
  background-position: center;
  color: white;
}

.season-2027-hero-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 3.75rem 1rem 3.25rem;
}

.season-switch {
  display: inline-flex;
  gap: .25rem;
  margin-bottom: 1.25rem;
  padding: .25rem;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
}

.season-switch a {
  border-radius: 999px;
  color: rgba(255, 255, 255, .72);
  font-size: .76rem;
  font-weight: 900;
  padding: .45rem .85rem;
}

.season-switch a.is-active {
  background: white;
  color: #063820;
}

.season-2027-kicker {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .18);
  color: rgba(255, 255, 255, .78);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  padding: .35rem .75rem;
  text-transform: uppercase;
}

.season-2027-title {
  max-width: 46rem;
  margin: 1rem 0 .55rem;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.55rem, 7vw, 5.4rem);
  font-style: italic;
  font-weight: 700;
  line-height: .94;
}

.season-2027-copy {
  max-width: 42rem;
  color: rgba(255, 255, 255, .72);
  font-size: .98rem;
  line-height: 1.6;
}

.season-2027-facts {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1.25rem;
}

.season-2027-facts span {
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .82);
  font-size: .72rem;
  font-weight: 800;
  padding: .32rem .75rem;
}

.season-2027-wrap {
  max-width: 72rem;
  margin: 0 auto;
  padding: 2rem 1rem 3rem;
}

.season-2027-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1rem;
}

.season-2027-head h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 900;
}

.season-2027-head p {
  margin: .2rem 0 0;
  color: hsl(var(--muted-foreground));
  font-size: .82rem;
}

.season-2027-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.season-2027-card {
  border: 1px solid hsl(var(--border));
  border-radius: .75rem;
  background: hsl(var(--card));
  box-shadow: 0 1px 2px rgba(15, 23, 42, .08);
  overflow: hidden;
}

.season-2027-page[data-season="2026"] .season-2027-hero {
  background:
    linear-gradient(135deg, rgba(6, 56, 32, .92), rgba(18, 35, 68, .84)),
    url("/images/hole-12.jpg");
  background-size: cover;
  background-position: center;
}

.season-2027-page[data-season="2026"] .season-2027-card {
  box-shadow: 0 1px 2px rgba(15, 23, 42, .06);
}

.season-2027-card-header {
  position: relative;
  display: block;
  min-height: 15.25rem;
  padding: 1rem;
  color: white;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .18), rgba(0, 0, 0, .78)),
    var(--tile-image),
    var(--tile-bg);
  background-size: cover;
  background-position: center;
}

.season-2027-card-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, color-mix(in srgb, var(--tile-bg) 44%, transparent), transparent 58%);
  pointer-events: none;
}

.season-2027-card-content {
  position: relative;
  z-index: 1;
  min-height: 13.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.season-2027-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .75rem;
}

.season-2027-short {
  color: var(--tile-accent);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.season-2027-card h3 {
  margin: .25rem 0 0;
  color: white;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.75rem;
  font-style: italic;
  font-weight: 700;
  line-height: 1.02;
}

.season-2027-status {
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--tile-accent);
  color: var(--tile-bg);
  font-size: .68rem;
  font-weight: 900;
  padding: .18rem .55rem;
  text-transform: uppercase;
}

.season-2027-meta {
  display: grid;
  gap: .28rem;
  color: rgba(255, 255, 255, .78);
  font-size: .78rem;
}

.season-2027-meta b {
  color: white;
  font-weight: 800;
}

.season-2027-action {
  display: block;
  padding: 1rem 1rem .3rem;
  color: hsl(var(--primary));
  font-size: .88rem;
  font-weight: 700;
}

.season-2027-card-note {
  margin: 0;
  padding: 0 1rem 1rem;
  color: hsl(var(--muted-foreground));
  font-size: .8rem;
  line-height: 1.45;
}

.season-2027-note {
  margin-top: 1rem;
  border: 1px solid hsl(var(--border));
  border-radius: .75rem;
  background: hsl(var(--card));
  padding: 1rem;
  color: hsl(var(--muted-foreground));
  font-size: .84rem;
  line-height: 1.55;
}

.season-standings-block {
  margin-top: 1.25rem;
}

.season-standings-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .75rem;
}

.season-standings-head h2 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 900;
}

.season-standings-head p {
  margin: .2rem 0 0;
  color: hsl(var(--muted-foreground));
  font-size: .82rem;
}

.season-standings-head > span {
  color: hsl(var(--muted-foreground));
  flex: 0 0 auto;
  font-size: .75rem;
  font-weight: 800;
}

.season-standings-table {
  overflow-x: auto;
  border: 1px solid hsl(var(--border));
  border-radius: .75rem;
  background: hsl(var(--card));
  box-shadow: 0 1px 2px rgba(15, 23, 42, .08);
}

.season-standings-row {
  display: grid;
  grid-template-columns: minmax(13rem, 2fr) repeat(6, minmax(5.2rem, 1fr));
  min-width: 52rem;
  align-items: center;
  border-top: 1px solid hsl(var(--border));
  padding: .75rem 1rem;
  font-size: .84rem;
}

.season-standings-row:first-child {
  border-top: 0;
}

.season-standings-header {
  background: hsl(var(--muted) / .55);
  color: hsl(var(--muted-foreground));
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.season-standings-row > div:not(:first-child) {
  text-align: center;
}

.season-player-cell {
  display: flex;
  align-items: center;
  gap: .45rem;
  font-weight: 800;
}

.season-rank {
  color: hsl(var(--muted-foreground));
  display: inline-flex;
  width: 1.4rem;
  font-family: "Geist Mono", monospace;
  font-size: .74rem;
  font-weight: 700;
}

.season-total-score {
  font-size: .95rem;
  font-weight: 900;
}

.season-earnings {
  font-weight: 900;
}

.season-2027-tournament-hero {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--tile-bg) 82%, black), rgba(7, 31, 42, .76)),
    var(--tile-image),
    var(--tile-bg);
  background-size: cover;
  background-position: center;
}

.season-back-link {
  display: inline-flex;
  margin: 0 0 .8rem;
  color: rgba(255, 255, 255, .82);
  font-size: .82rem;
  font-weight: 800;
}

.season-setup-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.season-setup-panel {
  border: 1px solid hsl(var(--border));
  border-radius: .75rem;
  background: hsl(var(--card));
  padding: 1rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .08);
}

.season-setup-panel h2 {
  margin: 0 0 .45rem;
  font-size: 1rem;
  font-weight: 900;
}

.season-setup-panel p {
  margin: 0;
  color: hsl(var(--muted-foreground));
  font-size: .84rem;
  line-height: 1.55;
}

.season-setup-panel a {
  display: inline-flex;
  margin-top: .8rem;
  color: hsl(var(--primary));
  font-size: .84rem;
  font-weight: 800;
}

@media (max-width: 1023px) {
  .season-2027-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .season-setup-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 639px) {
  .season-2027-hero-inner {
    padding: 2.5rem 1rem 2.25rem;
  }

  .season-switch {
    width: 100%;
  }

  .season-switch a {
    flex: 1;
    text-align: center;
  }

  .season-2027-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .season-standings-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .season-2027-grid {
    grid-template-columns: 1fr;
  }

  .season-2027-card-header {
    min-height: 13.5rem;
  }
}
