/* A tiny hand-drawn passenger; SVG transforms are driven by the ride simulation. */
.lp-live-lab .lp-cart { pointer-events: none; }
.lp-live-lab .lp-lab-graph { overflow: hidden; }
.lp-live-lab .lp-lab-line { stroke-dasharray: 4 5; stroke-width: 2; opacity: .45; }
.lp-live-lab .lp-cart-ramp { fill: none; stroke: #5636c9; stroke-width: 5; stroke-linecap: round; }
.lp-live-lab .lp-cart path,
.lp-live-lab .lp-cart circle,
.lp-live-lab .lp-cart ellipse { stroke-linecap: round; stroke-linejoin: round; }
.lp-live-lab .lp-cart-stick,
.lp-live-lab .lp-cart-hair,
.lp-live-lab .lp-cart-handle { fill: none; stroke: #27223c; stroke-width: 2.8; }
.lp-live-lab .lp-cart-head { fill: #f7f4ef; stroke: #27223c; stroke-width: 2.6; }
.lp-live-lab .lp-cart-eye { fill: #27223c; stroke: none; }
.lp-live-lab .lp-cart-eye-white { fill: white; stroke: #27223c; stroke-width: .9; }
.lp-live-lab .lp-cart-smile { fill: none; stroke: #27223c; stroke-width: 1.6; }
.lp-live-lab .lp-cart-mouth { fill: #27223c; stroke: none; }
.lp-live-lab .lp-cart-body { fill: #ff8267; stroke: #27223c; stroke-width: 2.5; }
.lp-live-lab .lp-cart-body-detail { fill: none; stroke: #a93827; stroke-width: 1.7; }
.lp-live-lab .lp-cart-badge { fill: #ded5ff; stroke: #5636c9; stroke-width: 1.4; }
.lp-live-lab .lp-cart-wheel { fill: #27223c; stroke: #f7f4ef; stroke-width: 1.2; }
.lp-live-lab .lp-cart-spoke { fill: none; stroke: #ded5ff; stroke-width: 1.2; }
.lp-live-lab .lp-cart-speed-lines { fill: none; stroke: #5636c9; stroke-width: 2.4; opacity: 0; }
.lp-live-lab .lp-cart-wind { stroke: #b34a37; stroke-width: 1.8; }
.lp-live-lab .lp-cart-face--fast,
.lp-live-lab .lp-cart-sweat { display: none; }
.lp-live-lab .lp-cart-sweat { fill: #ff8267; stroke: #27223c; stroke-width: 1; }
.lp-live-lab.is-fast .lp-cart-face--calm { display: none; }
.lp-live-lab.is-fast .lp-cart-face--fast,
.lp-live-lab.is-fast .lp-cart-sweat { display: inline; }
.lp-live-lab.is-riding.is-fast .lp-cart-speed-lines { opacity: .85; }
.lp-live-lab .lp-cart-stick--air { display: none; }
.lp-live-lab.is-flying .lp-cart-stick--ride,
.lp-live-lab.is-flying .lp-cart-face--calm { display: none; }
.lp-live-lab.is-flying .lp-cart-stick--air,
.lp-live-lab.is-flying .lp-cart-face--fast,
.lp-live-lab.is-flying .lp-cart-sweat { display: inline; }
.lp-live-lab.is-flying .lp-cart-speed-lines { opacity: .85; }
.lp-live-lab .lp-cart-pop { fill: none; stroke: #5636c9; stroke-width: 2.5; stroke-linecap: round; opacity: 0; }
.lp-live-lab .lp-cart-pop > :nth-child(2n) { stroke: #b34a37; }
.lp-live-lab.is-resetting .lp-cart-pop { opacity: .9; }

.lp-live-lab .lp-cart-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 100%;
  gap: 12px 18px;
  margin-block: 14px 4px;
}
.lp-live-lab .lp-cart-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.lp-live-lab .lp-cart-rewind {
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid #8d7dac;
  border-radius: 999px;
  background: transparent;
  color: #5636c9;
  font-size: .875rem;
  font-weight: 600;
  line-height: 1.4;
}
.lp-live-lab .lp-cart-rewind:hover { background: #eee8ff; border-color: #5636c9; }
.lp-live-lab .lp-cart-rewind:focus-visible { outline: 2px solid #5636c9; outline-offset: 3px; }
.lp-live-lab .lp-cart-timing {
  align-self: stretch;
  margin-block: 8px 0;
  color: #625d72;
  font-size: .875rem;
  line-height: 1.7;
  font-variant-numeric: tabular-nums;
}
.lp-live-lab .lp-cart-launch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid #5636c9;
  border-radius: 999px;
  background: #5636c9;
  color: white;
  font-size: .875rem;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
}
.lp-live-lab .lp-cart-launch:hover { background: #4728b6; }
.lp-live-lab .lp-cart-launch:focus-visible { outline: 2px solid #5636c9; outline-offset: 3px; }
.lp-live-lab .lp-cart-launch:disabled { background: #e6e0ee; border-color: #c6bdce; color: #625d72; opacity: 1; cursor: default; }
.lp-live-lab .lp-cart-launch .lp-icon { width: 18px; height: 18px; }
.lp-live-lab .lp-cart-speed {
  display: grid;
  grid-template-columns: auto auto;
  align-items: baseline;
  gap: 4px 12px;
  min-width: 120px;
  max-width: 180px;
  flex: 1;
  font-size: .875rem;
  color: #625d72;
}
.lp-live-lab .lp-cart-speed output { justify-self: end; color: #5636c9; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lp-live-lab .lp-cart-speed svg { grid-column: 1 / -1; display: block; width: 100%; height: 7px; overflow: hidden; border-radius: 99px; background: #ded5e9; color: #5636c9; }
.lp-live-lab.is-fast .lp-cart-speed svg { color: #a93827; }
.lp-live-lab .lp-cart-caption {
  position: relative;
  align-self: stretch;
  margin-block: 2px 16px;
  padding: 14px 16px;
  border: 1px solid #d4c8f3;
  border-radius: 14px;
  background: white;
  color: #625d72;
  font-size: .875rem;
  line-height: 1.65;
  min-height: 120px;
}
.lp-live-lab .lp-cart-caption strong { display: block; margin-bottom: 3px; font-size: 1rem; color: #27223c; font-weight: 700; }
.lp-live-lab .lp-cart-caption::before { content: ""; position: absolute; left: 25px; top: -7px; width: 12px; height: 12px; border-left: 1px solid #d4c8f3; border-top: 1px solid #d4c8f3; background: white; transform: rotate(45deg); }
.lp-live-lab.is-fast .lp-cart-caption { border-color: #efb29d; background: #fff2eb; }
.lp-live-lab.is-fast .lp-cart-caption::before { border-color: #efb29d; background: #fff2eb; }
.lp-live-lab.is-resetting .lp-cart-caption { border-color: #b7a5e8; background: #eee8ff; color: #51446f; }
.lp-live-lab.is-resetting .lp-cart-caption::before { border-color: #b7a5e8; background: #eee8ff; }
.lp-live-lab .lp-cart-note { margin-block: 6px 12px; font-size: .875rem; line-height: 1.7; color: #625d72; }
.lp-live-lab .lp-cart-note--comic { font-size: .75rem; }
.lp-live-lab.is-paused .lp-cart-launch { border-style: dashed; }

@media (max-width: 700px) {
  /* Keep the ramp and both sliders together on a small screen. */
  .lp-live-lab .lp-lab-canvas { display: contents; }
  .lp-live-lab .lp-lab-canvas-heading { grid-column: 1 / -1; order: 2; margin-bottom: 6px; }
  .lp-live-lab .lp-lab-graph { grid-column: 1 / -1; order: 3; width: min(100%, 300px); background: #f7f4ef; border-radius: 12px; }
  .lp-live-lab .lp-lab-control { order: 4; margin-top: 12px; }
  .lp-live-lab .lp-cart-toolbar { grid-column: 1 / -1; order: 5; }
  .lp-live-lab .lp-cart-timing { grid-column: 1 / -1; order: 5; margin-top: 8px; }
  .lp-live-lab .lp-cart-caption { grid-column: 1 / -1; order: 6; margin-top: 14px; min-height: 128px; }
  .lp-live-lab .lp-lab-presets { order: 7; margin-top: 0; }
  .lp-live-lab .lp-lab-explanation { order: 8; }
  .lp-live-lab .lp-cart-note { grid-column: 1 / -1; order: 9; margin-top: 16px; }
  .lp-live-lab .lp-cart-note--comic { order: 10; margin-top: 0; }
  .lp-live-lab .lp-lab-data { grid-column: 1 / -1; order: 11; }
  .lp-live-lab .lp-lab-reset { order: 12; margin-bottom: 6px; }
  .lp-live-lab .lp-lab-noscript { order: 13; }
  .lp-live-lab .lp-cart-toolbar { gap: 10px; margin-block: 12px 4px; }
  .lp-live-lab .lp-cart-launch { padding-inline: 13px; }
  .lp-live-lab .lp-cart-speed { min-width: 100px; }
  .lp-live-lab .lp-cart-caption { padding: 12px 14px; }
}
@media (max-width: 380px) {
  .lp-live-lab .lp-cart-toolbar { align-items: stretch; }
  .lp-live-lab .lp-cart-controls { width: 100%; }
  .lp-live-lab .lp-cart-launch, .lp-live-lab .lp-cart-rewind { width: 100%; }
  .lp-live-lab .lp-cart-speed { max-width: none; width: 100%; }
}
html.motion-paused .lp-live-lab .lp-cart-speed-lines,
html.motion-paused .lp-live-lab .lp-cart-pop,
.lp-live-lab.is-paused .lp-cart-speed-lines,
.lp-live-lab.is-paused .lp-cart-pop { opacity: 0 !important; }
@media (prefers-reduced-motion: reduce) {
  .lp-live-lab .lp-cart-speed-lines,
  .lp-live-lab .lp-cart-pop { opacity: 0 !important; }
}
