.model-page .site-header { margin-bottom: 16px; }
.model-page .container { padding-bottom: 20px; }
.bike-intro { max-width: 52em; margin: 24px auto 0; color: var(--ink-soft); font-size: 13px; line-height: 1.9; text-align: center; text-wrap: balance; }
.bike-preview { --control-hover: rgba(61,67,72,.045); }
.bike-heading { position: relative; display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.bike-preview fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.bike-preview button,.bike-preview select { border: 0; border-radius: 4px; background: transparent; color: var(--ink); font: inherit; font-size: 14px; cursor: pointer; }
.bike-preview button { min-height: 40px; padding: 6px 10px; }
.bike-preview button:hover,.bike-preview select:hover { background: var(--control-hover); }
.bike-preview button:focus-visible,.bike-preview select:focus-visible,.bike-preview input:focus-visible,.bike-preview canvas:focus-visible { outline: 2px solid var(--leather); outline-offset: 3px; }
.bike-preview svg { display: block; flex: none; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.bike-toolbar { display: flex; flex-shrink: 0; align-items: center; gap: 12px; font-size: 14px; }
.bike-select { position: relative; display: inline-flex; align-items: center; }
.bike-select select { appearance: none; -webkit-appearance: none; min-height: 40px; padding: 6px 28px 6px 10px; }
.bike-select .bike-chevron { position: absolute; right: 7px; pointer-events: none; color: var(--ink-soft); }
.bike-preview .bike-spin,.bike-preview .bike-fold { display: inline-flex; align-items: center; gap: 7px; color: var(--ink-soft); white-space: nowrap; }
.bike-preview button[aria-pressed=true] { color: var(--leather); }
.bike-zoom { display: flex; }
.bike-zoom button { width: 36px; padding-inline: 0; color: var(--ink-soft); font: 20px/1 var(--font-sans); }
.bike-stage { position: relative; height: clamp(320px,calc(100svh - 320px),650px); }
.bike-stage canvas { display: block; width: 100%; height: 100%; touch-action: none; outline-offset: -3px; }
.bike-status { position: absolute; inset: 45% 20px auto; margin: 0; text-align: center; font-size: 14px; }
.bike-loading { position: absolute; top: 45%; left: 50%; width: min(240px,70%); transform: translate(-50%,-50%); }
.bike-loading-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 10px; color: var(--ink-soft); font-size: 12px; }
.bike-loading-value { color: var(--leather); font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.bike-progress { appearance: none; -webkit-appearance: none; display: block; width: 100%; height: 6px; margin: 0; overflow: hidden; border: 0; border-radius: 3px; background: var(--silver); color: var(--leather); }
.bike-progress::-webkit-progress-bar { background: transparent; }
.bike-progress::-webkit-progress-value { border-radius: 3px; background: var(--leather); }
.bike-progress::-moz-progress-bar { border-radius: 3px; background: var(--leather); }
.bike-progress:indeterminate { background: linear-gradient(90deg,var(--silver) 35%,var(--leather) 50%,var(--silver) 65%) 100% 0 / 250% 100%; animation: bike-loading 1.4s linear infinite; }
.bike-progress:indeterminate::-moz-progress-bar { background: transparent; }
@keyframes bike-loading { to { background-position: 0 0; } }
@media(prefers-reduced-motion:reduce) { .bike-progress:indeterminate { animation: none; background-position: 50% 0; } }
.bike-instructions { position: absolute; inset: auto 0 3px; margin: 0; text-align: center; color: var(--ink-soft); font-size: 12px; pointer-events: none; }
.bike-part { position: absolute; top: 12px; left: 0; max-width: min(340px,100%); }
.bike-part > div { padding: 10px 12px; border-radius: 4px; background: rgba(246,241,230,.94); }
.bike-part-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.bike-part strong { font: 600 16px/1.4 var(--font-serif); }
.bike-part .bike-part-heading button { padding: 0 4px; color: var(--ink-soft); font-size: 12px; }
.bike-part p { margin: 0; color: var(--ink-soft); font-size: 13px; line-height: 1.6; }
.bike-preview .bike-drive { display: flex; align-items: center; justify-content: center; gap: 24px; margin-top: 14px; padding: 8px 0; border-top: 1px solid rgba(198,192,180,.6); }
.bike-preview .bike-pedal { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-width: 80px; color: var(--leather); }
.bike-preview .bike-rider { color: var(--ink-soft); white-space: nowrap; }
.bike-preview .bike-rider:disabled { opacity: .5; }
.bike-preview .bike-fold,.bike-preview .bike-pedal { justify-content: center; min-width: 104px; min-height: 48px; padding: 12px 20px; border-radius: 6px; background: var(--leather); color: #fff; font-size: 15px; font-weight: 600; box-shadow: 0 2px 5px rgba(90,56,30,.14); }
.bike-preview .bike-fold:not(:disabled):hover,.bike-preview .bike-pedal:not(:disabled):hover { background: #744a29; }
.bike-preview .bike-fold[aria-pressed=true],.bike-preview .bike-pedal[aria-pressed=true] { background: #654024; color: #fff; }
.bike-preview .bike-fold svg,.bike-preview .bike-pedal svg { width: 18px; height: 18px; stroke-width: 1.7; }
.bike-pedal .bike-play-icon { fill: currentColor; stroke: none; }
.bike-pause-icon,.bike-pedal[aria-pressed=true] .bike-play-icon { display: none; }
.bike-pedal[aria-pressed=true] .bike-pause-icon { display: block; }
.bike-cadence { display: flex; align-items: center; gap: 12px; color: var(--ink-soft); font-size: 13px; }
.bike-cadence input { appearance: none; -webkit-appearance: none; width: 112px; min-width: 0; height: 40px; margin: 0; background: transparent; cursor: pointer; }
.bike-cadence input::-webkit-slider-runnable-track { height: 2px; border-radius: 1px; background: var(--silver); }
.bike-cadence input::-webkit-slider-thumb { appearance: none; -webkit-appearance: none; width: 10px; height: 10px; margin-top: -4px; border: 0; border-radius: 50%; background: var(--leather); }
.bike-cadence input::-moz-range-track { height: 2px; border-radius: 1px; background: var(--silver); }
.bike-cadence input::-moz-range-thumb { width: 10px; height: 10px; border: 0; border-radius: 50%; background: var(--leather); }
.bike-cadence-number { min-width: 62px; white-space: nowrap; }
.bike-cadence output { color: var(--ink); font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.bike-unit { font-size: 12px; }
.bike-preview [hidden] { display: none; }
.bike-preview fieldset:disabled { opacity: .45; }
.bike-preview :disabled { cursor: default; }
.bike-preview button:disabled:hover,.bike-preview select:disabled:hover { background: transparent; }
.bike-preview .bike-fold:disabled,.bike-preview .bike-pedal:disabled,.bike-preview .bike-fold:disabled:hover,.bike-preview .bike-pedal:disabled:hover { background: var(--leather); color: #fff; box-shadow: none; }
.bike-preview[data-state=unavailable] canvas,.bike-preview[data-state=unavailable] .bike-instructions { visibility: hidden; }
.bike-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media(max-width:680px) {
  .bike-heading { flex-wrap: wrap; gap: 8px; }
  .bike-heading .build-countdown { position: absolute; top: calc(100% + 10px); left: 0; z-index: 1; max-width: 100%; pointer-events: none; }
  .bike-preview-countdown .bike-part { top: 56px; }
  .bike-toolbar { width: 100%; gap: 4px; }
  .bike-toolbar .bike-select { flex: 1; min-width: 0; }
  .bike-toolbar select { width: 100%; min-width: 0; padding-left: 6px; }
  .bike-preview .bike-fold { min-width: 88px; padding-inline: 12px; }
  .bike-preview .bike-spin { padding-inline: 8px; }
  .bike-zoom { margin-left: auto; }
  .bike-preview button,.bike-select select { min-height: 44px; }
  .bike-zoom button { width: 36px; }
  .bike-stage { height: clamp(280px,calc(100vw - 32px),380px); }
  .bike-preview .bike-drive { display: grid; grid-template-columns: auto auto auto; justify-content: stretch; gap: 0 12px; margin-top: 10px; padding-top: 6px; }
  .bike-pedal { justify-self: start; }
  .bike-gear { justify-self: end; }
  .bike-cadence { grid-column: 1 / -1; }
  .bike-cadence input { flex: 1; width: 0; }
  .bike-cadence-number { text-align: right; }
}
