










.run-stage{overflow-anchor:none;margin-top:32px}



.stage-view{display:grid;gap:12px;overflow-x:clip}



.run-stage .run-chart{
  display:grid;grid-template-rows:auto minmax(0,1fr) auto;aspect-ratio:auto;max-height:none;min-height:0;height:clamp(280px,70vw,540px);
  overflow:visible;background:none;border-radius:0;font:500 .75rem/1.2 var(--sans);color:var(--muted)
}
.run-ytitle{margin:0 0 10px;max-width:none;color:var(--ink);font-size:.8125rem}
.run-area{position:relative;margin:4px 6px 22px 44px;min-height:0}
.run-axes,.run-data{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.run-grid{fill:none;stroke:var(--line);stroke-width:1px;vector-effect:non-scaling-stroke}
.run-base{fill:none;stroke:var(--muted);stroke-width:1px;vector-effect:non-scaling-stroke}
.run-lost{fill:none;stroke:var(--muted);stroke-opacity:.45;stroke-width:3px;stroke-linecap:round;vector-effect:non-scaling-stroke}
.run-best{fill:none;stroke:var(--accent);stroke-width:2.25px;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.run-ytick,.run-xtick{position:absolute;white-space:nowrap;font-variant-numeric:tabular-nums}
.run-ytick{right:calc(100% + 6px);transform:translateY(-50%)}
.run-xtick{top:calc(100% + 6px);transform:translateX(-50%)}
.run-xtitle{margin:0;max-width:none;justify-self:center;color:var(--ink);font-size:.8125rem}
.run-reveal,.run-reveal-inner{position:absolute;inset:-4px 0;overflow:hidden}
.run-reveal-inner>.run-data{inset:4px 0}
.run-halo{display:none;position:absolute;left:-14px;top:-14px;width:28px;height:28px;border-radius:50%;pointer-events:none;
  background:radial-gradient(closest-side,color-mix(in srgb,var(--accent) 30%,transparent),transparent)}
.run-halo::after{content:"";position:absolute;left:50%;top:50%;width:8px;height:8px;margin:-4px 0 0 -4px;border-radius:50%;background:var(--accent)}
.run-stage:not([data-view="plate"]) .run-halo{display:block}
.run-stage:not([data-view="plate"]) :is(.run-reveal,.run-reveal-inner,.run-halo){will-change:transform}


.run-result{margin-top:12px;padding-top:10px;border-top:1px solid var(--line);color:var(--ink);font-weight:500}

@media (min-width:900px) and (min-height:560px){
  [data-ready] .run-stage{
    --view:calc(100svh - var(--head));
    --x0:max(var(--gutter),calc((100% - 1600px) / 2));
    display:grid;grid-template-columns:minmax(0,1fr);max-width:none;margin:32px 0 0;padding:0;gap:0
  }
  [data-ready] .run-stage>.stage-view{
    grid-area:1/1;align-self:start;position:sticky;top:var(--head);z-index:0;height:var(--view);overflow:hidden;
    gap:0;grid-template-columns:var(--x0) minmax(0,45fr) minmax(0,55fr) var(--x0);
    grid-template-rows:32px minmax(0,1fr) auto 32px;background:var(--bg)
  }
  [data-ready] .run-stage .plot{grid-area:2/3;position:relative;z-index:1;height:auto}
  [data-ready] .run-stage .dial{grid-area:3/3;position:relative;z-index:2;padding-top:12px}
  [data-ready] .run-stage>.steps{
    grid-area:1/1;position:relative;z-index:1;display:flex;flex-direction:column;
    gap:calc(var(--view) * .5);margin-left:var(--x0);width:calc((100% - 2 * var(--x0)) * .45 - 40px);
    padding:calc(var(--view) * .45) 0 calc(var(--view) * .4)
  }
  [data-ready] .run-stage .step{max-width:30rem}
  [data-ready] .run-area{margin-left:56px}
}



@media ((width < 900px) or (height < 560px)) and (orientation:portrait){
  [data-motion="running"] .run-stage:not([data-fit]){
    --view:calc(100svh - var(--head));
    display:grid;grid-template-columns:minmax(0,1fr);max-width:none;margin:24px 0 0;padding:0;gap:0
  }
  [data-motion="running"] .run-stage:not([data-fit])>.stage-view{
    grid-area:1/1;align-self:start;position:sticky;top:var(--head);z-index:0;height:var(--view);overflow:hidden;gap:0;
    grid-template-columns:var(--gutter) minmax(0,1fr) var(--gutter);
    grid-template-rows:12px minmax(0,1fr) auto calc(var(--band,34%) + 16px);background:var(--bg)
  }
  [data-motion="running"] .run-stage:not([data-fit]) .plot{grid-area:2/2;position:relative;z-index:1;height:auto}
  [data-motion="running"] .run-stage:not([data-fit]) .dial{grid-area:3/2;position:relative;z-index:2;padding-top:4px}

  [data-motion="running"] .run-stage:not([data-fit])>.steps{
    grid-area:1/1;position:relative;z-index:1;display:flex;flex-direction:column;
    gap:calc(var(--view) * .22);padding:var(--view) var(--gutter) var(--pad,12px);pointer-events:none
  }
  [data-motion="running"] .run-stage:not([data-fit]) .step{max-width:36rem;padding:14px 16px;pointer-events:auto;background:var(--bg);border:1px solid var(--line)}
  [data-motion="running"] .run-stage:not([data-fit]) .step>*+*{margin-top:8px}
  [data-motion="running"] .run-stage:not([data-fit]) .step>p{font-size:.9375rem;line-height:1.45}

  [data-motion="running"] .run-stage:not([data-fit]) .dial-word{flex:1 0 100%}
}
@media (orientation:portrait) and (height <= 640px){
  [data-motion="running"] .run-stage:not([data-fit]) .step{padding:12px 14px}
  [data-motion="running"] .run-stage:not([data-fit]) .step>*+*{margin-top:6px}
  [data-motion="running"] .run-stage:not([data-fit]) .step>p{font-size:.875rem;line-height:1.4}
  [data-motion="running"] .run-stage:not([data-fit]) .run-result{padding-top:6px;font-size:.8125rem}
}
