:root {
  --clay-950: #120d0b;
  --clay-900: #1b1411;
  --clay-850: #2a1d16;
  --clay-800: #3a2619;
  --clay-700: #7e4d23;
  --clay-600: #b56624;
  --clay-500: #e07b20;
  --clay-400: #f69332;
  --clay-300: #ffbe70;
  --clay-200: #ffe0b8;
  --sky-900: #101a22;
  --sky-800: #17232e;
  --sky-700: #1f3342;
  --sky-500: #446d86;
  --sky-200: #dce9f2;
  --field-600: #5a6d3d;
  --field-500: #73884a;
  --field-300: #bca06f;
  --paper: #f8f1e6;
  --panel: rgba(255, 249, 241, 0.97);
  --panel-strong: #fffdfa;
  --line: rgba(32, 24, 20, 0.12);
  --ink: #171210;
  --muted: #4f4741;
  --shadow-lg: 0 30px 90px rgba(5, 8, 11, 0.32);
  --shadow-md: 0 18px 42px rgba(9, 12, 15, 0.2);
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 10px;
}

html {
  font-size: 15px;
  position: relative;
  min-height: 100%;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "Segoe UI", "Trebuchet MS", Tahoma, sans-serif;
  background: linear-gradient(180deg, #efe6da 0%, #f7f0e6 100%);
}

.site-chroma {
  position: absolute;
  inset: 0 0 auto;
  height: 24rem;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(7, 11, 16, 0.88) 0%, rgba(7, 11, 16, 0.38) 16%, transparent 30%),
    linear-gradient(180deg, rgba(255, 180, 88, 0.08) 0%, transparent 32%);
  opacity: 1;
}

.app-shell {
  max-width: 1240px;
}

.site-header {
  position: relative;
  z-index: 1100;
  margin-bottom: 1.5rem;
  padding: 0.95rem 0 1.05rem;
  background:
    linear-gradient(135deg, rgba(2, 3, 4, 0.99), rgba(11, 18, 25, 0.99) 58%, rgba(15, 23, 30, 0.99));
  border-bottom: 1px solid rgba(255, 208, 160, 0.12);
  box-shadow: 0 18px 42px rgba(4, 6, 8, 0.28);
}

.site-header .navbar {
  position: relative;
  z-index: 1100;
  margin-bottom: 0 !important;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(10, 15, 20, 0.88), rgba(23, 35, 46, 0.76));
  box-shadow: none;
  backdrop-filter: blur(10px);
}

.site-header .navbar > .container.app-shell {
  gap: 1rem;
  display: flex;
  flex-wrap: wrap;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.35rem 0;
  color: #fff7ef;
  text-decoration: none;
  flex: 0 1 auto;
  min-width: 0;
}

.site-brand:hover {
  color: #fff7ef;
}

.site-brand-mark {
  width: 48px;
  height: 48px;
  flex: none;
}

.site-brand-logo {
  width: clamp(220px, 24vw, 360px);
  height: auto;
  object-fit: contain;
  display: block;
}

.site-brand-lockup {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.site-brand-title {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0;
}

.site-brand-subtitle {
  color: rgba(242, 228, 212, 0.88);
  font-size: 0.75rem;
}

.site-brand-logo + .site-brand-lockup {
  display: none;
}

.site-nav {
  gap: 0.15rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
}

.site-nav .nav-link {
  border-radius: 8px;
  padding: 0.55rem 0.7rem;
  color: rgba(255, 247, 238, 0.9) !important;
  font-weight: 750;
  font-size: 0.9rem;
}

.site-nav .nav-link:hover,
.site-nav .nav-link:focus,
.site-nav .nav-link.active {
  color: #fffdf9 !important;
  background: rgba(244, 138, 42, 0.18);
}

.site-nav .dropdown-menu,
.site-account-nav .dropdown-menu {
  z-index: 1200;
  min-width: 13rem;
  border: 1px solid rgba(255, 208, 160, 0.22);
  border-radius: 8px;
  padding: 0.35rem;
  background: rgba(17, 25, 32, 0.98);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

.site-nav .dropdown-item,
.site-nav .dropdown-item-text,
.site-account-nav .dropdown-item {
  border-radius: 6px;
  color: rgba(255, 247, 238, 0.92);
  font-size: 0.88rem;
  font-weight: 700;
}

.site-nav .dropdown-item:hover,
.site-nav .dropdown-item:focus,
.site-account-nav .dropdown-item:hover,
.site-account-nav .dropdown-item:focus {
  color: #fffdf9;
  background: rgba(244, 138, 42, 0.2);
}

.site-account-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-left: 0.75rem;
}

.site-user-menu {
  display: inline-flex;
  align-items: center;
  max-width: 13rem;
  min-height: 2.35rem;
  padding: 0.45rem 0.7rem;
  overflow: hidden;
  border: 1px solid rgba(255, 208, 160, 0.24);
  border-radius: 8px;
  background: rgba(255, 251, 245, 0.08);
  color: rgba(255, 244, 232, 0.96);
  font-size: 0.88rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-user-menu:hover,
.site-user-menu:focus {
  border-color: rgba(255, 236, 216, 0.62);
  background: rgba(255, 251, 245, 0.14);
  color: #fffdf9;
}

.site-signin-link {
  min-height: 2.35rem;
  padding: 0.45rem 0.75rem;
  border-radius: 8px;
}

.staff-status-pill {
  display: inline-flex;
  padding: 0.25rem 0.55rem;
  border: 1px solid rgba(34, 34, 34, 0.14);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
}

.site-user-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 251, 245, 0.08);
  border: 1px solid rgba(255, 208, 160, 0.2);
  color: rgba(255, 244, 232, 0.94);
  font-size: 0.88rem;
  font-weight: 600;
}

.navbar-collapse {
  min-width: 0;
  flex: 1 1 100%;
}

@media (min-width: 1200px) {
  .site-header .navbar > .container.app-shell {
    flex-wrap: nowrap;
  }

  .navbar-collapse {
    flex: 1 1 auto;
  }
}

.site-main {
  min-height: calc(100vh - 190px);
}

.site-footer {
  margin-top: 2rem;
  padding: 1.2rem 0 2rem;
}

.site-footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  color: #4d443e;
}

.site-footer-title {
  color: var(--clay-900);
  font-weight: 800;
  margin-bottom: 0.2rem;
}

.site-footer-copy,
.site-footer-meta {
  font-size: 0.92rem;
}

a {
  color: var(--clay-700);
  text-decoration-thickness: 0.08em;
}

a:hover {
  color: var(--clay-500);
}

.btn {
  border-radius: 999px;
  font-weight: 700;
  padding: 0.7rem 1.15rem;
}

.btn-primary {
  color: #fff9f2;
  background: linear-gradient(135deg, var(--clay-500), var(--clay-400));
  border-color: transparent;
  box-shadow: 0 10px 22px rgba(218, 116, 31, 0.28);
}

.btn-primary:hover,
.btn-primary:focus {
  color: #fff9f2;
  background: linear-gradient(135deg, #cc6718, #ff983e);
  border-color: transparent;
}

.btn-outline-primary {
  color: #fffaf4;
  border-color: rgba(255, 240, 222, 0.44);
  background: rgba(17, 25, 32, 0.4);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  color: #1a130f;
  border-color: rgba(255, 236, 216, 0.8);
  background: rgba(255, 245, 233, 0.95);
}

.btn-link {
  color: var(--clay-600);
  text-decoration: none;
}

.form-control,
.form-select {
  border-radius: 12px;
  border-color: rgba(61, 47, 39, 0.18);
  background-color: rgba(255, 255, 255, 0.98);
  color: #1a1411;
}

.form-control:focus,
.form-select:focus,
.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-check-input:focus {
  border-color: rgba(244, 138, 42, 0.55);
  box-shadow: 0 0 0 0.22rem rgba(244, 138, 42, 0.22);
}

.score-cell-inputs {
  display: grid;
  grid-template-columns: repeat(2, minmax(4.5rem, 1fr));
  gap: 0.25rem;
  min-width: 9.5rem;
}

.returning-athlete-grid {
  max-height: 28rem;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.returning-athlete-grid .table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--panel-strong);
}

.returning-athlete-check {
  width: 4.25rem;
  text-align: center;
}

.table {
  --bs-table-bg: transparent;
  --bs-table-striped-bg: rgba(248, 241, 231, 0.92);
  --bs-table-hover-bg: rgba(255, 201, 125, 0.18);
  border-color: var(--line);
}

.table thead th {
  color: #4d443e;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.table tbody tr {
  background: rgba(255, 252, 247, 0.97);
}

.responsive-table {
  width: 100%;
  overflow-x: auto;
}

.billing-table {
  width: 100%;
  min-width: 46rem;
  margin: 0.75rem 0 0;
  border-collapse: separate;
  border-spacing: 0;
}

.billing-table th,
.billing-table td {
  padding: 0.85rem 1rem;
  vertical-align: middle;
  white-space: nowrap;
}

.billing-table th:first-child,
.billing-table td:first-child {
  padding-left: 1.1rem;
}

.billing-table th:last-child,
.billing-table td:last-child {
  padding-right: 1.1rem;
}

.billing-table tbody tr {
  box-shadow: inset 0 -1px 0 var(--line);
}

.billing-subject {
  min-width: 12rem;
  font-weight: 650;
}

.billing-status {
  display: inline-flex;
  align-items: center;
  min-height: 1.75rem;
  padding: 0.25rem 0.7rem;
  border: 1px solid rgba(32, 24, 20, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 750;
  line-height: 1;
}

.billing-status--access {
  background: rgba(255, 239, 218, 0.9);
  border-color: rgba(224, 123, 32, 0.28);
}

.billing-status--stripe {
  background: rgba(236, 241, 244, 0.92);
  border-color: rgba(68, 109, 134, 0.22);
}

.billing-date {
  color: var(--muted);
  font-weight: 650;
}

.billing-table .table-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.55rem;
  min-width: 13rem;
}

.billing-table .table-actions form {
  margin: 0;
}

.billing-table .btn {
  padding: 0.62rem 1rem;
}

.billing-account-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}

.billing-account-card {
  display: grid;
  grid-template-columns: minmax(12rem, 1.15fr) minmax(22rem, 2fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border: 1px solid var(--line);
  border-left: 4px solid var(--orange);
  border-radius: var(--radius-sm);
  background: rgba(255, 252, 247, 0.98);
  box-shadow: 0 18px 35px rgba(42, 33, 26, 0.08);
}

.billing-account-card h3 {
  margin: 0.15rem 0 0;
  font-size: 1.15rem;
}

.billing-account-type {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.billing-account-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(8rem, 1fr));
  gap: 0.65rem;
  margin: 0;
}

.billing-account-meta div {
  min-width: 0;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(32, 24, 20, 0.08);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.72);
}

.billing-account-meta dt {
  margin-bottom: 0.35rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.billing-account-meta dd {
  margin: 0;
}

.billing-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem;
}

.billing-actions form {
  margin: 0;
}

.billing-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.billing-plan-grid article {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 252, 247, 0.96);
}

.billing-plan-grid h3 {
  margin: 0;
  font-size: 1.05rem;
}

.billing-plan-grid p {
  margin: 0;
  color: var(--muted);
}

.border,
.border-top,
.border-bottom,
.table,
.table > :not(caption) > * > * {
  border-color: var(--line) !important;
}

.rounded {
  border-radius: var(--radius-sm) !important;
}

.bg-white,
.bg-light-subtle {
  background-color: var(--panel-strong) !important;
}

.text-muted {
  color: var(--muted) !important;
}

@media (max-width: 575.98px) {
  .billing-table {
    min-width: 0;
  }

  .billing-table thead {
    display: none;
  }

  .billing-table,
  .billing-table tbody,
  .billing-table tr,
  .billing-table td {
    display: block;
    width: 100%;
  }

  .billing-table tr {
    margin-bottom: 0.9rem;
    padding: 0.85rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--panel-strong);
  }

  .billing-table td {
    padding: 0.35rem 0;
    white-space: normal;
  }

  .billing-table .table-actions {
    justify-content: flex-start;
    min-width: 0;
    padding-top: 0.7rem;
  }

  .billing-account-card,
  .billing-account-meta,
  .billing-plan-grid {
    grid-template-columns: 1fr;
  }

  .billing-actions {
    justify-content: flex-start;
  }
}

@media (min-width: 576px) and (max-width: 991.98px) {
  .billing-account-card {
    grid-template-columns: 1fr;
  }

  .billing-actions {
    justify-content: flex-start;
  }

  .billing-plan-grid {
    grid-template-columns: 1fr;
  }
}

.hero-banner {
  position: relative;
  min-height: 40rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 26px;
  box-shadow: var(--shadow-lg);
  margin-bottom: 1.5rem;
  background: #162129;
}

.hero-banner-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 10, 14, 0.9) 0%, rgba(6, 10, 14, 0.76) 36%, rgba(6, 10, 14, 0.24) 72%, rgba(6, 10, 14, 0.1) 100%),
    linear-gradient(180deg, rgba(6, 10, 14, 0.08) 0%, rgba(6, 10, 14, 0.5) 100%);
}

.hero-banner-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 40rem;
  max-width: 52rem;
  padding: 2.35rem 2.25rem;
  color: #fffaf4;
}

.hero-banner--compact,
.hero-banner--compact .hero-banner-content {
  min-height: 22rem;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(255, 194, 130, 0.28);
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  color: rgba(255, 237, 215, 0.96);
  font-size: 0.84rem;
  font-weight: 700;
}

.hero-banner h1 {
  margin: 0 0 0.9rem;
  font-size: clamp(2.4rem, 4vw, 4.75rem);
  line-height: 0.94;
  letter-spacing: 0;
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.hero-banner p {
  max-width: 42rem;
  color: rgba(255, 240, 226, 0.92);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.3rem;
}

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.2rem;
}

.hero-chip {
  border-radius: 999px;
  padding: 0.5rem 0.8rem;
  background: rgba(255, 248, 236, 0.14);
  color: rgba(255, 245, 232, 0.94);
  font-size: 0.84rem;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.showcase-tile {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 18px;
  background: rgba(255, 252, 247, 0.96);
  box-shadow: var(--shadow-md);
}

.showcase-tile img {
  width: 100%;
  height: 15rem;
  object-fit: cover;
  display: block;
}

.showcase-copy {
  display: grid;
  gap: 0.3rem;
  padding: 1rem 1rem 1.1rem;
  color: #171210;
}

.showcase-copy h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
}

.showcase-copy p {
  margin: 0;
  color: #544b45;
  font-size: 0.92rem;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.dashboard-stat {
  padding: 1.2rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.1)),
    rgba(255, 249, 241, 0.92);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(8px);
}

.dashboard-stat-label {
  color: #5a5149;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.dashboard-stat-value {
  margin-top: 0.3rem;
  color: #171210;
  font-size: 1.9rem;
  font-weight: 800;
}

.pricing-section {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.4rem;
  padding: clamp(1rem, 2vw, 1.35rem);
  border: 1px solid rgba(32, 24, 20, 0.12);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(255, 253, 250, 0.98), rgba(255, 247, 237, 0.96)),
    #fffdf9;
  box-shadow: var(--shadow-md);
}

.pricing-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}

.section-kicker,
.pricing-card-label {
  color: var(--clay-700);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pricing-header h2 {
  margin: 0.25rem 0 0.45rem;
  color: var(--ink);
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  font-weight: 850;
  letter-spacing: 0;
}

.pricing-header p {
  max-width: 58rem;
  margin: 0;
  color: var(--muted);
}

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

.pricing-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  gap: 0.8rem;
  padding: 1.05rem;
  border: 1px solid rgba(32, 24, 20, 0.12);
  border-radius: 12px;
  background: rgba(255, 253, 250, 0.96);
}

.pricing-card--featured {
  border-color: rgba(224, 123, 32, 0.34);
  background:
    linear-gradient(180deg, rgba(255, 250, 242, 0.98), rgba(255, 243, 225, 0.96)),
    #fff8ef;
  box-shadow: 0 18px 42px rgba(132, 74, 24, 0.13);
}

.pricing-card--pilot {
  border-color: rgba(68, 109, 134, 0.24);
  background:
    linear-gradient(180deg, rgba(255, 253, 250, 0.98), rgba(237, 246, 250, 0.95)),
    #f8fbfc;
}

.pricing-card--personal {
  border-color: rgba(90, 109, 61, 0.24);
  background:
    linear-gradient(180deg, rgba(255, 253, 250, 0.98), rgba(245, 249, 236, 0.95)),
    #fbfdf8;
}

.pricing-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 850;
  letter-spacing: 0;
}

.pricing-card h3 span {
  font-size: 2.35rem;
  line-height: 1;
}

.pricing-card-copy {
  margin: 0;
  color: var(--muted);
}

.pricing-feature-list {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.pricing-card .btn {
  width: fit-content;
  margin-top: auto;
}

.pricing-footnote {
  padding: 0.8rem 0.95rem;
  border: 1px solid rgba(32, 24, 20, 0.1);
  border-radius: 10px;
  background: rgba(255, 248, 239, 0.72);
  color: var(--muted);
  font-size: 0.92rem;
}

.dashboard-panels {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.8fr);
  gap: 1rem;
}

.site-panel {
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-md);
  background: var(--panel);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(8px);
  overflow: hidden;
}

.site-panel-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.2rem 0.8rem;
}

.site-panel-title {
  margin: 0;
  color: #171210;
  font-size: 1.1rem;
  font-weight: 800;
}

.site-panel-copy {
  margin: 0.25rem 0 0;
  color: #544b45;
  font-size: 0.92rem;
}

.site-panel-body {
  padding: 0 1.2rem 1.2rem;
}

.report-hero {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(110deg, rgba(8, 13, 17, 0.96), rgba(11, 16, 22, 0.84)),
    radial-gradient(circle at 82% 20%, rgba(247, 129, 28, 0.26), transparent 34%);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.report-hero--compact {
  min-height: 220px;
  display: flex;
  align-items: end;
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.report-hero__content {
  max-width: 760px;
}

.report-hero h1 {
  margin: 0.75rem 0 0.5rem;
  font-size: clamp(2.25rem, 5vw, 4rem);
  line-height: 0.98;
}

.report-hero p {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
}

.report-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.report-kicker-dot {
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 999px;
  background: var(--clay-500);
  box-shadow: 0 0 0 0.25rem rgba(247, 129, 28, 0.18);
}

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

.state-tournament-hero {
  background:
    linear-gradient(90deg, rgba(8, 11, 14, 0.92), rgba(8, 11, 14, 0.7) 46%, rgba(8, 11, 14, 0.18)),
    url("/images/state-tournament-summary/hero.jpg") center / cover no-repeat;
}

.state-tournament-summary-page {
  display: grid;
  gap: 1.5rem;
}

.state-tournament-section {
  --state-section-art: url("/images/state-tournament-summary/field-trend.jpg");
  --state-section-accent: var(--clay-500);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(32, 24, 20, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 250, 243, 0.94)),
    #fff;
  box-shadow: 0 1rem 2.5rem rgba(20, 20, 20, 0.08);
}

.state-tournament-section-heading {
  position: relative;
  min-height: 10.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: clamp(1rem, 2vw, 1.35rem);
  color: #fffaf4;
  text-shadow: 0 0.2rem 0.7rem rgba(0, 0, 0, 0.55);
  background:
    linear-gradient(90deg, rgba(8, 11, 14, 0.72), rgba(8, 11, 14, 0.24) 50%, rgba(8, 11, 14, 0.16)),
    var(--state-section-art) center / cover no-repeat;
}

.state-tournament-section-heading::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 0.28rem;
  background: linear-gradient(90deg, var(--state-section-accent), rgba(246, 147, 50, 0.12));
}

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

.state-tournament-section-heading .site-panel-title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #fffaf4;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  text-shadow: inherit;
}

.state-tournament-section-heading .site-panel-title::before {
  content: "";
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(255, 250, 244, 0.34);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 146, 32, 0.95) 0 0.38rem, transparent 0.42rem),
    url("/images/brand-mark.svg") center / 1.35rem 1.35rem no-repeat,
    rgba(12, 13, 15, 0.42);
  box-shadow: 0 0.55rem 1.2rem rgba(0, 0, 0, 0.24);
}

.state-tournament-section-heading .text-muted {
  color: rgba(255, 250, 244, 0.86) !important;
}

.state-tournament-section-heading .badge {
  border: 1px solid rgba(255, 250, 244, 0.34);
  background-color: rgba(15, 17, 20, 0.55) !important;
  color: #fffaf4 !important;
  box-shadow: 0 0.45rem 1.15rem rgba(0, 0, 0, 0.2);
}

.state-tournament-section-body {
  padding: clamp(1rem, 2vw, 1.35rem);
}

.state-tournament-section--breakdown {
  --state-section-art: url("/images/state-tournament-summary/class-breakdown.jpg");
  --state-section-accent: #b56624;
}

.state-tournament-section--alternate {
  --state-section-art: url("/images/state-tournament-summary/alternate-classes.jpg");
  --state-section-accent: #446d86;
}

.state-tournament-section--combined {
  --state-section-art: url("/images/state-tournament-summary/combined-view.jpg");
  --state-section-accent: #7e4d23;
}

.state-tournament-year-card {
  border: 1px solid rgba(30, 35, 40, 0.12);
  border-left: 4px solid var(--clay-500);
  border-radius: var(--radius-md);
  padding: 1rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 251, 246, 0.96)),
    #fff;
  box-shadow: 0 0.55rem 1.3rem rgba(20, 20, 20, 0.055);
}

.state-tournament-year-card__head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
}

.state-tournament-year-card h3 {
  margin: 0;
  font-size: 1.4rem;
}

.state-tournament-year-card p {
  margin: 0.1rem 0 0;
  color: var(--muted);
}

.state-tournament-year-card strong {
  font-size: 1.45rem;
}

.state-tournament-bar {
  height: 0.58rem;
  border-radius: 999px;
  background: rgba(16, 24, 32, 0.12);
  margin: 0.85rem 0;
  overflow: hidden;
}

.state-tournament-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--clay-500), #8a4b19);
}

.state-tournament-year-card dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem 1rem;
  margin: 0;
}

.state-tournament-year-card dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.state-tournament-year-card dd {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
}

.state-tournament-breakdown {
  border: 1px solid rgba(30, 35, 40, 0.12);
  border-radius: var(--radius-md);
  padding: 1rem;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0.55rem 1.3rem rgba(20, 20, 20, 0.045);
}

.visibility-help-button {
  display: inline-flex;
  width: 1.6rem;
  height: 1.6rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(244, 138, 42, 0.42);
  border-radius: 50%;
  background: rgba(244, 138, 42, 0.12);
  color: #7b3b00;
  font-size: 0.85rem;
  font-weight: 900;
  line-height: 1;
}

.visibility-help-button--small {
  width: 1.25rem;
  height: 1.25rem;
  font-size: 0.72rem;
}

.visibility-help-modal .modal-content {
  border-radius: 8px;
  border: 1px solid rgba(244, 138, 42, 0.3);
  background: #fffaf1;
  box-shadow: 0 22px 60px rgba(18, 14, 10, 0.28);
}

.visibility-help-modal .modal-header {
  border-bottom-color: rgba(34, 34, 34, 0.08);
}

.visibility-help-modal .modal-title {
  color: #171210;
  font-weight: 900;
}

.visibility-help-modal .modal-body {
  color: #3d332c;
  font-size: 0.95rem;
}

.visibility-help-list {
  display: grid;
  gap: 1rem;
}

.visibility-help-list > div {
  border: 1px solid rgba(34, 34, 34, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  padding: 0.9rem 1rem;
}

.visibility-help-list h3 {
  margin: 0 0 0.35rem;
  color: #171210;
  font-size: 1rem;
  font-weight: 900;
}

.visibility-help-list p {
  margin: 0;
}

.discipline-list {
  display: grid;
  gap: 0.8rem;
}

.discipline-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  align-items: start;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
}

.discipline-item:last-child {
  border-bottom: 0;
}

.discipline-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--clay-500), var(--clay-300));
  box-shadow: inset 0 0 0 6px rgba(255, 245, 232, 0.42);
}

.discipline-name {
  margin: 0;
  color: #171210;
  font-weight: 800;
}

.discipline-copy {
  margin: 0.15rem 0 0;
  color: #544b45;
  font-size: 0.92rem;
}

.empty-state {
  padding: 1rem 0;
  color: var(--muted);
}

.finish-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(32, 24, 20, 0.16);
  border-radius: 50%;
  color: #201813;
  font-weight: 900;
  line-height: 1;
  box-shadow: inset 0 -4px 10px rgba(0, 0, 0, 0.12), 0 8px 18px rgba(9, 12, 15, 0.12);
}

.finish-badge-rank {
  font-size: 0.82rem;
}

.finish-badge-gold {
  background: linear-gradient(135deg, #fff4b8, #d99a20);
}

.finish-badge-silver {
  background: linear-gradient(135deg, #f7f8fb, #aab3bf);
}

.finish-badge-bronze {
  background: linear-gradient(135deg, #f4c59a, #a35d28);
}

.finish-badge-standard {
  background: linear-gradient(135deg, #f5efe5, #d7c6b3);
}


.directory-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.45fr);
  gap: 1rem;
  align-items: stretch;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-md);
  background:
    linear-gradient(135deg, rgba(20, 29, 35, 0.96), rgba(57, 39, 24, 0.94)),
    #18222b;
  color: #fffaf4;
  box-shadow: var(--shadow-md);
}

.directory-hero h1 {
  margin: 0 0 0.6rem;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1;
  letter-spacing: 0;
}

.directory-hero p {
  max-width: 46rem;
  margin: 0;
  color: rgba(255, 239, 223, 0.9);
}

.directory-trust-note {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  padding: 1rem;
  border: 1px solid rgba(255, 204, 143, 0.28);
  border-radius: var(--radius-sm);
  background: rgba(255, 248, 237, 0.08);
  color: rgba(255, 244, 230, 0.92);
}

.directory-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.directory-stats div {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--panel-strong);
  box-shadow: 0 10px 24px rgba(9, 12, 15, 0.08);
}

.directory-stats span {
  display: block;
  color: #171210;
  font-size: 1.65rem;
  font-weight: 850;
  line-height: 1;
}

.directory-stats small {
  display: block;
  margin-top: 0.3rem;
  color: var(--muted);
  font-weight: 700;
}

.directory-staff-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border: 1px solid rgba(244, 138, 42, 0.24);
  border-left: 4px solid #f48a2a;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 28px rgba(34, 25, 16, 0.08);
}

.directory-staff-cta h2 {
  margin: 0 0 0.3rem;
  font-size: 1.2rem;
  font-weight: 850;
}

.directory-staff-cta p {
  max-width: 58rem;
  margin: 0;
  color: var(--muted);
}

.directory-staff-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.6rem;
}

.directory-filter .site-panel-body {
  padding-top: 0;
}

.directory-helper-text {
  color: var(--muted);
  font-size: 0.84rem;
}

.directory-radius-search {
  padding: 0.85rem;
  border: 1px solid rgba(32, 24, 20, 0.1);
  border-radius: var(--radius-sm);
  background: rgba(255, 253, 249, 0.72);
}

.state-shortcut-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.state-shortcut {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 2.1rem;
  padding: 0.35rem 0.55rem;
  border: 1px solid rgba(32, 24, 20, 0.12);
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.86);
  color: #251b15;
  font-weight: 850;
  text-decoration: none;
}

.state-shortcut:hover,
.state-shortcut.active {
  border-color: rgba(224, 123, 32, 0.48);
  background: rgba(224, 123, 32, 0.12);
  color: #5f3514;
}

.state-shortcut small {
  color: var(--muted);
  font-weight: 800;
}

.directory-results-heading {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
}

.directory-results-heading h2 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 850;
}

.club-directory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 1rem;
}

.club-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  margin: 1.5rem 0 0;
  flex-wrap: wrap;
}

.club-page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.65rem;
  padding: 0.65rem 1rem;
  border: 1px solid #b8a898;
  border-radius: 999px;
  color: #5f3514;
  background: rgba(255, 253, 249, 0.96);
  font-weight: 850;
  text-decoration: none;
}

.club-page-link:hover,
.club-page-link:focus {
  color: #2b1709;
  border-color: #7d4b22;
  background: #fff8ef;
}

.club-page-link-primary {
  border-color: #f18522;
  color: #fff;
  background: #f18522;
}

.club-page-link-primary:hover,
.club-page-link-primary:focus {
  color: #fff;
  background: #c85f0d;
}

.club-page-link[aria-busy="true"] {
  opacity: 0.72;
  pointer-events: none;
}

.club-page-status {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.club-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-height: 100%;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 253, 249, 0.98);
  box-shadow: 0 10px 26px rgba(9, 12, 15, 0.08);
}

.club-card-header {
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
  align-items: start;
}

.club-card h3 {
  margin: 0;
  color: #171210;
  font-size: 1.05rem;
  font-weight: 850;
  line-height: 1.2;
}

.club-distance {
  margin: 0.18rem 0 0;
  color: #6e3a13;
  font-size: 0.86rem;
  font-weight: 850;
}

.club-card-header p,
.club-line {
  margin: 0.22rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.club-gallery {
  display: grid;
  gap: 0.55rem;
}

.club-gallery-main,
.club-gallery-thumb {
  display: block;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(32, 24, 20, 0.1);
  border-radius: var(--radius-sm);
  background: #efe7dc;
  cursor: pointer;
}

.club-gallery-main {
  aspect-ratio: 16 / 9;
}

.club-gallery-main img,
.club-gallery-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #1f1b17;
}

.club-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(4.75rem, 1fr));
  gap: 0.45rem;
}

.club-gallery-thumb {
  aspect-ratio: 4 / 3;
  opacity: 0.76;
}

.club-gallery-thumb.active,
.club-gallery-thumb:focus-visible {
  opacity: 1;
  outline: 3px solid rgba(111, 57, 12, 0.32);
  outline-offset: 2px;
}

.club-gallery-attribution {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.45rem;
  color: var(--muted);
  font-size: 0.76rem;
}

.club-gallery-attribution small {
  color: #786b5c;
}

.club-lightbox[hidden] {
  display: none;
}

.club-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1080;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.club-lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(12, 10, 8, 0.78);
}

.club-lightbox-frame {
  position: relative;
  z-index: 1;
  width: min(58rem, 94vw);
  max-height: 90vh;
  padding: 0.7rem;
  border-radius: var(--radius-sm);
  background: #fffdfa;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
}

.club-lightbox-frame img {
  display: block;
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
}

.club-lightbox-close {
  position: absolute;
  top: 0.45rem;
  right: 0.45rem;
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(32, 24, 20, 0.16);
  border-radius: 50%;
  background: rgba(255, 253, 250, 0.94);
  color: #201813;
  font-size: 1.35rem;
  line-height: 1;
}

body.club-lightbox-open {
  overflow: hidden;
}

.club-map-panel {
  overflow: hidden;
  border: 1px solid rgba(32, 24, 20, 0.1);
  border-radius: var(--radius-sm);
  background: rgba(248, 241, 231, 0.58);
}

.club-map-panel iframe {
  display: block;
  width: 100%;
  height: clamp(22rem, 48vw, 32rem);
  border: 0;
}

.club-map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0.55rem 0.65rem;
  font-size: 0.86rem;
  font-weight: 800;
}

.club-confidence {
  flex: none;
  display: inline-flex;
  align-items: center;
  max-width: 9.5rem;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 850;
  line-height: 1.1;
  text-align: center;
}

.club-confidence-higher {
  color: #12371f;
  background: #d9f2df;
  border: 1px solid #9bd3aa;
}

.club-confidence-partial {
  color: #5b3800;
  background: #fff1c8;
  border: 1px solid #e0bd67;
}

.club-confidence-seed {
  color: #3c454c;
  background: #edf0f2;
  border: 1px solid #cbd2d7;
}

.club-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.club-chip-row span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.35rem 0.55rem;
  background: rgba(224, 123, 32, 0.12);
  color: #5f3514;
  font-size: 0.78rem;
  font-weight: 800;
}

.club-facts {
  display: grid;
  gap: 0.55rem;
  margin: 0;
}

.club-facts div {
  padding: 0.65rem;
  border: 1px solid rgba(32, 24, 20, 0.09);
  border-radius: 8px;
  background: rgba(248, 241, 231, 0.58);
}

.club-facts dt {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.club-facts dd {
  margin: 0.15rem 0 0;
  color: #201813;
  font-size: 0.9rem;
}

.club-resource-section {
  display: grid;
  gap: 0.65rem;
}

.club-resource-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 0.55rem;
  align-items: start;
}

.club-resource-link {
  display: grid;
  gap: 0.16rem;
  min-height: 0;
  padding: 0.65rem 0.7rem;
  border: 1px solid rgba(32, 24, 20, 0.1);
  border-radius: var(--radius-sm);
  background: #fffdfa;
  color: #201813;
  text-decoration: none;
}

.club-resource-feeds {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(22rem, 1fr));
  gap: 0.65rem;
}

.club-resource-feed {
  overflow: hidden;
  border: 1px solid rgba(32, 24, 20, 0.1);
  border-radius: var(--radius-sm);
  background: #fffdfa;
}

.club-resource-widget-embed {
  padding: 0;
  overflow: hidden;
}

.club-resource-link:hover,
.club-resource-link:focus-visible,
.club-resource-feed:hover,
.club-resource-feed:focus-within {
  border-color: rgba(111, 57, 12, 0.38);
  color: #201813;
  box-shadow: 0 10px 22px rgba(9, 12, 15, 0.08);
}

.club-resource-widget-header {
  display: grid;
  gap: 0.15rem;
  padding: 0.7rem 0.7rem 0.55rem;
}

.club-resource-link span,
.club-resource-widget-header span {
  color: #6e3a13;
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.club-resource-link strong,
.club-resource-widget-header a {
  color: #201813;
  font-size: 0.94rem;
  font-weight: 850;
  line-height: 1.15;
  text-decoration: none;
}

.club-resource-link small,
.club-resource-widget-header small {
  display: block;
  overflow-wrap: anywhere;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.25;
}

.club-resource-feed iframe {
  display: block;
  width: 100%;
  height: 32.5rem;
  border: 0;
  background: #fff;
}

.club-resource-feed .twitter-timeline {
  display: block;
  min-height: 26rem;
  padding: 0 0.7rem 0.7rem;
}

.club-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  margin-top: auto;
  font-size: 0.9rem;
  font-weight: 750;
}

.club-claim-action {
  padding: 0.24rem 0.55rem;
  border: 1px solid rgba(244, 138, 42, 0.42);
  border-radius: 999px;
  background: rgba(244, 138, 42, 0.1);
}

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

.claim-flow-grid > div {
  padding: 1rem;
  border: 1px solid rgba(34, 34, 34, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 24px rgba(9, 12, 15, 0.06);
}

.claim-flow-grid strong,
.claim-flow-grid span {
  display: block;
}

.claim-flow-grid strong {
  color: #18120b;
  font-weight: 850;
}

.claim-flow-grid span {
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.38;
}

.entitlement-note-panel {
  border-left: 4px solid #f48a2a;
  background: rgba(255, 255, 255, 0.9);
}

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

.entitlement-note-grid > div {
  min-height: 100%;
  padding: 1rem;
  border: 1px solid rgba(24, 18, 11, 0.08);
  border-radius: 8px;
  background: rgba(255, 251, 245, 0.72);
}

.entitlement-note-grid strong,
.entitlement-note-grid span {
  display: block;
}

.entitlement-note-grid strong {
  color: #18120b;
  font-weight: 850;
}

.entitlement-note-grid span {
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.38;
}

.club-source-note {
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
}

.trend-legend-dot {
  display: inline-block;
  width: 0.7rem;
  height: 0.7rem;
  margin-right: 0.35rem;
  border-radius: 50%;
  vertical-align: -0.05rem;
}

.team-report-hero {
  position: relative;
  display: grid;
  min-height: 13rem;
  align-items: end;
  overflow: hidden;
  padding: clamp(1.35rem, 3vw, 2.2rem);
  border: 1px solid rgba(255, 208, 160, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(8, 11, 14, 0.94), rgba(13, 20, 27, 0.78) 58%, rgba(13, 20, 27, 0.22)),
    url("/images/team-report-analytics-banner.png") right center / cover no-repeat,
    linear-gradient(135deg, #101820, #2a1d16);
  box-shadow: 0 1.25rem 3.25rem rgba(7, 10, 12, 0.25);
}

.team-report-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 0.35rem;
  background: linear-gradient(90deg, var(--clay-500), rgba(246, 147, 50, 0.2), transparent);
}

.team-report-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 48rem;
}

.team-report-hero h1 {
  margin-bottom: 0.35rem;
  color: #fffaf2;
  font-size: clamp(2.15rem, 5vw, 4.25rem);
  line-height: 0.98;
}

.team-report-hero .text-muted {
  color: rgba(255, 244, 232, 0.82) !important;
}

.report-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
  padding: 0.35rem 0.7rem;
  border: 1px solid rgba(255, 208, 160, 0.28);
  border-radius: 999px;
  color: #ffe6c9;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.report-kicker::before {
  content: "";
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: var(--clay-400);
  box-shadow: 0 0 0 0.25rem rgba(246, 147, 50, 0.14);
}

.report-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.2rem;
}

.report-hero-stats span {
  padding: 0.42rem 0.68rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 250, 244, 0.95);
  font-size: 0.86rem;
  font-weight: 750;
  backdrop-filter: blur(8px);
}

.athlete-report-hero {
  position: relative;
  display: grid;
  min-height: 15rem;
  align-items: end;
  overflow: hidden;
  padding: clamp(1.35rem, 3vw, 2.2rem);
  border: 1px solid rgba(255, 208, 160, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(8, 11, 14, 0.95), rgba(13, 20, 27, 0.84) 46%, rgba(13, 20, 27, 0.38) 72%, rgba(13, 20, 27, 0.1)),
    url("/images/team-report-analytics-banner.png") center 54% / cover no-repeat,
    linear-gradient(135deg, #101820, #2a1d16);
  box-shadow: 0 1.25rem 3.25rem rgba(7, 10, 12, 0.25);
}

.athlete-report-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 0.35rem;
  background: linear-gradient(90deg, var(--clay-500), rgba(246, 147, 50, 0.2), transparent);
}

.athlete-report-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 52rem;
}

.athlete-report-hero h1 {
  margin-bottom: 0.35rem;
  color: #fffaf2;
  font-size: clamp(2.1rem, 4.4vw, 3.85rem);
  line-height: 0.98;
}

.athlete-report-hero .text-muted {
  color: rgba(255, 244, 232, 0.82) !important;
}

.athlete-summary-grid > [class*="col-"] > .border,
.athlete-season-card-grid > [class*="col-"] > .border {
  position: relative;
  overflow: hidden;
  border-color: rgba(32, 24, 20, 0.1) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 251, 246, 0.96)),
    #fff;
  box-shadow: 0 0.75rem 1.7rem rgba(20, 20, 20, 0.07);
}

.athlete-summary-grid > [class*="col-"] > .border::before,
.athlete-season-card-grid > [class*="col-"] > .border::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 0.28rem;
  background: var(--report-accent, var(--clay-500));
}

.athlete-report-page > .athlete-report-section {
  --report-accent: #e07b20;
  position: relative;
  overflow: hidden;
  padding: 0 clamp(1rem, 2vw, 1.35rem) clamp(1rem, 2vw, 1.35rem);
  border: 1px solid rgba(32, 24, 20, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 250, 243, 0.94)),
    #fff;
  box-shadow: 0 1rem 2.5rem rgba(20, 20, 20, 0.08);
}

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

.athlete-report-section-art {
  position: relative;
  z-index: 0;
  min-height: 9rem;
  aspect-ratio: 1600 / 229;
  margin: 0 calc(clamp(1rem, 2vw, 1.35rem) * -1) 1.1rem;
  overflow: hidden;
  border-radius: 8px 8px 0 0;
  background: #101820;
}

.athlete-report-section-art::before {
  content: "";
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  height: 0.24rem;
  background: linear-gradient(90deg, var(--report-accent), rgba(246, 147, 50, 0.12));
  pointer-events: none;
}

.athlete-report-section-art::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 11, 14, 0.98) 0, rgba(8, 11, 14, 0.96) 3rem, rgba(8, 11, 14, 0.56) 5.2rem, rgba(8, 11, 14, 0.16) 100%),
    linear-gradient(90deg, rgba(8, 11, 14, 0.86), rgba(8, 11, 14, 0.22) 52%, rgba(8, 11, 14, 0.04));
  pointer-events: none;
}

.athlete-report-section-art img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  object-position: center;
  transform: translateZ(0);
}

.athlete-report-page > .athlete-report-section::after {
  content: none;
}

.athlete-report-page > .athlete-report-section > .athlete-report-section-heading {
  position: absolute;
  top: clamp(1rem, 2vw, 1.35rem);
  right: clamp(1rem, 2vw, 1.35rem);
  left: clamp(1rem, 2vw, 1.35rem);
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  max-width: none;
  margin: 0;
  padding: 0;
  background: transparent;
  color: #fffaf4;
  text-shadow: 0 0.2rem 0.7rem rgba(0, 0, 0, 0.55);
}

.athlete-report-section-heading h2 {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.athlete-report-section-heading h2::before {
  content: "";
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(255, 250, 244, 0.34);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 146, 32, 0.95) 0 0.38rem, transparent 0.42rem),
    url("/images/brand-mark.svg") center / 1.35rem 1.35rem no-repeat,
    rgba(12, 13, 15, 0.42);
  box-shadow: 0 0.55rem 1.2rem rgba(0, 0, 0, 0.24);
}

.athlete-report-section-heading p,
.athlete-report-section-heading a {
  color: rgba(255, 250, 244, 0.86) !important;
}

.athlete-report-section-heading a {
  font-weight: 800;
}

.athlete-report-section-action {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 2.25rem;
  margin-left: auto;
  padding: 0.45rem 0.9rem;
  border: 1px solid rgba(255, 250, 244, 0.42);
  border-radius: 999px;
  background: rgba(12, 13, 15, 0.42);
  box-shadow: 0 0.55rem 1.2rem rgba(0, 0, 0, 0.2);
  text-decoration: none;
  text-shadow: none;
  backdrop-filter: blur(8px);
}

.athlete-report-section-action:hover,
.athlete-report-section-action:focus {
  color: #1a130f !important;
  background: rgba(255, 245, 233, 0.95);
  border-color: rgba(255, 245, 233, 0.95);
}

.athlete-report-section--career-chart {
  --report-accent: #446d86;
}

.athlete-report-section--season-history {
  --report-accent: #b56624;
}

.athlete-report-section--score-history {
  --report-accent: #5a6d3d;
}

.athlete-report-page > .athlete-report-section--score-history {
  padding: 0 1.2rem 1.2rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(255, 251, 246, 0.96)),
    #fff;
}

.athlete-report-page > .athlete-report-section--score-history > .athlete-report-section-art {
  margin: 0 -1.2rem 1.1rem;
}

.athlete-report-page > .athlete-report-section--score-history > .table {
  margin-bottom: 0;
}

.athlete-report-section--tournaments {
  --report-accent: #7e4d23;
}

.athlete-report-section--career-chart .athlete-report-section-art img {
  object-position: center 52%;
}

.athlete-report-section--season-history .athlete-report-section-art img {
  object-position: center 48%;
}

.athlete-report-section--score-history .athlete-report-section-art img {
  object-position: center 50%;
}

.athlete-report-section--tournaments .athlete-report-section-art img {
  object-position: center 54%;
}

.athlete-report-page > .athlete-report-section .border.rounded.p-3,
.athlete-report-page > .athlete-report-section .border.rounded.p-2,
.athlete-report-page > .athlete-report-section .table-responsive,
.athlete-report-page > .athlete-report-section table {
  background-color: #fff !important;
}

.athlete-report-page > .athlete-report-section .table {
  --bs-table-bg: rgba(255, 255, 255, 0.9);
}

.recognition-panel-heading {
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(32, 24, 20, 0.08);
}

.recognition-season-stack {
  display: grid;
  gap: 0.85rem;
  margin-top: 0.85rem;
}

.recognition-season-card {
  overflow: hidden;
  border: 1px solid rgba(32, 24, 20, 0.1);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff, #fffaf4);
  box-shadow: 0 0.5rem 1.25rem rgba(20, 20, 20, 0.05);
}

.recognition-season-card-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.4rem 0.75rem;
  padding: 0.72rem 0.85rem;
  border-bottom: 1px solid rgba(32, 24, 20, 0.08);
  background:
    linear-gradient(90deg, rgba(224, 123, 32, 0.12), rgba(224, 123, 32, 0.02)),
    #fff;
}

.recognition-season-name {
  font-weight: 900;
  letter-spacing: 0;
}

.recognition-season-context,
.recognition-season-meta {
  color: #6c625a;
  font-size: 0.86rem;
}

.recognition-season-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem;
}

.recognition-season-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.recognition-season-meta span + span::before {
  content: "";
  width: 0.25rem;
  height: 0.25rem;
  border-radius: 999px;
  background: rgba(95, 86, 77, 0.45);
}

.recognition-row-list {
  display: grid;
}

.recognition-row {
  display: grid;
  grid-template-columns: minmax(6.8rem, 8.6rem) 1fr;
  gap: 0.75rem;
  padding: 0.72rem 0.85rem;
}

.recognition-row + .recognition-row {
  border-top: 1px solid rgba(32, 24, 20, 0.08);
}

.recognition-row-type {
  align-self: start;
  width: fit-content;
  max-width: 100%;
  padding: 0.22rem 0.48rem;
  border: 1px solid rgba(32, 24, 20, 0.12);
  border-radius: 999px;
  background: rgba(248, 245, 239, 0.95);
  color: #5f564d;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.2;
}

.recognition-row-title {
  color: #1b1713;
  font-weight: 850;
  line-height: 1.25;
}

.recognition-row-detail {
  margin-top: 0.18rem;
  color: #62584f;
  font-size: 0.88rem;
  line-height: 1.35;
}

.tournament-result-stack {
  display: grid;
  gap: 0.85rem;
  margin-top: 0.85rem;
}

.tournament-result-card {
  display: grid;
  grid-template-columns: 4.6rem 1fr;
  gap: 0.9rem;
  padding: 0.85rem;
  border: 1px solid rgba(32, 24, 20, 0.1);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff, #fffaf4);
  box-shadow: 0 0.5rem 1.25rem rgba(20, 20, 20, 0.05);
}

.tournament-result-date {
  display: grid;
  place-items: center;
  align-self: start;
  min-height: 4.8rem;
  padding: 0.55rem 0.35rem;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(126, 77, 35, 0.14), rgba(126, 77, 35, 0.05)),
    #fff;
  color: #5f3920;
  text-align: center;
  line-height: 1.05;
}

.tournament-result-date span {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.tournament-result-date strong {
  font-size: 1.45rem;
  font-weight: 900;
}

.tournament-result-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.65rem;
  margin-bottom: 0.5rem;
}

.tournament-result-heading h4 {
  margin: 0;
  font-size: 1rem;
  font-weight: 850;
  line-height: 1.25;
}

.tournament-result-level {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.5rem;
  border-radius: 999px;
  background: rgba(126, 77, 35, 0.12);
  color: #62391f;
  font-size: 0.75rem;
  font-weight: 850;
  text-transform: uppercase;
}

.tournament-result-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.tournament-result-facts > div {
  padding: 0.5rem 0.6rem;
  border: 1px solid rgba(32, 24, 20, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.tournament-result-label {
  display: block;
  color: #6c625a;
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.tournament-result-facts strong {
  display: block;
  color: #1b1713;
  font-size: 1rem;
}

.tournament-result-facts span:not(.tournament-result-label) {
  color: #62584f;
  font-size: 0.86rem;
}

.tournament-result-notes {
  display: grid;
  gap: 0.25rem;
  margin-top: 0.55rem;
  color: #62584f;
  font-size: 0.88rem;
  line-height: 1.35;
}

.tournament-event-context {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem;
  color: #62584f;
  font-size: 0.82rem;
}

.tournament-event-context span {
  display: inline-flex;
  align-items: center;
  min-height: 1.7rem;
  padding: 0.18rem 0.55rem;
  border: 1px solid rgba(32, 24, 20, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.tournament-placement-summary {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
}

.tournament-placement-label,
.tournament-placement-field,
.tournament-placement-detail {
  display: block;
  line-height: 1.3;
}

.tournament-placement-label {
  color: #6c625a;
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.tournament-placement-headline {
  display: block;
  color: #15120f;
  font-size: 1.02rem;
  line-height: 1.2;
}

.tournament-placement-field {
  margin-top: 0.1rem;
  color: #6f655c;
  font-size: 0.82rem;
}

.tournament-placement-detail {
  margin-top: 0.15rem;
  color: #6f655c;
  font-size: 0.82rem;
}

.tournament-placement-medallion {
  display: inline-grid;
  place-items: center;
  flex: 0 0 2.75rem;
  min-width: 2.75rem;
  min-height: 2.75rem;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.8);
  box-shadow:
    inset 0 0 0 2px rgba(40, 28, 18, 0.12),
    0 0.35rem 0.8rem rgba(20, 20, 20, 0.18);
  color: #1f160b;
  font-size: 0.66rem;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.tournament-result-facts span.tournament-placement-medallion {
  color: #1f160b;
  font-size: 0.66rem;
}

.tournament-placement-medallion--rank-1 {
  background: radial-gradient(circle at 35% 30%, #fff4b8, #f3bc36 52%, #9a6716);
}

.tournament-placement-medallion--rank-2 {
  background: radial-gradient(circle at 35% 30%, #ffffff, #cfd5dc 54%, #7d8792);
}

.tournament-placement-medallion--rank-3 {
  background: radial-gradient(circle at 35% 30%, #ffe0b8, #c77a33 54%, #74431e);
}

.tournament-placement-medallion--rank-4,
.tournament-placement-medallion--rank-5 {
  background: radial-gradient(circle at 35% 30%, #fff8e7, #e9d2a8 54%, #9a7b4e);
}

@media (max-width: 575.98px) {
  .recognition-season-meta {
    justify-content: flex-start;
  }

  .recognition-row {
    grid-template-columns: 1fr;
    gap: 0.42rem;
  }

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

  .tournament-result-date {
    display: inline-grid;
    grid-template-columns: repeat(3, auto);
    justify-content: start;
    min-height: 0;
    width: fit-content;
    gap: 0.35rem;
  }

  .tournament-result-facts {
    grid-template-columns: 1fr;
  }
}

.team-report-page > section,
.team-report-page > .report-section {
  position: relative;
  overflow: hidden;
  padding: calc(clamp(1rem, 2vw, 1.35rem) + 10.75rem) clamp(1rem, 2vw, 1.35rem) clamp(1rem, 2vw, 1.35rem);
  border: 1px solid rgba(32, 24, 20, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 250, 243, 0.94)),
    #fff;
  box-shadow: 0 1rem 2.5rem rgba(20, 20, 20, 0.08);
}

.team-report-page > section > *,
.team-report-page > .report-section > * {
  position: relative;
  z-index: 1;
}

.team-report-page > section::before,
.team-report-page > .report-section::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 10.75rem;
  border-bottom: 1px solid rgba(32, 24, 20, 0.12);
  border-radius: 8px 8px 0 0;
  background:
    linear-gradient(90deg, rgba(8, 11, 14, 0.66), rgba(8, 11, 14, 0.08) 46%, rgba(8, 11, 14, 0.2)),
    var(--section-art) center / cover no-repeat;
  pointer-events: none;
}

.team-report-page > section::after,
.team-report-page > .report-section::after {
  content: "";
  position: absolute;
  top: 10.75rem;
  right: 0;
  left: 0;
  height: 0.28rem;
  background: linear-gradient(90deg, var(--report-accent, var(--clay-500)), rgba(246, 147, 50, 0.12));
  pointer-events: none;
}

.team-report-page h2.h4,
.team-report-page h2.h5 {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.team-report-page h2.h4::before,
.team-report-page h2.h5::before {
  content: "";
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(244, 138, 42, 0.24);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 45%, var(--report-accent, var(--clay-500)) 0 0.38rem, transparent 0.42rem),
    url("/images/brand-mark.svg") center / 1.35rem 1.35rem no-repeat,
    linear-gradient(135deg, rgba(255, 244, 232, 0.96), rgba(255, 255, 255, 0.92));
  box-shadow: 0 0.55rem 1.1rem rgba(244, 138, 42, 0.12);
}

.team-report-page .border.rounded.p-3.h-100,
.team-report-page .border.rounded.p-3.bg-light-subtle,
.team-report-page .border.rounded.p-3.bg-white {
  background-color: #fff !important;
  box-shadow: 0 0.55rem 1.3rem rgba(20, 20, 20, 0.055);
}

.team-report-page .table-responsive {
  position: relative;
  z-index: 1;
}

.team-report-page .table {
  --bs-table-bg: rgba(255, 255, 255, 0.86);
}

.team-report-page thead th {
  background: rgba(255, 247, 238, 0.95);
}

.report-actions {
  align-items: center;
}

.report-section-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.team-report-page > .report-section--milestones .report-feature-heading,
.team-report-page > .report-section--state-honors .report-feature-heading,
.team-report-page > .report-section--athletes .report-section-heading,
.team-report-page > .report-section--averages > h2.h4,
.team-report-page > .report-section--trend > h2.h4,
.team-report-page > .report-section--depth > h2.h4,
.team-report-page > .report-section--carryover > h2.h4 {
  position: absolute;
  top: clamp(1rem, 2vw, 1.35rem);
  right: clamp(1rem, 2vw, 1.35rem);
  left: clamp(1rem, 2vw, 1.35rem);
  z-index: 2;
  margin-bottom: 0;
  color: #fffaf4;
  text-shadow: 0 0.2rem 0.7rem rgba(0, 0, 0, 0.55);
}

.team-report-page > .report-section--milestones .report-feature-heading,
.team-report-page > .report-section--state-honors .report-feature-heading,
.team-report-page > .report-section--athletes .report-section-heading {
  max-width: min(46rem, calc(100% - 2rem));
}

.team-report-page > .report-section--milestones .report-feature-heading .text-muted,
.team-report-page > .report-section--state-honors .report-feature-heading .text-muted,
.team-report-page > .report-section--athletes .report-section-heading .text-muted {
  color: rgba(255, 250, 244, 0.86) !important;
}

.team-report-page > .report-section--milestones h2.h4::before,
.team-report-page > .report-section--state-honors h2.h4::before,
.team-report-page > .report-section--athletes h2.h4::before,
.team-report-page > .report-section--averages > h2.h4::before,
.team-report-page > .report-section--trend > h2.h4::before,
.team-report-page > .report-section--depth > h2.h4::before,
.team-report-page > .report-section--carryover > h2.h4::before {
  border-color: rgba(255, 250, 244, 0.34);
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 146, 32, 0.95) 0 0.38rem, transparent 0.42rem),
    url("/images/brand-mark.svg") center / 1.35rem 1.35rem no-repeat,
    rgba(12, 13, 15, 0.42);
  box-shadow: 0 0.55rem 1.2rem rgba(0, 0, 0, 0.24);
}

.team-report-page > .report-section--conference-awards > .report-feature-panel > .report-feature-heading,
.team-report-page > .report-section--gender-awards > .report-feature-panel > .report-feature-heading,
.team-report-page > .report-section--tournaments > .report-feature-panel > .report-feature-heading,
.team-report-page > .report-section--improvement > .report-feature-panel > .report-feature-heading,
.team-report-page > .report-section--classification > .report-feature-panel > .report-feature-heading {
  position: absolute;
  top: calc(-10.75rem - 0.15rem);
  right: 0;
  left: 0;
  z-index: 2;
  margin-bottom: 0;
  max-width: min(46rem, calc(100% - 2rem));
  color: #fffaf4;
  text-shadow: 0 0.2rem 0.7rem rgba(0, 0, 0, 0.55);
}

.team-report-page > .report-section--conference-awards > .report-feature-panel > .report-feature-heading .text-muted,
.team-report-page > .report-section--gender-awards > .report-feature-panel > .report-feature-heading .text-muted,
.team-report-page > .report-section--tournaments > .report-feature-panel > .report-feature-heading .text-muted,
.team-report-page > .report-section--improvement > .report-feature-panel > .report-feature-heading .text-muted,
.team-report-page > .report-section--classification > .report-feature-panel > .report-feature-heading .text-muted {
  color: rgba(255, 250, 244, 0.86) !important;
}

.team-report-page > .report-section--conference-awards > .report-feature-panel > .report-feature-heading h2.h5::before,
.team-report-page > .report-section--gender-awards > .report-feature-panel > .report-feature-heading h2.h5::before,
.team-report-page > .report-section--tournaments > .report-feature-panel > .report-feature-heading h2.h5::before,
.team-report-page > .report-section--improvement > .report-feature-panel > .report-feature-heading h2.h5::before,
.team-report-page > .report-section--classification > .report-feature-panel > .report-feature-heading h2.h5::before {
  border-color: rgba(255, 250, 244, 0.34);
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 146, 32, 0.95) 0 0.38rem, transparent 0.42rem),
    url("/images/brand-mark.svg") center / 1.35rem 1.35rem no-repeat,
    rgba(12, 13, 15, 0.42);
  box-shadow: 0 0.55rem 1.2rem rgba(0, 0, 0, 0.24);
}

.team-report-page > .report-section--conference-awards > .report-feature-panel > .report-feature-heading .badge,
.team-report-page > .report-section--gender-awards > .report-feature-panel > .report-feature-heading .badge,
.team-report-page > .report-section--tournaments > .report-feature-panel > .report-feature-heading .badge,
.team-report-page > .report-section--improvement > .report-feature-panel > .report-feature-heading .badge,
.team-report-page > .report-section--classification > .report-feature-panel > .report-feature-heading .badge {
  border-color: rgba(255, 250, 244, 0.34);
  background-color: rgba(15, 17, 20, 0.55) !important;
  color: #fffaf4 !important;
}

.team-report-page > .report-section--league > .border.rounded.p-3 > .d-flex:first-child {
  position: absolute;
  top: calc(-10.75rem - 0.15rem);
  right: 0;
  left: 0;
  z-index: 2;
  max-width: min(46rem, calc(100% - 2rem));
  color: #fffaf4;
  text-shadow: 0 0.2rem 0.7rem rgba(0, 0, 0, 0.55);
}

.team-report-page > .report-section--league > .border.rounded.p-3 > .d-flex:first-child .text-muted {
  color: rgba(255, 250, 244, 0.86) !important;
}

.team-report-page > .report-section--league h2.h5::before {
  border-color: rgba(255, 250, 244, 0.34);
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 146, 32, 0.95) 0 0.38rem, transparent 0.42rem),
    url("/images/brand-mark.svg") center / 1.35rem 1.35rem no-repeat,
    rgba(12, 13, 15, 0.42);
  box-shadow: 0 0.55rem 1.2rem rgba(0, 0, 0, 0.24);
}

.report-section--league {
  --report-accent: #e07b20;
  --report-accent-soft: rgba(224, 123, 32, 0.16);
  --section-art: url("/images/report-sections/league-context.png");
}

.report-section--averages {
  --report-accent: #b56624;
  --report-accent-soft: rgba(181, 102, 36, 0.14);
  --section-art: url("/images/report-sections/team-averages.png");
}

.report-section--trend {
  --report-accent: #446d86;
  --report-accent-soft: rgba(68, 109, 134, 0.14);
  --section-art: url("/images/report-sections-v2/team-trend.jpg");
}

.report-section--depth {
  --report-accent: #5a6d3d;
  --report-accent-soft: rgba(90, 109, 61, 0.14);
  --section-art: url("/images/report-sections-v2/lineup-depth.jpg");
}

.report-section--carryover {
  --report-accent: #7e4d23;
  --report-accent-soft: rgba(126, 77, 35, 0.15);
  --section-art: url("/images/report-sections-v2/practice-carryover.jpg");
}

.report-section--athletes {
  --report-accent: #fd7e14;
  --report-accent-soft: rgba(253, 126, 20, 0.14);
  --section-art: url("/images/report-sections-v2/athlete-scoreboard.jpg");
}

.report-feature-panel {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: clamp(1rem, 2vw, 1.35rem);
  border: 1px solid rgba(32, 24, 20, 0.1);
  border-radius: 8px;
  background: #fff;
}

.team-report-page > .report-section--conference-awards > .report-feature-panel,
.team-report-page > .report-section--gender-awards > .report-feature-panel,
.team-report-page > .report-section--tournaments > .report-feature-panel,
.team-report-page > .report-section--improvement > .report-feature-panel,
.team-report-page > .report-section--classification > .report-feature-panel {
  overflow: visible;
}

.report-feature-panel > * {
  position: relative;
  z-index: 1;
}

.report-feature-heading {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.report-feature-heading .badge {
  border: 1px solid rgba(32, 24, 20, 0.08);
  box-shadow: 0 0.45rem 1.15rem rgba(20, 20, 20, 0.08);
}

.award-card-grid,
.report-feature-panel .table-responsive {
  position: relative;
  z-index: 1;
}

.report-award-card,
.report-metric-tile {
  position: relative;
  overflow: hidden;
  height: 100%;
  padding: 1rem;
  border: 1px solid rgba(32, 24, 20, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 251, 246, 0.96)),
    #fff;
  box-shadow: 0 0.75rem 1.7rem rgba(20, 20, 20, 0.07);
}

.report-award-card > *,
.report-metric-tile > * {
  position: relative;
  z-index: 1;
}

.report-award-card::before,
.report-metric-tile::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 0.28rem;
  background: var(--report-accent, var(--clay-500));
}

.report-award-card::after,
.report-metric-tile::after {
  content: none;
}

.report-spotlight-name {
  margin-bottom: 0.6rem;
  color: #171210;
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  font-weight: 850;
  line-height: 1.05;
}

.report-section--conference-awards {
  --report-accent: #e07b20;
  --report-accent-soft: rgba(224, 123, 32, 0.16);
  --section-art: url("/images/report-sections/conference-awards.png");
}

.report-section--gender-awards {
  --report-accent: #b56624;
  --report-accent-soft: rgba(181, 102, 36, 0.16);
  --section-art: url("/images/report-sections-v2/gender-honors.jpg");
}

.report-section--tournaments {
  --report-accent: #7e4d23;
  --report-accent-soft: rgba(126, 77, 35, 0.16);
  --section-art: url("/images/report-sections-v2/state-honors.jpg");
}

.report-section--improvement {
  --report-accent: #5a6d3d;
  --report-accent-soft: rgba(90, 109, 61, 0.16);
  --section-art: url("/images/report-sections-v2/most-improved.jpg");
}

.report-section--classification {
  --report-accent: #446d86;
  --report-accent-soft: rgba(68, 109, 134, 0.16);
  --section-art: url("/images/report-sections-v2/classification-awards.jpg");
}

.report-section--state-honors {
  --report-accent: #446d86;
  --report-accent-soft: rgba(68, 109, 134, 0.14);
  --section-art: url("/images/report-sections-v2/state-honors.jpg");
}

.report-section--milestones {
  --report-accent: #7e4d23;
  --report-accent-soft: rgba(126, 77, 35, 0.13);
  --section-art: url("/images/report-sections-v2/straight-milestones.jpg");
}

.report-section--state-honors .report-metric-tile,
.report-section--milestones .report-metric-tile {
  min-height: 7.2rem;
}

.report-metric-tile .fs-4,
.report-award-card .fs-4 {
  position: relative;
  z-index: 1;
  font-weight: 850;
}

.score-input {
  max-width: 5.5rem;
}

.target-input {
  max-width: 5.5rem;
}

.scoring-owner-guide {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.scoring-owner-guide__item {
  min-height: 7rem;
  padding: 0.95rem;
  border: 1px solid rgba(34, 34, 34, 0.1);
  border-left: 4px solid rgba(244, 138, 42, 0.38);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  color: #4d453d;
}

.scoring-owner-guide__item strong,
.scoring-owner-guide__item span {
  display: block;
}

.scoring-owner-guide__item strong {
  color: #18120b;
  font-weight: 850;
}

.scoring-owner-guide__item span {
  margin-top: 0.4rem;
  font-size: 0.9rem;
  line-height: 1.35;
}

.scoring-owner-guide__item.is-active {
  border-color: rgba(244, 138, 42, 0.42);
  border-left-color: #f48a2a;
  background: #fffaf3;
  box-shadow: 0 0.8rem 1.8rem rgba(70, 55, 37, 0.1);
}

.scoring-owner-field--muted {
  opacity: 0.58;
}

.scoring-results-hero {
  position: relative;
  min-height: 15rem;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 2rem;
  border-radius: 8px;
  border-bottom: 4px solid #f48a2a;
  background:
    linear-gradient(90deg, rgba(5, 8, 10, 0.98) 0%, rgba(5, 8, 10, 0.88) 42%, rgba(5, 8, 10, 0.22) 100%),
    url("/images/clay-burst-photo.png") right center / cover no-repeat;
  box-shadow: 0 1.5rem 3rem rgba(25, 20, 14, 0.2);
}

.scoring-results-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 48rem;
  color: #fff;
}

.scoring-results-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(244, 138, 42, 0.55);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.28);
  color: #fff7ec;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.scoring-results-kicker::before {
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 999px;
  background: #f48a2a;
  box-shadow: 0 0 0 0.25rem rgba(244, 138, 42, 0.18);
  content: "";
}

.scoring-results-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(2.4rem, 5vw, 4.75rem);
  font-weight: 850;
  line-height: 0.98;
  letter-spacing: 0;
}

.scoring-results-hero p {
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.86);
}

.scoring-results-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.4rem;
}

.scoring-results-hero-stats span {
  padding: 0.45rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 750;
}

.scoring-results-notes {
  max-width: 42rem;
}

.metric-card {
  min-height: 6rem;
  padding: 1rem;
  border: 1px solid rgba(34, 34, 34, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
}

.metric-value {
  color: #111;
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1;
}

.metric-label {
  margin-top: 0.4rem;
  color: #5d554c;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
}

.print-results-view {
  background: #fff;
}

.score-sheet-table th,
.score-sheet-table td {
  min-width: 6rem;
}

.score-sheet-table th:first-child,
.score-sheet-table td:first-child {
  min-width: 13rem;
}

.score-sheet-cell,
.score-sheet-initials {
  height: 3rem;
  background: #fff;
}

.share-link-list {
  display: grid;
  gap: 0.75rem;
}

.share-link-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: start;
  padding: 0.75rem;
  border: 1px solid rgba(34, 34, 34, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.passkey-nudge {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1060;
  display: flex;
  align-items: flex-start;
  max-width: 27rem;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid rgba(244, 138, 42, 0.32);
  border-radius: 8px;
  background: #fffaf3;
  box-shadow: 0 1rem 2.5rem rgba(20, 20, 20, 0.18);
}

.passkey-nudge-copy {
  display: grid;
  gap: 0.25rem;
  min-width: 0;
}

.passkey-nudge-copy strong {
  color: #18120b;
  line-height: 1.1;
}

.passkey-nudge-copy span {
  color: #5d554c;
  font-size: 0.9rem;
  line-height: 1.35;
}

.passkey-nudge-actions {
  display: flex;
  flex-shrink: 0;
  flex-direction: column;
  gap: 0.5rem;
}

.column-help {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  cursor: help;
  outline: none;
}

.column-help:focus-visible {
  border-radius: 6px;
  box-shadow: 0 0 0 0.16rem rgba(244, 138, 42, 0.32);
}

.column-help-icon {
  display: inline-grid;
  width: 1rem;
  height: 1rem;
  place-items: center;
  border: 1px solid rgba(108, 117, 125, 0.55);
  border-radius: 50%;
  color: #6c757d;
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1;
}

@media print {
  body {
    background: #fff !important;
    color: #111;
  }

  .site-header,
  .site-footer,
  .passkey-nudge,
  .print-hidden {
    display: none !important;
  }

  .site-main,
  .page-band {
    max-width: none;
    min-height: auto;
    padding: 0 !important;
  }

  .scoring-results-hero {
    min-height: auto;
    padding: 1rem 0 0.75rem;
    border: 0;
    background: #fff;
    box-shadow: none;
  }

  .scoring-results-hero-copy,
  .scoring-results-hero h1,
  .scoring-results-hero p,
  .scoring-results-hero-stats span {
    color: #111;
  }

  .scoring-results-kicker,
  .scoring-results-hero-stats {
    display: none;
  }

  .surface-panel,
  .metric-card {
    break-inside: avoid;
    box-shadow: none !important;
  }

  .table {
    font-size: 0.9rem;
  }

  .score-sheet-panel {
    border: 0;
    padding: 0 !important;
  }
}

@media (max-width: 991.98px) {
  .site-nav {
    padding-top: 0.75rem;
  }

  .site-account-nav {
    justify-content: flex-start;
    margin: 0.75rem 0 0;
  }

  .showcase-grid,
  .dashboard-panels {
    grid-template-columns: 1fr;
  }

  .dashboard-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-header {
    flex-direction: column;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .scoring-owner-guide {
    grid-template-columns: 1fr;
  }

  .directory-staff-cta,
  .claim-flow-grid,
  .entitlement-note-grid {
    grid-template-columns: 1fr;
  }

  .directory-staff-cta-actions {
    justify-content: flex-start;
  }

  .site-brand-logo {
    width: clamp(210px, 42vw, 320px);
  }
}

@media (max-width: 767.98px) {
  body {
    background:
      radial-gradient(circle at top left, rgba(244, 138, 42, 0.13), transparent 20rem),
      #f4e8d7;
  }

  .site-main {
    min-height: auto;
  }

  .hero-banner,
  .dashboard-stat,
  .site-panel,
  .showcase-tile {
    border-radius: 18px;
  }

  .hero-banner,
  .hero-banner-content {
    min-height: 30rem;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .site-footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .passkey-nudge {
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    max-width: none;
    flex-direction: column;
  }

  .passkey-nudge-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

.demo-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.36fr);
  gap: 1.5rem;
  min-height: 25rem;
  margin-bottom: 1.25rem;
  padding: clamp(2rem, 4vw, 3.25rem);
  overflow: hidden;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(90deg, rgba(3, 5, 7, 0.96) 0%, rgba(6, 9, 12, 0.9) 48%, rgba(8, 10, 12, 0.62) 100%),
    url("../images/clay-burst-photo.png") center right / cover no-repeat;
  box-shadow: var(--shadow-lg);
  color: #fff8ee;
}

.demo-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 5px;
  background: linear-gradient(90deg, var(--clay-500), rgba(246, 147, 50, 0.18));
}

.demo-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 55rem;
}

.demo-hero h1 {
  max-width: 14ch;
  margin: 0.8rem 0 1rem;
  font-size: clamp(2.6rem, 5.4vw, 5rem);
  line-height: 0.98;
  font-weight: 850;
  letter-spacing: 0;
}

.demo-hero p {
  max-width: 48rem;
  color: rgba(255, 247, 238, 0.9);
  font-size: 1.08rem;
}

.demo-hero-card {
  position: relative;
  z-index: 1;
  align-self: end;
  padding: 1.25rem;
  border: 1px solid rgba(255, 208, 160, 0.28);
  border-radius: var(--radius-md);
  background: rgba(10, 15, 20, 0.72);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(10px);
}

.demo-hero-card p {
  margin: 0.45rem 0 0;
  font-size: 0.95rem;
}

.demo-status-dot {
  display: inline-block;
  width: 0.7rem;
  height: 0.7rem;
  margin-right: 0.45rem;
  border-radius: 999px;
  background: #42d38b;
  box-shadow: 0 0 0 5px rgba(66, 211, 139, 0.16);
}

.demo-save-note {
  margin-bottom: 1.25rem;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(66, 111, 80, 0.24);
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(255, 253, 250, 0.98), rgba(239, 250, 242, 0.96));
  box-shadow: 0 12px 34px rgba(8, 12, 16, 0.08);
}

.demo-product-tour {
  margin-bottom: 1.5rem;
  padding: clamp(1rem, 2vw, 1.35rem);
  border: 1px solid rgba(32, 24, 20, 0.12);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 253, 250, 0.98), rgba(255, 248, 239, 0.96));
  box-shadow: var(--shadow-lg);
}

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

.demo-tour-header h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 850;
  letter-spacing: 0;
}

.demo-tour-header p {
  max-width: 55rem;
  margin: 0.35rem 0 0;
  color: var(--muted);
}

.demo-tour-safe {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  flex: none;
  padding: 0.6rem 0.8rem;
  border: 1px solid rgba(66, 111, 80, 0.25);
  border-radius: 999px;
  background: rgba(240, 252, 244, 0.96);
  color: #23563c;
  font-weight: 850;
}

.demo-app-frame {
  display: grid;
  grid-template-columns: 15rem minmax(0, 1fr);
  min-height: 48rem;
  overflow: hidden;
  border: 1px solid rgba(255, 208, 160, 0.22);
  border-radius: 18px;
  background: #111a23;
  box-shadow: 0 28px 70px rgba(6, 9, 12, 0.28);
}

.demo-app-sidebar {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem;
  background:
    linear-gradient(180deg, rgba(7, 11, 16, 0.98), rgba(18, 29, 39, 0.98));
}

.demo-app-brand {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
  color: rgba(255, 247, 238, 0.82);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.demo-app-brand img {
  max-width: 11rem;
  height: auto;
}

.demo-app-nav {
  width: 100%;
  padding: 0.72rem 0.75rem;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: rgba(255, 247, 238, 0.82);
  font-size: 0.9rem;
  font-weight: 800;
  text-align: left;
}

.demo-app-nav:hover,
.demo-app-nav:focus,
.demo-app-nav.active {
  border-color: rgba(246, 147, 50, 0.35);
  background: rgba(246, 147, 50, 0.16);
  color: #fffaf4;
}

.demo-app-stage {
  position: relative;
  min-width: 0;
  background:
    radial-gradient(circle at 88% 4%, rgba(224, 123, 32, 0.14), transparent 18rem),
    #f4eadc;
}

.demo-browser-bar {
  display: flex;
  gap: 0.45rem;
  align-items: center;
  min-height: 2.8rem;
  padding: 0.65rem 1rem;
  border-bottom: 1px solid rgba(32, 24, 20, 0.1);
  background: rgba(255, 253, 250, 0.86);
}

.demo-browser-bar span {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 999px;
  background: #df5f4f;
}

.demo-browser-bar span:nth-child(2) {
  background: #e9b94c;
}

.demo-browser-bar span:nth-child(3) {
  background: #45ba6b;
}

.demo-browser-bar strong {
  margin-left: 0.5rem;
  padding: 0.35rem 0.7rem;
  overflow: hidden;
  border: 1px solid rgba(32, 24, 20, 0.12);
  border-radius: 999px;
  background: #fffdf9;
  color: var(--muted);
  font-size: 0.82rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.demo-screen {
  display: none;
  padding: clamp(1rem, 2vw, 1.35rem);
}

.demo-screen.active {
  display: block;
}

.demo-screen-hero,
.demo-report-hero {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-end;
  min-height: 13rem;
  margin-bottom: 1rem;
  padding: 1.4rem;
  overflow: hidden;
  border-radius: 16px;
  background:
    linear-gradient(90deg, rgba(5, 7, 9, 0.94), rgba(5, 7, 9, 0.72)),
    url("../images/range-hero-photo.png") center / cover no-repeat;
  color: #fff8ee;
  box-shadow: 0 16px 42px rgba(8, 12, 16, 0.24);
}

.demo-athlete-hero {
  background:
    linear-gradient(90deg, rgba(5, 7, 9, 0.94), rgba(5, 7, 9, 0.68)),
    url("../images/clubhouse-range-photo.png") center / cover no-repeat;
}

.demo-report-hero {
  background:
    linear-gradient(90deg, rgba(5, 7, 9, 0.95), rgba(5, 7, 9, 0.7)),
    url("../images/team-report-analytics-banner.png") center / cover no-repeat;
}

.demo-screen-hero p,
.demo-report-hero p {
  margin: 0 0 0.35rem;
  color: var(--clay-300);
  font-weight: 850;
  text-transform: uppercase;
}

.demo-screen-hero h3,
.demo-report-hero h3 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1;
  font-weight: 850;
  letter-spacing: 0;
}

.demo-screen-hero span,
.demo-report-hero span {
  display: block;
  margin-top: 0.45rem;
  color: rgba(255, 247, 238, 0.88);
}

.demo-page-heading {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.demo-page-heading h3 {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2.8rem);
  font-weight: 850;
  letter-spacing: 0;
}

.demo-page-heading p {
  margin: 0.25rem 0 0;
  color: var(--muted);
}

.demo-page-heading > span {
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  background: var(--sky-800);
  color: #fff8ee;
  font-size: 0.82rem;
  font-weight: 850;
}

.demo-stat-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.demo-stat-row > div {
  padding: 1rem;
  border: 1px solid rgba(32, 24, 20, 0.1);
  border-radius: 12px;
  background: rgba(255, 253, 250, 0.96);
}

.demo-stat-row strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
}

.demo-stat-row span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 750;
}

.demo-page-card,
.demo-chart-card {
  margin-bottom: 1rem;
  padding: 1rem;
  border: 1px solid rgba(32, 24, 20, 0.12);
  border-radius: 12px;
  background: rgba(255, 253, 250, 0.97);
  box-shadow: 0 12px 30px rgba(8, 12, 16, 0.08);
}

.demo-page-card h4,
.demo-chart-card h4 {
  margin: 0 0 0.75rem;
  font-weight: 850;
}

.demo-form-grid,
.demo-filter-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.demo-filter-row {
  grid-template-columns: minmax(12rem, 1fr) 8rem 10rem auto;
  margin-bottom: 1rem;
}

.demo-page-card label {
  display: block;
  margin: 0.75rem 0 0.25rem;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 850;
}

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

.demo-table th {
  padding: 0.55rem 0.6rem;
  background: rgba(255, 246, 235, 0.78);
  color: var(--clay-900);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.demo-table td {
  padding: 0.62rem 0.6rem;
  border-bottom: 1px solid rgba(32, 24, 20, 0.1);
  vertical-align: middle;
}

.demo-table button {
  border: 0;
  background: transparent;
  color: var(--clay-700);
  font-weight: 850;
  text-decoration: underline;
}

.demo-highlight {
  background: rgba(255, 226, 139, 0.46);
}

.demo-score-table input,
.demo-score-inline {
  width: 5rem;
  padding: 0.35rem 0.45rem;
  border: 1px solid rgba(32, 24, 20, 0.16);
  border-radius: 7px;
  background: #fff;
}

.demo-chart-title {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
}

.demo-chart-title span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 750;
}

.demo-line-chart {
  min-height: 15rem;
  padding: 0.75rem;
  border-radius: 10px;
  background:
    linear-gradient(rgba(31, 51, 66, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 51, 66, 0.06) 1px, transparent 1px),
    #fff;
  background-size: 100% 3rem, 7rem 100%, auto;
}

.demo-line-chart svg {
  display: block;
  width: 100%;
  height: auto;
}

.demo-line-chart text {
  fill: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.demo-toast {
  position: sticky;
  bottom: 1rem;
  z-index: 3;
  width: fit-content;
  max-width: min(34rem, calc(100% - 2rem));
  margin: 1rem auto 0;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(66, 111, 80, 0.24);
  border-radius: 999px;
  background: rgba(240, 252, 244, 0.98);
  color: #23563c;
  font-weight: 850;
  box-shadow: 0 15px 35px rgba(8, 12, 16, 0.12);
  opacity: 0;
  transform: translateY(0.5rem);
  transition: opacity 140ms ease, transform 140ms ease;
}

.demo-toast.active {
  opacity: 1;
  transform: translateY(0);
}

.demo-sandbox-shell {
  display: grid;
  gap: 1rem;
}

.demo-sandbox-alert {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(66, 111, 80, 0.24);
  border-radius: 12px;
  background: rgba(240, 252, 244, 0.96);
  color: #23563c;
}

.demo-sandbox-alert strong {
  font-weight: 900;
}

.demo-real-nav {
  position: sticky;
  top: 0.75rem;
  z-index: 8;
  display: flex;
  gap: 0.35rem;
  align-items: center;
  overflow-x: auto;
  padding: 0.5rem;
  border: 1px solid rgba(32, 24, 20, 0.12);
  border-radius: 12px;
  background: rgba(255, 253, 250, 0.96);
  box-shadow: 0 12px 30px rgba(8, 12, 16, 0.08);
}

.demo-real-nav a {
  flex: none;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  color: var(--ink);
  font-weight: 850;
  text-decoration: none;
}

.demo-real-nav a:hover,
.demo-real-nav a:focus,
.demo-real-nav a.active {
  background: var(--clay-500);
  color: #fff8ee;
}

.demo-guide-card {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border: 1px solid rgba(32, 24, 20, 0.12);
  border-radius: 14px;
  background: #fffdf9;
  box-shadow: 0 16px 38px rgba(8, 12, 16, 0.08);
}

.demo-guide-card h2 {
  margin: 0;
  font-weight: 900;
  letter-spacing: 0;
}

.demo-guide-card p {
  max-width: 58rem;
  margin: 0.25rem 0 0;
  color: var(--muted);
}

.demo-guide-actions {
  display: flex;
  gap: 0.5rem;
  flex: none;
}

.demo-real-page {
  display: none;
}

.demo-real-page.active {
  display: block;
}

.demo-sandbox-output {
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(31, 51, 66, 0.12);
  border-radius: 10px;
  background: rgba(255, 248, 239, 0.9);
  color: var(--muted);
  font-weight: 750;
}

.demo-sandbox-score-table input {
  width: 5rem;
  padding: 0.35rem 0.45rem;
  border: 1px solid rgba(32, 24, 20, 0.16);
  border-radius: 7px;
  background: #fff;
}

.demo-sandbox-chart {
  min-height: 15rem;
  margin-top: 1rem;
  border: 1px solid rgba(32, 24, 20, 0.1);
  border-radius: 12px;
  background:
    linear-gradient(rgba(31, 51, 66, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 51, 66, 0.08) 1px, transparent 1px),
    linear-gradient(105deg, transparent 0 12%, rgba(245, 130, 32, 0.1) 12% 14%, transparent 14% 100%),
    #fff;
  background-size: 100% 3rem, 8rem 100%, auto, auto;
  position: relative;
}

.demo-sandbox-chart::before,
.demo-sandbox-chart::after {
  position: absolute;
  inset: 2rem 2rem 2.5rem;
  content: "";
  border-bottom: 5px solid var(--clay-500);
  border-right: 5px solid var(--clay-500);
  border-radius: 0 0 18px 0;
  transform: skewY(-9deg);
}

.demo-sandbox-chart::after {
  inset: 3.25rem 2rem 3.25rem;
  border-color: #2774d9;
  opacity: 0.75;
  transform: skewY(-6deg);
}

.demo-shell {
  display: grid;
  grid-template-columns: 18rem minmax(0, 1fr);
  gap: 1.2rem;
  align-items: start;
}

.demo-step-nav {
  position: sticky;
  top: 1rem;
  display: grid;
  gap: 0.55rem;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 253, 250, 0.94);
  box-shadow: var(--shadow-md);
}

.demo-step-button {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 0.7rem;
  align-items: center;
  width: 100%;
  padding: 0.75rem;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
  text-align: left;
}

.demo-step-button:hover,
.demo-step-button:focus,
.demo-step-button.active {
  border-color: rgba(224, 123, 32, 0.32);
  background: rgba(224, 123, 32, 0.1);
}

.demo-step-button span {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: var(--sky-800);
  color: #fff7ef;
  font-weight: 850;
}

.demo-step-button small,
.demo-progress span,
.demo-section-heading p,
.demo-mini-card p,
.demo-feature-list {
  color: var(--muted);
}

.demo-workspace {
  min-width: 0;
}

.demo-progress {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1rem;
  padding: 0.95rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 253, 250, 0.95);
}

.demo-progress-track {
  height: 0.55rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(23, 35, 46, 0.12);
}

.demo-progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--clay-500), var(--clay-300));
  transition: width 160ms ease;
}

.demo-step {
  display: none;
  padding: clamp(1rem, 2vw, 1.4rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 253, 250, 0.98);
  box-shadow: var(--shadow-md);
}

.demo-step.active {
  display: block;
}

.demo-section-heading {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.demo-section-heading h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  font-weight: 850;
  letter-spacing: 0;
}

.demo-section-heading p {
  margin: 0.35rem 0 0;
}

.demo-icon {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 2.4rem;
  height: 2.4rem;
  border: 2px solid rgba(255, 255, 255, 0.76);
  border-radius: 10px;
  background: var(--clay-500);
  color: #fffaf4;
  box-shadow: 0 0 0 1px rgba(224, 123, 32, 0.35), 0 10px 24px rgba(224, 123, 32, 0.28);
  font-weight: 900;
}

.demo-two-column,
.demo-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.demo-card-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.demo-panel,
.demo-simulation,
.demo-mini-card {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fffdf9;
}

.demo-panel h3,
.demo-simulation h3,
.demo-mini-card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.1rem;
  font-weight: 850;
}

.demo-feature-list {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding-left: 1.1rem;
}

.demo-simulation {
  display: grid;
  gap: 0.7rem;
  background:
    linear-gradient(135deg, rgba(255, 253, 250, 0.98), rgba(255, 246, 235, 0.98));
}

.demo-simulation label {
  margin-bottom: -0.35rem;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--muted);
}

.demo-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.demo-output {
  min-height: 4rem;
  padding: 0.85rem;
  border-left: 4px solid var(--clay-500);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  font-weight: 700;
}

.demo-controls {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  margin-top: 1rem;
}

.report-gallery-grid,
.report-gallery-strip {
  display: grid;
  gap: 0.9rem;
}

.report-gallery-grid {
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
}

.report-gallery-strip {
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
}

.report-gallery-card,
.report-gallery-photo {
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(32, 24, 20, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 0.65rem 1.5rem rgba(20, 20, 20, 0.07);
}

.report-gallery-card img,
.report-gallery-photo img {
  display: block;
  width: 100%;
  height: 10rem;
  object-fit: cover;
  background: #111820;
}

.report-gallery-card-body,
.report-gallery-photo figcaption {
  padding: 0.75rem 0.85rem;
}

.report-gallery-photo figcaption {
  font-size: 0.88rem;
  color: var(--muted);
}

.report-section--gallery {
  --report-accent: var(--clay-500);
  --section-art: url("/images/report-sections-v2/athlete-scoreboard.jpg");
}

.athlete-report-section--gallery {
  --report-accent: var(--clay-500);
}

@media (max-width: 991.98px) {
  .demo-hero,
  .demo-shell,
  .demo-app-frame,
  .demo-two-column,
  .demo-form-grid,
  .demo-filter-row,
  .demo-card-grid {
    grid-template-columns: 1fr;
  }

  .demo-step-nav {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .demo-app-sidebar {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .demo-app-brand {
    grid-column: 1 / -1;
  }

  .demo-stat-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .demo-step-nav,
  .demo-app-sidebar,
  .demo-grid-2,
  .demo-stat-row {
    grid-template-columns: 1fr;
  }

  .demo-screen-hero,
  .demo-report-hero,
  .demo-page-heading,
  .demo-tour-header,
  .demo-chart-title {
    flex-direction: column;
    align-items: flex-start;
  }
}

