/* Numbered buttons stay still above every independently animated component. */
.moto-float{animation:none}
.piece-layer{position:absolute;pointer-events:none;overflow:visible;transform:none;animation:none;z-index:auto;--piece-motion-scale:1}
.piece-float{position:absolute;inset:0;z-index:1;pointer-events:none;transform-origin:center;animation:piece-drift var(--piece-period,7s) ease-in-out var(--piece-delay,0s) infinite;transition:translate .2s ease,filter .2s ease}
.piece-art,.piece-target{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none;transform-origin:center;animation:var(--piece-animation,piece-rock) var(--piece-mechanical-period,3.4s) ease-in-out var(--piece-mechanical-delay,var(--piece-delay,0s)) infinite}
.piece-art{z-index:1;user-select:none}
.piece-target{z-index:2}
.piece-hit{fill:transparent;stroke:transparent;stroke-width:2;vector-effect:non-scaling-stroke;pointer-events:all;cursor:pointer;transition:fill .2s,stroke .2s}
.piece-layer.is-pointed .piece-float,.piece-layer:focus-within .piece-float{z-index:2;animation-play-state:paused;translate:0 -3px;filter:saturate(1.22) drop-shadow(0 6px 5px #183b2c30)}
.piece-layer.is-pointed .piece-art,.piece-layer.is-pointed .piece-target,.piece-layer:focus-within .piece-art,.piece-layer:focus-within .piece-target{animation-play-state:paused}
.piece-hit.highlighted,.piece-layer:focus-within .piece-hit{stroke:#23734890;fill:#2373480c}

.moto-hotspot,.moto-hotspot.unassigned{position:absolute;left:var(--x);top:var(--y);width:40px;height:40px;display:grid;place-items:center;padding:0;border:0;border-radius:50%;background:transparent;color:#fff;box-shadow:none;pointer-events:auto;cursor:pointer;transform:translate(-50%,-50%);z-index:20;isolation:isolate;overflow:visible;line-height:1;opacity:1;transition:transform .18s ease}
.hotspot-badge{position:relative;display:grid;place-items:center;box-sizing:border-box;width:100%;height:100%;border:3px solid #fff;border-radius:50%;background:#b91f35;color:#fff;box-shadow:0 2px 6px #12271c60,0 0 0 1px #75112635;overflow:visible;pointer-events:none;transition:background .18s,box-shadow .18s}
.hotspot-badge::after{content:'';position:absolute;inset:-8px;border:2px solid #2a8055;border-radius:50%;opacity:0;transform:scale(.9);transition:opacity .18s,transform .18s;pointer-events:none}
.badge-number{display:block;position:relative;z-index:1;margin:0;padding:0;color:#fff;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;font-size:18px;font-weight:800;font-variant-numeric:tabular-nums;letter-spacing:-.45px;line-height:1;text-align:center;text-shadow:0 1px 1px #0002}
.unassigned .hotspot-badge{background:#fff;border:2px dashed #6a7566;box-shadow:0 2px 6px #12271c40,0 0 0 2px #fff}
.unassigned .badge-number{color:#485743;text-shadow:none}
.moto-hotspot.muted{opacity:1}
.piece-layer .moto-hotspot:hover,.piece-layer .moto-hotspot.highlighted,.piece-layer .moto-hotspot:focus-visible{z-index:30;transform:translate(-50%,-50%) scale(1.1);background:transparent;box-shadow:none}
.moto-hotspot:hover .hotspot-badge,.moto-hotspot.highlighted .hotspot-badge,.moto-hotspot:focus-visible .hotspot-badge{background:#1e6842;box-shadow:0 3px 9px #123b2b55,0 0 0 4px #6baf8c32}
.moto-hotspot:hover .badge-number,.moto-hotspot.highlighted .badge-number,.moto-hotspot:focus-visible .badge-number{color:#fff}
.moto-hotspot:hover .hotspot-badge::after,.moto-hotspot.highlighted .hotspot-badge::after,.moto-hotspot:focus-visible .hotspot-badge::after{opacity:1;transform:scale(1)}
.moto-hotspot::before{content:'';position:absolute;inset:-5px;border-radius:50%}
.moto-hotspot::after{display:none}
.moto-hotspot:focus-visible{outline:2px solid #164a31;outline-offset:9px}
.moto-hotspot .hotspot-label{font-size:12px;max-width:205px;padding:9px 12px;line-height:1.45}
.part-number{font-size:13px}
.expanded-map .moto-hotspot{width:44px;height:44px}
.expanded-map .badge-number{font-size:20px}

@keyframes piece-drift{
  0%,100%{transform:translate(0,0) rotate(0deg)}
  50%{transform:translate(calc(var(--piece-dx,0px)*var(--piece-motion-scale)),calc(var(--piece-dy,-4px)*var(--piece-motion-scale))) rotate(calc(var(--piece-turn,.4deg)*var(--piece-motion-scale)))}
}
@keyframes piece-wheel-turn{0%,100%{transform:rotate(-2deg)}50%{transform:rotate(2deg)}}
@keyframes piece-fork-compress{0%,100%{transform:translateY(-1px) scaleY(1)}50%{transform:translateY(2px) scaleY(.988)}}
@keyframes piece-suspension-compress{0%,100%{transform:translateY(0) scaleY(1)}50%{transform:translateY(2px) scaleY(.975)}}
@keyframes piece-engine-vibrate{0%,100%{transform:translate(0,0) rotate(0)}25%{transform:translate(.6px,-.5px) rotate(.12deg)}75%{transform:translate(-.6px,.5px) rotate(-.12deg)}}
@keyframes piece-chain-drive{0%,100%{transform:translateX(-1.4px)}50%{transform:translateX(1.4px)}}
@keyframes piece-rock{0%,100%{transform:rotate(-.45deg)}50%{transform:rotate(.45deg)}}

.expanded-map .piece-float,.expanded-map .piece-art,.expanded-map .piece-target,
.effects-suspended .piece-float,.effects-suspended .piece-art,.effects-suspended .piece-target,
.is-offscreen .piece-float,.is-offscreen .piece-art,.is-offscreen .piece-target{animation-play-state:paused!important}
.motion-paused .piece-float,.motion-paused .piece-art,.motion-paused .piece-target{animation:none!important;transform:none!important;translate:none!important;transition:none!important}
@media(max-width:1100px){.moto-hotspot,.moto-hotspot.unassigned{width:38px;height:38px}.expanded-map .moto-hotspot{width:44px;height:44px}}
@media(max-width:760px){
 .moto-surface{aspect-ratio:auto;height:auto;padding-block:9px}
 .moto-surface.expanded-map{height:380px;padding-block:0}
 .piece-layer{--piece-motion-scale:.55}
 .moto-hotspot,.moto-hotspot.unassigned{width:29px;height:29px}
 .hotspot-badge{border-width:2px;box-shadow:0 2px 5px #12271c70,0 0 0 1px #75112635}
 .badge-number{font-size:13px;font-weight:800;letter-spacing:-.4px}
 .hotspot-badge::after{inset:-6px;border-width:1.5px}
 .moto-hotspot::before{inset:-7px}
 .moto-hotspot .hotspot-label{font-size:11px;max-width:145px}
 .expanded-map .moto-hotspot{width:44px;height:44px}
 .expanded-map .hotspot-badge{border-width:3px}
 .expanded-map .badge-number{font-size:20px}
 .piece-layer .moto-hotspot:hover,.piece-layer .moto-hotspot.highlighted,.piece-layer .moto-hotspot:focus-visible{transform:translate(-50%,-50%) scale(1.07)}
}
@media(prefers-reduced-motion:reduce){
 .piece-float,.piece-art,.piece-target{animation:none!important;transform:none!important;translate:none!important}
 .piece-hit,.hotspot-badge,.hotspot-badge::after,.piece-float{transition:none!important}
 .piece-layer .moto-hotspot:hover,.piece-layer .moto-hotspot.highlighted,.piece-layer .moto-hotspot:focus-visible{transform:translate(-50%,-50%)}
}
