/* Chase Your Best, slice 1. Load after roadhead.css; scoped to the ghost controls only. */
#ghostpill,#ghostresult,#pauseghostrow,#ghostrace,#ghostsave,#pauseghost,#pauseghostdelete{box-sizing:border-box}
#ghostpill[hidden],#ghostresult[hidden],#pauseghostrow[hidden],#ghostrace[hidden],#ghostsave[hidden],#pauseghost[hidden],#pauseghostdelete[hidden]{display:none}
#hud .ghost-pill{display:inline-block;color:#dff2ff;background:#cfe6ff26;letter-spacing:.06em;font-size:11px;font-variant-numeric:tabular-nums;padding:2px 7px}
#result .ghost-result{display:flex;flex-direction:column;gap:8px;margin:0 0 12px}
#result .ghost-result button{min-height:44px}
#result .ghost-result .small{margin:0}
.ghost-pause{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0 0 10px}
.ghost-pause button{min-height:44px;border:1px solid #cfe6ff66;border-radius:6px;background:#1b2d2b;color:#eaf4ff;font-size:12px;padding:10px}
.ghost-pause button[aria-pressed="true"]{background:#cfe6ff26;border-color:#dff2ffcc}
.ghost-pause .pause-description{grid-column:1/-1;margin:0;font-size:11px}
.ghost-pause button[hidden]{display:none}
/* Result lanes: sparse "Your run / Saved ghost" timeline under the existing debrief. Scrolls with the result panel. */
#ghostlanes[hidden]{display:none}
.ghost-lanes{margin:14px 0 10px;display:flex;flex-direction:column;gap:8px}
.ghost-lanes .eyebrow{margin:0}
.ghost-lane{display:flex;flex-direction:column;gap:4px}
.ghost-lane-label{font-size:12px;color:#d7e3dc;font-variant-numeric:tabular-nums}
.ghost-track{position:relative;height:16px;border-radius:8px;background:#ffffff14;overflow:hidden}
.ghost-track i{position:absolute;top:0;bottom:0;display:block}
.ghost-track i.air{background:#dff2ff40}
.ghost-track i.lift{top:5px;bottom:5px;border-radius:3px;background:#6cc6ff}
.ghost-track b.mark{position:absolute;top:0;bottom:0;width:3px;margin-left:-1px;background:#e7f0ff}
.ghost-track b.mark.touchdown{background:#b7f46a}
.ghost-track b.mark.fail{background:#ff8d7a}
.ghost-lanes .small{margin:0}
.ghost-lane-key{opacity:.8}
