/* Generated by scripts/build_css.py. Edit source CSS, then rebuild. */
/* Source: base.css */
:root {
  --yellow: #ffd429;
  --yellow-dark: #d6aa00;
  --black: #080808;
  --ink: #151515;
  --muted: #666a70;
  --line: #e7e5df;
  --surface: #ffffff;
  --surface-soft: #f6f4ef;
  --green: #147a3c;
  --red: #a72828;
  --radius: 8px;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

@media (pointer: fine) {
  body:not(.admin-body):not(.login-body) {
    cursor: url("../img/cursor-wheel.png") 16 16, auto;
  }

  body:not(.admin-body):not(.login-body) a,
  body:not(.admin-body):not(.login-body) button,
  body:not(.admin-body):not(.login-body) select,
  body:not(.admin-body):not(.login-body) summary,
  body:not(.admin-body):not(.login-body) input[type="checkbox"],
  body:not(.admin-body):not(.login-body) input[type="radio"],
  body:not(.admin-body):not(.login-body) input[type="file"] {
    cursor: url("../img/cursor-flag.png") 5 5, pointer;
  }

  body:not(.admin-body):not(.login-body) input,
  body:not(.admin-body):not(.login-body) textarea {
    cursor: text;
  }
}

.icon {
  width: 1.1em;
  height: 1.1em;
  display: inline-block;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

button,
input,
select,
textarea {
  font: inherit;
}

h1,
h2,
h3 {
  margin: 0 0 0.55em;
  font-family: "Changa One", Impact, sans-serif;
  font-weight: 400;
  line-height: 1.04;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1 {
  font-size: 4.5rem;
}

h2 {
  font-size: 2.45rem;
}

h3 {
  font-size: 1.55rem;
}

p {
  margin: 0 0 1rem;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.narrow {
  width: min(820px, calc(100% - 40px));
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 999;
  padding: 10px 14px;
  background: var(--yellow);
  color: var(--black);
  border-radius: var(--radius);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  color: var(--black);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(8, 8, 8, 0.08);
  box-shadow: 0 10px 30px rgba(8, 8, 8, 0.08);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 3px;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0 34%, rgba(255, 212, 41, 0.22) 42%, var(--yellow) 50%, rgba(255, 212, 41, 0.22) 58%, transparent 66% 100%),
    linear-gradient(90deg, rgba(8, 8, 8, 0.1), rgba(8, 8, 8, 0.2), rgba(8, 8, 8, 0.1));
  background-size: 32% 100%, 100% 100%;
  background-position: -16% 0, 0 0;
  background-repeat: no-repeat;
  box-shadow: 0 0 12px rgba(255, 212, 41, 0.38);
  animation: headerRaceLine 2.4s ease-in-out infinite alternate;
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand {
  display: inline-flex;
  padding: 6px 9px;
  background: #fff;
  border: 1px solid rgba(8, 8, 8, 0.1);
  border-radius: var(--radius);
  box-shadow: 0 8px 22px rgba(8, 8, 8, 0.08);
}

.brand img {
  width: 190px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-width: 0;
  flex: 1 1 auto;
  margin-left: auto;
}

.site-nav a,
.site-nav-social a {
  color: var(--black);
  padding: 9px 10px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.88rem;
  line-height: 1.1;
  white-space: nowrap;
  overflow-wrap: normal;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus,
.site-nav a.is-active {
  background: var(--yellow);
  color: var(--black);
}

.site-nav-social {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 6px;
  padding-left: 9px;
  border-left: 1px solid rgba(8, 8, 8, 0.12);
  flex: 0 0 auto;
}

.site-nav-social a {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  color: rgba(8, 8, 8, 0.72);
  border: 1px solid rgba(8, 8, 8, 0.1);
  background: #fff;
}

.site-nav-social a:hover,
.site-nav-social a:focus {
  color: var(--black);
  border-color: var(--yellow);
  background: var(--yellow);
}

.social-icon {
  width: 19px;
  height: 19px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(8, 8, 8, 0.18);
  background: transparent;
  border-radius: var(--radius);
  padding: 9px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--black);
}

/* Source: heroes.css */
.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--black);
  color: #fff;
}

.hero-home {
  min-height: 640px;
  display: grid;
  align-items: center;
}

.hero-slider,
.hero-slide,
.hero-slider::after {
  position: absolute;
  inset: 0;
}

.hero-slider {
  overflow: hidden;
}

.hero-slider::after {
  content: "";
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.84), rgba(0, 0, 0, 0.58) 46%, rgba(0, 0, 0, 0.22)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.44));
  z-index: 2;
}

.hero-slide {
  background: var(--hero-image) center / cover no-repeat;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 1.1s ease, transform 7s ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1.08);
}

.hero-home::after {
  content: none;
  position: absolute;
  z-index: 3;
  inset: auto 0 0;
  height: 8px;
  background: var(--yellow);
}

.hero-content {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(280px, 360px);
  gap: 42px;
  align-items: end;
  padding: 92px 0 76px;
}

.hero-copy {
  max-width: 780px;
}

.hero-lead,
.page-hero p {
  max-width: 720px;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.86);
}

.page-hero {
  --page-hero-image: url("../img/hero-real-paddock-lineup-2026.webp");
  --page-hero-position: center;
  padding: 96px 0 76px;
  background-image:
    linear-gradient(105deg, rgba(8, 8, 8, 0.9), rgba(8, 8, 8, 0.66) 54%, rgba(255, 212, 41, 0.2)),
    var(--page-hero-image);
  background-position: center, var(--page-hero-position);
  background-size: auto, cover;
  background-repeat: no-repeat;
}

.route-public-sale-rental .page-hero,
.route-public-sale-rental-submit .page-hero,
.route-members-announcement-new .page-hero,
.route-members-announcement-edit .page-hero,
.route-announcement-member-required .page-hero {
  --page-hero-image: url("../img/hero-real-dijon-pack-2026.webp");
  --page-hero-position: center 46%;
}

.route-members-dashboard .page-hero,
.route-members-login .page-hero,
.route-members-register .page-hero,
.route-members-profile .page-hero,
.route-members-onboarding .page-hero,
.route-members-forgot-password .page-hero,
.route-members-reset-password .page-hero,
.route-members-activate-account .page-hero {
  --page-hero-image: url("../img/hero-real-paddock-lineup-2026.webp");
  --page-hero-position: center 48%;
}

.route-members-race-entries-new .page-hero,
.route-members-race-entry-edit .page-hero {
  --page-hero-image: url("../img/hero-real-race-pack-2026.webp");
  --page-hero-position: center 52%;
}

.route-public-prepare-season .page-hero {
  --page-hero-image: url("../img/hero-real-race-pack-2026.webp");
  --page-hero-position: center 52%;
}

.route-members-parts-quote-new .page-hero,
.route-members-parts-quote-detail .page-hero,
.route-members-parts-quote-edit .page-hero,
.route-members-parts-quote-archives .page-hero {
  --page-hero-image: url("../img/hero-real-corner-pack-2026.webp");
  --page-hero-position: center;
}

.route-public-contact .page-hero {
  --page-hero-image: url("../img/hero-real-paddock-lineup-2026.webp");
  --page-hero-position: center 45%;
}

.route-public-infos .page-hero,
.route-public-legal .page-hero,
.route-error .page-hero {
  --page-hero-image: url("../img/hero-real-track-duel-2026.webp");
  --page-hero-position: center;
}

.route-public-merch .page-hero {
  --page-hero-image: url("../img/hero-real-corner-pack-2026.webp");
  --page-hero-position: center;
}

.page-hero-404 {
  min-height: min(78vh, 760px);
  display: grid;
  align-items: start;
  padding-top: clamp(42px, 7vh, 76px);
  padding-bottom: clamp(150px, 20vh, 220px);
}

.page-hero-404::before,
.page-hero-video {
  position: absolute;
  inset: 0;
}

.page-hero-404::before {
  content: "";
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(102deg, rgba(0, 19, 38, 0.68), rgba(0, 19, 38, 0.42) 32%, rgba(0, 80, 179, 0.16) 58%, rgba(255, 75, 75, 0.05)),
    linear-gradient(180deg, rgba(0, 19, 38, 0.04), rgba(0, 19, 38, 0.24));
}

.page-hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
}

.page-hero-404 > .container {
  max-width: 820px;
  margin-left: max(20px, calc((100vw - 1160px) / 2));
}

.error-return {
  padding: 18px 0 22px;
  background: #001326;
  border-top: 3px solid #ffd700;
}

.error-return .container {
  display: flex;
  justify-content: flex-start;
}

.page-hero::after {
  content: none;
  position: absolute;
  inset: auto 0 0;
  height: 8px;
  background: var(--yellow);
  z-index: 3;
}

.page-hero > .container {
  position: relative;
  z-index: 4;
  isolation: isolate;
}

.hero-content,
.challenge-hero-content,
.result-hero-grid,
.page-hero > .container {
  isolation: isolate;
}

.hero-content::before,
.challenge-hero-content::before,
.result-hero-grid::before,
.page-hero > .container::before {
  content: none;
}

.hero-copy h1,
.challenge-hero-content h1,
.result-hero-copy h1,
.page-hero h1 {
  text-shadow: 0 14px 42px rgba(0, 0, 0, 0.34);
}

.challenge-hero {
  min-height: 560px;
  display: grid;
  align-items: center;
  padding: 0;
  background: #111;
}

.challenge-hero::before,
.challenge-hero::after,
.challenge-hero-media,
.challenge-hero-slide {
  position: absolute;
  inset: 0;
}

.challenge-hero::before {
  content: "";
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(8, 8, 8, 0.72), rgba(8, 8, 8, 0.42) 48%, rgba(255, 212, 41, 0.2)),
    linear-gradient(180deg, rgba(8, 8, 8, 0.16), rgba(8, 8, 8, 0.6));
}

.challenge-hero::after {
  content: none;
  z-index: 3;
  top: auto;
  height: 8px;
  background: var(--yellow);
}

.challenge-hero-media {
  overflow: hidden;
}

.challenge-hero-slide {
  background: var(--hero-image) center / cover no-repeat;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 1.1s ease, transform 7s ease;
}

.challenge-hero-slide.is-active {
  opacity: 1;
  transform: scale(1.08);
}

.challenge-hero-content {
  position: relative;
  z-index: 4;
  padding: 96px 0 76px;
}

.challenge-hero-content h1 {
  max-width: 940px;
}

.challenge-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 840px;
  margin-top: 34px;
}

.challenge-hero-stats span {
  min-height: 102px;
  padding: 18px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  color: var(--black);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.14);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.challenge-hero-stats .stat-icon {
  width: 28px;
  height: 28px;
  margin-bottom: 12px;
  color: var(--yellow-dark);
}

.challenge-hero-stats span:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.2);
}

.challenge-hero-stats span:hover .stat-icon {
  animation: iconKick 0.42s ease;
}

.challenge-hero-stats strong,
.challenge-hero-stats small {
  display: block;
}

.challenge-hero-stats strong {
  font-family: "Changa One", Impact, sans-serif;
  font-size: 2.15rem;
  line-height: 1;
}

.challenge-hero-stats small {
  margin-top: 8px;
  color: var(--muted);
  font-weight: 900;
  text-transform: uppercase;
}

.result-hero {
  min-height: 540px;
  display: grid;
  align-items: center;
  padding: 0;
  background: #121212;
}

.result-hero::before,
.result-hero::after,
.result-hero-media {
  position: absolute;
  inset: 0;
}

.result-hero::before {
  content: "";
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(8, 8, 8, 0.78), rgba(8, 8, 8, 0.38) 55%, rgba(255, 212, 41, 0.24)),
    linear-gradient(180deg, rgba(8, 8, 8, 0.08), rgba(8, 8, 8, 0.64));
}

.result-hero::after {
  content: none;
  z-index: 3;
  top: auto;
  height: 8px;
  background: var(--yellow);
}

.result-hero-media {
  background: url("../img/hero-real-dijon-pack-2026.webp") center / cover no-repeat;
  transform: scale(1.02);
  animation: heroPhotoZoom 14s ease-in-out infinite alternate;
}

.result-hero-grid {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.75fr);
  gap: 54px;
  align-items: center;
  padding: 92px 0 72px;
}

.result-hero-copy h1 {
  max-width: 760px;
}

.result-visual {
  position: relative;
  display: grid;
  gap: 16px;
  justify-items: end;
}

.result-board-stack {
  position: relative;
  width: min(100%, 460px);
}

.result-board {
  width: 100%;
  padding: 18px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  color: var(--black);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.26);
  opacity: 0;
  visibility: hidden;
  position: absolute;
  inset: 0;
  pointer-events: none;
  transform: translateY(12px) rotate(-1deg) scale(0.98);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.result-board.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) rotate(-1deg) scale(1);
  animation: resultFloat 5s ease-in-out infinite;
}

.result-board-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  padding: 4px 2px 14px;
  border-bottom: 2px solid var(--black);
  font-weight: 900;
  text-transform: uppercase;
}

.result-board-head strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 62px;
  min-height: 36px;
  border-radius: var(--radius);
  background: var(--yellow);
}

.result-row {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 12px;
  align-items: center;
  margin-top: 10px;
  padding: 12px;
  border-radius: var(--radius);
  background: var(--surface-soft);
  transform-origin: left center;
  animation: resultRowIn 0.7s ease both;
}

.result-row:nth-child(3) {
  animation-delay: 0.12s;
}

.result-row:nth-child(4) {
  animation-delay: 0.24s;
}

.result-row span {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--black);
  color: #fff;
  font-weight: 900;
}

.result-row.is-first span {
  background: var(--yellow);
  color: var(--black);
}

.result-row strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.result-row em {
  color: var(--red);
  font-style: normal;
  font-weight: 900;
}

.result-progress {
  height: 8px;
  margin-top: 14px;
  overflow: hidden;
  border-radius: 999px;
  background: #dedbd0;
}

.result-progress span {
  display: block;
  width: 68%;
  height: 100%;
  border-radius: inherit;
  background: var(--yellow);
  animation: resultProgress 2.4s ease-in-out infinite alternate;
}

.result-badge {
  width: min(100%, 310px);
  padding: 16px 18px;
  border-radius: var(--radius);
  background: var(--yellow);
  color: var(--black);
  box-shadow: 0 18px 42px rgba(255, 212, 41, 0.24);
  animation: resultBadge 4.8s ease-in-out infinite;
}

.result-badge strong,
.result-badge span {
  display: block;
}

.result-badge span {
  color: rgba(8, 8, 8, 0.68);
  font-weight: 800;
}

/* Source: ui.css */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--yellow);
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 4px;
  background: currentColor;
  border-radius: 999px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
  min-height: 44px;
  padding: 11px 18px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn::after {
  content: "";
  position: absolute;
  inset: -30% auto -30% -44%;
  width: 38%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  transform: skewX(-18deg) translateX(0);
  transition: transform 0.45s ease;
}

.btn:hover::after,
.btn:focus::after {
  transform: skewX(-18deg) translateX(380%);
}

.btn-icon {
  width: 1.05rem;
  height: 1.05rem;
}

.btn-illustrated {
  gap: 10px;
  padding-left: 12px;
}

.btn-graphic {
  position: relative;
  z-index: 1;
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  transition: transform 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.btn-graphic .icon {
  width: 18px;
  height: 18px;
}

.btn-primary .btn-graphic {
  background: var(--black);
  color: #fff;
}

.btn-secondary .btn-graphic {
  background: var(--yellow);
  color: var(--black);
}

.btn-illustrated span:last-child {
  position: relative;
  z-index: 1;
}

.btn-illustrated:hover .btn-graphic,
.btn-illustrated:focus .btn-graphic {
  transform: translateX(2px) rotate(-6deg) scale(1.08);
}

.btn:hover,
.btn:focus {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--yellow);
  color: var(--black);
  box-shadow: 0 10px 26px rgba(255, 212, 41, 0.22);
}

.btn-secondary {
  background: #fff;
  color: var(--black);
  border-color: var(--line);
}

.btn.full {
  width: 100%;
}

.hero-actions,
.section-actions,
.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 26px;
}

.hero-offer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.hero-offer-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 82px;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-left: 5px solid var(--yellow);
  border-radius: var(--radius);
  background: rgba(8, 8, 8, 0.58);
  color: #fff;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(10px);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.hero-offer-card:hover,
.hero-offer-card:focus {
  transform: translateY(-2px);
  border-color: rgba(255, 212, 41, 0.9);
  background: rgba(8, 8, 8, 0.76);
}

.hero-offer-icon {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius);
  background: var(--yellow);
  color: var(--black);
}

.hero-offer-icon .icon {
  width: 20px;
  height: 20px;
}

.hero-offer-card strong,
.hero-offer-card small {
  display: block;
  line-height: 1.18;
}

.hero-offer-card strong {
  font-weight: 900;
}

.hero-offer-card small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

.race-countdown {
  align-self: end;
  position: relative;
  overflow: hidden;
  padding: 24px;
  border: 1px solid rgba(255, 212, 41, 0.42);
  border-radius: var(--radius);
  background: rgba(8, 8, 8, 0.72);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
}

.race-countdown::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 0 58%, rgba(255, 212, 41, 0.12) 58% 70%, transparent 70%);
}

.race-countdown h2 {
  margin-bottom: 6px;
  font-size: 2rem;
}

.countdown-kicker,
.countdown-date {
  margin: 0 0 12px;
  font-weight: 900;
}

.countdown-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--yellow);
  text-transform: uppercase;
}

.countdown-icon {
  width: 1rem;
  height: 1rem;
}

.countdown-date {
  color: rgba(255, 255, 255, 0.82);
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 18px 0 16px;
}

.countdown-grid span {
  min-width: 0;
  display: grid;
  place-items: center;
  padding: 12px 8px;
  border-radius: var(--radius);
  background: #fff;
  color: var(--black);
}

.countdown-grid strong,
.countdown-grid small {
  display: block;
}

.countdown-grid strong {
  font-size: 1.45rem;
  line-height: 1;
}

.countdown-grid small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.race-countdown .countdown-link {
  color: #fff;
}

.section {
  padding: 86px 0;
}

.section-tight {
  padding: 48px 0;
}

.section-muted {
  background:
    linear-gradient(135deg, rgba(255, 212, 41, 0.08), transparent 32%),
    linear-gradient(315deg, rgba(8, 8, 8, 0.035), transparent 28%),
    var(--surface-soft);
}

.section-dark {
  background: var(--black);
  color: #fff;
}

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

.section-heading h2 {
  max-width: 920px;
}

.feature-grid,
.format-grid,
.competitor-cta-grid,
.toolbox-grid,
.sponsors-grid,
.announcement-grid,
.info-grid,
.prose-grid {
  display: grid;
  gap: 22px;
}

.feature-grid,
.format-grid,
.prose-grid {
  grid-template-columns: repeat(3, 1fr);
}

.format-grid,
.competitor-cta-grid,
.prose-grid {
  grid-template-columns: repeat(2, 1fr);
}

.competitor-cta {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  min-height: 260px;
  padding: 28px;
  border: 1px solid rgba(8, 8, 8, 0.12);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.08);
}

.competitor-cta h2 {
  margin-bottom: 10px;
  font-size: 2.05rem;
  line-height: 1.02;
}

.competitor-cta p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.45;
}

.competitor-cta-icon {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: var(--radius);
  background: var(--black);
  color: var(--yellow);
}

.competitor-cta-icon .icon {
  width: 27px;
  height: 27px;
}

.competitor-cta > .btn,
.competitor-cta-actions {
  grid-column: 1 / -1;
  align-self: end;
  margin-top: 4px;
}

.competitor-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.feature-card,
.format-card,
.rich-panel,
.announcement-card,
.contact-card,
.info-block,
.toolbox-item,
.sponsor-card,
.empty-state {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.feature-card,
.format-card,
.rich-panel,
.announcement-card,
.contact-card,
.info-block,
.toolbox-item,
.sponsor-card,
.result-highlight,
.spec-item {
  position: relative;
}

.feature-card,
.format-card,
.rich-panel,
.announcement-card,
.contact-card,
.info-block,
.toolbox-item,
.sponsor-card,
.result-highlight {
  overflow: hidden;
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.feature-card::before,
.format-card::before,
.rich-panel::before,
.announcement-card::before,
.contact-card::before,
.info-block::before,
.toolbox-item::before,
.sponsor-card::before,
.result-highlight::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(112deg, transparent 0 62%, rgba(255, 212, 41, 0.14) 62% 69%, transparent 69%);
  opacity: 0;
  transform: translateX(-18px);
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.feature-card:hover,
.format-card:hover,
.rich-panel:hover,
.announcement-card:hover,
.contact-card:hover,
.info-block:hover,
.toolbox-item:hover,
.sponsor-card:hover,
.result-highlight:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 212, 41, 0.85);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.11);
}

.feature-card:hover::before,
.format-card:hover::before,
.rich-panel:hover::before,
.announcement-card:hover::before,
.contact-card:hover::before,
.info-block:hover::before,
.toolbox-item:hover::before,
.sponsor-card:hover::before,
.result-highlight:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.feature-card {
  min-height: 210px;
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--black);
  color: var(--yellow);
  font-weight: 900;
  box-shadow: 0 14px 30px rgba(8, 8, 8, 0.14);
  transition: transform 0.24s ease, background 0.24s ease, color 0.24s ease;
}

.feature-card:hover .feature-icon {
  transform: rotate(-6deg) scale(1.08);
  background: var(--yellow);
  color: var(--black);
}

.feature-svg {
  width: 24px;
  height: 24px;
}

.split-section {
  overflow: hidden;
}

.split-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: center;
}

.split-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.split-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  background: var(--black);
  box-shadow: var(--shadow);
}

.split-slider-stage,
.split-slide {
  position: absolute;
  inset: 0;
}

.split-slide {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.025);
  transition: opacity 0.55s ease, transform 1.8s ease;
}

.split-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.media-slider-controls {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  pointer-events: none;
}

.media-slider-btn,
.media-slider-dot {
  pointer-events: auto;
}

.media-slider-btn {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  background: rgba(8, 8, 8, 0.62);
  color: #fff;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(10px);
}

.media-slider-btn:hover,
.media-slider-btn:focus {
  background: var(--yellow);
  color: var(--black);
  border-color: var(--yellow);
}

.media-slider-prev .media-slider-icon {
  transform: rotate(180deg);
}

.media-slider-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(8, 8, 8, 0.54);
  backdrop-filter: blur(10px);
}

.media-slider-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
}

.media-slider-dot.is-active {
  width: 22px;
  border-radius: 999px;
  border-color: var(--yellow);
  background: var(--yellow);
}

.text-link,
.doc-link,
.footer-bottom a,
.footer-social {
  color: var(--black);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--yellow);
  text-underline-offset: 4px;
}

.link-with-icon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.link-icon {
  width: 0.95rem;
  height: 0.95rem;
  transition: transform 0.2s ease;
}

.link-with-icon:hover .link-icon,
.link-with-icon:focus .link-icon {
  transform: translateX(3px);
}

.section-dark .text-link,
.section-dark .doc-link {
  color: #fff;
}

/* Source: calendar-tools.css */
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.calendar-item {
  min-height: 128px;
  padding: 20px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.calendar-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.calendar-icon {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--black);
  color: var(--yellow);
  transition: transform 0.24s ease, background 0.24s ease, color 0.24s ease;
}

.calendar-icon .icon {
  width: 18px;
  height: 18px;
}

.calendar-item:hover,
.calendar-item:focus {
  transform: translateY(-4px);
  border-color: var(--yellow);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.1);
}

.calendar-item:hover .calendar-icon,
.calendar-item:focus .calendar-icon {
  transform: rotate(-8deg) scale(1.06);
  background: var(--yellow);
  color: var(--black);
}

.calendar-item.is-past {
  position: relative;
  opacity: 0.58;
  background: #ebe9e2;
}

.calendar-status {
  width: max-content;
  margin-top: 12px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--black);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.calendar-track {
  font-family: "Changa One", Impact, sans-serif;
  font-size: 1.9rem;
  line-height: 1;
  text-transform: uppercase;
}

.calendar-date {
  color: var(--muted);
  font-weight: 800;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 26px;
}

.spec-item {
  padding: 18px;
  border-radius: var(--radius);
  background: var(--surface-soft);
  border-left: 5px solid var(--yellow);
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 2px 14px;
  align-items: center;
  transition: transform 0.2s ease, background 0.2s ease;
}

.spec-item:hover {
  transform: translateX(4px);
  background: #fff;
}

.spec-icon {
  grid-row: span 2;
  justify-self: center;
  align-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 10px 22px rgba(255, 212, 41, 0.2);
}

.spec-icon img {
  display: block;
  width: 24px;
  height: 24px;
  max-width: none;
  object-fit: contain;
  object-position: center;
}

.spec-item:nth-child(2) .spec-icon img {
  width: 23px;
  height: 23px;
  transform: translate(0, 1px);
}

.spec-item strong,
.spec-item > span:not(.spec-icon) {
  display: block;
}

.spec-item strong {
  font-size: 1.1rem;
}

.spec-item > span:not(.spec-icon) {
  color: var(--muted);
  font-weight: 700;
}

.toolbox-grid {
  grid-template-columns: repeat(3, 1fr);
}

.toolbox-item {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.toolbox-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.toolbox-icon {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface-soft);
  color: var(--black);
}

.toolbox-icon .icon {
  width: 20px;
  height: 20px;
}

.toolbox-item:hover,
.toolbox-item:focus {
  transform: translateY(-3px);
  border-color: var(--yellow);
}

.doc-kind {
  width: max-content;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--black);
  font-size: 0.76rem;
  font-weight: 900;
}

/* Source: announcements.css */
.announcement-grid {
  grid-template-columns: repeat(3, 1fr);
}

.announcement-card {
  padding: 0;
  overflow: hidden;
}

.announcement-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--surface-soft);
  overflow: hidden;
}

.announcement-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 212, 41, 0.2), transparent 36%, rgba(8, 8, 8, 0.16));
  opacity: 0;
  transition: opacity 0.25s ease;
}

.announcement-card:hover .announcement-media::after {
  opacity: 1;
}

.announcement-slides,
.announcement-slide {
  position: absolute;
  inset: 0;
}

.announcement-slide {
  opacity: 0;
  transition: opacity 0.35s ease, transform 0.45s ease;
  transform: scale(1.03);
  pointer-events: none;
}

.announcement-slide.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.announcement-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(8, 8, 8, 0.72);
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 0.2s ease, transform 0.2s ease;
}

.carousel-arrow:hover,
.carousel-arrow:focus {
  background: var(--yellow);
  color: var(--black);
  transform: translateY(-50%) scale(1.06);
}

.carousel-prev {
  left: 12px;
}

.carousel-next {
  right: 12px;
}

.carousel-dots {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  display: flex;
  gap: 6px;
}

.carousel-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
}

.carousel-dots button.is-active {
  width: 24px;
  border-radius: 999px;
  background: var(--yellow);
}

.carousel-counter {
  position: absolute;
  right: 14px;
  bottom: 10px;
  z-index: 2;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(8, 8, 8, 0.72);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
}

.announcement-body {
  padding: 22px;
}

.announcement-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  font-weight: 900;
  color: var(--muted);
}

.announcement-type,
.contact-line {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.announcement-type .icon,
.contact-line .icon {
  width: 1rem;
  height: 1rem;
  color: var(--yellow-dark);
}

.status {
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.78rem;
}

.status-disponible {
  background: #dff4e7;
  color: var(--green);
}

.status-vendu,
.status-loue {
  background: #f9e1e1;
  color: var(--red);
}

.price {
  color: var(--yellow-dark);
  font-weight: 900;
  font-size: 1.1rem;
}

.contact-line {
  margin: 18px 0 0;
  font-weight: 800;
}

.contact-line-locked a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--yellow-dark);
  text-underline-offset: 3px;
}

.rich-text ul {
  padding-left: 1.2rem;
}

.rich-text.compact {
  max-height: 230px;
  overflow: auto;
}

.info-grid {
  grid-template-columns: repeat(2, 1fr);
}

.info-stack {
  display: grid;
  gap: 20px;
}

.info-block {
  color: var(--ink);
}

/* Source: results-sponsors.css */
.results-focus {
  background:
    linear-gradient(180deg, #fff 0, #fff 58%, var(--surface-soft) 58%, var(--surface-soft) 100%);
}

.result-highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.result-highlight {
  min-height: 118px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.result-highlight-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--black);
  box-shadow: 0 10px 22px rgba(255, 212, 41, 0.2);
}

.result-highlight-icon .icon {
  display: block;
  width: 22px;
  height: 22px;
}

.result-highlight:hover {
  transform: translateY(-3px);
  border-color: var(--yellow);
}

.result-highlight strong,
.result-highlight > span:not(.result-highlight-icon) {
  display: block;
}

.result-highlight strong {
  margin-bottom: 8px;
  font-family: "Changa One", Impact, sans-serif;
  font-size: 1.45rem;
  line-height: 1;
  text-transform: uppercase;
}

.result-highlight > span:not(.result-highlight-icon) {
  color: var(--muted);
  font-weight: 700;
}

.sheet-frame {
  overflow: hidden;
  min-height: 680px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.sheet-frame iframe {
  display: block;
  width: 100%;
  height: 78vh;
  min-height: 680px;
  border: 0;
}

.result-category-stack {
  display: grid;
  gap: 30px;
  min-width: 0;
}

.result-category {
  min-width: 0;
  scroll-margin-top: 110px;
}

.section-heading.compact {
  margin-bottom: 18px;
}

.section-heading.compact h2 {
  font-size: 2.05rem;
}

.result-table-wrap {
  overflow-x: auto;
  max-width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.result-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.result-table th,
.result-table td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  text-align: center;
  white-space: nowrap;
}

.result-table th:nth-child(2),
.result-table td:nth-child(2) {
  min-width: 220px;
  text-align: left;
}

.result-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--black);
  color: #fff;
  font-family: "Changa One", Impact, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  text-transform: uppercase;
}

.result-table tbody tr:nth-child(even) {
  background: var(--surface-soft);
}

.result-table tbody tr:hover {
  background: rgba(255, 212, 41, 0.16);
}

.result-table td:first-child,
.result-table td:last-child {
  font-weight: 900;
}

.info-image {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 18px;
}

.sponsors-grid {
  grid-template-columns: repeat(3, 1fr);
}

.sponsor-card {
  min-height: 160px;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
}

.sponsor-card img {
  max-height: 92px;
  max-width: 86%;
  object-fit: contain;
}

.sponsor-featured {
  border-color: var(--yellow);
  box-shadow: 0 18px 46px rgba(255, 212, 41, 0.22);
}

@keyframes speedSweep {
  from {
    background-position: 0 0, 0 0;
    transform: translateX(0) skewX(-16deg);
  }
  to {
    background-position: 180px 0, 0 0;
    transform: translateX(24px) skewX(-16deg);
  }
}

@keyframes iconKick {
  0%,
  100% {
    transform: rotate(0) scale(1);
  }
  45% {
    transform: rotate(-8deg) scale(1.12);
  }
}

@keyframes heroSlide {
  0% {
    opacity: 0;
    transform: scale(1);
  }
  7%,
  33% {
    opacity: 1;
  }
  42%,
  100% {
    opacity: 0;
    transform: scale(1.1);
  }
}

@keyframes headerRaceLine {
  from {
    background-position: -16% 0, 0 0;
  }
  to {
    background-position: 84% 0, 0 0;
  }
}

@keyframes heroPhotoZoom {
  from {
    transform: scale(1.02);
  }
  to {
    transform: scale(1.1);
  }
}

@keyframes resultFloat {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }
  50% {
    transform: translateY(-10px) rotate(1deg);
  }
}

@keyframes resultRowIn {
  from {
    opacity: 0;
    transform: translateX(18px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes resultProgress {
  from {
    width: 54%;
  }
  to {
    width: 86%;
  }
}

@keyframes resultBadge {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(8px);
  }
}

@media (max-width: 720px) {
  .result-table-wrap { overflow: visible; }
  .result-table { min-width: 0; border: 0; background: transparent; }
  .result-table thead { display: none; }
  .result-table,
  .result-table tbody,
  .result-table tr,
  .result-table td { display: block; width: 100%; }
  .result-table tbody { display: grid; gap: .85rem; }
  .result-table tbody tr { display: grid; box-sizing: border-box; width: auto; max-width: 100%; padding: .65rem .9rem; border: 1px solid rgba(0, 19, 38, .14); border-radius: .75rem; background: #fff; box-shadow: 0 8px 24px rgba(0, 19, 38, .07); }
  .result-table tbody tr:nth-child(even) { background: #fff; }
  .result-table td { display: grid; grid-template-columns: minmax(7.5rem, 42%) 1fr; gap: .75rem; align-items: baseline; padding: .48rem 0; border: 0; border-bottom: 1px solid rgba(0, 19, 38, .08); text-align: right; }
  .result-table td:last-child { border-bottom: 0; }
  .result-table td::before { content: attr(data-label); color: var(--text-muted); font-size: .78rem; font-weight: 800; letter-spacing: .035em; text-align: left; text-transform: uppercase; }
}

/* Source: forms.css */
.filters,
.contact-form,
.admin-form {
  display: grid;
  gap: 18px;
}

.filters {
  grid-template-columns: 1fr 1fr auto auto;
  align-items: end;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

label {
  display: grid;
  gap: 6px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #d8d6cf;
  border-radius: var(--radius);
  background: #fff;
  padding: 12px 13px;
  color: var(--ink);
}

textarea {
  min-height: 130px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(255, 212, 41, 0.35);
  border-color: var(--yellow-dark);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 36px;
  align-items: start;
}

.sale-submit-grid {
  display: grid;
  grid-template-columns: 0.62fr 1.38fr;
  gap: 34px;
  align-items: start;
}

.auth-grid,
.member-dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.member-dashboard-grid {
  grid-template-columns: repeat(3, 1fr);
}

.member-dashboard-card {
  display: grid;
  gap: 12px;
  color: inherit;
}

.member-dashboard-card h2,
.member-dashboard-card p {
  margin-bottom: 0;
}

.dashboard-card-action {
  align-self: end;
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  margin-top: 8px;
  padding: 6px 10px;
  border-radius: var(--radius);
  background: var(--yellow);
  color: var(--black);
  font-weight: 900;
}

.dashboard-card-actions {
  align-self: end;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.dashboard-card-actions .dashboard-card-action {
  margin-top: 0;
}

.dashboard-card-action-secondary {
  border: 1px solid var(--line);
  background: #fff;
}

.member-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: stretch;
}

.member-priority-section {
  padding-top: 22px;
  padding-bottom: 26px;
}

.member-priority-head {
  margin-bottom: 18px;
}

.member-priority-head h2 {
  margin-bottom: 0;
}

.member-priority-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.member-priority-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  min-height: 132px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.member-priority-card strong,
.member-priority-card small,
.member-priority-card em {
  display: block;
}

.member-priority-card small {
  color: var(--muted);
  font-weight: 700;
  line-height: 1.35;
}

.member-priority-card em {
  grid-column: 1 / -1;
  margin-top: auto;
  color: var(--black);
  font-style: normal;
  font-weight: 900;
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.member-priority-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--black);
}

.member-priority-icon .icon {
  width: 22px;
  height: 22px;
}

.member-priority-card.task-primary .member-priority-icon {
  background: var(--black);
  color: var(--yellow);
}

.member-priority-card.task-success {
  border-color: #bce4c9;
}

.member-priority-card.task-success .member-priority-icon {
  background: var(--green);
  color: #fff;
}

.member-priority-card.task-warning {
  border-color: rgba(214, 170, 0, 0.5);
}

.member-priority-card.is-done {
  background: var(--surface-soft);
}

.member-status {
  display: inline-flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  margin-left: 6px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
  vertical-align: middle;
}

.member-status-nouveau,
.member-status-a_traiter,
.member-status-pending,
.member-status-attente_passeport {
  background: var(--yellow);
  color: var(--black);
}

.member-status-valide,
.member-status-repondu,
.member-status-validated {
  background: #effaf3;
  color: var(--green);
}

.member-status-annule,
.member-status-archive,
.member-status-rejected {
  background: #f0eeee;
  color: var(--muted);
}

.member-status-retour_membre {
  background: #eef3ff;
  color: #264d9b;
}

.member-list {
  display: grid;
  gap: 12px;
}

.member-list-item,
.quote-answer {
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.member-list-item-actions {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
}

.member-item-link,
.member-empty-link {
  display: grid;
  gap: 4px;
  min-width: 0;
  color: inherit;
}

.member-item-link:hover,
.member-item-link:focus,
.member-empty-link:hover,
.member-empty-link:focus {
  color: var(--yellow-dark);
}

.member-inline-action {
  width: max-content;
  border: 0;
  background: transparent;
  color: var(--red);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.member-inline-action:hover,
.member-inline-action:focus {
  text-decoration: underline;
  text-decoration-color: var(--yellow);
}

.member-renew-action {
  color: var(--green);
}

.member-cancel-form {
  display: flex;
  justify-content: flex-end;
  margin-top: 14px;
}

.quote-answer {
  margin-top: 6px;
  background: #fff;
}

.quote-price {
  color: var(--green);
}

.quote-member-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.quote-price-box {
  display: grid;
  gap: 4px;
  padding: 18px;
  border: 1px solid #bce4c9;
  border-radius: var(--radius);
  background: #effaf3;
  color: var(--green);
}

.quote-price-box span {
  font-weight: 800;
}

.quote-price-box strong {
  font-size: 1.5rem;
}

.quote-price-total,
.quote-member-reply,
.member-offer-form {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.quote-price-total {
  color: var(--green);
}

.quote-price-total span {
  font-weight: 800;
}

.quote-price-total strong {
  font-size: 1.35rem;
}

.quote-member-reply h3 {
  margin-bottom: 0;
}

.contact-cards {
  display: grid;
  gap: 16px;
}

.contact-card a {
  display: block;
  font-weight: 800;
}

.contact-icon,
.panel-icon,
.format-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--black);
  box-shadow: 0 12px 30px rgba(255, 212, 41, 0.22);
}

.contact-icon .icon,
.panel-icon .icon,
.format-icon .icon {
  width: 24px;
  height: 24px;
}

.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.form-grid-two,
.form-grid-three {
  display: grid;
  gap: 16px;
}

.form-grid-two {
  grid-template-columns: repeat(2, 1fr);
}

.form-grid-three {
  grid-template-columns: repeat(3, 1fr);
}

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

.form-fieldset {
  display: grid;
  gap: 14px;
  min-width: 0;
  margin: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.form-fieldset > * {
  min-width: 0;
}

.form-fieldset legend {
  padding: 0 8px;
  font-weight: 900;
}

.form-fieldset legend small {
  margin-left: 6px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.form-fieldset[hidden] {
  display: none;
}

.reuse-driver-line {
  padding: 12px;
  border: 1px solid rgba(255, 212, 41, 0.5);
  border-radius: var(--radius);
  background: #fff8d7;
}

.form-fieldset.is-driver-reused .form-grid-two,
.form-fieldset.is-driver-reused .form-grid-three {
  opacity: 0.45;
}

.form-fieldset.is-driver-reused input:disabled,
.form-fieldset.is-driver-reused select:disabled {
  background: #edeae2;
  color: var(--muted);
}

.license-options {
  display: grid;
  gap: 8px;
}

.license-options .checkbox-line {
  min-height: 0;
  padding: 8px 10px;
}

.choice-grid,
.event-choice-grid {
  display: grid;
  gap: 10px;
}

.choice-grid {
  grid-template-columns: repeat(2, 1fr);
}

.race-entry-stepper {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  min-width: 0;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.race-entry-stepper button {
  min-width: 0;
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: transparent;
  color: var(--muted);
  font-weight: 900;
  line-height: 1.15;
  overflow-wrap: anywhere;
  text-align: center;
  cursor: pointer;
}

.race-entry-stepper button.is-active {
  border-color: rgba(214, 170, 0, 0.45);
  background: var(--yellow);
  color: var(--black);
}

.race-entry-step-panel {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.race-entry-form.is-stepped .race-entry-step-panel:not(.is-active) {
  display: none;
}

.race-entry-step-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 4px;
}

.race-entry-form .admin-table-wrapper {
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
}

.race-entry-form .admin-table {
  min-width: 680px;
}

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

.choice-card {
  position: relative;
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  cursor: pointer;
}

.choice-card input {
  width: auto;
}

.choice-card-radio {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
  cursor: pointer;
}

.choice-card-content,
.choice-card span {
  display: grid;
  gap: 2px;
}

.choice-card-content {
  min-width: 0;
  flex: 1;
}

.choice-card-title-row {
  display: flex !important;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.choice-card-title-row strong {
  min-width: 0;
}

.choice-card.is-disabled {
  opacity: 0.58;
  cursor: not-allowed;
}

.choice-card.is-disabled input {
  cursor: not-allowed;
}

.event-choice-grid .choice-card.is-locked {
  cursor: default;
  opacity: 0.72;
  transform: none;
  box-shadow: none;
}

.event-choice-grid .choice-card.is-locked input {
  cursor: not-allowed;
}

.championship-tooltip {
  position: relative;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface-soft);
  color: var(--muted);
  font: inherit;
  cursor: help;
}

.championship-tooltip .icon {
  width: 15px;
  height: 15px;
}

.championship-tooltip-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 20;
  display: grid !important;
  width: min(280px, calc(100vw - 48px));
  gap: 6px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: var(--black);
  color: #fff;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.35;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
  visibility: hidden;
}

.championship-tooltip:hover .championship-tooltip-panel,
.championship-tooltip:focus .championship-tooltip-panel,
.championship-tooltip:focus-within .championship-tooltip-panel {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.championship-tooltip-panel strong {
  color: var(--yellow);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.championship-tooltip-line {
  color: #fff;
}

.mandatory-parts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.mandatory-parts label {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.mandatory-parts span {
  color: var(--muted);
  font-weight: 700;
}

.parts-list {
  display: grid;
  gap: 8px;
}

.parts-quote-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.parts-category {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.parts-category h2,
.parts-quote-summary h2 {
  margin: 0;
  font-size: 1.15rem;
}

.part-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 90px minmax(160px, 0.45fr);
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.part-row.is-selected {
  border-color: rgba(255, 212, 41, 0.85);
  background: #fff8d7;
}

.part-row-main {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.part-row-price {
  color: var(--green);
  font-size: 0.9rem;
  font-weight: 800;
}

.part-row-note {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.35;
}

.part-row input:disabled {
  background: #edeae2;
  color: var(--muted);
}

.parts-quote-summary {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.parts-quote-summary ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  font-weight: 700;
}

.photo-uploader {
  display: grid;
  gap: 12px;
}

.photo-uploader-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  font-weight: 900;
}

.photo-uploader-head span {
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 0.88rem;
  white-space: nowrap;
}

.photo-slots {
  display: grid;
  gap: 10px;
}

.member-announcement-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}

.member-announcement-image {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.member-announcement-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: calc(var(--radius) - 2px);
  object-fit: cover;
}

.member-announcement-image small {
  display: flex;
  align-items: center;
  gap: 8px;
}

.js .photo-slot.is-hidden {
  display: none;
}

.photo-slot {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--yellow);
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.photo-slot.is-selected {
  background: #fff;
  border-color: rgba(255, 212, 41, 0.85);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.photo-slot label {
  display: flex;
  gap: 12px;
  align-items: center;
  min-width: 0;
  cursor: pointer;
}

.photo-slot-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--black);
  font-weight: 900;
}

.photo-slot-title,
.photo-slot-action,
.photo-filename {
  display: block;
}

.photo-slot-title {
  font-weight: 900;
}

.photo-slot-action {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  margin-top: 5px;
  color: var(--yellow-dark);
  font-weight: 900;
}

.photo-slot-icon {
  width: 18px;
  height: 18px;
}

.photo-slot input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.photo-filename {
  min-width: 0;
  color: var(--muted);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.photo-clear {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 8px 10px;
  color: var(--ink);
  font-weight: 900;
}

.photo-clear:hover {
  border-color: var(--yellow);
}

.photo-add {
  justify-self: start;
}

.form-error {
  color: var(--red);
}

.checkbox-line {
  display: flex;
  gap: 10px;
  align-items: center;
}

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

.checkbox-line input {
  width: auto;
}

.form-section-title {
  font-weight: 900;
  margin-top: 8px;
}

.regulation-link {
  color: var(--ink);
  font-weight: 900;
  text-decoration-line: underline;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--yellow);
  text-underline-offset: 3px;
}

.regulation-link:hover,
.regulation-link:focus {
  color: var(--yellow-dark);
  text-decoration-color: currentColor;
}

.honeypot {
  position: absolute;
  left: -5000px;
}

.flash-stack {
  padding-top: 18px;
  display: grid;
  gap: 10px;
}

.flash {
  padding: 12px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  font-weight: 700;
}

.flash-success {
  border-color: #bce4c9;
  background: #effaf3;
  color: var(--green);
}

.flash-error {
  border-color: #edc0c0;
  background: #fff0f0;
  color: var(--red);
}

.legal-content {
  max-width: 920px;
}

.legal-content h2 {
  margin-top: 2.4rem;
}

.legal-content a {
  text-decoration: underline;
  text-decoration-color: var(--yellow);
}

/* Source: footer.css */
.site-footer {
  background: var(--black);
  color: #fff;
  padding: 56px 0 22px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 32px;
}

.footer-logo {
  width: 210px;
  margin-bottom: 18px;
  padding: 8px;
  background: #fff;
  border-radius: var(--radius);
}

.site-footer nav {
  display: grid;
  gap: 9px;
}

.footer-title {
  font-weight: 900;
}

.footer-social,
.footer-bottom a {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.78);
}

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Source: admin.css */
.muted {
  color: var(--muted);
  font-weight: 700;
}

.is-hidden {
  display: none !important;
}

small {
  color: var(--muted);
  font-weight: 600;
}

.compact-btn {
  margin-top: 8px;
  padding: 8px 12px;
}

/* Source: soft-racing.css */
:root {
  --line: #dfe4df;
  --line-strong: #cdd5ce;
  --surface: #ffffff;
  --surface-soft: #f2f5f1;
  --surface-raised: #fbfcfa;
  --surface-pressed: #e8eee8;
  --ink-soft: #2d312f;
  --shadow: 0 18px 48px rgba(8, 8, 8, 0.12);
  --shadow-soft: 10px 10px 24px rgba(36, 43, 38, 0.11), -10px -10px 24px rgba(255, 255, 255, 0.95);
  --shadow-soft-low: 7px 7px 18px rgba(36, 43, 38, 0.08), -7px -7px 18px rgba(255, 255, 255, 0.9);
  --shadow-inset: inset 4px 4px 10px rgba(36, 43, 38, 0.12), inset -4px -4px 10px rgba(255, 255, 255, 0.88);
  --shadow-yellow: 0 12px 28px rgba(255, 212, 41, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.58);
  --focus-ring: 0 0 0 4px rgba(255, 212, 41, 0.38), 0 0 0 1px rgba(8, 8, 8, 0.28);
}

body {
  background:
    linear-gradient(180deg, #ffffff 0%, #f8faf7 38%, #eef3ef 100%) fixed;
}

body:not(.admin-body):not(.login-body) main {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(242, 245, 241, 0.82));
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 0;
  box-shadow: var(--focus-ring);
}

.site-header {
  background: rgba(251, 252, 250, 0.92);
  border-bottom-color: rgba(8, 8, 8, 0.1);
  box-shadow: 0 12px 28px rgba(8, 8, 8, 0.09), inset 0 -1px 0 rgba(255, 255, 255, 0.78);
}

.brand,
.site-nav-social a,
.site-nav a,
.nav-toggle,
.admin-nav-toggle {
  border-color: rgba(205, 213, 206, 0.9);
  background: var(--surface-raised);
  box-shadow: var(--shadow-soft-low);
}

.brand {
  padding: 7px 10px;
}

.site-nav a {
  box-shadow: none;
}

.site-nav a:hover,
.site-nav a:focus,
.site-nav a.is-active,
.site-nav-social a:hover,
.site-nav-social a:focus {
  background: var(--yellow);
  color: var(--black);
  border-color: rgba(214, 170, 0, 0.55);
  box-shadow: var(--shadow-yellow);
}

.site-nav a:active,
.site-nav-social a:active,
.nav-toggle:active {
  box-shadow: var(--shadow-inset);
  transform: translateY(1px);
}

.hero-slider::after {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.6) 44%, rgba(0, 0, 0, 0.2)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.5));
}

.page-hero {
  background-image:
    linear-gradient(105deg, rgba(8, 8, 8, 0.9), rgba(8, 8, 8, 0.64) 54%, rgba(255, 212, 41, 0.18)),
    var(--page-hero-image);
}

.eyebrow {
  color: var(--yellow);
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.18);
}

.section-muted {
  background:
    linear-gradient(135deg, rgba(255, 212, 41, 0.1), transparent 34%),
    linear-gradient(180deg, #f8faf7 0%, #eef3ef 100%);
}

.section-dark {
  background:
    linear-gradient(135deg, rgba(255, 212, 41, 0.08), transparent 30%),
    linear-gradient(180deg, #101111 0%, #050505 100%);
}

.btn,
.dashboard-card-action,
.drag-handle,
.photo-clear {
  border-color: rgba(205, 213, 206, 0.95);
  box-shadow: var(--shadow-soft-low);
}

.btn {
  min-height: 46px;
  color: var(--black);
}

.btn-primary {
  border-color: rgba(214, 170, 0, 0.55);
  background:
    linear-gradient(180deg, #ffdd43 0%, var(--yellow) 52%, #efbf10 100%);
  box-shadow: var(--shadow-yellow);
}

.btn-secondary,
.dashboard-card-action-secondary {
  background:
    linear-gradient(180deg, #ffffff 0%, var(--surface-raised) 100%);
  color: var(--black);
}

.btn:hover,
.btn:focus,
.dashboard-card-action:hover,
.dashboard-card-action:focus {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(8, 8, 8, 0.13), -7px -7px 18px rgba(255, 255, 255, 0.9);
}

.btn:active,
.dashboard-card-action:active,
.photo-clear:active,
.drag-handle:active {
  transform: translateY(1px);
  box-shadow: var(--shadow-inset);
}

.btn-graphic,
.feature-icon,
.calendar-icon,
.contact-icon,
.panel-icon,
.format-icon,
.result-highlight-icon,
.spec-icon,
.dashboard-section-icon,
.dashboard-action-icon,
.dashboard-info-icon,
.photo-slot-badge {
  box-shadow: var(--shadow-soft-low), inset 0 1px 0 rgba(255, 255, 255, 0.54);
}

.btn-primary .btn-graphic,
.feature-icon,
.calendar-icon,
.dashboard-action-icon {
  background: #111312;
  color: var(--yellow);
}

.btn-secondary .btn-graphic,
.contact-icon,
.panel-icon,
.format-icon,
.result-highlight-icon,
.spec-icon,
.dashboard-section-icon,
.dashboard-info-icon,
.photo-slot-badge {
  background:
    linear-gradient(180deg, #ffdf4b 0%, var(--yellow) 58%, #edbd0e 100%);
  color: var(--black);
}

.feature-card,
.format-card,
.rich-panel,
.announcement-card,
.contact-card,
.info-block,
.toolbox-item,
.sponsor-card,
.empty-state,
.member-priority-card,
.calendar-item,
.result-highlight,
.sheet-frame,
.contact-form,
.filters,
.race-entry-stepper,
.form-fieldset,
.parts-category,
.parts-quote-summary,
.choice-card,
.mandatory-parts label,
.member-announcement-image,
.photo-slot,
.quote-price-box,
.member-list-item,
.quote-answer,
.result-board,
.challenge-hero-stats span {
  background:
    linear-gradient(145deg, #ffffff 0%, var(--surface-raised) 100%);
  border-color: var(--line);
  box-shadow: var(--shadow-soft);
}

.feature-card,
.format-card,
.rich-panel,
.announcement-card,
.contact-card,
.info-block,
.toolbox-item,
.sponsor-card,
.result-highlight,
.member-priority-card,
.calendar-item,
.dashboard-action-card,
.dashboard-info-card,
.admin-card,
.admin-table-wrap,
.message-card,
.login-panel,
.admin-stat {
  transform: translateZ(0);
}

.feature-card::before,
.format-card::before,
.rich-panel::before,
.announcement-card::before,
.contact-card::before,
.info-block::before,
.toolbox-item::before,
.sponsor-card::before,
.result-highlight::before {
  background:
    linear-gradient(112deg, transparent 0 62%, rgba(255, 212, 41, 0.18) 62% 69%, transparent 69%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.42), transparent 42%);
}

.feature-card:hover,
.format-card:hover,
.rich-panel:hover,
.announcement-card:hover,
.contact-card:hover,
.info-block:hover,
.toolbox-item:hover,
.sponsor-card:hover,
.result-highlight:hover,
.calendar-item:hover,
.calendar-item:focus {
  border-color: rgba(214, 170, 0, 0.5);
  box-shadow: 14px 14px 32px rgba(36, 43, 38, 0.14), -10px -10px 26px rgba(255, 255, 255, 0.96);
}

.section-dark .rich-panel,
.section-dark .info-block,
.race-countdown {
  background:
    linear-gradient(145deg, rgba(28, 30, 29, 0.88), rgba(8, 8, 8, 0.72));
  border-color: rgba(255, 212, 41, 0.32);
  box-shadow: 14px 18px 38px rgba(0, 0, 0, 0.34), inset 1px 1px 0 rgba(255, 255, 255, 0.08);
}

.section-dark .info-block {
  color: #fff;
}

.section-dark .info-block .rich-text {
  color: rgba(255, 255, 255, 0.84);
}

.race-countdown::before {
  background:
    linear-gradient(115deg, transparent 0 58%, rgba(255, 212, 41, 0.15) 58% 70%, transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 45%);
}

.countdown-grid span {
  background:
    linear-gradient(145deg, #ffffff 0%, #eef2ed 100%);
  box-shadow: 5px 5px 14px rgba(0, 0, 0, 0.25), inset 1px 1px 0 rgba(255, 255, 255, 0.88);
}

.member-dashboard-card {
  min-height: 100%;
}

.member-list-item,
.quote-answer,
.part-row,
.admin-clean-list li {
  box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.82), 4px 4px 12px rgba(36, 43, 38, 0.06);
}

.member-list-item:hover,
.member-list-item:focus-within,
.choice-card:hover,
.choice-card:focus-within,
.part-row:hover,
.part-row:focus-within,
.mandatory-parts label:hover,
.mandatory-parts label:focus-within {
  border-color: rgba(214, 170, 0, 0.5);
  background: #ffffff;
}

.dashboard-card-action {
  min-height: 36px;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid rgba(214, 170, 0, 0.42);
  background:
    linear-gradient(180deg, #ffdf4b 0%, var(--yellow) 62%, #edbd0e 100%);
}

input,
select,
textarea {
  min-height: 46px;
  border-color: var(--line-strong);
  background: #fbfcfa;
  box-shadow: var(--shadow-inset);
}

textarea {
  min-height: 132px;
}

input:hover,
select:hover,
textarea:hover {
  border-color: #b9c3bb;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--yellow-dark);
  outline: 0;
  box-shadow: var(--focus-ring), var(--shadow-inset);
}

input[type="checkbox"],
input[type="radio"] {
  min-height: 0;
  accent-color: var(--yellow);
  box-shadow: none;
}

.checkbox-line,
.choice-card,
.mandatory-parts label {
  color: var(--ink-soft);
}

.checkbox-line {
  min-height: 42px;
  padding: 8px 10px;
  border-radius: var(--radius);
}

.checkbox-line:hover,
.checkbox-line:focus-within {
  background: rgba(255, 212, 41, 0.12);
}

.form-fieldset {
  background:
    linear-gradient(145deg, #f9fbf8 0%, #eef3ef 100%);
}

.reuse-driver-line,
.part-row.is-selected {
  border-color: rgba(214, 170, 0, 0.55);
  background:
    linear-gradient(145deg, #fff8d7 0%, #ffffff 100%);
}

.photo-slot {
  border-left-color: var(--yellow);
}

.photo-slot.is-selected {
  border-color: rgba(214, 170, 0, 0.58);
  background:
    linear-gradient(145deg, #ffffff 0%, #fff8d7 100%);
}

.photo-uploader-head span,
.admin-badge,
.calendar-status,
.doc-kind,
.status,
.admin-collapse > summary small {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.52);
}

.flash {
  box-shadow: var(--shadow-soft-low);
}

.flash-success,
.quote-price-box,
.quote-price-total-admin {
  background:
    linear-gradient(145deg, #effaf3 0%, #ffffff 100%);
}

.flash-error,
.admin-badge.danger {
  background:
    linear-gradient(145deg, #fff0f0 0%, #ffffff 100%);
}

.admin-body,
.login-body {
  background:
    linear-gradient(180deg, #f8faf7 0%, #eef3ef 100%) fixed;
}

.admin-shell {
  background:
    linear-gradient(90deg, rgba(8, 8, 8, 0.04), transparent 22%),
    linear-gradient(180deg, #f8faf7 0%, #eef3ef 100%);
}

.admin-sidebar {
  background:
    linear-gradient(180deg, #151716 0%, #070807 100%);
  border-right: 1px solid rgba(255, 212, 41, 0.18);
  box-shadow: 14px 0 34px rgba(8, 8, 8, 0.18), inset -1px 0 0 rgba(255, 255, 255, 0.06);
}

.admin-brand img,
.login-panel img {
  background: var(--surface-raised);
  border: 1px solid rgba(205, 213, 206, 0.88);
  box-shadow: var(--shadow-soft-low);
}

.admin-sidebar .admin-brand img {
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.admin-sidebar .btn-secondary {
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.admin-sidebar .admin-nav-toggle {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.admin-nav a {
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.88);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.admin-nav-heading {
  color: rgba(255, 212, 41, 0.78);
}

.admin-nav-section {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 13px;
}

.admin-nav-section-utility {
  border-bottom: 0;
  padding-bottom: 0;
}

.admin-nav a:hover,
.admin-nav a:focus,
.admin-nav a.is-active {
  border-color: rgba(214, 170, 0, 0.58);
  background:
    linear-gradient(180deg, #ffdf4b 0%, var(--yellow) 62%, #edbd0e 100%);
  box-shadow: var(--shadow-yellow);
}

.admin-nav a.is-active {
  color: var(--black);
}

.admin-nav-site-link {
  color: #fff;
}

.admin-card,
.admin-table-wrap,
.login-panel,
.message-card,
.admin-stat,
.dashboard-action-card,
.dashboard-info-card,
.admin-queue-item,
.admin-queue-empty,
.settings-group,
.admin-collapse,
.media-picker,
.media-picker-current,
.media-picker-panel,
.media-picker-item,
.admin-media-grid figure,
.quote-price-line,
.admin-clean-list li {
  background:
    linear-gradient(145deg, #ffffff 0%, var(--surface-raised) 100%);
  border-color: var(--line);
  box-shadow: var(--shadow-soft);
}

.admin-stat,
.dashboard-action-card,
.dashboard-info-card,
.admin-queue-item,
.admin-queue-empty,
.settings-group,
.admin-collapse,
.media-picker,
.media-picker-current,
.media-picker-item,
.admin-media-grid figure,
.quote-price-line,
.admin-clean-list li {
  box-shadow: var(--shadow-soft-low);
}

.admin-card,
.admin-table-wrap,
.login-panel,
.message-card {
  border-top: 1px solid rgba(255, 255, 255, 0.9);
}

.admin-table th {
  background: var(--surface-soft);
  color: var(--black);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.admin-table tbody tr {
  transition: background 0.16s ease;
}

.admin-table tbody tr:hover {
  background: rgba(255, 212, 41, 0.08);
}

.admin-stat {
  position: relative;
  overflow: hidden;
}

.admin-stat::after {
  content: "";
  position: absolute;
  inset: auto 18px 14px 18px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--yellow), transparent);
}

.dashboard-action-card:hover,
.dashboard-action-card:focus,
.dashboard-info-card:hover,
.dashboard-info-card:focus,
.media-picker-item:hover,
.media-picker-item:focus,
.media-picker-item.is-selected {
  border-color: rgba(214, 170, 0, 0.58);
  box-shadow: 12px 12px 26px rgba(36, 43, 38, 0.13), -8px -8px 22px rgba(255, 255, 255, 0.96);
}

.dashboard-action-card.is-empty,
.dashboard-action-card.is-empty .dashboard-action-icon,
.archive-stack .admin-card,
.admin-collapse .nested-table {
  background:
    linear-gradient(145deg, #f8faf7 0%, #eef3ef 100%);
}

.media-picker-backdrop {
  background: rgba(8, 8, 8, 0.72);
  backdrop-filter: blur(6px);
}

.media-picker-panel {
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.32), inset 1px 1px 0 rgba(255, 255, 255, 0.72);
}

.document-preview {
  background:
    linear-gradient(145deg, #eef3ef 0%, #ffffff 100%);
  box-shadow: var(--shadow-inset);
}

.editor-help {
  background:
    linear-gradient(145deg, #fff8d7 0%, #ffffff 100%);
  box-shadow: var(--shadow-soft-low);
}

.calendar-item.is-past {
  background:
    linear-gradient(145deg, #e8eee8 0%, #f7f9f6 100%);
  box-shadow: var(--shadow-inset);
}

.spec-item,
.result-row,
.toolbox-icon,
.photo-uploader-head span,
.drag-handle {
  background:
    linear-gradient(145deg, #f8faf7 0%, #eef3ef 100%);
  box-shadow: var(--shadow-inset);
}

.sponsor-featured {
  border-color: rgba(214, 170, 0, 0.62);
  box-shadow: 12px 12px 28px rgba(255, 212, 41, 0.18), -8px -8px 22px rgba(255, 255, 255, 0.95);
}

.sheet-frame {
  background: #fff;
}

.text-link,
.doc-link,
.footer-bottom a,
.footer-social,
.dashboard-action-link,
.regulation-link {
  text-decoration-thickness: 3px;
  text-decoration-color: rgba(255, 212, 41, 0.9);
}

.text-link:hover,
.doc-link:hover,
.footer-bottom a:hover,
.footer-social:hover,
.dashboard-action-link:hover,
.regulation-link:hover {
  color: var(--yellow-dark);
}

@media (max-width: 820px) {
  .site-nav {
    background:
      linear-gradient(145deg, #ffffff 0%, var(--surface-raised) 100%);
    box-shadow: var(--shadow-soft);
  }

  .admin-sidebar {
    box-shadow: 0 12px 28px rgba(8, 8, 8, 0.2);
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn:hover,
  .btn:focus,
  .feature-card:hover,
  .format-card:hover,
  .rich-panel:hover,
  .announcement-card:hover,
  .contact-card:hover,
  .info-block:hover,
  .toolbox-item:hover,
  .sponsor-card:hover,
  .result-highlight:hover,
  .calendar-item:hover,
  .calendar-item:focus,
  .dashboard-action-card:hover,
  .dashboard-action-card:focus,
  .dashboard-info-card:hover,
  .dashboard-info-card:focus {
    transform: none;
  }
}

/* Source: responsive.css */
@media (max-width: 1080px) {
  h1 {
    font-size: 3.4rem;
  }

  .calendar-grid,
  .announcement-grid,
  .toolbox-grid,
  .sponsors-grid,
  .challenge-hero-stats,
  .result-highlight-grid,
  .admin-stat-grid,
  .admin-media-grid.large {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 820px) {
  .container,
  .narrow {
    width: min(100% - 28px, 1160px);
  }

  h1 {
    font-size: 2.55rem;
  }

  h2 {
    font-size: 2rem;
  }

  .header-inner {
    min-height: 68px;
  }

  .brand img {
    width: 180px;
  }

  .nav-toggle {
    display: block;
    margin-left: auto;
  }

  .site-nav {
    position: absolute;
    left: 14px;
    right: 14px;
    top: calc(100% + 8px);
    display: none;
    margin: 0;
    padding: 12px;
    background: #fff;
    border: 1px solid rgba(8, 8, 8, 0.12);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    width: 100%;
    padding: 13px 14px;
  }

  .site-nav-social {
    display: flex;
    gap: 8px;
    margin: 6px 0 0;
    padding: 12px 0 0;
    border-top: 1px solid rgba(8, 8, 8, 0.12);
    border-left: 0;
  }

  .site-nav-social a {
    width: 44px;
    height: 44px;
    padding: 0;
  }

  .hero-home {
    min-height: auto;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-top: 56px;
    padding-bottom: 46px;
  }

  .page-hero {
    padding-top: 52px;
    padding-bottom: 42px;
  }

  .route-error .page-hero-404 {
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    background: #001326;
  }

  .route-error .page-hero-404::before,
  .route-error .page-hero-404::after {
    content: none;
  }

  .route-error .page-hero-404 .page-hero-video {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    object-position: center;
    background: #000;
  }

  .page-hero-404 > .container {
    max-width: min(100% - 28px, 820px);
    margin-left: auto;
    padding-top: 24px;
    padding-bottom: 30px;
  }

  .challenge-hero {
    min-height: auto;
  }

  .challenge-hero-content {
    padding-top: 54px;
    padding-bottom: 44px;
  }

  .result-hero {
    min-height: auto;
  }

  .result-hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 54px;
    padding-bottom: 44px;
  }

  .result-visual {
    justify-items: start;
  }

  .race-countdown {
    width: 100%;
  }

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

  .hero-offer-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 58px 0;
  }

  .split-grid,
  .competitor-cta-grid,
  .format-grid,
  .prose-grid,
  .info-grid,
  .contact-grid,
  .auth-grid,
  .member-dashboard-grid,
  .quote-member-grid,
  .sale-submit-grid,
  .parts-quote-layout,
  .footer-grid,
  .filters,
  .form-grid-two,
  .form-grid-three,
  .choice-grid,
  .mandatory-parts,
  .quote-detail-grid,
  .summary-grid,
  .announcement-settings-grid,
  .admin-shell {
    grid-template-columns: 1fr;
  }

  .part-row {
    grid-template-columns: 1fr;
  }

  .race-entry-stepper {
    grid-template-columns: 1fr;
  }

  .race-entry-stepper button {
    justify-content: flex-start;
    text-align: left;
    padding: 10px 12px;
  }

  .split-grid {
    gap: 28px;
  }

  .calendar-grid,
  .announcement-grid,
  .toolbox-grid,
  .sponsors-grid,
  .challenge-hero-stats,
  .result-highlight-grid,
  .admin-stat-grid,
  .admin-media-grid,
  .admin-media-grid.large {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
    height: auto;
    gap: 12px;
    padding: 16px 14px;
  }

  .admin-sidebar-head {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .admin-brand {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 10px;
  }

  .admin-brand img {
    width: 150px;
  }

  .admin-nav-toggle {
    display: block;
  }

  .admin-nav {
    display: none;
    grid-template-columns: 1fr;
    gap: 11px;
    margin-top: 4px;
  }

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

  .admin-nav-section {
    padding: 10px;
    border-radius: var(--radius);
  }

  .admin-nav-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }

  .admin-sidebar > form {
    display: none;
  }

  .admin-sidebar.is-nav-open > form {
    display: block;
  }

  .admin-nav a {
    min-width: 0;
    min-height: 40px;
    padding: 8px 9px;
    font-size: 0.82rem;
    line-height: 1.18;
    overflow-wrap: anywhere;
  }

  .admin-main {
    padding: 20px 14px;
  }

  .admin-main h1 {
    font-size: 2.45rem;
  }

  .admin-card,
  .admin-table-wrap,
  .login-panel,
  .message-card {
    padding: 18px;
  }

  .admin-heading.with-action,
  .message-card header,
  .media-picker-head,
  .media-picker-panel-head,
  .reorder-help {
    align-items: stretch;
  }

  .admin-heading.with-action .admin-actions,
  .media-picker-actions,
  .reorder-help .admin-actions {
    justify-content: flex-start;
  }

  .dashboard-section-heading {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
  }

  .dashboard-section-icon {
    width: 44px;
    height: 44px;
  }

  .dashboard-section-heading h2 {
    font-size: 1.9rem;
  }

  .dashboard-action-content strong {
    font-size: 2.15rem;
  }

  .photo-slot {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .photo-clear,
  .photo-add {
    justify-self: start;
  }

  .admin-heading.with-action,
  .footer-bottom,
  .message-card header {
    display: grid;
  }
}

@media (max-width: 520px) {
  h1,
  .admin-main h1 {
    font-size: 2.25rem;
  }

  .page-hero h1,
  .hero-copy h1,
  .challenge-hero-content h1,
  .result-hero-copy h1 {
    font-size: 2.15rem;
  }

  .challenge-hero-content h1 {
    font-size: 1.95rem;
    line-height: 1.06;
  }

  .hero-lead,
  .page-hero p {
    font-size: 1.02rem;
    line-height: 1.55;
  }

  .page-hero-404 {
    padding-bottom: 0;
  }

  .admin-nav a {
    font-size: 0.78rem;
  }

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

  .admin-nav-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-card,
  .admin-table-wrap,
  .contact-form,
  .rich-panel,
  .announcement-card,
  .contact-card,
  .info-block,
  .toolbox-item,
  .sponsor-card,
  .empty-state {
    padding: 16px;
  }

  .section-actions,
  .hero-actions,
  .member-actions,
  .dashboard-card-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .section-actions .btn,
  .hero-actions .btn,
  .member-actions .btn,
  .member-actions form,
  .member-actions button,
  .dashboard-card-actions .dashboard-card-action {
    width: 100%;
  }

  .member-list-item-actions {
    grid-template-columns: 1fr;
  }

  .member-inline-action {
    width: 100%;
    text-align: left;
  }

  .dashboard-action-card,
  .dashboard-info-card,
  .competitor-cta {
    grid-template-columns: 1fr;
  }

  .admin-queue-item,
  .admin-queue-empty {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .admin-queue-main strong {
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }

  .hero-slide:first-child,
  .challenge-hero-slide:first-child {
    opacity: 1;
    transform: none;
  }

  .result-hero-media,
  .result-board,
  .result-row,
  .result-progress span,
  .result-badge {
    animation: none !important;
    transform: none !important;
  }

  .site-header::after {
    animation: none !important;
    background:
      linear-gradient(90deg, transparent 0 45%, var(--yellow) 50%, transparent 55% 100%),
      linear-gradient(90deg, rgba(8, 8, 8, 0.1), rgba(8, 8, 8, 0.2), rgba(8, 8, 8, 0.1));
    background-size: 100% 100%;
    background-repeat: no-repeat;
  }

  .reveal,
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Source: site.css */
#contenu {
  display: flex;
  flex-direction: column;
}

#contenu > .page-hero,
#contenu > .hero {
  order: 0;
}

#contenu > .flash-stack {
  order: 1;
}

#contenu > :not(.page-hero):not(.hero):not(.flash-stack) {
  order: 2;
}
/* Member collaboration and operational follow-up */
.member-progress { height: .75rem; overflow: hidden; border-radius: 999px; background: #dfe6ee; }
.member-progress > span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #0050b3, #ffd700); }
.entry-review dl > div { display: grid; grid-template-columns: minmax(7rem, 1fr) 3fr; gap: 1rem; padding: .65rem 0; border-bottom: 1px solid rgba(0,19,38,.12); }
.entry-review dt { font-weight: 800; }
.entry-review dd { margin: 0; }
.announcement-card-actions-wrap { display: flex; min-width: 0; flex-direction: column; }
.announcement-member-actions { display: flex; flex-wrap: wrap; gap: .5rem; padding-top: .75rem; }
.conversation-list .is-own-message { margin-left: min(12%, 4rem); border-left: 4px solid #0050b3; }
.member-list-item.is-unread { border-left: 4px solid #ffd700; }
.admin-nav-search { display: grid; gap: .35rem; margin: 0 0 1rem; }
.admin-nav-search input { min-width: 0; padding: .65rem; border: 1px solid rgba(255,255,255,.25); border-radius: .35rem; }
.admin-nav-search button { padding: .5rem; border: 0; border-radius: .35rem; font-weight: 800; cursor: pointer; }
@media (max-width: 600px) { .entry-review dl > div { grid-template-columns: 1fr; gap: .25rem; } }

.faq-list { max-width: 900px; }
.faq-list details { margin-bottom: .8rem; border: 1px solid rgba(0, 19, 38, .14); border-radius: .7rem; background: #fff; box-shadow: 0 7px 22px rgba(0, 19, 38, .06); }
.faq-list summary { padding: 1rem 1.2rem; cursor: pointer; font-weight: 800; }
.faq-list details p { margin: 0; padding: 0 1.2rem 1.2rem; }

/* Source: palette-energy.css */
:root {
  --yellow: #ffd700;
  --yellow-dark: #b88c00;
  --black: #001326;
  --ink: #001326;
  --muted: #5a6574;
  --line: #d4deeb;
  --surface: #ffffff;
  --surface-soft: #f5f7fa;
  --surface-raised: #ffffff;
  --surface-pressed: #e7edf5;
  --ink-soft: #27364a;
  --red: #ff4b4b;
  --energy-blue: #0050b3;
  --energy-red: #ff4b4b;
  --energy-white: #f5f7fa;
  --shadow: 0 20px 48px rgba(0, 19, 38, 0.16);
  --shadow-soft: 0 18px 40px rgba(0, 19, 38, 0.11);
  --shadow-soft-low: 0 10px 24px rgba(0, 19, 38, 0.09);
  --shadow-inset: inset 0 2px 8px rgba(0, 19, 38, 0.1), inset 0 -1px 0 rgba(255, 255, 255, 0.78);
  --shadow-yellow: 0 16px 34px rgba(255, 215, 0, 0.32), 0 6px 18px rgba(0, 80, 179, 0.12);
  --focus-ring: 0 0 0 4px rgba(255, 215, 0, 0.34), 0 0 0 1px rgba(0, 19, 38, 0.62);
}

body:not(.admin-body):not(.login-body) {
  background:
    linear-gradient(135deg, rgba(0, 80, 179, 0.08), transparent 34%),
    linear-gradient(315deg, rgba(255, 75, 75, 0.05), transparent 34%),
    linear-gradient(180deg, #f5f7fa 0%, #ffffff 44%, #edf2f8 100%) fixed;
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body:not(.admin-body):not(.login-body) main {
  background:
    linear-gradient(90deg, rgba(0, 80, 179, 0.035) 0 1px, transparent 1px 100%) 0 0 / 42px 42px,
    linear-gradient(180deg, rgba(245, 247, 250, 0.4), rgba(245, 247, 250, 0.86));
}

body:not(.admin-body):not(.login-body) h1,
body:not(.admin-body):not(.login-body) h2,
body:not(.admin-body):not(.login-body) h3,
.calendar-track,
.challenge-hero-stats strong,
.countdown-grid strong,
.result-board-head,
.result-row strong,
.result-row em {
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-weight: 800;
  letter-spacing: 0;
}

body:not(.admin-body):not(.login-body) h1 {
  font-weight: 900;
}

.site-header {
  background: rgba(0, 19, 38, 0.96);
  color: #fff;
  border-bottom-color: rgba(255, 215, 0, 0.2);
  box-shadow: 0 16px 36px rgba(0, 19, 38, 0.22);
}

.site-header::after {
  bottom: -4px;
  height: 4px;
  background:
    linear-gradient(90deg, #0050b3 0 34%, #ffd700 34% 66%, #ff4b4b 66% 100%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.08));
  background-size: 180% 100%, 100% 100%;
  box-shadow: 0 0 18px rgba(255, 215, 0, 0.36);
  animation: energyHeaderLine 3s linear infinite;
}

.brand {
  background: #f5f7fa;
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.28);
}

.site-nav a,
.site-nav-social a {
  color: #f5f7fa;
  background: rgba(245, 247, 250, 0.06);
  border: 1px solid rgba(245, 247, 250, 0.14);
  box-shadow: none;
}

.site-nav a:hover,
.site-nav a:focus,
.site-nav a.is-active {
  background: #ffd700;
  color: #001326;
  border-color: #ffd700;
  box-shadow: 0 12px 28px rgba(255, 215, 0, 0.28);
}

.site-nav-social a:hover,
.site-nav-social a:focus {
  background: #ff4b4b;
  color: #fff;
  border-color: #ff4b4b;
  box-shadow: 0 12px 28px rgba(255, 75, 75, 0.28);
}

.nav-toggle {
  background: rgba(245, 247, 250, 0.08);
  border-color: rgba(245, 247, 250, 0.22);
}

.nav-toggle span {
  background: #fff;
}

.hero-slider::after {
  background:
    linear-gradient(102deg, rgba(0, 19, 38, 0.93), rgba(0, 19, 38, 0.72) 34%, rgba(0, 80, 179, 0.48) 58%, rgba(255, 75, 75, 0.2) 76%, rgba(255, 215, 0, 0.14)),
    linear-gradient(180deg, rgba(0, 19, 38, 0.06), rgba(0, 19, 38, 0.72));
}

.page-hero {
  background-image:
    linear-gradient(106deg, rgba(0, 19, 38, 0.94), rgba(0, 19, 38, 0.68) 47%, rgba(0, 80, 179, 0.34) 66%, rgba(255, 75, 75, 0.22)),
    var(--page-hero-image);
}

.challenge-hero::before,
.result-hero::before {
  background:
    linear-gradient(102deg, rgba(0, 19, 38, 0.86), rgba(0, 19, 38, 0.52) 46%, rgba(0, 80, 179, 0.32) 68%, rgba(255, 215, 0, 0.12)),
    linear-gradient(180deg, rgba(0, 19, 38, 0.08), rgba(0, 19, 38, 0.66));
}

.hero-home::before,
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  height: auto;
  pointer-events: none;
  background: repeating-linear-gradient(118deg, transparent 0 38px, rgba(245, 247, 250, 0.032) 38px 39px, transparent 39px 84px);
  mix-blend-mode: screen;
}

.hero-copy h1,
.challenge-hero-content h1,
.result-hero-copy h1,
.page-hero h1 {
  color: #fff;
  text-shadow: 0 15px 38px rgba(0, 19, 38, 0.68), 3px 3px 0 rgba(255, 75, 75, 0.18);
}

.hero-lead,
.page-hero p {
  color: rgba(245, 247, 250, 0.9);
}

.eyebrow {
  gap: 14px;
  color: #ffd700;
  font-weight: 900;
  text-shadow: none;
}

.eyebrow::before {
  flex: 0 0 52px;
  width: 52px;
  height: 5px;
  background:
    linear-gradient(90deg, #ff4b4b 0 17px, #0050b3 17px 35px, #ffd700 35px 100%);
  box-shadow: none;
}

.btn,
.dashboard-card-action,
.drag-handle,
.photo-clear {
  border-radius: 8px;
  box-shadow: var(--shadow-soft-low);
}

.btn {
  min-height: 48px;
  font-weight: 900;
}

.btn-primary {
  color: #001326;
  border-color: rgba(255, 215, 0, 0.86);
  background:
    linear-gradient(180deg, #ffe45c 0%, #ffd700 58%, #e9bb00 100%);
  box-shadow: var(--shadow-yellow);
}

.btn-secondary,
.dashboard-card-action-secondary {
  color: #001326;
  border-color: rgba(0, 80, 179, 0.24);
  background:
    linear-gradient(180deg, #ffffff 0%, #f5f7fa 100%);
}

.hero-actions .btn-secondary {
  color: #fff;
  border-color: rgba(245, 247, 250, 0.28);
  background: rgba(245, 247, 250, 0.12);
  backdrop-filter: blur(10px);
}

.btn:hover,
.btn:focus,
.dashboard-card-action:hover,
.dashboard-card-action:focus {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(0, 19, 38, 0.18);
}

.btn-primary .btn-graphic,
.feature-icon,
.calendar-icon,
.dashboard-action-icon {
  background: #001326;
  color: #ffd700;
}

.btn-secondary .btn-graphic,
.contact-icon,
.panel-icon,
.format-icon,
.result-highlight-icon,
.spec-icon,
.dashboard-section-icon,
.dashboard-info-icon,
.photo-slot-badge {
  background: #0050b3;
  color: #fff;
}

.feature-card,
.format-card,
.rich-panel,
.announcement-card,
.contact-card,
.info-block,
.toolbox-item,
.sponsor-card,
.empty-state,
.member-priority-card,
.calendar-item,
.result-highlight,
.sheet-frame,
.contact-form,
.filters,
.race-entry-stepper,
.form-fieldset,
.parts-category,
.parts-quote-summary,
.choice-card,
.mandatory-parts label,
.member-announcement-image,
.photo-slot,
.quote-price-box,
.member-list-item,
.quote-answer,
.result-board,
.challenge-hero-stats span {
  background:
    linear-gradient(145deg, #ffffff 0%, #f5f7fa 100%);
  border-color: rgba(0, 80, 179, 0.16);
  box-shadow: var(--shadow-soft);
}

.feature-card,
.format-card,
.rich-panel,
.announcement-card,
.contact-card,
.info-block,
.toolbox-item,
.sponsor-card,
.result-highlight,
.calendar-item {
  border-top: 3px solid #0050b3;
}

.feature-card:nth-child(3n + 2),
.format-card:nth-child(3n + 2),
.rich-panel:nth-child(3n + 2),
.announcement-card:nth-child(3n + 2),
.contact-card:nth-child(3n + 2),
.info-block:nth-child(3n + 2),
.toolbox-item:nth-child(3n + 2),
.sponsor-card:nth-child(3n + 2),
.result-highlight:nth-child(3n + 2),
.calendar-item:nth-child(3n + 2) {
  border-top-color: #ffd700;
}

.feature-card:nth-child(3n),
.format-card:nth-child(3n),
.rich-panel:nth-child(3n),
.announcement-card:nth-child(3n),
.contact-card:nth-child(3n),
.info-block:nth-child(3n),
.toolbox-item:nth-child(3n),
.sponsor-card:nth-child(3n),
.result-highlight:nth-child(3n),
.calendar-item:nth-child(3n) {
  border-top-color: #ff4b4b;
}

.feature-card::before,
.format-card::before,
.rich-panel::before,
.announcement-card::before,
.contact-card::before,
.info-block::before,
.toolbox-item::before,
.sponsor-card::before,
.result-highlight::before {
  background:
    linear-gradient(112deg, transparent 0 58%, rgba(0, 80, 179, 0.12) 58% 63%, transparent 63% 67%, rgba(255, 75, 75, 0.12) 67% 70%, transparent 70% 100%);
}

.feature-card:hover,
.format-card:hover,
.rich-panel:hover,
.announcement-card:hover,
.contact-card:hover,
.info-block:hover,
.toolbox-item:hover,
.sponsor-card:hover,
.result-highlight:hover,
.calendar-item:hover,
.calendar-item:focus {
  transform: translateY(-6px);
  border-color: rgba(0, 80, 179, 0.42);
  box-shadow: 0 24px 48px rgba(0, 19, 38, 0.15);
}

.feature-card:hover .feature-icon,
.calendar-item:hover .calendar-icon,
.calendar-item:focus .calendar-icon {
  background: #ff4b4b;
  color: #fff;
}

.section-muted {
  background:
    linear-gradient(135deg, rgba(0, 80, 179, 0.1), transparent 34%),
    linear-gradient(315deg, rgba(255, 215, 0, 0.16), transparent 32%),
    #f5f7fa;
}

.section-dark {
  background:
    linear-gradient(135deg, rgba(0, 80, 179, 0.34), transparent 32%),
    linear-gradient(180deg, #001326 0%, #000814 100%);
  color: #fff;
}

.section-dark .rich-panel,
.section-dark .info-block,
.race-countdown {
  background: #001326;
  border-color: rgba(255, 215, 0, 0.42);
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.34);
}

.section-dark .info-block {
  color: #fff;
}

.section-dark .info-block .rich-text {
  color: rgba(245, 247, 250, 0.86);
}

.race-countdown {
  border-left: 5px solid #ffd700;
}

.race-countdown::before {
  content: none;
}

.countdown-grid span {
  background: #f5f7fa;
  color: #001326;
  box-shadow: inset 0 -3px 0 rgba(0, 80, 179, 0.16), 0 10px 18px rgba(0, 0, 0, 0.2);
}

.countdown-grid strong {
  color: #0050b3;
}

.calendar-status,
.doc-kind {
  background: #001326;
  color: #fff;
}

.calendar-item:hover .calendar-status,
.toolbox-item:hover .doc-kind,
.toolbox-item:focus .doc-kind {
  background: #ff4b4b;
}

.calendar-track {
  color: #001326;
}

.spec-item {
  border-left-color: #ff4b4b;
  background:
    linear-gradient(145deg, #f5f7fa 0%, #ffffff 100%);
}

.spec-icon {
  background: #ffd700;
}

.spec-icon img {
  width: 24px;
  height: 24px;
}

.spec-item:nth-child(2) .spec-icon img {
  width: 23px;
  height: 23px;
  transform: translateY(1px);
}

.text-link,
.doc-link,
.footer-bottom a,
.footer-social,
.dashboard-action-link,
.regulation-link {
  text-decoration-color: #ff4b4b;
}

.text-link:hover,
.doc-link:hover,
.footer-bottom a:hover,
.footer-social:hover,
.dashboard-action-link:hover,
.regulation-link:hover {
  color: #0050b3;
}

.result-board-head strong,
.result-row.is-first span,
.result-badge {
  background: #ffd700;
  color: #001326;
}

.result-row span {
  background: #0050b3;
}

.result-row em {
  color: #ff4b4b;
}

.result-progress {
  background: #d4deeb;
}

.result-progress span {
  background:
    linear-gradient(90deg, #0050b3, #ffd700, #ff4b4b);
}

.split-image,
.split-slider {
  border: 4px solid #fff;
  box-shadow: 0 22px 48px rgba(0, 19, 38, 0.18), -10px 10px 0 rgba(0, 80, 179, 0.16);
}

.split-slider {
  background: #001326;
}

.split-slider::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 58%, rgba(0, 19, 38, 0.22));
}

.media-slider-btn,
.media-slider-dots {
  background: rgba(0, 19, 38, 0.78);
}

.media-slider-btn:hover,
.media-slider-btn:focus,
.media-slider-dot.is-active {
  background: #ffd700;
  color: #001326;
}

.site-footer {
  background:
    linear-gradient(135deg, rgba(0, 80, 179, 0.36), transparent 38%),
    #001326;
}

.footer-logo {
  background: #f5f7fa;
}

/* Energy+ refinements: public, members and admin */
body.admin-body,
body.login-body {
  background:
    linear-gradient(135deg, rgba(0, 80, 179, 0.08), transparent 34%),
    linear-gradient(315deg, rgba(255, 215, 0, 0.12), transparent 30%),
    linear-gradient(180deg, #f5f7fa 0%, #ffffff 42%, #edf2f8 100%) fixed;
  color: #001326;
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.admin-body h1,
body.admin-body h2,
body.admin-body h3,
body.login-body h1,
body.login-body h2,
body.login-body h3,
.admin-collapse > summary span,
.dashboard-action-content strong {
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-weight: 800;
  letter-spacing: 0;
}

.admin-shell {
  background:
    linear-gradient(90deg, rgba(0, 80, 179, 0.04) 0 1px, transparent 1px 100%) 0 0 / 40px 40px,
    linear-gradient(180deg, rgba(245, 247, 250, 0.86), rgba(237, 242, 248, 0.9));
}

.admin-sidebar {
  position: sticky;
  background:
    linear-gradient(180deg, rgba(0, 80, 179, 0.18), transparent 38%),
    linear-gradient(180deg, #001326 0%, #000814 100%);
  border-right: 1px solid rgba(255, 215, 0, 0.28);
  box-shadow: 18px 0 44px rgba(0, 19, 38, 0.22);
}

.admin-sidebar::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #0050b3 0 34%, #ffd700 34% 66%, #ff4b4b 66% 100%);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.28);
}

.admin-brand img,
.login-panel img {
  background: #f5f7fa;
  border-color: rgba(245, 247, 250, 0.26);
  box-shadow: 0 14px 32px rgba(0, 19, 38, 0.24);
}

.admin-nav-heading {
  color: #ffd700;
}

.admin-nav a {
  border-color: rgba(245, 247, 250, 0.12);
  background: rgba(245, 247, 250, 0.06);
  color: rgba(245, 247, 250, 0.9);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.admin-nav a:hover,
.admin-nav a:focus,
.admin-nav a.is-active {
  transform: translateX(4px);
  border-color: #ffd700;
  background: #ffd700;
  color: #001326;
  box-shadow: 0 12px 28px rgba(255, 215, 0, 0.24);
}

.feature-card,
.format-card,
.rich-panel,
.announcement-card,
.contact-card,
.info-block,
.toolbox-item,
.sponsor-card,
.result-highlight,
.member-priority-card,
.contact-form,
.filters,
.race-entry-stepper,
.form-fieldset,
.choice-card,
.parts-category,
.parts-quote-summary,
.member-announcement-image,
.photo-slot,
.quote-price-box,
.member-list-item,
.quote-answer,
.calendar-item,
.dashboard-action-card,
.dashboard-info-card,
.admin-card,
.admin-table-wrap,
.message-card,
.login-panel,
.admin-stat,
.admin-queue-item,
.admin-queue-empty,
.settings-group,
.admin-collapse,
.media-picker,
.media-picker-current,
.media-picker-panel,
.media-picker-item,
.admin-media-grid figure,
.quote-price-line,
.admin-clean-list li {
  position: relative;
  border-top: 5px solid #0050b3;
  box-shadow: 0 20px 44px rgba(0, 19, 38, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.76);
  transition: transform 0.2s ease, border-color 0.2s ease, border-top-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.feature-card:nth-child(3n + 2),
.format-card:nth-child(3n + 2),
.rich-panel:nth-child(3n + 2),
.announcement-card:nth-child(3n + 2),
.contact-card:nth-child(3n + 2),
.info-block:nth-child(3n + 2),
.toolbox-item:nth-child(3n + 2),
.sponsor-card:nth-child(3n + 2),
.result-highlight:nth-child(3n + 2),
.member-priority-card:nth-child(3n + 2),
.choice-card:nth-child(3n + 2),
.member-list-item:nth-child(3n + 2),
.calendar-item:nth-child(3n + 2),
.dashboard-action-card:nth-child(3n + 2),
.dashboard-info-card:nth-child(3n + 2),
.admin-card:nth-of-type(3n + 2),
.admin-stat:nth-child(3n + 2) {
  border-top-color: #ffd700;
}

.feature-card:nth-child(3n),
.format-card:nth-child(3n),
.rich-panel:nth-child(3n),
.announcement-card:nth-child(3n),
.contact-card:nth-child(3n),
.info-block:nth-child(3n),
.toolbox-item:nth-child(3n),
.sponsor-card:nth-child(3n),
.result-highlight:nth-child(3n),
.member-priority-card:nth-child(3n),
.choice-card:nth-child(3n),
.member-list-item:nth-child(3n),
.calendar-item:nth-child(3n),
.dashboard-action-card:nth-child(3n),
.dashboard-info-card:nth-child(3n),
.admin-card:nth-of-type(3n),
.admin-stat:nth-child(3n) {
  border-top-color: #ff4b4b;
}

.feature-card:hover,
.format-card:hover,
.rich-panel:hover,
.announcement-card:hover,
.contact-card:hover,
.info-block:hover,
.toolbox-item:hover,
.sponsor-card:hover,
.result-highlight:hover,
.member-priority-card:hover,
.member-priority-card:focus,
.choice-card:hover,
.choice-card:focus-within,
.calendar-item:hover,
.calendar-item:focus,
.dashboard-action-card:hover,
.dashboard-action-card:focus,
.dashboard-info-card:hover,
.dashboard-info-card:focus,
.media-picker-item:hover,
.media-picker-item:focus,
.media-picker-item.is-selected {
  transform: translateY(-7px);
  border-color: rgba(0, 80, 179, 0.46);
  border-top-color: #ff4b4b;
  box-shadow: 0 28px 58px rgba(0, 19, 38, 0.18), 0 12px 22px rgba(255, 75, 75, 0.1);
}

.contact-form:focus-within,
.filters:focus-within,
.form-fieldset:focus-within {
  border-color: rgba(0, 80, 179, 0.42);
  border-top-color: #ff4b4b;
  box-shadow: 0 24px 46px rgba(0, 19, 38, 0.14);
}

.member-list-item:hover,
.member-list-item:focus-within {
  transform: translateX(4px);
  border-color: rgba(0, 80, 179, 0.38);
  border-top-color: #ff4b4b;
  box-shadow: 0 16px 30px rgba(0, 19, 38, 0.12);
}

.race-entry-form .engagement-choice-grid,
.race-entry-form .event-choice-grid {
  gap: 12px;
}

.race-entry-form .engagement-choice-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.race-entry-form .engagement-choice-grid > .choice-card,
.race-entry-form .event-choice-grid > .choice-card {
  border-top-width: 1px;
  border-top-color: var(--line);
  border-left: 4px solid transparent;
  background: #fff;
  box-shadow: 0 10px 24px rgba(0, 19, 38, 0.07);
  transform: none;
}

.race-entry-form .engagement-choice-grid > .choice-card:hover,
.race-entry-form .engagement-choice-grid > .choice-card:focus-within,
.race-entry-form .event-choice-grid > .choice-card:hover,
.race-entry-form .event-choice-grid > .choice-card:focus-within {
  border-color: rgba(0, 80, 179, 0.24);
  border-top-color: rgba(0, 80, 179, 0.24);
  border-left-color: #0050b3;
  box-shadow: 0 14px 30px rgba(0, 19, 38, 0.1);
  transform: none;
}

.race-entry-form .engagement-choice-grid > .choice-card:has(input:checked),
.race-entry-form .event-choice-grid > .choice-card:has(input:checked) {
  border-color: rgba(214, 170, 0, 0.72);
  border-top-color: rgba(214, 170, 0, 0.72);
  border-left-color: #ffd700;
  background: #fffaf0;
  box-shadow: 0 14px 30px rgba(214, 170, 0, 0.14);
}

.race-entry-form .engagement-choice-grid > .choice-card {
  min-height: 72px;
  padding: 14px 16px;
}

.race-entry-form .event-choice-card {
  min-height: 72px;
  align-items: flex-start;
  padding: 13px 14px;
}

.race-entry-form .event-choice-card input {
  margin-top: 4px;
  flex: 0 0 auto;
}

.race-entry-form .event-choice-copy {
  gap: 4px;
  min-width: 0;
}

.race-entry-form .event-choice-copy strong {
  line-height: 1.22;
}

.race-entry-form .event-choice-date {
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 800;
  line-height: 1.2;
}

.race-entry-form .event-choice-card:has(input:checked) .event-choice-date {
  color: #6b5600;
}

.race-entry-form .event-choice-grid .choice-card.is-locked {
  opacity: 1;
}

.race-entry-form .event-choice-grid .choice-card.is-locked:not(:has(input:checked)) {
  opacity: 0.58;
}

.race-entry-form .event-choice-grid .choice-card.is-locked:hover,
.race-entry-form .event-choice-grid .choice-card.is-locked:focus-within {
  border-color: var(--line);
  border-top-color: var(--line);
  border-left-color: transparent;
  box-shadow: 0 10px 24px rgba(0, 19, 38, 0.07);
}

.race-entry-form .event-choice-grid .choice-card.is-locked:has(input:checked) {
  border-color: rgba(214, 170, 0, 0.72);
  border-left-color: #ffd700;
}

.race-entry-form.contact-form {
  border-color: rgba(0, 80, 179, 0.16);
  border-top-width: 1px;
  border-top-color: rgba(0, 80, 179, 0.16);
  background: #fff;
  box-shadow: 0 18px 40px rgba(0, 19, 38, 0.1);
}

.race-entry-form .race-entry-stepper,
.race-entry-form .form-fieldset {
  border-color: rgba(0, 80, 179, 0.14);
  border-top-width: 1px;
  border-top-color: rgba(0, 80, 179, 0.14);
  background: #f8fafc;
  box-shadow: none;
}

.race-entry-form .race-entry-stepper {
  padding: 6px;
}

.race-entry-form .race-entry-stepper button.is-active {
  border-color: rgba(214, 170, 0, 0.5);
  box-shadow: none;
}

.race-entry-form .form-fieldset {
  padding: 20px 18px;
}

.race-entry-form .form-fieldset legend {
  color: #001326;
}

.race-entry-form .choice-card,
.race-entry-form .engagement-choice-grid > .choice-card,
.race-entry-form .event-choice-grid > .choice-card,
.race-entry-form .mandatory-parts label {
  border: 1px solid rgba(0, 80, 179, 0.14);
  background: #fff;
  box-shadow: none;
  transform: none;
}

.race-entry-form .engagement-choice-grid > .choice-card,
.race-entry-form .event-choice-grid > .choice-card {
  border-left-width: 1px;
}

.race-entry-form .choice-card:hover,
.race-entry-form .choice-card:focus-within,
.race-entry-form .engagement-choice-grid > .choice-card:hover,
.race-entry-form .engagement-choice-grid > .choice-card:focus-within,
.race-entry-form .event-choice-grid > .choice-card:hover,
.race-entry-form .event-choice-grid > .choice-card:focus-within {
  border-color: rgba(0, 80, 179, 0.28);
  box-shadow: 0 10px 22px rgba(0, 19, 38, 0.08);
  transform: none;
}

.race-entry-form .choice-card:has(input:checked),
.race-entry-form .engagement-choice-grid > .choice-card:has(input:checked),
.race-entry-form .event-choice-grid > .choice-card:has(input:checked) {
  border-color: rgba(214, 170, 0, 0.68);
  background: #fffdf2;
  box-shadow: inset 0 0 0 1px rgba(255, 215, 0, 0.28);
}

.race-entry-form .event-choice-grid .choice-card.is-locked:hover,
.race-entry-form .event-choice-grid .choice-card.is-locked:focus-within {
  border-color: rgba(0, 80, 179, 0.14);
  box-shadow: none;
}

.race-entry-form .event-choice-grid .choice-card.is-locked:has(input:checked) {
  border-color: rgba(214, 170, 0, 0.68);
}

.race-entry-form.contact-form:focus-within,
.race-entry-form .form-fieldset:focus-within {
  border-color: rgba(0, 80, 179, 0.24);
  border-top-color: rgba(0, 80, 179, 0.24);
  box-shadow: 0 0 0 3px rgba(0, 80, 179, 0.06);
}

.race-entry-form.contact-form {
  border: 1px solid rgba(0, 80, 179, 0.16) !important;
  box-shadow: 0 18px 40px rgba(0, 19, 38, 0.08);
}

.race-entry-form.contact-form:focus-within {
  border: 1px solid rgba(0, 80, 179, 0.16) !important;
  box-shadow: 0 18px 40px rgba(0, 19, 38, 0.08) !important;
}

.race-entry-form .race-entry-stepper {
  border: 0;
  background: #f4f7fb;
  box-shadow: inset 0 0 0 1px rgba(0, 80, 179, 0.12);
}

.race-entry-form .form-fieldset {
  padding: 0;
  border: 0 !important;
  border-radius: 0;
  background: transparent;
  box-shadow: none !important;
}

.race-entry-form .form-fieldset legend {
  display: block;
  padding: 0;
  margin-bottom: 8px;
  font-size: 1rem;
  line-height: 1.25;
}

.race-entry-form .choice-grid,
.race-entry-form .event-choice-grid,
.race-entry-form .mandatory-parts {
  padding: 0;
  border: 0;
  background: transparent;
}

.race-entry-form .choice-card,
.race-entry-form .engagement-choice-grid > .choice-card,
.race-entry-form .event-choice-grid > .choice-card,
.race-entry-form .mandatory-parts label {
  border: 1px solid rgba(0, 80, 179, 0.14) !important;
  border-left-width: 1px !important;
  border-top-width: 1px !important;
  background: #fff;
  box-shadow: none !important;
}

.race-entry-form .choice-card:has(input:checked),
.race-entry-form .engagement-choice-grid > .choice-card:has(input:checked),
.race-entry-form .event-choice-grid > .choice-card:has(input:checked) {
  border-color: rgba(214, 170, 0, 0.72) !important;
  background: #fffdf2;
  box-shadow: inset 0 0 0 1px rgba(255, 215, 0, 0.26) !important;
}

.race-entry-form .choice-card:hover,
.race-entry-form .choice-card:focus-within,
.race-entry-form .engagement-choice-grid > .choice-card:hover,
.race-entry-form .engagement-choice-grid > .choice-card:focus-within,
.race-entry-form .event-choice-grid > .choice-card:hover,
.race-entry-form .event-choice-grid > .choice-card:focus-within {
  border-color: rgba(0, 80, 179, 0.26) !important;
  box-shadow: 0 8px 18px rgba(0, 19, 38, 0.07) !important;
}

.race-entry-form .event-choice-grid .choice-card.is-locked:hover,
.race-entry-form .event-choice-grid .choice-card.is-locked:focus-within {
  border-color: rgba(0, 80, 179, 0.14) !important;
  box-shadow: none !important;
}

.feature-icon,
.calendar-icon,
.member-priority-icon,
.dashboard-section-icon,
.dashboard-action-icon,
.dashboard-info-icon,
.panel-icon,
.format-icon,
.toolbox-icon,
.contact-icon,
.result-highlight-icon {
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover .feature-icon,
.calendar-item:hover .calendar-icon,
.calendar-item:focus .calendar-icon,
.member-priority-card:hover .member-priority-icon,
.member-priority-card:focus .member-priority-icon,
.dashboard-action-card:hover .dashboard-action-icon,
.dashboard-action-card:focus .dashboard-action-icon,
.dashboard-info-card:hover .dashboard-info-icon,
.dashboard-info-card:focus .dashboard-info-icon,
.rich-panel:hover .panel-icon,
.format-card:hover .format-icon,
.toolbox-item:hover .toolbox-icon,
.toolbox-item:focus .toolbox-icon,
.contact-card:hover .contact-icon,
.result-highlight:hover .result-highlight-icon {
  transform: translateY(-2px) rotate(-7deg) scale(1.08);
  background: #ff4b4b;
  color: #fff;
  box-shadow: 0 16px 28px rgba(255, 75, 75, 0.24);
}

.member-priority-card.task-primary,
.dashboard-action-card:nth-child(4n + 1),
.admin-stat:nth-child(4n + 1) {
  border-top-color: #ffd700;
}

.member-priority-card.task-success,
.dashboard-action-card:nth-child(4n + 2),
.admin-stat:nth-child(4n + 2) {
  border-top-color: #0050b3;
}

.member-priority-card.task-warning,
.dashboard-action-card:nth-child(4n + 3),
.admin-stat:nth-child(4n + 3) {
  border-top-color: #ff4b4b;
}

.btn,
.dashboard-card-action,
.admin-nav a,
.media-slider-btn,
.media-slider-dot {
  will-change: transform;
}

.btn:active,
.dashboard-card-action:active,
.admin-nav a:active,
.media-slider-btn:active,
.media-slider-dot:active {
  transform: translateY(1px) scale(0.98);
  box-shadow: var(--shadow-inset);
}

.js .reveal {
  transform: translateY(24px) scale(0.985);
  transition: opacity 0.34s ease, transform 0.42s cubic-bezier(0.18, 0.9, 0.24, 1);
}

.js .reveal.is-visible {
  transform: translateY(0) scale(1);
}

.calendar-grid {
  align-items: stretch;
}

.calendar-item {
  min-height: 150px;
  overflow: hidden;
  border-top-width: 0;
  border-left: 6px solid #0050b3;
  background:
    linear-gradient(145deg, #ffffff 0%, #f5f7fa 100%);
}

.calendar-item::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(112deg, transparent 0 58%, rgba(0, 80, 179, 0.1) 58% 62%, transparent 62% 67%, rgba(255, 75, 75, 0.12) 67% 70%, transparent 70% 100%);
  opacity: 0;
  transform: translateX(-18px);
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.calendar-item:hover::after,
.calendar-item:focus::after {
  opacity: 1;
  transform: translateX(0);
}

.calendar-item.is-next {
  grid-column: span 2;
  min-height: 174px;
  border-left-color: #ffd700;
  background:
    linear-gradient(112deg, rgba(255, 215, 0, 0.16), transparent 28%),
    linear-gradient(145deg, #001326 0%, #042d61 62%, #0050b3 100%);
  color: #fff;
  box-shadow: 0 28px 62px rgba(0, 19, 38, 0.24), 0 0 0 1px rgba(255, 215, 0, 0.34);
}

.calendar-item.is-next::before {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 14px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ffd700, #ff4b4b, #0050b3);
  opacity: 0.86;
}

.calendar-item.is-next .calendar-track,
.calendar-item.is-next .calendar-date {
  color: #fff;
}

.calendar-item.is-next .calendar-date {
  color: rgba(245, 247, 250, 0.84);
}

.calendar-item.is-next .calendar-icon {
  background: #ffd700;
  color: #001326;
}

.calendar-item.is-next .calendar-status {
  background: #ffd700;
  color: #001326;
}

.calendar-item.is-upcoming {
  border-left-color: #0050b3;
}

.calendar-item.is-upcoming:nth-child(3n) {
  border-left-color: #ff4b4b;
}

.calendar-item.is-upcoming:nth-child(3n + 2) {
  border-left-color: #ffd700;
}

.calendar-item.is-past {
  border-left-color: #8995a5;
  opacity: 0.66;
  filter: saturate(0.76);
}

.calendar-status {
  letter-spacing: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.calendar-item.is-upcoming .calendar-status {
  background: #0050b3;
}

.race-countdown {
  isolation: isolate;
  overflow: hidden;
  border-top: 1px solid rgba(255, 215, 0, 0.42);
  font-variant-numeric: tabular-nums;
}

.race-countdown::before {
  content: "";
  position: absolute;
  top: 0;
  left: -40%;
  z-index: 1;
  width: 58%;
  height: 5px;
  background: linear-gradient(90deg, transparent, #ffd700, #ff4b4b, transparent);
  animation: raceTimingSweep 1.45s linear infinite;
}

.race-countdown::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(110deg, transparent 0 30px, rgba(245, 247, 250, 0.055) 30px 31px, transparent 31px 62px);
}

.race-countdown > * {
  position: relative;
  z-index: 2;
}

.countdown-grid span {
  position: relative;
  overflow: hidden;
}

.countdown-grid span::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 7px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #0050b3, #ffd700, #ff4b4b);
  opacity: 0.78;
}

.countdown-grid span:last-child {
  animation: raceSecondPulse 1s steps(2, end) infinite;
}

@keyframes raceTimingSweep {
  to {
    transform: translateX(260%);
  }
}

@keyframes raceSecondPulse {
  50% {
    transform: translateY(-2px);
    box-shadow: inset 0 -3px 0 rgba(255, 75, 75, 0.18), 0 12px 22px rgba(255, 75, 75, 0.22);
  }
}

@keyframes energyHeaderLine {
  from {
    background-position: 0 0, 0 0;
  }

  to {
    background-position: -180% 0, 0 0;
  }
}

@media (max-width: 820px) {
  .site-nav {
    background:
      linear-gradient(145deg, #001326 0%, #062447 100%);
    border-color: rgba(245, 247, 250, 0.18);
    box-shadow: 0 20px 46px rgba(0, 19, 38, 0.34);
  }

  .site-nav a {
    border-color: rgba(245, 247, 250, 0.12);
  }

  .calendar-item.is-next {
    grid-column: span 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header::after,
  .race-countdown::before,
  .countdown-grid span:last-child {
    animation: none;
  }

  .js .reveal {
    transition: none;
    transform: none;
  }
}
