/* Empty truck stopping: the scene from data-load (full, empty, bobtail) and data-brake (early, panic). The bars carry no
   distance: the fully loaded rig is the reference, and an empty rig or a bobtail only ever shows as longer. */
.el-boxes{display:none}
.ans-stage[data-load="full"] .el-boxes{display:inline}
.el-empty-word{fill:#59636a;font-size:16px;font-weight:900}
.ans-stage[data-load="full"] .el-empty-word{display:none}
.ans-stage[data-load="bobtail"] .el-trailer{display:none}
.el-lock{fill:none;stroke:#ff5a4f;stroke-width:3;stroke-linecap:round;display:none}
.el-skid{fill:none;stroke:#0b0d0f;stroke-width:4;stroke-linecap:round;display:none}
.ans-stage[data-brake="panic"]:not([data-load="full"]) .el-lock,
.ans-stage[data-brake="panic"]:not([data-load="full"]) .el-skid{display:inline}
.el-spring{fill:none;stroke:#fbbf24;stroke-width:2.4;stroke-linejoin:round}
.el-swing{display:none;fill:#ff8a80}
.ans-stage[data-brake="panic"][data-load="empty"] .el-swing{display:inline}
.el-wobble{display:none;fill:#ff8a80}
.ans-stage[data-brake="panic"][data-load="bobtail"] .el-wobble{display:inline}
.el-bar{fill:#59636a}
.el-bar-full{fill:#31d67b}
.el-bar-yours{transform-box:fill-box;transform-origin:0 50%;transition:transform .3s;fill:#31d67b}
.ans-stage:not([data-load="full"]) .el-bar-yours{transform:scaleX(1.75);fill:#ff8a80}
.el-longer,.el-same{font-size:12px;font-weight:800;fill:#d3dade}
.el-longer{display:none}
.ans-stage:not([data-load="full"]) .el-longer{display:inline}
.ans-stage:not([data-load="full"]) .el-same{display:none}
.el-longer,.el-same{transform:translate(0,0)}
.el-longer{fill:#ff8a80}
