.motion-toggle {display:inline-flex;align-items:center;cursor:pointer;justify-content:center;gap:.5rem;border:1px solid #46576c;color:#e7f4ff;background:transparent;min-height:2.75rem;min-width:5.5rem;padding:.45rem .75rem;font:600 .85rem Gilroy,Arial,sans-serif}
.motion-toggle:hover {background:#16344d}
.motion-toggle svg {width:1rem;height:1rem;stroke:currentColor;fill:none;stroke-width:1.6}
.motion-toggle .play-icon {fill:currentColor;stroke:none}
.motion-toggle[aria-pressed=true] .play-icon,.motion-toggle[aria-pressed=false] .pause-icon {display:none}
.planet img,.network,.globe-film {width:100%;height:auto;display:block}
.planet-scene {position:relative;transform-origin:52.15% 42.47%;animation:globe-pan 5s ease-in-out -1.25s infinite alternate both;animation-play-state:paused}
.globe-film,.network {position:absolute;inset:0}
.globe-film {height:100%;opacity:0;mask:url("../assets/globe-oran.webp") center / 100% 100% no-repeat}
.film-ready .globe-film {opacity:1}
.film-ready .network {display:none}
.motion-on .planet-scene {animation-play-state:running}
@keyframes globe-pan {from{transform:scale(1) rotate(-.65deg)}to{transform:scale(1.085) rotate(1.15deg)}}
@media(prefers-reduced-motion:no-preference){html:not(.motion-initialized) .planet-scene {animation-play-state:running}}
.route {stroke:#ecfcff;stroke-width:6;stroke-dasharray:12 98;stroke-dashoffset:8;opacity:0}
.route.warm {stroke:#fff2cd}
.wave {stroke:#ffd991;stroke-width:3.4;opacity:0;transform-origin:0 0}
.motion-on .route {animation:travel 3.2s linear infinite}
.motion-on .route:nth-child(2) {animation-delay:-1.1s}
.motion-on .route:nth-child(3) {animation-delay:-4.5s}
.motion-on .route:nth-child(4) {animation-delay:-2.7s}
.motion-on .route:nth-child(5) {animation-delay:-5.6s}
.motion-on .route:nth-child(6) {animation-delay:-3.7s}
.motion-on .wave {animation:radiate 2.5s ease-out infinite}
.motion-on .wave.delayed {animation-delay:-1.25s}
@keyframes travel {0%{opacity:0;stroke-dashoffset:5}5%{opacity:1}81%{opacity:.98}93%{opacity:0;stroke-dashoffset:-100}100%{opacity:0;stroke-dashoffset:-100}}
@keyframes radiate {0%{transform:scale(.55);opacity:0}12%{opacity:.85}80%,100%{transform:scale(3.1);opacity:0}}

.map-tools {display:flex;align-items:center;justify-self:end;gap:clamp(.6rem,1.5vw,1.5rem)}
.map-tools .motion-toggle {border-color:#869bb3;background:#172d4c}
.map-tools .motion-toggle:hover {background:#284866}
@media (max-width:35rem) {
  .map-tools {flex-direction:column;align-items:flex-end;gap:.3rem}
  .map-tools .motion-toggle {min-height:2.1rem;min-width:4.75rem;padding:.22rem .5rem;font-size:.76rem}
}
