/* The full scene opens into a persistent overview and a roomy results panel. */
.run-page {
  --run-surface: #fffefa;
  --run-soft: #ffffff;
  --run-line: #d5d9cd;
  --run-deep: #344e49;
  --run-accent: var(--green);
  background: var(--run-soft);
  min-height: 100svh;
}
.viewing-run .site-header {
  display: none;
}
.viewing-run #main {
  min-height: 100svh;
}
.run-back {
  position: fixed;
  z-index: 5;
  top: 32px;
  right: 32px;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 42px;
  padding: 9px 16px;
  border: 1px solid #b7c4b4;
  border-radius: 3px;
  background: var(--run-surface);
  color: var(--run-deep);
  font-size: 13px;
  text-decoration: none;
}
.run-back:hover {
  background: #e7edde;
}
#run-error {
  position: fixed;
  z-index: 6;
  top: 80px;
  left: 24px;
  right: 24px;
  margin: 0;
}
.ride-runway {
  /* Cover the preview over 240px, then reveal the panel over 520px. */
  height: calc(100svh + 760px);
}
.ride-sticky {
  --cover: 0;
  --reveal: 0;
  --preview-height: 156px;
  position: sticky;
  top: 0;
  height: 100svh;
}
.ride-stages {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}
.ride-stages li {
  min-width: 0;
}
.ride-stages button {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid var(--run-line);
  border-radius: 5px;
  background: transparent;
  color: var(--run-deep);
  font-size: 12px;
  white-space: nowrap;
}
.ride-stages button:hover {
  background: #edf3e8;
}
.ride-stages button[aria-pressed="true"] {
  color: #fffefa;
  background: var(--run-deep);
  border-color: var(--run-deep);
}
.ride-stage-count {
  opacity: 0.7;
  font: 10px var(--mono);
}
.ride-stage-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--run-accent);
}
.ride-stages .has-failures .ride-stage-dot {
  background: #b44040;
}
.ride-stages button[aria-pressed="true"] .ride-stage-dot {
  background: #f2d67e;
}
.ride-grid {
  position: relative;
  height: 100%;
  padding: calc(var(--reveal) * 24px);
  overflow: clip;
}
.ride-main {
  position: relative;
  z-index: 1;
  width: calc(100% - var(--reveal) * 36%);
  height: calc(100% - (1 - var(--cover)) * var(--preview-height));
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.ride-scene {
  --sky: #f1f4e9;
  --sun: #e5b456;
  --cloud: #fffefa;
  --hill-back: #b8d2bb;
  --hill-front: #8eb9a6;
  --water: #a8d3ce;
  --ground: #e5dfc3;
  --road: #f6edd7;
  --road-edge: #b7af89;
  --road-mark: #cec5a3;
  --trees: #698e69;
  --sign: #f5f0da;
  --sign-post: #557563;
  --sign-ink: #355b49;
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  border-radius: calc(var(--reveal) * 8px);
  background: var(--sky);
  color: #3b574c;
  isolation: isolate;
  transition:
    background 1.5s ease,
    color 1s ease;
}
.ride-copy {
  position: absolute;
  top: calc(64px - var(--reveal) * 28px);
  left: calc(64px - var(--reveal) * 32px);
  z-index: 2;
  width: calc(100% - 128px + var(--reveal) * 64px);
  max-width: 760px;
}
.ride-copy h2 {
  margin-top: 14px;
  font: 400 clamp(34px, calc(5vw - var(--reveal) * 2vw), 72px)/1.16 var(--display);
  letter-spacing: -1.5px;
  text-wrap: balance;
}
.ride-copy .ride-eyebrow {
  font: 12px/1.6 var(--mono);
  letter-spacing: 3px;
}
#ride-caption {
  margin-top: 20px;
  max-width: 620px;
  font-size: calc(22px - var(--reveal) * 5px);
  line-height: 1.6;
  text-wrap: pretty;
}
.ride-view-details {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: calc(68px - var(--reveal) * 20px);
  margin-top: 24px;
  padding: 12px 26px;
  border: 1px solid #2e4c42;
  border-radius: 5px;
  background: #304e43;
  color: #fffefa;
  font-size: calc(22px - var(--reveal) * 7px);
  font-weight: 600;
}
.ride-view-details:hover {
  background: #223c33;
}
.ride-view-details > span:last-child {
  font-size: 25px;
  font-weight: 400;
  line-height: 1;
}
.ride-scene[data-theme="ir"] {
  --sky: #eaf0e1;
  --sun: #cfba69;
  --hill-back: #bac9a6;
  --hill-front: #91ad8b;
  --ground: #c4cdb0;
  --road: #e7e4cf;
  --road-edge: #9ca582;
  --road-mark: #bbc0a3;
}
.ride-scene[data-theme="codegen"] {
  --sky: #edf1f4;
  --sun: #efbe82;
  --hill-back: #b1bfca;
  --hill-front: #81969f;
  --ground: #c4cbc5;
  --road: #e5e8e1;
  --road-edge: #9da79d;
  --road-mark: #b2bdb4;
  --sign: #eef0e5;
  --sign-post: #607472;
  --sign-ink: #3b5759;
  color: #344e57;
}
.ride-scene[data-theme="optimization"] {
  --sky: #292b47;
  --sun: #e7d8ab;
  --cloud: #464961;
  --hill-back: #414966;
  --hill-front: #56627b;
  --ground: #646e7a;
  --road: #838d97;
  --road-edge: #bbc5cb;
  --road-mark: #bac4c9;
  --trees: #3f4e5e;
  --sign: #414b5e;
  --sign-post: #c0cbbd;
  --sign-ink: #f1eacb;
  color: #f1e8ce;
}
.ride-stars,
.ride-trees,
.ride-mountains,
.ride-rocks {
  opacity: 0;
  transition: opacity 1.3s;
}
.ride-palms,
.ride-water,
.ride-waves,
.ride-distant {
  transition: opacity 1.3s;
}
[data-theme="ir"] .ride-trees,
[data-theme="codegen"] .ride-mountains,
[data-theme="codegen"] .ride-rocks,
[data-theme="optimization"] .ride-stars,
[data-theme="optimization"] .ride-mountains {
  opacity: 1;
}
.ride-scene:not([data-theme="semantic"]) .ride-palms,
.ride-scene:not([data-theme="semantic"]) .ride-water,
.ride-scene:not([data-theme="semantic"]) .ride-waves,
[data-theme="codegen"] .ride-distant,
[data-theme="optimization"] .ride-distant {
  opacity: 0;
}
[data-theme="optimization"] .ride-clouds {
  opacity: 0.3;
}
.ride-ferris-forearm,
.ride-ferris-pincer {
  fill: #f74c00;
  stroke: #a52b00;
  stroke-width: 9px;
  stroke-linejoin: round;
}
.ride-ferris-pincer-shine {
  fill: none;
  stroke: #ff915c;
  stroke-width: 14px;
  stroke-linecap: round;
}
.ride-ferris-arm {
  transform: rotate(-55deg);
  transition: transform 0.9s ease;
}
.ride-ferris-arms > g:nth-child(2) .ride-ferris-arm {
  transform: rotate(-30deg);
}
.ride-ferris-eye {
  transform-box: fill-box;
  transform-origin: center;
  animation: ride-blink 6s infinite;
}
.ride-art {
  position: absolute;
  inset: 0;
  width: calc(100% + var(--reveal) * 25%);
  left: calc(var(--reveal) * -8%);
}
.ride-art > svg {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: auto;
  display: block;
  overflow: hidden;
  transform: translateY(6%);
}
.ride-art path,
.ride-art circle {
  transition: fill 1.4s ease;
}
.ride-art text {
  font-family: "Fira Sans", sans-serif;
}
.ride-roadside {
  transform: translate(calc(865px - var(--reveal) * 80px), 285px);
}
.ride-sun {
  transform: translate(calc(var(--reveal) * -180px), calc(var(--reveal) * -120px));
}
.ride-crab-position {
  transform: translate(0, 0);
}
[data-status="queued"] .ride-crab-position {
  transform: translateY(33px);
}
[data-status="queued"] .ride-ferris-arm,
[data-status="accepted"] .ride-ferris-arm,
[data-status="queued"] .ride-ferris-arms > g:nth-child(2) .ride-ferris-arm,
[data-status="accepted"] .ride-ferris-arms > g:nth-child(2) .ride-ferris-arm {
  transform: rotate(-115deg);
}
/* The deck and Ferris share this movement so his feet stay on the grip tape. */
[data-status="running"] .ride-rider {
  animation: ride-roll 0.85s ease-in-out infinite;
}
[data-status="running"] .ride-wheel {
  animation: ride-wheel 0.7s linear infinite;
}
/* Each layer contains two adjacent 1200-unit tiles, so looping never reverses. */
.ride-parallax {
  animation: ride-parallax var(--travel-time, 45s) linear infinite;
  animation-play-state: paused;
}
.ride-stars {
  --travel-time: 240s;
}
.ride-clouds {
  --travel-time: 150s;
}
.ride-far {
  --travel-time: 90s;
}
.ride-near {
  --travel-time: 48s;
}
.ride-waves {
  --travel-time: 30s;
}
.ride-scenery {
  --travel-time: 20s;
}
.ride-verge {
  --travel-time: 10.4s;
}
.ride-road-motion {
  animation: ride-road 1.3s linear infinite;
  animation-play-state: paused;
}
[data-status="running"] .ride-parallax,
[data-status="running"] .ride-road-motion {
  animation-play-state: running;
}
[data-status="failed"] .ride-ferris-arm {
  animation: ride-wave 0.9s ease-in-out infinite alternate;
}
[data-status="failed"] .ride-ferris-arms > g:nth-child(2) .ride-ferris-arm {
  animation-delay: -0.5s;
}
.is-boarding .ride-crab-position {
  animation: ride-board-on 1.05s both;
}
.ride-scene:not(.is-moving) *,
.ride-scene:not(.is-moving) *::after {
  animation-play-state: paused !important;
}
@keyframes ride-road {
  to {
    transform: translateX(-150px);
  }
}
@keyframes ride-parallax {
  to {
    transform: translateX(-1200px);
  }
}
@keyframes ride-wheel {
  to {
    transform: rotate(360deg);
  }
}
@keyframes ride-roll {
  50% {
    transform: translateY(1px);
  }
}
@keyframes ride-wave {
  from {
    transform: rotate(-65deg);
  }
  to {
    transform: rotate(-12deg);
  }
}
@keyframes ride-blink {
  0%,
  44%,
  48%,
  100% {
    transform: scaleY(1);
  }
  46% {
    transform: scaleY(0.08);
  }
}
@keyframes ride-board-on {
  0% {
    transform: translateY(33px);
    animation-timing-function: ease-in;
  }
  15% {
    transform: translateY(38px);
    animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  }
  52% {
    transform: translateY(-48px);
    animation-timing-function: ease-in;
  }
  90% {
    transform: translateY(0);
    animation-timing-function: ease-out;
  }
  100% {
    transform: translateY(0);
  }
}
.ride-progress-panel {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 44px;
  padding: 10px calc(32px - var(--reveal) * 16px);
  background: var(--run-soft);
  color: #70817b;
  font: 11px/1.5 var(--mono);
}
.ride-progress {
  flex: 1;
  min-width: 32px;
  height: 3px;
  border-radius: 2px;
  overflow: hidden;
  background: #d9dfd5;
}
.ride-progress > span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--run-accent);
  transition: width 1s cubic-bezier(0.22, 0.61, 0.36, 1);
}
#ride-brief {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
#ride-percent {
  font-weight: 400;
  color: var(--run-accent);
}
.ride-live {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% - var(--preview-height));
  bottom: 0;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--run-soft);
}
/* The scene covers the preview before the full panel enters from the right. */
@media (min-width: 801px) {
  .ride-sticky.is-covered .ride-live {
    left: calc(64% + 18px);
    right: 24px;
    top: 24px;
    bottom: 24px;
    transform: translateX(calc((1 - var(--reveal)) * 110%));
  }
}
.ride-live-heading {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 16px;
  flex-shrink: 0;
  margin: 0 28px;
  padding: 24px 0 18px;
  border-bottom: 1px solid var(--run-line);
}
.ride-live-heading h2 {
  font-size: clamp(23px, 2vw, 30px);
  font-weight: 600;
}
.ride-live-title-group,
.ride-live-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}
.ride-live-meta {
  flex: 1;
}
.is-detailed .ride-live-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
}
.is-detailed .ride-live-heading h2 {
  font-size: 24px;
}
.is-detailed .ride-live-meta {
  grid-column: 1 / -1;
  grid-row: 2;
}
.is-detailed .run-back {
  position: static;
  grid-column: 2;
  grid-row: 1;
  min-height: 34px;
  padding: 4px 0 4px 8px;
  border: 0;
  background: transparent;
  white-space: nowrap;
  font-size: 12px;
  gap: 8px;
}
.is-detailed .run-back:hover {
  text-decoration: underline;
}
#run-meta {
  margin-left: auto;
  color: var(--muted);
  font: 12px/1.7 var(--mono);
}
#run-status .badge {
  font-size: 12px;
  white-space: nowrap;
  padding: 6px 12px;
  border: 0;
  border-radius: 8px;
}
.ride-document-icon {
  color: #626b70;
  flex-shrink: 0;
}
.ride-filters {
  display: none;
  flex-shrink: 0;
  padding: 18px 28px 12px;
  border-bottom: 1px solid var(--run-line);
}
.is-detailed .ride-filters {
  display: block;
}
.ride-filter-fields {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}
.ride-search {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
  margin: 0;
  font-weight: 400;
  padding: 0 12px;
  border: 1px solid var(--run-line);
  border-radius: 5px;
  color: #70817b;
  background: white;
}
.ride-search:focus-within {
  outline: 2px solid var(--run-accent);
  outline-offset: 2px;
}
.ride-search input {
  width: 100%;
  min-width: 0;
  min-height: 38px;
  border: 0;
  padding: 0;
  outline: none;
  background: transparent;
  font-size: 13px;
  color: var(--ink);
}
.ride-filter-fields select {
  min-height: 38px;
  width: auto;
  padding: 6px 26px 6px 10px;
  border: 1px solid var(--run-line);
  border-radius: 5px;
  background-color: white;
  color: var(--run-deep);
  font-size: 12px;
}
.ride-filter-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 30px;
  margin-top: 6px;
  color: #70817b;
  font-size: 12px;
}
.ride-filter-summary button {
  padding: 2px 0;
  border: 0;
  background: transparent;
  color: var(--run-accent);
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ride-run-actions {
  display: none;
  gap: 8px;
  margin-left: auto;
}
.ride-run-actions:has(button:not([hidden])) {
  display: flex;
  padding-left: 10px;
  border-left: 1px solid var(--run-line);
}
.ride-run-actions .button {
  min-height: 30px;
  margin-top: 0;
  padding: 4px 10px;
  border: 1px solid var(--run-line);
  background: transparent;
  color: var(--run-deep);
  font-size: 11px;
  text-decoration: none;
}
.ride-live-body {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}
.is-detailed .ride-live-body {
  overflow: auto;
}
.ride-results {
  padding: 0 28px;
}
.ride-result {
  border: 0;
  border-bottom: 1px solid var(--run-line);
  padding: 0;
}
.ride-result > summary {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto 12px;
  align-items: center;
  gap: 14px;
  min-height: 62px;
  padding: 14px 0;
  font-weight: 400;
  list-style: none;
  text-decoration: none;
}
.ride-result > summary::-webkit-details-marker {
  display: none;
}
.ride-result > summary:hover {
  background: #f2f5ed;
}
.ride-result-status {
  font: 11px var(--mono);
  color: #a44331;
}
.ride-result-status.is-passed {
  color: var(--run-accent);
}
.ride-result-name {
  min-width: 0;
}
.ride-result-path {
  display: block;
  overflow-wrap: anywhere;
  font: 12px/1.65 var(--mono);
  color: #505962;
}
.ride-result-stage {
  display: inline-block;
  margin-top: 4px;
  font-size: 11px;
  color: #70817b;
}
.ride-result-verdict {
  font-size: 12px;
  color: #626b70;
  text-align: right;
}
.ride-result-arrow {
  color: #70817b;
  transition: transform 0.2s;
}
.ride-result[open] .ride-result-arrow {
  transform: rotate(180deg);
}
.ride-result-output {
  padding: 0 0 18px 60px;
}
.ride-result-metrics {
  font-size: 12px;
  color: #70817b;
}
.ride-result-output pre {
  margin: 12px 0 0;
  max-height: 480px;
  padding: 14px;
  border: 1px solid var(--run-line);
  border-radius: 5px;
  background: #f2f3ed;
  color: var(--run-deep);
  font: 11px/1.8 var(--mono);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  overflow: auto;
}
.ride-result-output p {
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted);
}
.ride-results-empty {
  padding: 26px 0;
  color: var(--run-deep);
}
.ride-results-empty p {
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
}
.ride-score {
  margin: 24px 28px;
  padding: 16px;
  border: 1px solid var(--run-line);
  border-left: 3px solid var(--run-accent);
  border-radius: 3px;
  background: #edf3e8;
}
.ride-sticky:not(.is-detailed) .ride-score {
  display: none;
}
.ride-score h3 {
  font-size: 13px;
  font-weight: 600;
}
.ride-score-value {
  display: block;
  margin-top: 8px;
  color: var(--run-accent);
  font-size: 18px;
  overflow-wrap: anywhere;
}
.ride-score[data-ready="true"] .ride-score-value {
  font: 600 32px/1.3 var(--mono);
}
.ride-score p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}
.ride-score a,
.ride-score summary {
  color: var(--run-accent);
  font-size: 12px;
}
.ride-score a {
  display: inline-block;
  margin-top: 12px;
}
.ride-score details {
  margin-top: 14px;
}
.ride-score summary {
  cursor: pointer;
  font-weight: 600;
}
.ride-score .ride-score-baseline {
  font: 10px/1.6 var(--mono);
  overflow-wrap: anywhere;
}
.ride-score .table-scroll {
  max-height: 260px;
  margin-top: 12px;
}
.ride-score th,
.ride-score td {
  padding: 8px;
  font-size: 10px;
}
.ride-score th {
  letter-spacing: 0;
}
.ride-score .case-name {
  min-width: 120px;
}
.ride-current {
  margin: 24px 28px 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--run-line);
  min-width: 0;
}
.ride-current strong {
  font-size: 13px;
  font-weight: 600;
  color: var(--run-accent);
}
.ride-current p {
  font: 12px/1.7 var(--mono);
  color: var(--muted);
  overflow-wrap: anywhere;
  margin-top: 5px;
  max-height: 70px;
  overflow: auto;
}
.ride-system-log {
  margin: 0 28px;
  padding: 16px 0 22px;
  border-top: 1px solid var(--run-line);
}
.ride-system-log > summary {
  font-size: 13px;
}
.ride-system-log > summary > span {
  margin-left: 8px;
  color: #70817b;
  font-size: 11px;
  font-weight: 400;
}
.ride-log {
  padding: 12px 0 0;
}
.ride-log-line {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 10px;
  font: 11px/1.7 var(--mono);
  padding: 7px 0;
  color: var(--muted);
}
.ride-log-line > span {
  font-size: 9px;
  color: #807569;
}
.ride-log-line p,
.ride-log-line pre {
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
.ride-log-line pre {
  font: inherit;
  padding: 10px;
  background: #f0f1e9;
  color: var(--run-deep);
  margin: 8px 0 0;
}
.ride-log-line summary {
  font-size: 10px;
  cursor: pointer;
  margin-top: 4px;
}
.ride-log-line .log-pass {
  color: #477857;
}
.ride-log-line .log-fail {
  color: #af513c;
}
.status-link {
  border: 0;
  background: transparent;
  padding: 3px 0;
  text-align: left;
}
.status-link:hover .badge {
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 1100px) and (min-width: 801px) {
  .ride-live-heading {
    gap: 10px;
    margin-inline: 16px;
  }
  .ride-live-title-group,
  .ride-live-meta {
    gap: 10px;
  }
  .is-detailed .ride-document-icon {
    display: none;
  }
  .is-detailed .ride-live-heading h2 {
    font-size: 20px;
  }
  .is-detailed .run-back {
    gap: 6px;
    padding-left: 0;
    font-size: 11px;
  }
  #run-meta {
    margin-left: auto;
    font-size: 10px;
  }
  .ride-filters,
  .ride-results {
    padding-inline: 20px;
  }
  .ride-filter-fields {
    flex-wrap: wrap;
  }
  .ride-search {
    flex-basis: 100%;
  }
  .ride-filter-fields select {
    width: 100%;
  }
  .ride-run-actions .button {
    white-space: nowrap;
  }
  .ride-result > summary {
    gap: 4px 10px;
    grid-template-columns: 36px minmax(0, 1fr) 10px;
  }
  .ride-result-status {
    grid-row: 1 / 3;
  }
  .ride-result-arrow {
    grid-column: 3;
    grid-row: 1 / 3;
  }
  .ride-result-verdict {
    grid-column: 2;
    text-align: left;
  }
  .ride-result-output {
    padding-left: 46px;
  }
  .ride-progress-panel {
    flex-wrap: wrap;
    gap: 6px 12px;
  }
  #ride-brief {
    width: 100%;
  }
}
@media (max-width: 800px) {
  .run-back {
    position: absolute;
    top: 20px;
    right: 20px;
    gap: 8px;
    padding-inline: 12px;
    font-size: 12px;
  }
  .ride-runway {
    height: auto;
  }
  .ride-sticky {
    position: relative;
    height: auto;
  }
  .ride-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    overflow: visible;
  }
  .ride-main {
    width: 100%;
    height: calc(100svh - 140px);
    min-height: 560px;
  }
  .ride-scene {
    border-radius: 0;
  }
  .ride-copy {
    top: 90px;
    left: 24px;
    width: calc(100% - 48px);
  }
  .ride-copy .ride-eyebrow {
    font-size: 10px;
    letter-spacing: 2px;
  }
  .ride-copy h2 {
    font-size: clamp(32px, 8vw, 56px);
    letter-spacing: -0.8px;
  }
  #ride-caption {
    margin-top: 14px;
    max-width: 380px;
    font-size: 16px;
  }
  .ride-view-details {
    min-height: 48px;
    margin-top: 18px;
    padding: 10px 18px;
    font-size: 15px;
  }
  .ride-art {
    width: 190%;
    left: -29%;
  }
  .ride-art > svg {
    overflow: visible;
  }
  .ride-roadside {
    transform: translate(610px, 285px);
  }
  .ride-sun {
    transform: translate(-350px, -120px);
  }
  .ride-mountains {
    transform: translateY(-323px) scaleY(1.8);
  }
  .ride-distant {
    transform: translateY(-242px) scaleY(1.6);
  }
  .ride-progress-panel {
    gap: 12px;
    padding: 10px 16px;
    font-size: 10px;
  }
  .ride-live {
    position: relative;
    inset: auto;
    width: auto;
    height: min(900px, calc(100svh - 32px));
    min-height: 500px;
    border-radius: 0;
    scroll-margin-top: 16px;
  }
  .ride-live-heading {
    gap: 10px;
    margin-inline: 20px;
    padding-top: 20px;
  }
  .ride-live-title-group,
  .ride-live-meta {
    gap: 10px;
  }
  .ride-live-heading h2 {
    font-size: 24px;
  }
  .ride-document-icon {
    width: 20px;
  }
  #run-meta {
    margin-left: auto;
    font-size: 11px;
  }
  .ride-filters {
    display: block;
    padding: 16px 20px 10px;
  }
  .ride-live-body {
    overflow: auto;
  }
  .ride-results {
    padding-inline: 20px;
  }
  .ride-result > summary {
    grid-template-columns: 36px minmax(0, 1fr) 10px;
    gap: 4px 10px;
  }
  .ride-result-status {
    grid-row: 1 / 3;
  }
  .ride-result-arrow {
    grid-column: 3;
    grid-row: 1 / 3;
  }
  .ride-result-verdict {
    grid-column: 2;
    text-align: left;
    font-size: 11px;
  }
  .ride-result-path {
    font-size: 11px;
  }
  .ride-result-output {
    padding-left: 0;
  }
  .ride-score,
  .ride-current,
  .ride-system-log {
    margin-inline: 20px;
  }
  .ride-sticky:not(.is-detailed) .ride-score {
    display: block;
  }
}
@media (max-height: 700px) and (min-width: 801px) {
  .ride-copy {
    top: 28px;
  }
  .ride-copy h2 {
    font-size: clamp(32px, 4vw, 60px);
  }
  #ride-caption {
    margin-top: 14px;
    font-size: 16px;
  }
  .ride-view-details {
    min-height: 44px;
    margin-top: 16px;
    font-size: 15px;
  }
  .ride-live-heading {
    padding-block: 16px 12px;
  }
  .ride-filters {
    padding-top: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .run-page *,
  .run-page *::before,
  .run-page *::after {
    animation: none !important;
    transition: none !important;
  }
}
