@keyframes garage-gauge-sweep {
  from {
    transform: rotate(200deg);
  }
  to {
    transform: rotate(340deg);
  }
}
@keyframes garage-odometer-roll {
  to {
    transform: translateY(-200px);
  }
}
html[data-clubhouse-theme] {
& {
  --coachwork: var(--green);
  --coachwork-edge: var(--green-hover);
  --instrument-face: #f6f1df;
  --instrument-ink: #24352e;
  --instrument-alert: #ae4335;
  --instrument-metal: #b4a57a;
}
.brand-wordmark {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 4px 6px 7px 0;
  color: var(--green);
  font: 400 40px/0.78 "Yellowtail", "Brush Script MT", cursive;
  letter-spacing: -0.025em;
  white-space: nowrap;
  transform: rotate(-5deg);
  text-shadow: 0 1px 0 var(--surface), 1px 2px 0 var(--brass);
}
.brand-wordmark > span {
  display: block;
}
.brand-wordmark-second {
  margin-top: 0.03em;
  margin-left: 1em;
  font-size: 0.92em;
}
@media (max-width: 680px) {
  .wordmark .brand-wordmark {
    font-size: 34px;
  }
}
.site-header {
  border-top: 3px solid var(--green);
  box-shadow: inset 0 2px var(--surface), inset 0 3px var(--brass);
}
.hero-showcase {
  --showcase-tilt: -4deg;
  isolation: isolate;
  background: var(--inverse-surface);
  border: 1px solid var(--brass);
  box-shadow:
    inset 0 0 0 4px var(--inverse-surface),
    inset 0 0 0 5px var(--brass);
}
.hero-showcase .showcase-top,
.hero-showcase .showcase-caption strong,
.hero-showcase .showcase-caption small,
.hero-showcase .round-link {
  color: var(--inverse-ink);
}
.hero-showcase .round-link:hover {
  background: #ffffff18;
}
.showcase-motoring {
  margin: 18px auto 16px;
  width: min(100%, 480px);
  transform: rotate(var(--showcase-tilt));
}
.showcase-motoring .garage-illustration > img {
  /* Ease into the matte surface without outlining the rectangular artwork. */
  --artwork-edge-fade:
    linear-gradient(
    to right,
    transparent,
    #0002 3%,
    #0008 7%,
    #000e 12%,
    #000 18% 82%,
    #000e 88%,
    #0008 93%,
    #0002 97%,
    transparent
  ), linear-gradient(
    to bottom,
    transparent,
    #0004 3%,
    #000b 6%,
    #000 11% 78%,
    #000e 85%,
    #0008 92%,
    #0002 97%,
    transparent
  ), radial-gradient(
    ellipse 70% 62% at 50% 45%,
    #000 62%,
    #000e 70%,
    #0008 82%,
    #0002 93%,
    transparent
  );
  -webkit-mask-image: var(--artwork-edge-fade);
  mask-image: var(--artwork-edge-fade);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
  mask-repeat: no-repeat;
}
.showcase-plate {
  margin: 2px 0 36px;
}
.garage-illustration {
  display: block;
  width: 100%;
}
.garage-illustration > img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}
.garage-gallery .garage-illustration {
  isolation: isolate;
  background: var(--inverse-surface);
  border: 1px solid var(--brass);
  border-radius: var(--radius);
  padding: 12px;
}
.garage-stamp {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  max-width: 100%;
  padding: 12px 18px;
  border: 1px solid currentColor;
  outline: 1px dashed currentColor;
  outline-offset: -5px;
  border-radius: 3px;
  color: var(--green);
  transform: rotate(-3deg);
  text-align: center;
}
.garage-stamp > strong {
  font: 600 21px/1 "Barlow Condensed", var(--font);
  text-transform: uppercase;
  letter-spacing: 0.055em;
}
.garage-stamp > span {
  font: 8px/1.4 var(--mono);
  letter-spacing: 0.055em;
  text-transform: uppercase;
}
.registration-card {
  background: var(--surface);
  border: var(--panel-border) solid var(--line);
  padding: 24px 28px;
  border-radius: var(--radius);
  box-shadow: var(--panel-shadow);
  transform: rotate(2deg);
  min-width: 0;
  font: 11px/1.6 var(--font);
}
.registration-card .registration-heading {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.registration-card .eyebrow {
  font: 8px/1.6 var(--mono);
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0;
  flex: 1;
}
.registration-badge {
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  width: 34px;
  height: 28px;
  border-radius: var(--radius-sm);
  font: 500 18px var(--mono);
  background: var(--surface);
  border: 2px solid var(--brass);
  box-shadow: inset 0 0 0 2px var(--surface), inset 0 0 0 3px var(--green);
  color: var(--green);
  transform: rotate(-4deg);
}
.registration-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 8px;
  color: var(--success);
  white-space: nowrap;
}
.registration-status::before {
  content: "";
  width: 5px;
  height: 5px;
  background: currentColor;
  border-radius: 50%;
}
.registration-card dl {
  margin: 0;
}
.registration-card dl > div {
  display: flex;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  gap: 12px;
}
.registration-card dt {
  color: var(--muted);
}
.registration-card dd {
  margin: 0;
  color: var(--green);
}
.registration-card dd svg {
  vertical-align: middle;
}
.registration-rule {
  display: block;
  margin-top: 20px;
  width: 88px;
  height: 4px;
  background: repeating-linear-gradient(
    90deg,
    var(--silver) 0 1px,
    transparent 1px 3px
  );
}
.registration-card > .garage-stamp {
  display: flex;
  width: max-content;
  margin: 24px 0 0 auto;
}
.manual-stamp-link {
  flex-shrink: 0;
  color: var(--green);
}
.manual-stamp-link:hover .garage-stamp {
  background: var(--green-wash);
  transform: rotate(0);
}
.transaction-success > .garage-stamp {
  margin: 8px 0 18px;
}
&[data-showroom-theme="clubhouse"] .hero-copy h1 {
  font-weight: 600;
  letter-spacing: -0.035em;
}
&[data-showroom-theme="clubhouse"] em {
  font-style: normal;
}
&[data-showroom-theme="clubhouse"] .hero-copy h1 em {
  display: inline-block;
  font-size: 1.04em;
  font-style: normal;
  letter-spacing: -0.015em;
  padding: 3px 5px 6px 0;
}
&[data-showroom-theme="clubhouse"] .ds-button-primary:not(:disabled) {
  background-image: linear-gradient(#ffffff0a, transparent 55%);
  box-shadow: inset 0 1px #ffffff25, 0 2px 0 var(--green-hover);
}
&[data-showroom-theme="clubhouse"]
  .ds-button-primary:not(:disabled):active {
  box-shadow: inset 0 1px 2px #0003;
}
&[data-showroom-theme="clubhouse"] .vault-promo {
  border-block: 3px double var(--brass);
}
.garage-counter {
  flex: 0 0 auto;
  padding-inline: 12px;
}
.garage-counter .speedometer-loader-dial {
  width: 160px;
  height: 48px;
  border: 2px solid var(--brass);
  border-radius: 6px;
  background: var(--warm);
  box-shadow: inset 0 0 0 2px var(--surface), 0 2px 0 var(--silver);
}
.garage-counter .speedometer-loader-ticks,
.garage-counter .speedometer-loader-needle,
.garage-counter .speedometer-loader-hub {
  display: none;
}
.garage-counter .speedometer-loader-odometer {
  bottom: 7px;
}
.farmer-instruments {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-block: 24px;
  padding: 28px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--warm);
  box-shadow: inset 0 0 0 4px var(--surface);
}
.farmer-indicator {
  display: grid;
  gap: 6px;
  min-width: 110px;
  color: var(--muted);
}
.engine-lamp {
  display: grid;
  place-items: center;
  width: 72px;
  height: 62px;
  margin-bottom: 7px;
  border: 2px solid #a7a68e;
  border-radius: 10px;
  background: radial-gradient(ellipse, #3b3522, #1c241f 75%);
  box-shadow:
    inset 0 0 0 2px #101914,
    inset 0 3px 8px #0006,
    0 2px 0 var(--silver);
}
.farmer-indicator svg {
  color: #f6be5d;
  filter: drop-shadow(0 0 3px #ffb32399) drop-shadow(0 0 8px #ffa62955);
}
.farmer-indicator strong {
  font-size: 13px;
  color: var(--ink);
}
.farmer-indicator > span {
  font: 10px var(--mono);
}
.is-running .farmer-indicator svg {
  color: #b3e6a1;
  filter: drop-shadow(0 0 3px #a8eb7899) drop-shadow(0 0 8px #82c85d66);
}
.farmer-indicator.has-error svg {
  color: #ff9378;
  filter: drop-shadow(0 0 3px #ff634eaa) drop-shadow(0 0 8px #ff634e66);
}
.instrument-accessible {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.speedometer-loader {
  display: inline-grid;
  justify-items: center;
  gap: 12px;
  vertical-align: middle;
}
.speedometer-loader > small {
  font: 9px/1.5 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.speedometer-loader-dial {
  position: relative;
  width: 190px;
  height: 112px;
  overflow: hidden;
  border: 4px solid var(--instrument-ink);
  border-radius: 105px 105px 18px 18px;
  background: radial-gradient(
    ellipse at 50% 42%,
    #fffcf2 35%,
    var(--instrument-face) 70%
  );
  box-shadow: inset 0 0 0 2px var(--instrument-metal), 0 3px 0 var(--brass);
}
.speedometer-loader-ticks {
  position: absolute;
  inset: 10px 15px 0;
  border-radius: 100px 100px 0 0;
  background: repeating-conic-gradient(
    from 225deg at 50% 100%,
    var(--instrument-ink) 0 1deg,
    transparent 1deg 12deg
  );
  mask: radial-gradient(
    circle at 50% 100%,
    transparent 0 68%,
    #000 69% 76%,
    transparent 77%
  );
}
.speedometer-loader-needle {
  position: absolute;
  left: 50%;
  bottom: 32px;
  width: 70px;
  height: 3px;
  background: var(--instrument-alert);
  border-radius: 3px;
  transform-origin: 0 50%;
  animation: garage-gauge-sweep 1.5s ease-in-out infinite alternate;
}
.speedometer-loader.has-value .speedometer-loader-needle {
  animation: none;
  transform: rotate(200deg);
}
.is-running .speedometer-loader.has-value .speedometer-loader-needle {
  animation: garage-gauge-sweep 1.5s ease-in-out infinite alternate;
}
.speedometer-loader-hub {
  position: absolute;
  left: 50%;
  bottom: 25px;
  width: 17px;
  height: 17px;
  border: 4px solid var(--instrument-metal);
  border-radius: 50%;
  background: var(--instrument-ink);
  transform: translateX(-50%);
}
.speedometer-loader-odometer {
  position: absolute;
  left: 50%;
  bottom: 7px;
  display: grid;
  gap: 1px;
  overflow: hidden;
  padding: 3px;
  border: 2px solid var(--instrument-ink);
  border-radius: 4px;
  background: #13191a;
  transform: translateX(-50%);
}
.odometer-loader-reel {
  height: 20px;
  overflow: hidden;
  border-right: 1px solid #343b3b;
}
.odometer-loader-reel:last-child {
  border-right: 0;
}
.odometer-loader-track {
  display: grid;
  animation: garage-odometer-roll 1.15s steps(10) infinite;
}
.odometer-loader-reel:nth-child(even) .odometer-loader-track {
  animation-duration: 0.8s;
  animation-delay: -0.3s;
}
.odometer-loader-reel.is-static .odometer-loader-track {
  animation: none;
}
.odometer-loader-track > span {
  display: grid;
  place-items: center;
  height: 20px;
  color: #f3eee0;
  background: linear-gradient(#080b0c 0 46%, #293031 49% 52%, #080b0c 55%);
  font: 12px/1 var(--mono);
}
.garage-progress {
  padding: 28px 0 8px;
}
.garage-loading {
  display: grid;
  place-items: center;
  padding: 40px 20px;
}
#root > .garage-loading {
  min-height: 60vh;
}
.garage-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 24px;
}
.garage-gallery .garage-illustration {
  max-width: 360px;
  margin: 0 auto 20px;
}
.garage-gallery-art {
  text-align: center;
}
#main {
  position: relative;
  isolation: isolate;
}
.garage-watermark {
  position: absolute;
  inset: 0 0 auto auto;
  width: min(540px, 80%);
  height: 300px;
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
  color: var(--green);
  opacity: 0.055;
}
.garage-watermark svg {
  width: 100%;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
}
.page-title {
  position: relative;
}
.page-title::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 0;
  width: 76px;
  height: 4px;
  border-block: 1px solid var(--brass);
}
.site-footer,
.club-footer {
  background-image: linear-gradient(
    115deg,
    transparent 30%,
    color-mix(in srgb, var(--brass) 7%, transparent) 30% 31%,
    transparent 31% 33%,
    color-mix(in srgb, var(--brass) 7%, transparent) 33% 36%,
    transparent 36%
  );
}


@media (max-width: 680px) {
  .garage-counter {
    padding: 8px 0;
  }
  .garage-gallery {
    grid-template-columns: 1fr;
  }
  .showcase-motoring {
    margin-top: 16px;
  }
  .hero-showcase {
    min-height: 0;
  }
  .showcase-plate {
    margin: 6px 0 26px;
  }
  .farmer-instruments {
    gap: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .speedometer-loader-needle {
    transform: rotate(230deg);
  }
  .garage-stamp {
    transition: none;
  }
}

}
