:root {
  --corg1-red: #e10600;
  --corg1-red-dark: #b90500;
  --corg1-black: #15151e;
  --corg1-graphite: #242424;
  --corg1-white: #ffffff;
  --corg1-silver: #949498;
  --corg1-silver-light: #e8e8ea;
  --corg1-surface: #f6f6f7;
  --corg1-cream-dark: #dedee3;

  --corgi-orange: var(--corg1-red);
  --corgi-orange-dark: var(--corg1-red-dark);
  --corgi-cream: var(--corg1-surface);
  --corgi-tan: var(--corg1-silver-light);
  --corgi-brown: var(--corg1-black);
  --corgi-brown-light: var(--corg1-silver);
  --corgi-white: var(--corg1-white);
  --corgi-green: var(--corg1-graphite);
  --corgi-green-light: #38383f;
  --shadow: 0 4px 24px rgba(21, 21, 30, 0.1);
  --shadow-lg: 0 12px 48px rgba(21, 21, 30, 0.16);
  --radius: 4px;
  --radius-sm: 2px;
  --radius-lg: 6px;
  --border: var(--corg1-silver-light);
  --surface: var(--corg1-white);
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Titillium Web", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  background: var(--corgi-cream);
  color: var(--corgi-brown);
  line-height: 1.6;
  min-height: 100vh;
}

/* Header */
.site-header {
  background: var(--corg1-black);
  color: var(--corg1-white);
  padding: 0.65rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  box-sizing: border-box;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  border-bottom: 3px solid var(--corg1-red);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  color: inherit;
}

.logo-img,
.brand-mark {
  height: 48px;
  width: auto;
  display: block;
  transition: opacity 0.2s ease;
}

.logo:hover .logo-img {
  opacity: 0.85;
  transform: none;
}

.brand-mark {
  max-width: 100%;
}

nav {
  display: flex;
  gap: 0.15rem;
  justify-content: flex-end;
  flex-wrap: wrap;
  min-width: 0;
}

nav a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: background 0.2s, color 0.2s;
}

nav a:hover,
nav a.active {
  background: var(--corg1-red);
  color: var(--corg1-white);
}

@media (max-width: 720px) {
  .header-inner {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
  }

  .logo-img {
    height: 42px;
  }

  nav {
    justify-content: center;
    width: 100%;
  }
}

/* Hero */
.hero {
  background:
    linear-gradient(115deg, transparent 48%, rgba(225, 6, 0, 0.12) 48%, rgba(225, 6, 0, 0.12) 52%, transparent 52%),
    repeating-linear-gradient(
      -45deg,
      rgba(255, 255, 255, 0.04) 0,
      rgba(255, 255, 255, 0.04) 8px,
      transparent 8px,
      transparent 16px
    ),
    linear-gradient(180deg, #1a1a24 0%, var(--corg1-black) 100%);
  color: var(--corg1-white);
  padding: 4rem 1.5rem 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: var(--corg1-red);
}

.hero-content {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-watermark {
  position: absolute;
  inset: -5%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.hero-watermark img {
  width: min(120vw, 920px);
  height: auto;
  opacity: 0.08;
  filter: grayscale(100%) blur(2px);
  mix-blend-mode: soft-light;
  mask-image: radial-gradient(ellipse 65% 55% at 50% 50%, black 15%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 65% 55% at 50% 50%, black 15%, transparent 72%);
}

.hero-home {
  padding: 4rem 1.5rem 5rem;
}

.hero-home .hero-kicker {
  margin-bottom: 0.85rem;
  font-size: 0.82rem;
  letter-spacing: 0.24em;
}

.hero-home .hero-kicker-badge {
  color: var(--corg1-white);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-left: 3px solid var(--corg1-red);
  padding: 0.45rem 0.9rem 0.45rem 0.75rem;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

.hero-home h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin-bottom: 1rem;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

.hero-home .hero-lead {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.92);
  opacity: 1;
  max-width: 520px;
  margin: 0 auto 0.75rem;
  line-height: 1.55;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
}

.hero-home .hero-stats {
  margin-bottom: 1.75rem;
}

.hero-home .hero-actions {
  margin-top: 0;
}

@media (max-width: 720px) {
  .hero-home {
    padding: 3rem 1.25rem 4rem;
  }

  .hero-watermark img {
    width: min(140vw, 640px);
    opacity: 0.06;
    filter: grayscale(100%) blur(1.5px);
  }

  .hero-home h1 {
    font-size: clamp(2rem, 9vw, 2.75rem);
    margin-bottom: 0.85rem;
  }

  .hero-home .hero-lead {
    font-size: 0.98rem;
    margin-bottom: 1.75rem;
  }
}

.hero-kicker {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--corg1-red);
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  font-style: italic;
  line-height: 0.95;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hero p {
  font-size: 1.05rem;
  opacity: 0.88;
  max-width: 560px;
  margin: 0 auto 2rem;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
  min-width: 120px;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 3px solid var(--corg1-red);
}

.stat-value {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
  font-style: italic;
  display: block;
  line-height: 1;
}

.stat-label {
  font-size: 0.72rem;
  opacity: 0.75;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: 0.35rem;
}

.hero-compact {
  padding: 3rem 1.5rem 3.5rem;
}

.hero-lead {
  font-size: 1.05rem;
  opacity: 0.88;
  max-width: 640px;
  margin: 0 auto 1.75rem;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.25rem;
}

.hero-actions .btn {
  min-width: 10rem;
}

.stat-value-sm {
  font-size: 1.35rem;
  line-height: 1.15;
  letter-spacing: 0.01em;
}

.home-section {
  margin-bottom: 3rem;
}

.home-intro {
  max-width: 52rem;
  margin-bottom: 1.5rem;
}

.home-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.home-feature-card {
  background: var(--corg1-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-top: 3px solid var(--corg1-red);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.home-feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.home-feature-card p {
  color: var(--corgi-brown-light);
  line-height: 1.55;
  flex: 1;
}

.home-feature-card .section-link {
  margin-top: auto;
}

.page-disclaimer {
  background: var(--corg1-white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--corg1-red);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 1.75rem;
  color: var(--corgi-brown-light);
  font-size: 0.95rem;
  line-height: 1.55;
}

.ranking-blocks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.ranking-block {
  background: var(--corg1-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  padding: 1.25rem;
}

.ranking-block-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.85rem;
}

.ranking-block-table-wrap {
  overflow-x: auto;
}

.ranking-block-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.ranking-block-table th,
.ranking-block-table td {
  padding: 0.5rem 0.35rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.ranking-block-table th {
  font-family: var(--font-display);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--corgi-brown-light);
}

.ranking-block-table tbody tr:last-child td {
  border-bottom: none;
}

.ranking-block-table a {
  color: inherit;
  font-weight: 600;
  text-decoration: none;
}

.ranking-block-table a:hover {
  color: var(--corg1-red);
}

.ranking-rank {
  font-family: var(--font-display);
  font-weight: 800;
  width: 2rem;
  color: var(--corgi-brown-light);
}

.ranking-rank.rank-1 { color: #c9a227; }
.ranking-rank.rank-2 { color: #8a8d91; }
.ranking-rank.rank-3 { color: #b87333; }

.ranking-value {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.home-section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.section-link,
.section-meta {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--corgi-brown-light);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.section-link:hover {
  color: var(--corg1-red);
}

.home-standings-wrap {
  background: var(--corg1-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid var(--border);
}

.home-standings-table {
  width: 100%;
  border-collapse: collapse;
}

.home-standings-table th,
.home-standings-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.home-standings-table th {
  background: var(--corg1-black);
  color: var(--corg1-white);
  font-family: var(--font-display);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.home-standings-table tbody tr:last-child td {
  border-bottom: none;
}

.home-standings-table a {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}

.home-standings-table a:hover {
  color: var(--corg1-red);
}

.home-standings-rank {
  font-family: var(--font-display);
  font-weight: 800;
  width: 3rem;
  color: var(--corgi-brown-light);
}

.home-standings-rank.rank-1 { color: #c9a227; }
.home-standings-rank.rank-2 { color: #8a8d91; }
.home-standings-rank.rank-3 { color: #b87333; }

.home-standings-stat {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.next-race-card {
  background: var(--corg1-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.75rem;
  border-left: 4px solid var(--corg1-red);
}

.next-race-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.next-race-round {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--corg1-red);
}

.next-race-countdown {
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--corg1-black);
}

.next-race-card h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.next-race-venue,
.next-race-date,
.next-race-meta {
  color: var(--corgi-brown-light);
  font-size: 0.95rem;
}

.next-race-date {
  margin-top: 0.25rem;
  font-weight: 600;
  color: var(--corg1-black);
}

.next-race-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.home-results-grid {
  display: grid;
  gap: 1rem;
}

.home-result-card {
  background: var(--corg1-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--border);
}

.home-result-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

.home-result-head h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
}

.home-result-head h3 a {
  color: inherit;
  text-decoration: none;
}

.home-result-head h3 a:hover {
  color: var(--corg1-red);
}

.home-result-head time {
  font-size: 0.85rem;
  color: var(--corgi-brown-light);
}

.home-result-podium {
  font-size: 0.92rem;
  color: var(--corgi-brown-light);
}

.racers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.racer-card {
  background: var(--corg1-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.racer-card-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-sm);
  background: var(--corg1-graphite);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.35rem;
  overflow: hidden;
}

.racer-card-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.racer-card-photo-placeholder {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--corg1-white);
  letter-spacing: 0.06em;
}

.racer-card-treat {
  font-size: 0.88rem;
  color: var(--corgi-brown-light);
  margin: 0 0 0.75rem;
}

.racer-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 0.25rem;
}

.racer-card-avatar {
  width: 3rem;
  height: 3rem;
  font-size: 0.95rem;
}

.racer-card-rank {
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  font-size: 1.25rem;
  color: var(--corgi-brown-light);
}

.racer-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
}

.racer-card-home {
  font-size: 0.85rem;
  color: var(--corgi-brown-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.racer-card-stats {
  display: flex;
  gap: 1.25rem;
  margin: 0.75rem 0 1rem;
  width: 100%;
}

.racer-card-stats div {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.racer-card-stats dt {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--corgi-brown-light);
}

.racer-card-stats dd {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  font-variant-numeric: tabular-nums;
}

.racer-card .btn {
  margin-top: auto;
}

/* Main layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

main {
  margin-top: -2.5rem;
  position: relative;
  z-index: 1;
  padding-bottom: 4rem;
}

/* Filters */
.filters-bar {
  background: var(--corgi-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-bottom: 2rem;
}

.filters-bar label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--corgi-brown-light);
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

select,
.search-input {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.55rem 1rem;
  border: 2px solid var(--corgi-tan);
  border-radius: var(--radius-sm);
  background: var(--corgi-cream);
  color: var(--corgi-brown);
  cursor: pointer;
  transition: border-color 0.2s;
}

select:focus,
.search-input:focus {
  outline: none;
  border-color: var(--corgi-orange);
}

.search-input {
  min-width: 200px;
  cursor: text;
}

.tab-buttons {
  display: flex;
  gap: 0.25rem;
  margin-left: auto;
  background: var(--corgi-cream);
  padding: 0.25rem;
  border-radius: var(--radius-sm);
}

.tab-btn {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--corgi-brown-light);
  cursor: pointer;
  transition: all 0.2s;
}

.tab-btn.active {
  background: var(--corgi-orange);
  color: white;
}

.tab-btn:hover:not(.active) {
  background: var(--corgi-tan);
}

/* Event grid */
.section-title {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.25rem;
  color: var(--corg1-black);
  border-left: 4px solid var(--corg1-red);
  padding-left: 0.75rem;
  line-height: 1;
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
}

.event-card {
  background: var(--corgi-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  color: inherit;
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.event-card-header {
  background: linear-gradient(135deg, var(--corg1-black) 0%, var(--corg1-graphite) 100%);
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  border-bottom: 3px solid var(--corg1-red);
}

.event-date-badge {
  background: var(--corg1-red);
  color: var(--corg1-white);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.75rem;
  text-align: center;
  min-width: 56px;
  flex-shrink: 0;
}

.event-date-badge .month {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.85;
  display: block;
}

.event-date-badge .day {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.1;
}

.event-card-header h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  font-style: italic;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--corg1-white);
}

.event-card-body {
  padding: 1.25rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.event-location {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: var(--corgi-brown-light);
}

.event-description {
  font-size: 0.9rem;
  color: var(--corgi-brown-light);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.event-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tag {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: var(--corgi-cream);
  color: var(--corgi-brown-light);
}

.tag.status-open {
  background: #d8f3dc;
  color: var(--corgi-green);
}

.tag.status-limited {
  background: #fff3cd;
  color: #856404;
}

.tag.status-tba {
  background: #e9ecef;
  color: #6c757d;
}

.tag.status-completed {
  background: #dee2e6;
  color: #495057;
}

.tag.tag-category {
  background: rgba(225, 6, 0, 0.12);
  color: var(--corg1-red-dark);
}

.event-card-footer {
  padding: 0 1.5rem 1.25rem;
  display: flex;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-primary {
  background: var(--corg1-red);
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.82rem;
}

.event-card-footer .btn-primary {
  flex: 1;
}

.btn-primary:hover {
  background: var(--corg1-red-dark);
}

.btn-secondary {
  background: var(--corg1-white);
  color: var(--corg1-black);
  border: 2px solid var(--corg1-silver-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.82rem;
}

.btn-secondary:hover {
  border-color: var(--corgi-orange);
  color: var(--corgi-orange);
}

.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--corgi-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.empty-state-icon {
  margin-bottom: 1rem;
}

.empty-state-icon img,
.moment-icon img,
.brand-mark {
  width: auto;
  max-width: 180px;
}

.empty-state-icon img,
.moment-icon .brand-mark {
  display: block;
  margin: 0 auto;
}

.empty-state-icon img,
.empty-state-icon .brand-mark {
  height: 72px;
  opacity: 0.95;
}

.moment-icon .brand-mark {
  height: 48px;
}

.empty-state h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.empty-state p {
  color: var(--corgi-brown-light);
}

/* Event detail page */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--corgi-brown-light);
  text-decoration: none;
  font-weight: 500;
  margin-bottom: 1.5rem;
  transition: color 0.2s;
}

.back-link:hover {
  color: var(--corgi-orange);
}

.detail-hero {
  background: var(--corgi-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  margin-bottom: 2rem;
}

.detail-hero-top {
  background: linear-gradient(135deg, var(--corgi-orange) 0%, var(--corgi-orange-dark) 100%);
  color: white;
  padding: 2.5rem 2rem;
}

.detail-hero-top h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.95rem;
  opacity: 0.92;
}

.detail-meta-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.detail-hero-actions {
  padding: 1.5rem 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  border-bottom: 1px solid var(--corgi-tan);
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2rem;
  align-items: start;
}

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

.detail-section {
  background: var(--corgi-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.75rem;
  margin-bottom: 1.5rem;
}

.detail-section h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--corgi-cream);
}

.detail-section p {
  color: var(--corgi-brown-light);
  margin-bottom: 0.75rem;
}

.schedule-list {
  list-style: none;
}

.schedule-list li {
  display: flex;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--corgi-cream);
}

.schedule-list li:last-child {
  border-bottom: none;
}

.schedule-time {
  font-weight: 700;
  color: var(--corgi-orange);
  min-width: 100px;
  flex-shrink: 0;
  font-size: 0.9rem;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.feature-list li {
  background: var(--corgi-cream);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
}

.sidebar-card {
  background: var(--corgi-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.75rem;
  position: sticky;
  top: 5rem;
}

.sidebar-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.info-row {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--corgi-cream);
  font-size: 0.9rem;
}

.info-row:last-child {
  border-bottom: none;
}

.info-label {
  color: var(--corgi-brown-light);
}

.info-value {
  font-weight: 600;
  text-align: right;
}

.registration-note {
  background: #fff3cd;
  border-left: 4px solid #ffc107;
  padding: 1rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.9rem;
  margin-top: 1rem;
}

/* Results page */
.results-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-width: 0;
}

.result-card {
  background: var(--corgi-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.75rem;
  min-width: 0;
  overflow-wrap: anywhere;
}

.result-card-header > div:first-child {
  min-width: 0;
  flex: 1 1 220px;
}

.result-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.result-card-header h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
}

.result-date {
  font-size: 0.9rem;
  color: var(--corgi-brown-light);
}

.result-summary {
  color: var(--corgi-brown-light);
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}

.result-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.result-card-actions .btn-primary {
  flex: none;
  width: auto;
}

.winners-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.winners-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 0.25rem;
}

.winners-table th,
.winners-table td {
  text-align: left;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--corgi-cream);
  font-size: 0.9rem;
}

.winners-table th {
  background: var(--corgi-cream);
  font-weight: 600;
  color: var(--corgi-brown);
}

.winners-table tr:last-child td {
  border-bottom: none;
}

/* Map placeholder */
.map-section {
  background: var(--corgi-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.75rem;
  margin-bottom: 2rem;
}

.state-map {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 0.5rem;
  margin-top: 1rem;
}

.state-chip {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.5rem;
  border: 2px solid var(--corgi-tan);
  border-radius: var(--radius-sm);
  background: var(--corgi-cream);
  color: var(--corgi-brown);
  cursor: pointer;
  transition: all 0.2s;
}

.state-chip:hover,
.state-chip.active {
  border-color: var(--corgi-orange);
  background: var(--corgi-orange);
  color: white;
}

.state-chip .count {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  opacity: 0.8;
}

/* Footer */
.site-footer {
  background: var(--corg1-black);
  color: rgba(255, 255, 255, 0.72);
  padding: 2.5rem 1.5rem;
  margin-top: 2rem;
  border-top: 3px solid var(--corg1-red);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-inner a {
  color: var(--corg1-red);
  text-decoration: none;
}

.footer-inner a:hover {
  text-decoration: underline;
}

.hidden {
  display: none !important;
}

/* Leaderboard */
.leaderboard-updated {
  color: var(--corgi-brown-light);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.leaderboard-section {
  margin-bottom: 3rem;
}

.circuit-intro {
  margin: -0.75rem 0 2rem;
  max-width: 760px;
  color: var(--corgi-brown-light);
  line-height: 1.6;
}

.circuit-round-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.circuit-round-grid-compact .circuit-round-card {
  padding: 1rem;
}

.circuit-round-card {
  background: var(--corg1-white);
  border: 1px solid var(--corg1-silver-light);
  border-top: 4px solid var(--corg1-red);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.circuit-round-card.round-upcoming {
  border-top-color: var(--corg1-black);
}

.circuit-round-card.round-tbd {
  border-top-color: var(--corg1-silver);
  opacity: 0.92;
}

.circuit-round-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.circuit-round-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--corg1-red);
}

.circuit-round-status {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--corg1-silver);
}

.circuit-round-card h3 {
  font-family: var(--font-display);
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
}

.circuit-round-venue,
.circuit-round-date,
.round-empty {
  font-size: 0.88rem;
  color: var(--corgi-brown-light);
  margin-bottom: 0.75rem;
}

.round-podium {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}

.round-podium li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--corg1-silver-light);
  font-size: 0.9rem;
}

.round-place {
  font-family: var(--font-display);
  font-weight: 700;
  min-width: 2rem;
}

.round-points {
  margin-left: auto;
  font-weight: 700;
  color: var(--corg1-red);
}

.circuit-home-section {
  margin-bottom: 2.5rem;
}

.circuit-home-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}

.circuit-home-meta strong {
  color: var(--corg1-red);
}

.tag-corg1-round {
  background: var(--corg1-black);
  color: var(--corg1-white);
  font-family: var(--font-display);
  font-style: italic;
  letter-spacing: 0.05em;
}

.tag-corg1-round-lg {
  font-size: 0.85rem;
  padding: 0.45rem 0.75rem;
}

.corg1-event-badge {
  display: inline-block;
  margin: 0.75rem 0;
  padding: 0.45rem 0.75rem;
  background: var(--corg1-black);
  color: var(--corg1-white);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.accolade-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--corg1-silver);
}

.section-subtitle-inline {
  margin-top: -0.75rem;
}

.leaderboard-table a {
  color: inherit;
  text-decoration: none;
}

.leaderboard-table a:hover {
  color: var(--corg1-red);
}

.section-subtitle {
  color: var(--corgi-brown-light);
  margin: -0.5rem 0 1.5rem;
}

.leaderboard-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
}

.leaderboard-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.leaderboard-table th,
.leaderboard-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.leaderboard-table th {
  background: var(--corgi-cream);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--corgi-brown-light);
}

.leaderboard-table tbody tr:last-child td {
  border-bottom: none;
}

.leaderboard-table tbody tr:hover {
  background: rgba(232, 119, 34, 0.04);
}

.leaderboard-rank {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--corgi-brown-light);
  width: 3rem;
}

.leaderboard-rank.rank-1 {
  color: #c9a227;
}

.leaderboard-rank.rank-2 {
  color: #8a8d91;
}

.leaderboard-rank.rank-3 {
  color: #b87333;
}

.leaderboard-racer-cell {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.racer-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 2px;
  background: var(--corg1-black);
  color: var(--corg1-white);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 800;
  font-style: italic;
  letter-spacing: 0.04em;
  flex-shrink: 0;
  border-bottom: 2px solid var(--corg1-red);
}

.leaderboard-racer-cell .racer-avatar {
  width: 2.25rem;
  height: 2.25rem;
  font-size: 0.72rem;
}

.leaderboard-handler {
  font-size: 0.8rem;
  color: var(--corgi-brown-light);
}

.leaderboard-stat {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.points-legend {
  font-size: 0.8rem;
  color: var(--corgi-brown-light);
  margin-top: 0.75rem;
}

.points-callout {
  margin-top: 1.25rem;
  padding: 1.25rem 1.5rem;
  background: var(--corg1-black);
  color: var(--corg1-white);
  border-radius: var(--radius);
  border-left: 4px solid var(--corg1-red);
}

.points-callout h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}

.points-callout p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  margin-bottom: 1rem;
  max-width: 52rem;
}

.points-scale {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.points-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
}

.points-p1 {
  background: rgba(201, 162, 39, 0.2);
  color: #f0d060;
}

.points-p2 {
  background: rgba(138, 141, 145, 0.25);
  color: #d8dadc;
}

.points-p3 {
  background: rgba(184, 115, 51, 0.25);
  color: #e8b080;
}

.standings-table .round-col {
  text-align: center;
  min-width: 2.75rem;
}

.standings-table .round-pts {
  text-align: center;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--corgi-brown);
}

.standings-table .round-pts-empty {
  color: var(--corgi-brown-light);
  font-weight: 500;
}

.standings-table .round-pts-gold {
  color: #a68516;
}

.standings-table .round-pts-silver {
  color: #6b6e72;
}

.standings-table .round-pts-bronze {
  color: #9a5a28;
}

.standings-table .standings-total {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  font-variant-numeric: tabular-nums;
}

.standings-table .standings-driver a {
  color: inherit;
  text-decoration: none;
}

.standings-table .standings-driver a:hover strong {
  color: var(--corg1-red);
}

.standings-row.standings-leader {
  background: rgba(225, 6, 0, 0.04);
}

.standings-row.standings-leader .standings-total {
  color: var(--corg1-red);
}

.racer-profiles {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.racer-profile-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.racer-profile-header {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.racer-profile-header .racer-avatar {
  width: 3rem;
  height: 3rem;
  font-size: 1rem;
}

.racer-profile-header h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 0.25rem;
}

.racer-tagline {
  color: var(--corgi-orange);
  font-weight: 500;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.racer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--corgi-brown-light);
}

.racer-meta a {
  color: var(--corgi-orange);
  text-decoration: none;
}

.racer-meta a:hover {
  text-decoration: underline;
}

.racer-profile-stats {
  margin-left: auto;
  display: flex;
  gap: 1.25rem;
  text-align: center;
}

.racer-profile-stats .stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--corgi-brown);
}

.racer-profile-stats .stat-lbl {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--corgi-brown-light);
}

.racer-accolades h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--corgi-brown-light);
  margin-bottom: 0.75rem;
}

.accolades-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.accolade-item {
  background: var(--corgi-cream);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
}

.accolade-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.35rem;
}

.accolade-placement {
  font-weight: 600;
  font-size: 0.85rem;
}

.accolade-points {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--corgi-green);
}

.accolade-item h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
  color: var(--corgi-brown);
  text-transform: none;
  letter-spacing: normal;
}

.accolade-meta {
  font-size: 0.85rem;
  color: var(--corgi-brown-light);
}

.accolade-venue {
  font-size: 0.8rem;
  color: var(--corgi-brown-light);
  margin-top: 0.15rem;
}

.accolade-source {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--corgi-orange);
  text-decoration: none;
}

.accolade-source:hover {
  text-decoration: underline;
}

.accolade-empty {
  color: var(--corgi-brown-light);
  font-size: 0.9rem;
}

.accolade-empty a {
  color: var(--corgi-orange);
}

@media (max-width: 640px) {
  .racer-profile-stats {
    margin-left: 0;
    width: 100%;
    justify-content: space-around;
  }
}

/* --- Feature enhancements --- */

.hero-narrative {
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  background: rgba(255, 254, 249, 0.12);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  line-height: 1.55;
}

.hero-narrative a {
  color: var(--corgi-orange);
  font-weight: 600;
}

.countdown-section,
.map-viz-section {
  margin-bottom: 2.5rem;
}

#event-map-viz {
  min-height: 280px;
}

.section-subtitle {
  color: var(--corgi-brown-light);
  margin-bottom: 1.25rem;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.countdown-card {
  background: var(--corgi-white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(92, 61, 46, 0.08);
}

.countdown-days {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--corgi-orange);
  margin-bottom: 0.5rem;
}

.countdown-meta {
  font-size: 0.9rem;
  color: var(--corgi-brown-light);
  margin: 0.35rem 0 0.75rem;
}

.countdown-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.urgency-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  margin-right: 0.35rem;
}

.urgency-hot {
  background: #fde8e8;
  color: #b42318;
}

.urgency-soon {
  background: #fef3e2;
  color: var(--corgi-orange-dark);
}

.urgency-closed {
  background: #eee;
  color: #666;
}

.us-map-viz {
  position: relative;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  background: linear-gradient(180deg, #f3f3f4 0%, #e8e8ea 100%);
  border-radius: var(--radius);
  border: 2px solid rgba(21, 21, 30, 0.12);
  padding: 0.75rem;
}

.us-map-svg {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
}

.map-state {
  stroke-width: 0.35;
  vector-effect: non-scaling-stroke;
  transition: fill 0.15s ease, stroke 0.15s ease;
}

.map-state-empty {
  fill: rgba(232, 232, 234, 0.95);
  stroke: rgba(21, 21, 30, 0.15);
  cursor: default;
  pointer-events: none;
}

.map-state-has-events {
  fill: rgba(21, 21, 30, 0.18);
  stroke: rgba(21, 21, 30, 0.45);
  cursor: pointer;
}

.map-state-has-events:hover {
  fill: rgba(225, 6, 0, 0.28);
}

.map-state-has-events.active {
  fill: rgba(225, 6, 0, 0.55);
  stroke: var(--corg1-red-dark);
  stroke-width: 0.5;
}

.map-pin {
  cursor: pointer;
  pointer-events: none;
}

.map-pin-dot {
  stroke: var(--corgi-white);
  stroke-width: 0.45;
  vector-effect: non-scaling-stroke;
}

.map-pin-badge {
  fill: var(--corg1-white);
  stroke: rgba(21, 21, 30, 0.35);
  stroke-width: 0.25;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0.4px 0.6px rgba(21, 21, 30, 0.18));
}

.map-pin-label {
  font-family: var(--font-display);
  font-size: 3.6px;
  font-weight: 800;
  font-style: italic;
  letter-spacing: 0.08em;
  fill: var(--corg1-black);
  pointer-events: none;
}

.map-pin-count {
  font-family: var(--font-body);
  font-size: 2.2px;
  font-weight: 600;
  fill: var(--corg1-silver);
  pointer-events: none;
}

.map-state.active + .map-pins .map-pin.active .map-pin-dot,
.map-pin.active .map-pin-dot {
  stroke-width: 0.65;
  stroke: var(--corgi-orange-dark);
}

.map-pin.active .map-pin-badge {
  stroke: var(--corg1-red);
  stroke-width: 0.35;
}

.map-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-top: 0.75rem;
  font-size: 0.75rem;
  background: rgba(255, 254, 249, 0.9);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
}

.legend-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 0.25rem;
  vertical-align: middle;
}

.legend-dot.racetrack { background: var(--corg1-red); }
.legend-dot.festival { background: var(--corg1-black); }

.map-hint {
  margin-left: auto;
  color: var(--corgi-brown-light);
  font-size: 0.7rem;
}

.live-updates-wrap {
  margin-bottom: 2.5rem;
}

.live-updates-panel {
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.live-updates-active {
  background: linear-gradient(135deg, var(--corg1-black) 0%, var(--corg1-red-dark) 100%);
  color: var(--corg1-white);
  text-align: center;
  border-top: 3px solid var(--corg1-red);
}

.live-updates-standby {
  background: var(--corgi-white);
  border: 1px solid var(--corgi-cream-dark);
}

.live-standby-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.live-standby-header h2 {
  margin: 0;
  font-family: var(--font-display);
}

.live-standby-icon .brand-mark {
  height: 40px;
  display: block;
}

.live-tagline {
  margin: 0 0 0.75rem;
  line-height: 1.5;
}

.live-updates-standby .live-tagline,
.live-next,
.live-hint {
  color: var(--corgi-brown-light);
}

.live-next {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
}

.live-next a {
  color: var(--corgi-orange);
  font-weight: 600;
}

.live-hint {
  margin: 0;
  font-size: 0.85rem;
}

.live-banner-header {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.live-updated {
  font-size: 0.8rem;
  opacity: 0.9;
}

.live-pulse {
  background: var(--corgi-white);
  color: #b42318;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.live-heats {
  list-style: none;
  max-width: 420px;
  margin: 0.75rem auto;
  text-align: left;
}

.live-heat {
  display: flex;
  justify-content: space-between;
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.9rem;
}

.live-feed {
  list-style: none;
  max-width: 480px;
  margin: 1rem auto 0.75rem;
  text-align: left;
  font-size: 0.9rem;
}

.live-feed li {
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.live-feed-time {
  font-weight: 700;
  margin-right: 0.5rem;
}

.live-section .live-updates-panel {
  margin-top: 0.5rem;
}

.hidden { display: none !important; }

/* —— Media / Highlights —— */
.media-page {
  padding-top: 2rem;
  padding-bottom: 3rem;
}

.media-section {
  margin-bottom: 3rem;
}

.media-category {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--corg1-red);
  margin-bottom: 0.5rem;
}

.media-event {
  font-size: 0.88rem;
  color: var(--corgi-brown-light);
  margin-bottom: 0.65rem;
}

.media-description {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--corg1-black);
  margin-bottom: 1rem;
}

.media-winner {
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}

.media-winner strong {
  color: var(--corg1-black);
}

.media-thumb {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: linear-gradient(145deg, #1a1a1a 0%, #2d2d2d 100%);
}

.media-thumb-red {
  background: linear-gradient(145deg, #1a1a1a 0%, #3d1515 100%);
  border-bottom: 3px solid var(--corg1-red);
}

.media-thumb-black {
  background: linear-gradient(145deg, #0d0d0d 0%, #262626 100%);
  border-bottom: 3px solid var(--corg1-black);
}

.media-thumb-large {
  aspect-ratio: 16 / 9;
  min-height: 220px;
}

.media-thumb-compact {
  aspect-ratio: 4 / 3;
}

.media-thumb-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.55);
}

.media-thumb-event {
  position: absolute;
  bottom: 0.65rem;
  left: 0.75rem;
  right: 0.75rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.85);
}

.media-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.media-play svg {
  width: 3rem;
  height: 3rem;
  fill: rgba(255, 255, 255, 0.92);
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
}

.media-featured {
  margin-bottom: 3rem;
}

.media-featured-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  background: var(--corg1-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid var(--border);
}

.media-featured-card .media-thumb {
  border-radius: 0;
  min-height: 280px;
}

.media-featured-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.media-featured-body h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 0.65rem;
}

.media-video-grid,
.media-recap-grid,
.media-story-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.media-card {
  display: flex;
  flex-direction: column;
  background: var(--corg1-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid var(--border);
}

.media-card .media-thumb {
  border-radius: 0;
}

.media-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.media-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.media-card-body .btn {
  margin-top: auto;
  align-self: center;
}

.media-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.media-gallery-tile {
  background: var(--corg1-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid var(--border);
}

.media-gallery-tile .media-thumb {
  border-radius: 0;
}

.media-gallery-caption {
  padding: 0.85rem 1rem;
}

.media-gallery-caption h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

.media-gallery-caption p {
  font-size: 0.82rem;
  color: var(--corgi-brown-light);
}

.home-highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.home-highlight-card {
  display: flex;
  flex-direction: column;
  background: var(--corg1-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid var(--border);
}

.home-highlight-card .media-thumb {
  border-radius: 0;
}

.home-highlight-body {
  padding: 1.15rem 1.25rem 1.35rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.home-highlight-body h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.25;
  margin-bottom: 1rem;
  flex: 1;
}

.home-highlight-body .btn {
  align-self: center;
}

/* —— Championship Purse —— */
.hero-purse-line {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.78);
  max-width: 560px;
  margin: 0 auto 2rem;
  line-height: 1.5;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
}

.hero-purse-accent {
  color: var(--corg1-red);
  font-weight: 800;
}

.prize-purse-block {
  background: var(--corg1-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  padding: 1.75rem;
}

.prize-purse-subtitle {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--corgi-brown-light);
  margin-bottom: 1.5rem;
}

.prize-card-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr 1fr;
  gap: 1rem;
  align-items: stretch;
  margin-bottom: 1rem;
}

.prize-card {
  background: var(--corg1-black);
  color: var(--corg1-white);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.prize-card-champion {
  border: 3px solid var(--corg1-red);
  background: linear-gradient(165deg, #1a1a1a 0%, #0d0d0d 100%);
  padding: 2rem 1.35rem;
  box-shadow: 0 8px 24px rgba(225, 6, 0, 0.12);
}

.prize-card-medal {
  display: block;
  font-size: 1.5rem;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.prize-card-champion .prize-card-medal {
  font-size: 1.85rem;
  margin-bottom: 0.65rem;
}

.prize-card-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.45rem;
  color: rgba(255, 255, 255, 0.82);
}

.prize-card-champion .prize-card-title {
  font-size: 1.2rem;
  color: var(--corg1-white);
}

.prize-card-amount {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
  font-style: italic;
  line-height: 1.1;
  color: var(--corg1-white);
}

.prize-card-champion .prize-card-amount {
  font-size: 2.35rem;
  color: var(--corg1-red);
}

.prize-teaser {
  font-size: 0.82rem;
  font-style: italic;
  letter-spacing: 0.04em;
  color: var(--corgi-brown-light);
  text-align: center;
  margin: 0.5rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.prize-banner {
  background: var(--corg1-black);
  color: var(--corg1-white);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
  border-left: 4px solid var(--corg1-red);
  text-align: center;
}

.prize-banner-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.45rem;
}

.prize-banner-items {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.88);
}

.results-prize-note {
  background: var(--corg1-white);
  border-radius: var(--radius);
  border-left: 4px solid var(--corg1-red);
  padding: 1.15rem 1.35rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow);
}

.results-prize-note p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--corg1-black);
}

@media (max-width: 768px) {
  .hero-purse-line {
    font-size: 0.9rem;
    margin-bottom: 1.75rem;
  }

  .prize-card-grid {
    grid-template-columns: 1fr;
  }

  .prize-card-champion {
    order: -1;
  }

  .prize-banner-items {
    font-size: 0.85rem;
    line-height: 1.5;
  }
}

.media-featured-body .btn {
  align-self: flex-start;
}

.btn-sm {
  padding: 0.4rem 0.85rem;
  font-size: 0.85rem;
}

.moments-grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.moment-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  background: var(--corgi-white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  text-align: center;
}

.moment-icon {
  flex-shrink: 0;
}

.moment-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.moment-body time {
  font-size: 0.8rem;
  color: var(--corgi-brown-light);
}

.moment-body h3 {
  font-family: var(--font-display);
  margin: 0.25rem 0 0.5rem;
}

.moment-body p {
  max-width: 42rem;
}

.moment-tags {
  margin: 0.75rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: center;
}

.moment-links {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.rivalry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.rivalry-card {
  background: var(--corgi-white);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--corgi-orange);
}

.rivalry-card h4 {
  font-family: var(--font-display);
  margin-bottom: 0.5rem;
}

.h2h-score {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 1rem 0 0.5rem;
  font-weight: 600;
}

.h2h-score a {
  color: var(--corgi-brown);
  text-decoration: none;
  font-size: 0.9rem;
}

.h2h-score a:hover { color: var(--corgi-orange); }

.h2h-numbers {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--corgi-orange);
}

.h2h-meta {
  font-size: 0.8rem;
  color: var(--corgi-brown-light);
}

.racer-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 1.5rem;
  background: var(--corgi-white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
}

.racer-hero .racer-avatar {
  width: 4.5rem;
  height: 4.5rem;
  font-size: 1.45rem;
}

.racer-rank-badge {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--corgi-orange);
  margin-bottom: 0.25rem;
}

.racer-hero-stats {
  margin-left: auto;
  display: flex;
  gap: 1.5rem;
  text-align: center;
}

.racer-hero-stats .stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
}

.racer-hero-stats .stat-lbl {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--corgi-brown-light);
}

.leaderboard-table a,
.racer-profile-card h3 a {
  color: var(--corgi-brown);
  text-decoration: none;
}

.leaderboard-table a:hover,
.racer-profile-card h3 a:hover {
  color: var(--corgi-orange);
}

.submit-form {
  max-width: 560px;
  background: var(--corgi-white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.submit-form .btn-primary {
  flex: none;
  width: auto;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(92, 61, 46, 0.2);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
}

.form-note {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--corgi-brown-light);
}

@media (max-width: 768px) {
  nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  nav a {
    padding: 0.4rem 0.6rem;
    font-size: 0.85rem;
  }

  .media-featured-card {
    grid-template-columns: 1fr;
  }

  .media-featured-body {
    padding: 1.5rem;
  }

  .moment-card {
    flex-direction: column;
  }

  .moment-body {
    align-items: center;
  }

  .racer-hero-stats {
    margin-left: 0;
    width: 100%;
    justify-content: space-around;
  }
}

/* —— Rules Page —— */
.hero-rules {
  padding: 3.5rem 1.5rem 4rem;
}

.rules-hero-kicker {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--corg1-white);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-left: 3px solid var(--corg1-red);
  padding: 0.4rem 0.85rem 0.4rem 0.7rem;
  margin-bottom: 0.85rem;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

.rules-hero-lead {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.55;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
}

.rules-page {
  padding: 2.5rem 1.5rem 4rem;
  max-width: 820px;
}

.rules-section {
  margin-bottom: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}

.rules-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.rules-heading {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--corg1-black);
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid var(--corg1-red);
  display: inline-block;
}

.rules-section p {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--corg1-black);
  margin-bottom: 1rem;
}

.rules-section p:last-child {
  margin-bottom: 0;
}

.rules-note {
  font-size: 0.92rem !important;
  color: var(--corgi-brown-light) !important;
  font-style: italic;
  margin-top: 1.25rem !important;
}

.rules-round-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.rules-round-card {
  background: var(--corg1-white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--corg1-red);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.rules-round-card.rules-round-upcoming {
  border-top-color: var(--corg1-black);
}

.rules-round-card.rules-round-tbd {
  border-top-color: var(--corg1-silver);
}

.rules-round-num {
  display: block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--corg1-red);
  margin-bottom: 0.45rem;
}

.rules-round-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.25;
  margin-bottom: 0.65rem;
}

.rules-round-link {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--corgi-brown-light);
  text-decoration: none;
}

.rules-round-link:hover {
  color: var(--corg1-red);
}

.rules-points-wrap {
  margin: 1.5rem 0;
}

.rules-points-table {
  width: 100%;
  max-width: 360px;
  border-collapse: collapse;
  background: var(--corg1-black);
  color: var(--corg1-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.rules-points-table th,
.rules-points-table td {
  padding: 0.85rem 1.25rem;
  text-align: left;
}

.rules-points-table thead th {
  background: var(--corg1-red);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.rules-points-table tbody tr {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.rules-points-table tbody td:first-child {
  font-weight: 600;
}

.rules-points-value {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  font-style: italic;
  text-align: right;
}

.rules-points-p1 .rules-points-value {
  color: #c9a227;
}

.rules-points-p2 .rules-points-value {
  color: #b0b4b8;
}

.rules-points-p3 .rules-points-value {
  color: #b87333;
}

.rules-section-purse {
  background: linear-gradient(165deg, #1a1a1a 0%, #0d0d0d 100%);
  color: var(--corg1-white);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 4px solid var(--corg1-red);
  margin-bottom: 3rem;
}

.rules-section-purse .rules-heading {
  color: var(--corg1-white);
  border-bottom-color: var(--corg1-red);
}

.rules-section-purse p {
  color: rgba(255, 255, 255, 0.88);
}

.rules-section-purse .rules-note {
  color: rgba(255, 255, 255, 0.55) !important;
}

.rules-purse-block {
  margin: 1.25rem 0 0;
}

.rules-purse-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.rules-purse-item:last-of-type {
  border-bottom: none;
}

.rules-purse-item-champion {
  padding: 1rem 0;
}

.rules-purse-medal {
  font-size: 1.35rem;
  line-height: 1;
  flex-shrink: 0;
}

.rules-purse-item-champion .rules-purse-medal {
  font-size: 1.6rem;
}

.rules-purse-label {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  flex: 1;
}

.rules-purse-item-champion .rules-purse-label {
  font-size: 1.1rem;
}

.rules-purse-amount {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  font-style: italic;
}

.rules-purse-item-champion .rules-purse-amount {
  font-size: 1.65rem;
  color: var(--corg1-red);
}

.rules-purse-total {
  margin-top: 1.25rem !important;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.rules-purse-total strong {
  color: var(--corg1-red);
  font-weight: 800;
  font-style: italic;
}

.rules-ordered-list {
  margin: 0 0 1rem 1.25rem;
  padding: 0;
  line-height: 1.7;
}

.rules-ordered-list li {
  margin-bottom: 0.35rem;
  padding-left: 0.25rem;
}

.rules-faq {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.rules-faq-item {
  background: var(--corg1-white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--corg1-red);
  border-radius: var(--radius);
  padding: 1.15rem 1.35rem;
  box-shadow: var(--shadow);
}

.rules-faq-item h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.5rem;
  color: var(--corg1-black);
}

.rules-faq-item p {
  margin-bottom: 0;
  font-size: 0.98rem;
  color: var(--corgi-brown-light);
}

.rules-sportsmanship {
  background: var(--corg1-black);
  color: var(--corg1-white);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  text-align: center;
  border-bottom: none !important;
}

.rules-sportsmanship .rules-heading {
  color: var(--corg1-white);
  border-bottom-color: var(--corg1-red);
}

.rules-sportsmanship p {
  color: rgba(255, 255, 255, 0.88);
}

.rules-tagline {
  font-family: var(--font-display) !important;
  font-size: 1.35rem !important;
  font-weight: 800 !important;
  font-style: italic !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
  color: var(--corg1-red) !important;
  margin-top: 1rem !important;
  margin-bottom: 0 !important;
}

@media (max-width: 768px) {
  .rules-page {
    padding: 2rem 1.25rem 3rem;
  }

  .rules-round-grid {
    grid-template-columns: 1fr;
  }

  .rules-points-table {
    max-width: 100%;
  }

  .rules-section-purse,
  .rules-sportsmanship {
    padding: 1.5rem 1.25rem;
  }

  nav a {
    padding: 0.35rem 0.5rem;
    font-size: 0.78rem;
  }
}
