/* The red goal stays above an open-ended dotted gap and the growing trail. */
.trajectory-rail{--route-height:clamp(128px,calc(var(--view-height,100dvh) - var(--console-base-height,180px) * 2 - 56px),calc(var(--view-height,100dvh) - 128px));display:flex;flex-direction:column;align-items:center;max-height:var(--route-height)}
.trajectory-rail .trajectory-blocks{max-height:calc(var(--route-height) - 80px);min-height:24px;flex:0 1 auto}
#destination-square{flex:0 0 44px}
.route-square.route-destination::before{width:10px;height:10px;left:17px;top:17px;background:#ee5963;border:1px solid #ffb7bd;box-shadow:1px 1px #87323d}
.route-square.route-destination[aria-current=step]::before{background:#ee5963;box-shadow:0 0 0 3px #18352f,0 0 0 4px #ffb7bd}
.route-gap{height:36px;flex:0 0 36px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;pointer-events:none}
.route-gap i{display:block;width:2px;height:2px;background:#000;opacity:1;box-shadow:none}
#destination-square[hidden],.route-gap[hidden]{display:none}
@media(hover:hover) and (pointer:fine){#destination-square{height:24px;min-height:24px;flex-basis:24px}.route-square.route-destination::before{top:7px}.trajectory-rail .trajectory-blocks{max-height:calc(var(--route-height) - 60px)}}
@media(pointer:coarse){.trajectory-rail .trajectory-blocks{min-height:44px}}
